С???????ж?SDK????????????????
????????С?????? ???????[ 2016/9/13 10:58:12 ] ????????????????? ????????
?????????????
??????????????????????????????ж?????????????????CountDownLatch???????????????????????????????????????????????
@Test(timeout=10000)
public void testSwitch_on() throws TimeoutException?? InterruptedException {
if((Boolean)mService.getCachedDp("1")){
mService.send("1"?? "false");
}
dpUpdateReply = mService.send("1"?? "true");
Log.i(TAG?? "testSwitch_on() - dpUpdate dp[1][" + dpUpdateReply.get("1") + "]");
assertEquals("testSwitch_on() - dpUpdate dp[1]"?? true?? dpUpdateReply.get("1"));
}
?????????send??????????????????????????????????????????ж??????????????????й????????з???????10????????????????????
??????????
????The test suite setup assumes:
????A TuyaSmart e-mail type account is available. If you want to use another account type?? you can add the login code for this in class srcandroidTestjavacom extapp uyatestIntegrationService.java .
????Exactly one radiator is already connected to the account.
??????????????????????????????????£???????????????????????????????????????????????????????????
?????Щ???
????CountDownLatch ???????????????????????????????????????????
????java.util.concurrent.CountDownLatch is used for awaiting listeners being triggered and return result to test call. We avoid using Thread.sleep().
???????????ó???????????? ???? ?????????????????????????????????Rules???????????
????@Rule
????public Timeout globalTimeout= new Timeout(10);
??????????????????????к?????????????????????????????????????????????
???????SDK?????????????????github????Щ??????????SDK??????key?????????????????????????XML???????????????????????????з???????????SDK??——??????????SDK???????????Щ????????????????????????readMe????????????????????
???????
??????λ?????е?????????·???????????????????????ù??????????????????????????????????????????в?????y?????????д??????è?????????????????????????????????????????????????????????????????????????????????????????????????????????SDK??????????÷????????????????????????Щ?????????????——????????????????????????????????SDK???????????????????????SDK???????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
???д?ò??????????????????????д?淶??α??????????????????????????????????????????????????????е?Ч?????в????г??????????????????????в?????????????в????г????????????????????????????в????е???????????????????????????????????????ж??????????????????????????????ALM(??????????????)????????????????excel????????ALM(??????????????)????????????????????????????????????????????????д????????????????????????????????????????????????????????????????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????