def test_permission_null(self):
     comm.setUp()
     manifestPath = comm.ConstPath + \
         "/../testapp/permission_field_null_tests/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
Beispiel #2
0
 def test_description_specific(self):
     comm.setUp()
     manifestPath = comm.ConstPath + \
         "/../testapp/manifest_desc_specific_tests/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
 def test_permission_null(self):
     app_name = "permission_field_null_tests"
     app_src = comm.ConstPath + \
         "/../testapp/permission_field_null_tests"
     cmd = "%s --crosswalk=%s --platforms=android --android=%s --targets=%s %s" % \
           (comm.apptools, comm.crosswalkzip, comm.MODE, comm.ARCH, app_src)
     comm.gen_pkg(cmd, app_name, self)
Beispiel #4
0
 def test_permission_null(self):
     comm.setUp()
     manifestPath = comm.ConstPath + \
         "/../testapp/permission_field_null_tests/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
Beispiel #5
0
 def test_permission_null(self):
     app_name = "permission_field_null_tests"
     app_src = comm.ConstPath + \
         "/../testapp/permission_field_null_tests"
     cmd = "%s --crosswalk=%s --platforms=android --android=%s --targets=%s %s" % \
           (comm.apptools, comm.crosswalkzip, comm.MODE, comm.ARCH, app_src)
     comm.gen_pkg(cmd, app_name, self)
 def test_starturl_namedhttp(self):
     comm.setUp()
     manifestPath = comm.ConstPath + \
         "/../testapp/manifest_extend_html_namedhttp/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
 def test_anyLocationtest_manifest(self):
     comm.setUp()
     manifestPath = comm.ConstPath + "/res/manifest.json"
     cmd = "make_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.ARCH, comm.MODE, manifestPath)
     os.chdir(comm.ConstPath + '/../../tools')
     comm.gen_pkg(cmd, self)
 def test_anyLocationtest_manifest(self):
     comm.setUp()
     manifestPath = comm.ConstPath + "/res/manifest.json"
     cmd = "make_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.ARCH, comm.MODE, manifestPath)
     os.chdir(comm.ConstPath + '/../../tools')
     comm.gen_pkg(cmd, self)
 def test_description_specific(self):
     comm.setUp()
     manifestPath = comm.ConstPath + \
         "/../testapp/manifest_desc_specific_tests/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
 def test_anyLocationtest_package(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/res/"
     cmd = "make_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.ARCH, comm.MODE, appRoot)
     os.chdir(comm.ConstPath + '/../../tools/crosswalk')
     comm.gen_pkg(cmd, self)
 def test_starturl_namedhttp(self):
     comm.setUp()
     manifestPath = comm.ConstPath + \
         "/../testapp/manifest_extend_html_namedhttp/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
 def test_anyLocationtest_package(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/res/"
     cmd = "make_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.ARCH, comm.MODE, appRoot)
     os.chdir(comm.ConstPath + '/../../tools/crosswalk')
     comm.gen_pkg(cmd, self)
 def test_absolutePath_package(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/res/"
     cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, appRoot)
     os.chdir(comm.ConstPath + '/../../tools/crosswalk')
     print os.getcwd()
     comm.gen_pkg(cmd, self)
 def test_absolutePath_package(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/res/"
     cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, appRoot)
     os.chdir(comm.ConstPath + '/../../tools/crosswalk')
     print os.getcwd()
     comm.gen_pkg(cmd, self)
 def test_absolutePath_manifest(self):
     comm.setUp()
     manifestPath = comm.ConstPath + "/res/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     os.chdir(comm.ConstPath + '/../../tools')
     print os.getcwd()
     comm.gen_pkg(cmd, self)
Beispiel #16
0
 def test_appPath(self):
     comm.setUp()
     os.chdir(comm.Pck_Tools)
     appRoot = comm.ConstPath + "/../testapp/example/"
     cmd = "python make_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.ARCH, comm.MODE, appRoot)
     comm.gen_pkg(cmd, self)
     os.chdir("../../")
 def test_absolutePath_manifest(self):
     comm.setUp()
     manifestPath = comm.ConstPath + "/res/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     os.chdir(comm.ConstPath + '/../../tools')
     print os.getcwd()
     comm.gen_pkg(cmd, self)
 def test_appPath(self):
     comm.setUp()
     os.chdir(comm.Pck_Tools)
     appRoot = comm.ConstPath + "/../testapp/example/"
     cmd = "python make_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.ARCH, comm.MODE, appRoot)
     comm.gen_pkg(cmd, self)
     os.chdir("../../")
 def test_packertool_arm(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/../testapp/example/"
     if comm.ARCH == "arm":
         cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
               (comm.Pck_Tools, comm.ARCH, comm.MODE, appRoot)
         comm.gen_pkg(cmd, self)
     else:
         self.assertFalse(True, "The case requires to run on arm platfrom")
 def test_temp_manifest(self):
     comm.setUp()
     manifestPath = comm.ConstPath + "/res/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
 def test_packertool_arm_x86(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/../testapp/example/"
     cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, appRoot)
     comm.gen_pkg(cmd, self)
 def test_absolutePath_hostApp(self):
     comm.setUp()
     cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-url=https://crosswalk-project.org/" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE)
     print os.getcwd()
     comm.gen_pkg(cmd, self)
Beispiel #23
0
 def test_anyLocation_hostApp(self):
     comm.setUp()
     cmd = "make_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-url=https://crosswalk-project.org/" % \
           (comm.ARCH, comm.MODE)
     comm.gen_pkg(cmd, self)
Beispiel #24
0
 def test_temp_manifest(self):
     comm.setUp()
     manifestPath = comm.ConstPath + "/res/manifest.json"
     cmd = "python %smake_apk.py --package=org.xwalk.example --arch=%s --mode=%s --manifest=%s" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, manifestPath)
     comm.gen_pkg(cmd, self)
Beispiel #25
0
 def test_temp_package(self):
     comm.setUp()
     appRoot = comm.ConstPath + "/res/"
     cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-root=%s --app-local-path=index.html" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE, appRoot)
     comm.gen_pkg(cmd, self)
 def test_anyLocation_hostApp(self):
     comm.setUp()
     cmd = "make_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-url=https://crosswalk-project.org/" % \
           (comm.ARCH, comm.MODE)
     comm.gen_pkg(cmd, self)
 def test_absolutePath_hostApp(self):
     comm.setUp()
     cmd = "python %smake_apk.py --package=org.xwalk.example --name=example --arch=%s --mode=%s --app-url=https://crosswalk-project.org/" % \
           (comm.Pck_Tools, comm.ARCH, comm.MODE)
     print os.getcwd()
     comm.gen_pkg(cmd, self)