Commit b2725842 authored by 马博's avatar 马博

update

parent 2432bb0b
......@@ -16,7 +16,7 @@ public class Config {
@Bean
public PropertySourcesPlaceholderConfigurer propertyConfigInDev() {
PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer();
pspc.setFileEncoding("UTF-8");
// pspc.setFileEncoding("UTF-8");
return pspc;
}
}
......@@ -39,6 +39,7 @@ public class DingdingResult {
transient GitlabProjectMerges gitlabProjectMerges;
String path=null;
public DingdingResult(){}
public DingdingResult(int total, int passCount, int skipCount, int failCount) throws UnsupportedEncodingException {
logger.info("job-name:"+System.getProperty("JOB_NAME"));
logger.info("属性:"+System.getProperties());
......@@ -185,15 +186,15 @@ public class DingdingResult {
// names.addAll(list);
// DingdingResult dingdingResult = new DingdingResult();
// String s = dingdingResult.getByRun("**/*_Cms_ui.java","group");
// System.out.println(s);
//
// ApplicationContext context = new AnnotationConfigApplicationContext(Config.class);
// Environment env=context.getBean(Environment.class);
// String ss = env.getProperty("Cms_ui.group");
// System.out.println(ss =new String(ss.getBytes("ISO-8859-1"), "UTF-8"));
// System.out.println(ss.length());
DingdingResult dingdingResult = new DingdingResult();
String s = dingdingResult.getByRun("**/*_Cms_ui.java","group");
System.out.println(s);
ApplicationContext context = new AnnotationConfigApplicationContext(Config.class);
Environment env=context.getBean(Environment.class);
String ss = env.getProperty("Cms_ui.group");
System.out.println(ss =new String(ss.getBytes("ISO-8859-1"), "UTF-8"));
System.out.println(ss.length());
}
}
\ No newline at end of file
......@@ -86,7 +86,6 @@ ui.group=\u81EA\u52A8\u5316
ui.resultUrl=http://101.68.72.146:18080/job/duiba_ui/HTML_20Report/suite1_test1_results.html
ui.job=duiba_ui
Cms_ui.project=界面自动化核心业务
Cms_ui.names=mabo
Cms_ui.group=cms_ui自动化
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment