Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
362f95a7
Commit
362f95a7
authored
Jul 12, 2018
by
技术部-任文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
试试新版镜像机器人
parent
22e91ec6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
TestValidationUtil.java
src/test/java/common/TestValidationUtil.java
+3
-2
No files found.
src/test/java/common/TestValidationUtil.java
View file @
362f95a7
package
common
;
package
common
;
import
cn.quantgroup.xyqb.util.ValidationUtil
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.junit.runner.RunWith
;
import
org.junit.runners.JUnit4
;
import
org.junit.runners.JUnit4
;
import
cn.quantgroup.xyqb.util.ValidationUtil
;
@Slf4j
@Slf4j
@RunWith
(
JUnit4
.
class
)
@RunWith
(
JUnit4
.
class
)
public
class
TestValidationUtil
{
public
class
TestValidationUtil
{
...
@@ -19,7 +20,6 @@ public class TestValidationUtil {
...
@@ -19,7 +20,6 @@ public class TestValidationUtil {
{
"16603429800"
,
"张泽浩"
},
{
"16603429800"
,
"张泽浩"
},
{
"17393151197"
,
"李小林?"
},
{
"17393151197"
,
"李小林?"
},
{
"18721920553"
,
"王正\u202D"
}};
{
"18721920553"
,
"王正\u202D"
}};
for
(
String
[]
ctc
:
contacts
)
{
for
(
String
[]
ctc
:
contacts
)
{
log
.
info
(
"phoneNo:[{}][{}],name:[{}][{}],name-trim:[{}][{}]"
,
log
.
info
(
"phoneNo:[{}][{}],name:[{}][{}],name-trim:[{}][{}]"
,
ctc
[
0
],
ValidationUtil
.
validatePhoneNo
(
ctc
[
0
]),
ctc
[
0
],
ValidationUtil
.
validatePhoneNo
(
ctc
[
0
]),
...
@@ -30,6 +30,7 @@ public class TestValidationUtil {
...
@@ -30,6 +30,7 @@ public class TestValidationUtil {
@Test
@Test
public
void
testString
()
{
public
void
testString
()
{
assert
true
;
}
}
}
}
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