Exemplo n.º 1
0
 def setUp(self):
     super(Render, self).setUp()
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self._render = RenderImpl()
     self._render.install_apk("Photo_visualizer")
     self._render.init_photos()
Exemplo n.º 2
0
class Render(RenderAppTestBase):

    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("RsBalls")

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()

    def test_sdksampleballs_appswitching(self):
        ''' refer TC test_SDKSampleBalls_AppSwitching
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_rsballs_am()
        self._render.launch_photos_am()
        self._render.back_to_rsballs()
        self._render.stop_rsballs_am()
Exemplo n.º 3
0
class Render(RenderAppTestBase):
    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("HelloCompute")

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()

    def test_sdksamplehellocompute_appswitching(self):
        ''' refer TC test_SDKSampleHelloCompute_AppSwitching
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_hellocompute_am()
        self._render.swith_to_photos_and_back()
        self._render.stop_hellocompute_am()
class Render(RenderAppTestBase):
    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("RsMiscSamples")

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()

    def test_rsmiscsamples_rsList(self):
        ''' refer TC test_RsMiscSamples_RsList
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_miscsamples_list_am()
        self._render.scroll_to_bottom()
        self._render.stop_miscsamples_list_am()
Exemplo n.º 5
0
class Render(RenderAppTestBase):
    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("HelloCompute")

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()

    def test_sdksamplehellocompute_suspendresume(self):
        ''' refer TC test_SDKSampleHelloCompute_SuspendResume
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_hellocompute_am()
        self._render.suspend_and_resume()
        self._render.stop_hellocompute_am()
class Render(RenderAppTestBase):
    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("RsMiscSamples")

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()

    def test_rsmiscsamples_rsstates(self):
        ''' refer TC test_RsMiscSamples_RsStates
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_miscsamples_states_am()
        self._render.press_view_10times()
        self._render.stop_miscsamples_states_am()
class Render(RenderAppTestBase):

    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("Basicglsurfaceview")

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()

    def test_sdksample_basicsurfaceview(self):
        ''' refer TC test_SDKSample_BasicSurfaceView
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_glsurfaceview_am()
        self._render.stop_glsurfaceview_am()
Exemplo n.º 8
0
 def setUp(self):
     super(Render, self).setUp()
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self._render = RenderImpl()
     self._render.install_apk("RsBalls")
Exemplo n.º 9
0
class Render(RenderAppTestBase):

    def setUp(self):
        super(Render, self).setUp()
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self._render = RenderImpl()
        self._render.install_apk("Photo_visualizer")
        self._render.init_photos()

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name
        super(Render, self).tearDown()
        self._render.delete_photos()

    def test_renderscript_photovisualizer(self):
        ''' refer TC test_RenderScript_PhotoVisualizer
        '''
        print "[RunTest]: %s" % self.__str__()
        self._render.launch_photovisualizer_am()
        self._render.set_photovisualizer_settings_1st()
        self._render.run_photovisualizer()
        self._render.set_photovisualizer_settings_2st()
        self._render.run_photovisualizer()
        self._render.stop_photovisualizer_am()
 def setUp(self):
     super(Render, self).setUp()
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self._render = RenderImpl()
     self._render.install_apk("Basicglsurfaceview")