摘要: @echo offecho 正在创建1.3G文件.filefsutil file createnew 1.3G文件.file 1403148000echo 正在创建1.3G文件.filefsutil file createnew 660MB.file 630840000echo ubuntu-16. 阅读全文
posted @ 2020-11-04 00:05 采蘑菇的小蜜蜂 阅读(436) 评论(0) 推荐(0) 编辑
摘要: echo "正在创建1.3G文件.file"dd if=/dev/zero of=1.3G文件.file bs=1M count=1300 echo "正在创建660MB.file"dd if=/dev/zero of=660MB.file bs=1M count=660 阅读全文
posted @ 2020-11-04 00:03 采蘑菇的小蜜蜂 阅读(113) 评论(0) 推荐(0) 编辑
摘要: @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new MyBaseInterceptor()); } public class MyBaseIntercept 阅读全文
posted @ 2020-09-02 23:46 采蘑菇的小蜜蜂 阅读(239) 评论(0) 推荐(0) 编辑
摘要: public static void wait (WebDriverWait wait,By by,String state,String description) { // LogUtil.debugLog("begin wait.............."+description); if(" 阅读全文
posted @ 2020-07-16 00:17 采蘑菇的小蜜蜂 阅读(88) 评论(0) 推荐(0) 编辑
摘要: public static void generateControllFile(List<List> infoLists) throws ParseException { logger.info("正在生成xlsx管控文件"); String stationInfo_title[] ={ "序列号" 阅读全文
posted @ 2020-07-16 00:15 采蘑菇的小蜜蜂 阅读(89) 评论(0) 推荐(0) 编辑
摘要: public static String match(String value ,String complie){ String rs = null; Pattern regular = Pattern.compile(complie); Matcher matcher = regular.matc 阅读全文
posted @ 2020-07-16 00:14 采蘑菇的小蜜蜂 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" ><suite name="CloudFort"> <test name="User" preserve-o 阅读全文
posted @ 2020-07-16 00:13 采蘑菇的小蜜蜂 阅读(117) 评论(0) 推荐(0) 编辑
摘要: public static void uploadInterface(User user ,String baseUrl,String filePath ,boolean isOverWrite,String remotePath){ CloseableHttpClient client = Htt 阅读全文
posted @ 2020-04-21 23:23 采蘑菇的小蜜蜂 阅读(223) 评论(0) 推荐(0) 编辑
摘要: String response=httpClientUtil.doGet(url, params);//处理resposneJSONObject json = JSONObject.parseObject(response);JSONArray items=json.getJSONArray("" 阅读全文
posted @ 2020-04-21 23:15 采蘑菇的小蜜蜂 阅读(280) 评论(0) 推荐(0) 编辑
摘要: public static boolean ifFilesInDir(String dir,String fileName){ File file = new File(dir); boolean rs = false; List<String> files =new ArrayList<Strin 阅读全文
posted @ 2020-04-13 22:23 采蘑菇的小蜜蜂 阅读(250) 评论(0) 推荐(0) 编辑