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
fabc3e5c
Commit
fabc3e5c
authored
Jan 09, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui update
parent
acfbcc67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
DingdingResult.java
src/test/java/base/DingdingResult.java
+7
-7
No files found.
src/test/java/base/DingdingResult.java
View file @
fabc3e5c
...
@@ -138,13 +138,13 @@ public class DingdingResult {
...
@@ -138,13 +138,13 @@ public class DingdingResult {
return
getByRun
(
run
,
"job"
);
return
getByRun
(
run
,
"job"
);
}
}
public
String
getByRun
(
String
run
,
String
type
)
throws
UnsupportedEncodingException
{
public
String
getByRun
(
String
run
,
String
type
)
throws
UnsupportedEncodingException
{
String
runs
=
run
.
substring
(
run
.
indexOf
(
"_"
)+
1
,
run
.
indexOf
(
"."
));
run
=
run
.
substring
(
run
.
indexOf
(
"_"
)+
1
,
run
.
indexOf
(
"."
));
System
.
out
.
println
(
"before runs:"
+
run
s
);
System
.
out
.
println
(
"before runs:"
+
run
);
run
s
=
this
.
env
.
getProperty
(
runs
+
"."
+
type
);
run
=
this
.
env
.
getProperty
(
run
+
"."
+
type
);
System
.
out
.
println
(
"(runs+\".\"+type):"
+
run
s
+
"."
+
type
);
System
.
out
.
println
(
"(runs+\".\"+type):"
+
run
+
"."
+
type
);
System
.
out
.
println
(
"runs:"
+
run
s
);
System
.
out
.
println
(
"runs:"
+
run
);
if
((
run
s
+
"."
+
type
).
equals
(
"ui.group"
))
return
"自动化测试"
;
if
((
run
+
"."
+
type
).
equals
(
"ui.group"
))
return
"自动化测试"
;
return
new
String
(
run
s
.
getBytes
(
"ISO-8859-1"
),
"UTF-8"
);
//ISO-8859-1
return
new
String
(
run
.
getBytes
(
"ISO-8859-1"
),
"UTF-8"
);
//ISO-8859-1
}
}
public
static
void
main
(
String
[]
args
)
throws
UnsupportedEncodingException
{
public
static
void
main
(
String
[]
args
)
throws
UnsupportedEncodingException
{
...
...
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