Skip to content

Commit

Permalink
测试用例检查Bug修改
Browse files Browse the repository at this point in the history
  • Loading branch information
qmdx committed Oct 16, 2024
1 parent 3b75211 commit 63224f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions mybatis-plus-extension/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies {
implementation "de.ruedigermoeller:fst:3.0.4-jdk17"
implementation "com.github.ben-manes.caffeine:caffeine:2.9.3"
testImplementation "io.github.classgraph:classgraph:4.8.176"
testImplementation "${lib."spring-context-support"}"
testImplementation "${lib.h2}"
testImplementation "${lib.mysql}"
testImplementation "${lib.'logback-classic'}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,12 @@ void test() throws IOException {
Dependency core = dependenciesMap.get("mybatis-plus-core");
Assertions.assertEquals("compile", core.getScope());
Assertions.assertFalse(core.isOptional());
Dependency mybatisSpring = dependenciesMap.get("mybatis-spring");
Assertions.assertEquals("compile", mybatisSpring.getScope());
Assertions.assertTrue(mybatisSpring.isOptional());
Dependency kotlinStdlib = dependenciesMap.get("kotlin-stdlib-jdk8");
Assertions.assertEquals("compile", kotlinStdlib.getScope());
Assertions.assertTrue(kotlinStdlib.isOptional());
Dependency kotlinReflect = dependenciesMap.get("kotlin-reflect");
Assertions.assertEquals("compile", kotlinReflect.getScope());
Assertions.assertTrue(kotlinReflect.isOptional());
Dependency support = dependenciesMap.get("spring-context-support");
Assertions.assertEquals("compile", support.getScope());
Assertions.assertTrue(support.isOptional());
Dependency jdbc = dependenciesMap.get("spring-jdbc");
Assertions.assertEquals("compile", jdbc.getScope());
Assertions.assertTrue(jdbc.isOptional());
Dependency slf4jApi = dependenciesMap.get("slf4j-api");
Assertions.assertEquals("compile", slf4jApi.getScope());
Assertions.assertTrue(slf4jApi.isOptional());
Expand Down

0 comments on commit 63224f3

Please sign in to comment.