def test_multiple_apk_true(self):
     comm.setUp()
     app_name = "testMultipleApk"
     pkg_name = " com.example." + app_name.lower()
     content = "<a href='http://www.intel.com'>Intel</a>\n</body>"
     key = "</body>"
     replace_index_list = [key, content]
     comm.create(app_name, pkg_name, comm.MODE, None, replace_index_list,
                 self, None, "true")
     comm.build(app_name, 0, self, True)
     comm.checkFileSize(
         os.path.join(comm.testapp_path, "%s.apk" % app_name), 10, 15, self)
     comm.app_install(app_name, pkg_name, self)
     comm.app_launch(app_name, pkg_name, self)
     comm.app_stop(pkg_name, self)
     comm.app_uninstall(pkg_name, self)
 def test_multiple_apk_false(self):
     comm.setUp()
     app_name = "testMultipleApk"
     pkg_name = " com.example." + app_name.lower()
     content = "<a href='http://www.intel.com'>Intel</a>\n</body>"
     key = "</body>"
     replace_index_list = [key, content]
     comm.create(
         app_name,
         pkg_name,
         comm.MODE,
         None,
         replace_index_list,
         self, None, "false")
     comm.build(app_name, 0, self, True, False)
     comm.checkFileSize(os.path.join(comm.testapp_path, "%s.apk" % app_name), 20, 25, self)
     comm.app_install(app_name, pkg_name, self)
     comm.app_launch(app_name, pkg_name, self)
     comm.app_stop(pkg_name, self)
     comm.app_uninstall(pkg_name, self)