1
0
mirror of synced 2025-12-29 14:50:03 +08:00

重构单元测试代码

This commit is contained in:
Daniel Qian
2014-08-25 14:10:18 +08:00
parent f326d7e72e
commit 771ddef37e
9 changed files with 309 additions and 206 deletions

View File

@@ -57,7 +57,7 @@ public class WxMenuTest {
Assert.assertEquals(menu.toJson(), json);
}
@Test(dataProvider="wxReturnMenu")
@DataProvider
public Object[][] wxReturnMenu() {
Object[][] res = menuJson();
String json = "{ \"menu\" : " + res[0][0] + " }";