示例#1
0
 def test_001_popup(self):
     # 打印开头日志
     tools.log_start("gks_001_popup")
     # 运行测例
     TestPopup(self.driver, self.cid, self.appid).run()
     # 打印结束日志
     tools.log_end()
示例#2
0
 def test_017_filescan(self):
     # 打印开头日志
     tools.log_start("test_017_filescan")
     # 运行测例
     Filescan(self.driver, self.cid, self.appid).run()
     # 打印结束日志
     tools.log_end()
示例#3
0
 def test_000_test(self):
     # 打印开头日志
     tools.log_start("test_000_test")
     # 运行测例
     Test(self.driver, self.cid, self.appid).run()
     # 打印结束日志
     tools.log_end()
示例#4
0
 def test_015_updateapp(self):
     # 打印开头日志
     tools.log_start("test_015_updateapp")
     # 运行测例
     TestUpdateapp(self.driver, self.cid, self.appid).updateapp()
     # 打印结束日志
     tools.log_end()
示例#5
0
 def test_016_gwa(self):
     # 打印开头日志
     tools.log_start("test_016_gwa")
     # 运行测例
     Gwa(self.driver, self.cid, self.appid).gwa()
     # 打印结束日志
     tools.log_end()
示例#6
0
 def test_014_checklayout(self):
     # 打印开头日志
     tools.log_start("test_014_checklayout")
     # 运行测例
     TestChecklayout(self.driver, self.cid, self.appid).Checklayout()
     # 打印结束日志
     tools.log_end()
示例#7
0
 def test_010_startanyweb(self):
     # 打印开头日志
     tools.log_start("test_010_startanyweb")
     # 运行测例
     Startanyweb(self.driver, self.cid, self.appid).run()
     # 打印结束日志
     tools.log_end()
示例#8
0
 def test_009_silentdownload(self):
     # 打印开头日志
     tools.log_start("test_009_silentdownload")
     # 运行测例
     TestAppdownload(self.driver, self.cid, self.appid).silentdownload()
     # 打印结束日志
     tools.log_end()
示例#9
0
 def test_004_notification4(self):
     # 打印开头日志
     tools.log_start("test_004_notification4")
     # 运行测例
     TestNotification(self.driver, self.cid, self.appid).notification(
         4, action_chain.ACTIONCHAIN_NOTIFY4 % (self.appid))
     # 打印结束日志
     tools.log_end()
示例#10
0
 def test_003_notification1(self):
     # 打印开头日志
     tools.log_start("gks_003_notification0")
     # 运行测例
     TestNotification(self.driver, self.cid, self.appid).notification(
         1, action_chain.ACTIONCHAIN_NOTIFY1 % (self.appid))
     # 打印结束日志
     tools.log_end()
示例#11
0
 def test_011_transmission1(self):
     # 打印开头日志
     tools.log_start("test_011_transmission1")
     # 运行测例
     taskid = time.localtime()
     TestTransmission(self.driver, self.cid, self.appid).transmission(
         1, action_chain.EXTRADATA_TRANSMISSION1 % (taskid, self.appid))
     # 打印结束日志
     tools.log_end()
示例#12
0
 def test_013_transmission5(self):
     # 打印开头日志
     tools.log_start("test_013_transmission5")
     # 运行测例
     taskid = int(time.time())
     TestTransmission(self.driver, self.cid, self.appid).transmission(
         5, action_chain.EXTRADATA_TRANSMISSION1 % (taskid, self.appid),
         taskid)
     # 打印结束日志
     tools.log_end()