def test_permission_value4(self):
     comm.setUp()
     cmd = "python %smake_apk.py --package=org.xwalk.permission --name=example --project-dir=permission --arch=%s --mode=%s --app-url=http://www.intel.com --permission=Contacts --permission=Geolocation --permission=Messaging --permission=Contacts:Geolocation:Messaging" % (comm.Pck_Tools, comm.ARCH, comm.MODE)
     num = 4
     comm.perm2(num, cmd, self)
 def test_permission_value4(self):
     comm.setUp()
     cmd = "python %smake_apk.py --package=org.xwalk.permission --name=example --project-dir=permission --arch=%s --mode=%s --app-url=http://www.intel.com --permission=Contacts --permission=Geolocation --permission=Messaging --permission=Contacts:Geolocation:Messaging" % (
         comm.Pck_Tools, comm.ARCH, comm.MODE)
     num = 4
     comm.perm2(num, cmd, self)
 def test_permission_duplicate2(self):
     comm.setUp()
     cmd = "python %smake_apk.py --package=org.xwalk.permission --name=example --project-dir=permission --arch=%s --mode=%s --app-url=http://www.intel.com --permission=Contacts --permission=contacts --permission=CONTACTS" % (comm.Pck_Tools, comm.ARCH, comm.MODE)
     num = 2
     comm.perm2(num, cmd, self)
 def test_permission_duplicate2(self):
     comm.setUp()
     cmd = "python %smake_apk.py --package=org.xwalk.permission --name=example --project-dir=permission --arch=%s --mode=%s --app-url=http://www.intel.com --permission=Contacts --permission=contacts --permission=CONTACTS" % (
         comm.Pck_Tools, comm.ARCH, comm.MODE)
     num = 2
     comm.perm2(num, cmd, self)