Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
b2725842
Commit
b2725842
authored
Aug 12, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2432bb0b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
Config.java
src/test/java/base/Config.java
+1
-1
DingdingResult.java
src/test/java/base/DingdingResult.java
+10
-9
duiba.properties
src/test/profiles/aliyun/duiba.properties
+0
-1
No files found.
src/test/java/base/Config.java
View file @
b2725842
...
@@ -16,7 +16,7 @@ public class Config {
...
@@ -16,7 +16,7 @@ public class Config {
@Bean
@Bean
public
PropertySourcesPlaceholderConfigurer
propertyConfigInDev
()
{
public
PropertySourcesPlaceholderConfigurer
propertyConfigInDev
()
{
PropertySourcesPlaceholderConfigurer
pspc
=
new
PropertySourcesPlaceholderConfigurer
();
PropertySourcesPlaceholderConfigurer
pspc
=
new
PropertySourcesPlaceholderConfigurer
();
pspc
.
setFileEncoding
(
"UTF-8"
);
//
pspc.setFileEncoding("UTF-8");
return
pspc
;
return
pspc
;
}
}
}
}
src/test/java/base/DingdingResult.java
View file @
b2725842
...
@@ -39,6 +39,7 @@ public class DingdingResult {
...
@@ -39,6 +39,7 @@ public class DingdingResult {
transient
GitlabProjectMerges
gitlabProjectMerges
;
transient
GitlabProjectMerges
gitlabProjectMerges
;
String
path
=
null
;
String
path
=
null
;
public
DingdingResult
(){}
public
DingdingResult
(
int
total
,
int
passCount
,
int
skipCount
,
int
failCount
)
throws
UnsupportedEncodingException
{
public
DingdingResult
(
int
total
,
int
passCount
,
int
skipCount
,
int
failCount
)
throws
UnsupportedEncodingException
{
logger
.
info
(
"job-name:"
+
System
.
getProperty
(
"JOB_NAME"
));
logger
.
info
(
"job-name:"
+
System
.
getProperty
(
"JOB_NAME"
));
logger
.
info
(
"属性:"
+
System
.
getProperties
());
logger
.
info
(
"属性:"
+
System
.
getProperties
());
...
@@ -185,15 +186,15 @@ public class DingdingResult {
...
@@ -185,15 +186,15 @@ public class DingdingResult {
// names.addAll(list);
// names.addAll(list);
//
DingdingResult dingdingResult = new DingdingResult();
DingdingResult
dingdingResult
=
new
DingdingResult
();
//
String s = dingdingResult.getByRun("**/*_Cms_ui.java","group");
String
s
=
dingdingResult
.
getByRun
(
"**/*_Cms_ui.java"
,
"group"
);
//
System.out.println(s);
System
.
out
.
println
(
s
);
//
//
ApplicationContext context = new AnnotationConfigApplicationContext(Config.class);
ApplicationContext
context
=
new
AnnotationConfigApplicationContext
(
Config
.
class
);
//
Environment env=context.getBean(Environment.class);
Environment
env
=
context
.
getBean
(
Environment
.
class
);
//
String ss = env.getProperty("Cms_ui.group");
String
ss
=
env
.
getProperty
(
"Cms_ui.group"
);
//
System.out.println(ss =new String(ss.getBytes("ISO-8859-1"), "UTF-8"));
System
.
out
.
println
(
ss
=
new
String
(
ss
.
getBytes
(
"ISO-8859-1"
),
"UTF-8"
));
//
System.out.println(ss.length());
System
.
out
.
println
(
ss
.
length
());
}
}
}
}
\ No newline at end of file
src/test/profiles/aliyun/duiba.properties
View file @
b2725842
...
@@ -86,7 +86,6 @@ ui.group=\u81EA\u52A8\u5316
...
@@ -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.resultUrl
=
http://101.68.72.146:18080/job/duiba_ui/HTML_20Report/suite1_test1_results.html
ui.job
=
duiba_ui
ui.job
=
duiba_ui
Cms_ui.project
=
界面自动化核心业务
Cms_ui.project
=
界面自动化核心业务
Cms_ui.names
=
mabo
Cms_ui.names
=
mabo
Cms_ui.group
=
cms_ui自动化
Cms_ui.group
=
cms_ui自动化
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment