test: support integration test summary

This commit is contained in:
ReaJason
2024-12-02 01:10:51 +08:00
parent 7b9beeb8bb
commit e2340ff2d1
16 changed files with 444 additions and 379 deletions
+7
View File
@@ -1,5 +1,6 @@
plugins {
id "java"
id 'idea'
id "jacoco"
id "io.freefair.lombok" version "8.11"
}
@@ -16,6 +17,12 @@ test {
finalizedBy jacocoTestReport
}
idea {
module {
excludeDirs -= file('build')
}
}
dependencies {
implementation 'net.bytebuddy:byte-buddy:1.15.1'
implementation 'javax.servlet:javax.servlet-api:3.0.1'
@@ -39,10 +39,6 @@ public class GeneratorMain {
}
}
public static GenerateResult generate(Server server, ShellTool shellTool, String shellType, ShellConfig shellConfig) {
return generate(server, shellTool, shellType, shellConfig, Constants.DEFAULT_VERSION);
}
public static GenerateResult generate(Server server, ShellTool shellTool, String shellType, ShellConfig shellConfig, int targetJdkVersion) {
switch (server) {
case TOMCAT: