Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e8d05db5
authored
Dec 01, 2015
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Plain Diff
init
parents
51259d8c
9f3dd8b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
xxl-job-admin/src/test/java/quartz/JunitTest.java
xxl-job-admin/src/test/java/quartz/JunitTest.java
View file @
e8d05db5
...
@@ -2,12 +2,12 @@ package quartz;
...
@@ -2,12 +2,12 @@ package quartz;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.InvocationTargetException
;
import
java.util.Set
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.junit.runner.RunWith
;
import
org.quartz.JobKey
;
import
org.quartz.SchedulerException
;
import
org.quartz.SchedulerException
;
import
org.springframework.test.context.ContextConfiguration
;
import
org.springframework.test.context.ContextConfiguration
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
...
@@ -21,7 +21,7 @@ public class JunitTest {
...
@@ -21,7 +21,7 @@ public class JunitTest {
@Test
@Test
public
void
getJobKeys
()
throws
SchedulerException
,
IllegalAccessException
,
InvocationTargetException
,
NoSuchMethodException
,
InterruptedException
{
public
void
getJobKeys
()
throws
SchedulerException
,
IllegalAccessException
,
InvocationTargetException
,
NoSuchMethodException
,
InterruptedException
{
Set
<
JobKey
>
list
=
DynamicSchedulerUtil
.
getJobKeys
();
List
<
Map
<
String
,
Object
>>
list
=
DynamicSchedulerUtil
.
getJobList
();
System
.
out
.
println
(
list
);
System
.
out
.
println
(
list
);
TimeUnit
.
SECONDS
.
sleep
(
30
);
TimeUnit
.
SECONDS
.
sleep
(
30
);
}
}
...
...
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