摘要: assertTrue(String message,boolean condition)//运行结果是否为true assertFalse(String message,boolean condition)//运行结果是否为false assertEquals(String message,Obje 阅读全文
posted @ 2019-07-31 18:09 草莓甜甜圈 阅读(222) 评论(0) 推荐(0)
摘要: String osName = System.getProperties().getProperty("os.name"); if (osName.equals("Linux")) { //to do something } else { //to do something } 阅读全文
posted @ 2019-07-31 17:48 草莓甜甜圈 阅读(117) 评论(0) 推荐(0)