mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-01 13:10:52 +00:00
Merge pull request #2057 from wing328/fix_local_java_test
[Java] fix local Java test issue using fully qualified name
This commit is contained in:
commit
a9ab8a6e98
@ -85,7 +85,7 @@ public class PetstoreProfiling {
|
|||||||
|
|
||||||
private void writeResultsToFile(List<Map<String, String>> results) {
|
private void writeResultsToFile(List<Map<String, String>> results) {
|
||||||
try {
|
try {
|
||||||
File file = new File(outputFile);
|
java.io.File file = new java.io.File(outputFile);
|
||||||
PrintWriter writer = new PrintWriter(file);
|
PrintWriter writer = new PrintWriter(file);
|
||||||
String command = "mvn compile test-compile exec:java -Dexec.classpathScope=test -Dexec.mainClass=\"io.swagger.PetstoreProfiling\"";
|
String command = "mvn compile test-compile exec:java -Dexec.classpathScope=test -Dexec.mainClass=\"io.swagger.PetstoreProfiling\"";
|
||||||
writer.println("# To run the profiling:");
|
writer.println("# To run the profiling:");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user