-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add illegal expression test case.
- Loading branch information
Showing
5 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import com.arjenzhou.kit.scheduler.job.ScheduledJob; | ||
import test.com.arjenzhou.kit.scheduler.CalculationJob; | ||
import test.com.arjenzhou.kit.scheduler.LogTimeJob; | ||
import test.com.arjenzhou.kit.scheduler.ParseFailedJob; | ||
|
||
/** | ||
* @author [email protected] | ||
|
@@ -13,5 +14,5 @@ | |
requires org.slf4j; | ||
requires org.junit.jupiter.api; | ||
|
||
provides ScheduledJob with LogTimeJob, CalculationJob; | ||
provides ScheduledJob with LogTimeJob, CalculationJob, ParseFailedJob; | ||
} |
16 changes: 16 additions & 0 deletions
16
scheduler/src/test/java/test/com/arjenzhou/kit/scheduler/ParseFailedJob.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package test.com.arjenzhou.kit.scheduler; | ||
|
||
import com.arjenzhou.kit.scheduler.job.MemorySchedulerJob; | ||
import com.arjenzhou.kit.scheduler.job.Scheduled; | ||
|
||
/** | ||
* @author [email protected] | ||
* @since 2023/7/24 | ||
*/ | ||
@Scheduled(cronExpression = "1113 * * * * ?") | ||
public class ParseFailedJob extends MemorySchedulerJob { | ||
@Override | ||
public void execute() { | ||
// do nothing | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
scheduler/src/test/resources/META-INF/services/com.arjenzhou.kit.scheduler.job.ScheduledJob
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
test.com.arjenzhou.kit.scheduler.LogTimeJob | ||
test.com.arjenzhou.kit.scheduler.CalculationJob | ||
test.com.arjenzhou.kit.scheduler.CalculationJob | ||
test.com.arjenzhou.kit.scheduler.ParseFailedJob |
8 changes: 0 additions & 8 deletions
8
statemachine/src/test/java/test/com/arjenzhou/kit/fsm/Output.java
This file was deleted.
Oops, something went wrong.