diff --git a/bin/utils/test_file_list.yaml b/bin/utils/test_file_list.yaml
index c2fa2fba9bfd..31e862ffb195 100644
--- a/bin/utils/test_file_list.yaml
+++ b/bin/utils/test_file_list.yaml
@@ -8,7 +8,7 @@
sha256: 0a67c32728197e942b13bdda064b73793f12f5c795f1e5cf35a3adf69c973230
# java okhttp gson test files
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java"
- sha256: db505f7801fef62c13a08a8e9ca1fc4c5c947ab46b46f12943139d353feacf17
+ sha256: 325fdd5d7e2c97790c0fb44f712ab7b2ba022d7e1a5b0056f47b07f342682b6d
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/JSONTest.java"
sha256: e673d9928c8eb848262d0116fe0d28db832e128671a810a7c966d06d90cb9b63
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/PetApiTest.java"
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/api_test.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/api_test.mustache
index f4bac8ac5435..bfb939f95528 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/api_test.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/api_test.mustache
@@ -4,8 +4,8 @@ package {{package}};
{{#imports}}import {{import}};
{{/imports}}
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -18,12 +18,12 @@ import java.util.Map;
/**
* API tests for {{classname}}
*/
-@Ignore
public class {{classname}}Test {
private final {{classname}} api = new {{classname}}();
- {{#operations}}{{#operation}}
+ {{#operations}}
+ {{#operation}}
/**
* {{summary}}
*
@@ -37,9 +37,12 @@ public class {{classname}}Test {
{{#allParams}}
{{{dataType}}} {{paramName}} = null;
{{/allParams}}
- {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
+ // uncomment below to test the API function
+ //{{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
// TODO: test validations
}
- {{/operation}}{{/operations}}
+
+ {{/operation}}
+ {{/operations}}
}
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/pom.mustache
index 8444791d7d49..0bbe3ae51438 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/pom.mustache
@@ -63,7 +63,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 2.12
+ 2.22.2
@@ -73,7 +73,6 @@
-Xms512m -Xmx1500m
methods
- pertest
@@ -295,8 +294,8 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter-api
${junit-version}
test
@@ -326,6 +325,6 @@
1.3.5
{{/useJakartaEe}}
1.0.0
- 4.13.2
+ 5.10.2
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
index 71dbcc85300c..859d322d08ea 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
@@ -135,9 +135,9 @@ dependencies {
implementation 'io.swagger.parser.v3:swagger-parser-v3:2.0.30'
{{/dynamicOperations}}
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
index 05ec20bff2c5..68d9e7fc8efa 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
@@ -35,7 +35,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
index 7d2d6337336c..36f91f2592c4 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
@@ -438,7 +438,7 @@
{{#useBeanValidation}}
3.0.2
{{/useBeanValidation}}
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.gradle b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.gradle
index c200c7adc70d..ba29ee2b2f74 100644
--- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.gradle
+++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt
index 3f438cc18060..cef996ca186a 100644
--- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt
+++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/pom.xml b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/pom.xml
index 3c6852826c1e..6d7d759f3536 100644
--- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/pom.xml
+++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/pom.xml
@@ -339,7 +339,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/echo_api/java/okhttp-gson/build.gradle b/samples/client/echo_api/java/okhttp-gson/build.gradle
index 38a181fc21f4..3d38f68764d2 100644
--- a/samples/client/echo_api/java/okhttp-gson/build.gradle
+++ b/samples/client/echo_api/java/okhttp-gson/build.gradle
@@ -117,9 +117,9 @@ dependencies {
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/echo_api/java/okhttp-gson/build.sbt b/samples/client/echo_api/java/okhttp-gson/build.sbt
index 55b2479519fe..7ea5b0cb5607 100644
--- a/samples/client/echo_api/java/okhttp-gson/build.sbt
+++ b/samples/client/echo_api/java/okhttp-gson/build.sbt
@@ -21,7 +21,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/echo_api/java/okhttp-gson/pom.xml b/samples/client/echo_api/java/okhttp-gson/pom.xml
index 00a6896416f4..3c3aaad6fb59 100644
--- a/samples/client/echo_api/java/okhttp-gson/pom.xml
+++ b/samples/client/echo_api/java/okhttp-gson/pom.xml
@@ -334,7 +334,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/CustomTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/CustomTest.java
index e7787c995ff5..29855179b560 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/CustomTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/CustomTest.java
@@ -13,7 +13,7 @@
package org.openapitools.client;
-import org.junit.Assert;
+import org.junit.jupiter.api.Assertions;
import org.openapitools.client.ApiException;
import org.openapitools.client.api.*;
import org.openapitools.client.model.*;
@@ -46,13 +46,13 @@ public void testEchoBodyPet() throws ApiException {
photoUrls(Arrays.asList(new String[]{"http://a.com", "http://b.com"})).category(new Category().id(987L).name("new category"));
Pet p = bodyApi.testEchoBodyPet(queryObject);
- Assert.assertNotNull(p);
- Assert.assertEquals("Hello World", p.getName());
- Assert.assertEquals(Long.valueOf(12345L), p.getId());
+ Assertions.assertNotNull(p);
+ Assertions.assertEquals("Hello World", p.getName());
+ Assertions.assertEquals(Long.valueOf(12345L), p.getId());
// response is empty body
Pet p2 = bodyApi.testEchoBodyPet(null);
- Assert.assertNull(p2);
+ Assertions.assertNull(p2);
}
/**
@@ -70,7 +70,7 @@ public void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
String response = api.testQueryStyleFormExplodeTrueObject(queryObject);
org.openapitools.client.EchoServerResponseParser p = new org.openapitools.client.EchoServerResponseParser(response);
- Assert.assertEquals("/query/style_form/explode_true/object?id=12345&name=Hello%20World&category=class%20Category%20%7B%0A%20%20%20%20id%3A%20987%0A%20%20%20%20name%3A%20new%20category%0A%7D&photoUrls=http%3A%2F%2Fa.com&photoUrls=http%3A%2F%2Fb.com", p.path);
+ Assertions.assertEquals("/query/style_form/explode_true/object?id=12345&name=Hello%20World&category=class%20Category%20%7B%0A%20%20%20%20id%3A%20987%0A%20%20%20%20name%3A%20new%20category%0A%7D&photoUrls=http%3A%2F%2Fa.com&photoUrls=http%3A%2F%2Fb.com", p.path);
}
/**
@@ -88,7 +88,7 @@ public void testQueryStyleDeepObjectExplodeTrueObject() throws ApiException {
String response = api.testQueryStyleDeepObjectExplodeTrueObject(queryObject);
org.openapitools.client.EchoServerResponseParser p = new org.openapitools.client.EchoServerResponseParser(response);
- Assert.assertEquals("/query/style_deepObject/explode_true/object?query_object[id]=12345&query_object[name]=Hello%20World&query_object[category][id]=987&query_object[category][name]=new%20category&query_object[photoUrls][0]=http%3A%2F%2Fa.com&query_object[photoUrls][1]=http%3A%2F%2Fb.com", p.path);
+ Assertions.assertEquals("/query/style_deepObject/explode_true/object?query_object[id]=12345&query_object[name]=Hello%20World&query_object[category][id]=987&query_object[category][name]=new%20category&query_object[photoUrls][0]=http%3A%2F%2Fa.com&query_object[photoUrls][1]=http%3A%2F%2Fb.com", p.path);
}
/**
@@ -106,7 +106,7 @@ public void testQueryStyleDeepObjectExplodeTrueObjectAllOf() throws ApiException
String response = api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
org.openapitools.client.EchoServerResponseParser p = new org.openapitools.client.EchoServerResponseParser(response);
- Assert.assertEquals("/query/style_deepObject/explode_true/object/allOf?query_object[size]=small&query_object[color]=red&query_object[id]=12345&query_object[name]=Hello%20World", p.path);
+ Assertions.assertEquals("/query/style_deepObject/explode_true/object/allOf?query_object[size]=small&query_object[color]=red&query_object[id]=12345&query_object[name]=Hello%20World", p.path);
}
/**
@@ -124,6 +124,6 @@ public void testQueryStyleFormExplodeTrueArrayString() throws ApiException {
String response = api.testQueryStyleFormExplodeTrueArrayString(q);
org.openapitools.client.EchoServerResponseParser p = new org.openapitools.client.EchoServerResponseParser(response);
- Assert.assertEquals("/query/style_form/explode_true/array_string?values=hello%20world%201&values=hello%20world%202", p.path);
+ Assertions.assertEquals("/query/style_form/explode_true/array_string?values=hello%20world%201&values=hello%20world%202", p.path);
}
}
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
index 69083155b5af..dcf4ae34da4e 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
@@ -13,7 +13,7 @@
package org.openapitools.client.api;
-import org.junit.Assert;
+import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Assertions;
import org.openapitools.client.ApiException;
import org.junit.jupiter.api.Disabled;
diff --git a/samples/client/others/java/okhttp-gson-oneOf/build.gradle b/samples/client/others/java/okhttp-gson-oneOf/build.gradle
index 385a98a20746..06b2fd80c4c2 100644
--- a/samples/client/others/java/okhttp-gson-oneOf/build.gradle
+++ b/samples/client/others/java/okhttp-gson-oneOf/build.gradle
@@ -117,9 +117,9 @@ dependencies {
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/others/java/okhttp-gson-oneOf/build.sbt b/samples/client/others/java/okhttp-gson-oneOf/build.sbt
index ee12a918d398..5aea48501a09 100644
--- a/samples/client/others/java/okhttp-gson-oneOf/build.sbt
+++ b/samples/client/others/java/okhttp-gson-oneOf/build.sbt
@@ -21,7 +21,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/others/java/okhttp-gson-oneOf/pom.xml b/samples/client/others/java/okhttp-gson-oneOf/pom.xml
index c69b956b30a2..bb8290ae29ae 100644
--- a/samples/client/others/java/okhttp-gson-oneOf/pom.xml
+++ b/samples/client/others/java/okhttp-gson-oneOf/pom.xml
@@ -334,7 +334,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/others/java/okhttp-gson-streaming/build.gradle b/samples/client/others/java/okhttp-gson-streaming/build.gradle
index 41d81af4dcc2..de95fe59eb4b 100644
--- a/samples/client/others/java/okhttp-gson-streaming/build.gradle
+++ b/samples/client/others/java/okhttp-gson-streaming/build.gradle
@@ -117,9 +117,9 @@ dependencies {
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/others/java/okhttp-gson-streaming/build.sbt b/samples/client/others/java/okhttp-gson-streaming/build.sbt
index 2a9184320b66..43dc93b58620 100644
--- a/samples/client/others/java/okhttp-gson-streaming/build.sbt
+++ b/samples/client/others/java/okhttp-gson-streaming/build.sbt
@@ -21,7 +21,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/others/java/okhttp-gson-streaming/pom.xml b/samples/client/others/java/okhttp-gson-streaming/pom.xml
index 9bb594033457..83e02f07a084 100644
--- a/samples/client/others/java/okhttp-gson-streaming/pom.xml
+++ b/samples/client/others/java/okhttp-gson-streaming/pom.xml
@@ -334,7 +334,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/google-api-client/pom.xml b/samples/client/petstore/java/google-api-client/pom.xml
index f8b9e2bb1397..3ba4ec5e7ff1 100644
--- a/samples/client/petstore/java/google-api-client/pom.xml
+++ b/samples/client/petstore/java/google-api-client/pom.xml
@@ -56,7 +56,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 2.12
+ 2.22.2
@@ -66,7 +66,6 @@
-Xms512m -Xmx1500m
methods
- pertest
@@ -252,8 +251,8 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter-api
${junit-version}
test
@@ -267,6 +266,6 @@
0.2.6
1.3.5
1.0.0
- 4.13.2
+ 5.10.2
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java
index a6bcac74ff4f..7f8e3bb8df9b 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java
@@ -15,8 +15,8 @@
import org.openapitools.client.model.Client;
import java.util.UUID;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -29,12 +29,10 @@
/**
* API tests for AnotherFakeApi
*/
-@Ignore
public class AnotherFakeApiTest {
private final AnotherFakeApi api = new AnotherFakeApi();
-
/**
* To test special tags
*
@@ -47,9 +45,10 @@ public class AnotherFakeApiTest {
public void call123testSpecialTagsTest() throws IOException {
UUID uuidTest = null;
Client body = null;
- Client response = api.call123testSpecialTags(uuidTest, body);
+ // uncomment below to test the API function
+ //Client response = api.call123testSpecialTags(uuidTest, body);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeApiTest.java
index 01fda5aac296..274dfffd5292 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeApiTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeApiTest.java
@@ -22,8 +22,8 @@
import org.openapitools.client.model.OuterComposite;
import org.openapitools.client.model.User;
import org.openapitools.client.model.XmlItem;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -36,12 +36,10 @@
/**
* API tests for FakeApi
*/
-@Ignore
public class FakeApiTest {
private final FakeApi api = new FakeApi();
-
/**
* creates an XmlItem
*
@@ -53,11 +51,12 @@ public class FakeApiTest {
@Test
public void createXmlItemTest() throws IOException {
XmlItem xmlItem = null;
- api.createXmlItem(xmlItem);
+ // uncomment below to test the API function
+ //api.createXmlItem(xmlItem);
// TODO: test validations
}
-
+
/**
*
*
@@ -69,11 +68,12 @@ public void createXmlItemTest() throws IOException {
@Test
public void fakeOuterBooleanSerializeTest() throws IOException {
Boolean body = null;
- Boolean response = api.fakeOuterBooleanSerialize(body);
+ // uncomment below to test the API function
+ //Boolean response = api.fakeOuterBooleanSerialize(body);
// TODO: test validations
}
-
+
/**
*
*
@@ -85,11 +85,12 @@ public void fakeOuterBooleanSerializeTest() throws IOException {
@Test
public void fakeOuterCompositeSerializeTest() throws IOException {
OuterComposite body = null;
- OuterComposite response = api.fakeOuterCompositeSerialize(body);
+ // uncomment below to test the API function
+ //OuterComposite response = api.fakeOuterCompositeSerialize(body);
// TODO: test validations
}
-
+
/**
*
*
@@ -101,11 +102,12 @@ public void fakeOuterCompositeSerializeTest() throws IOException {
@Test
public void fakeOuterNumberSerializeTest() throws IOException {
BigDecimal body = null;
- BigDecimal response = api.fakeOuterNumberSerialize(body);
+ // uncomment below to test the API function
+ //BigDecimal response = api.fakeOuterNumberSerialize(body);
// TODO: test validations
}
-
+
/**
*
*
@@ -117,11 +119,12 @@ public void fakeOuterNumberSerializeTest() throws IOException {
@Test
public void fakeOuterStringSerializeTest() throws IOException {
String body = null;
- String response = api.fakeOuterStringSerialize(body);
+ // uncomment below to test the API function
+ //String response = api.fakeOuterStringSerialize(body);
// TODO: test validations
}
-
+
/**
*
*
@@ -133,11 +136,12 @@ public void fakeOuterStringSerializeTest() throws IOException {
@Test
public void testBodyWithFileSchemaTest() throws IOException {
FileSchemaTestClass body = null;
- api.testBodyWithFileSchema(body);
+ // uncomment below to test the API function
+ //api.testBodyWithFileSchema(body);
// TODO: test validations
}
-
+
/**
*
*
@@ -150,11 +154,12 @@ public void testBodyWithFileSchemaTest() throws IOException {
public void testBodyWithQueryParamsTest() throws IOException {
String query = null;
User body = null;
- api.testBodyWithQueryParams(query, body);
+ // uncomment below to test the API function
+ //api.testBodyWithQueryParams(query, body);
// TODO: test validations
}
-
+
/**
* To test \"client\" model
*
@@ -166,11 +171,12 @@ public void testBodyWithQueryParamsTest() throws IOException {
@Test
public void testClientModelTest() throws IOException {
Client body = null;
- Client response = api.testClientModel(body);
+ // uncomment below to test the API function
+ //Client response = api.testClientModel(body);
// TODO: test validations
}
-
+
/**
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
*
@@ -195,11 +201,12 @@ public void testEndpointParametersTest() throws IOException {
OffsetDateTime dateTime = null;
String password = null;
String paramCallback = null;
- api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ // uncomment below to test the API function
+ //api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
// TODO: test validations
}
-
+
/**
* To test enum parameters
*
@@ -218,11 +225,12 @@ public void testEnumParametersTest() throws IOException {
Double enumQueryDouble = null;
List enumFormStringArray = null;
String enumFormString = null;
- api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
+ // uncomment below to test the API function
+ //api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
// TODO: test validations
}
-
+
/**
* Fake endpoint to test group parameters (optional)
*
@@ -239,11 +247,12 @@ public void testGroupParametersTest() throws IOException {
Integer stringGroup = null;
Boolean booleanGroup = null;
Long int64Group = null;
- api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
+ // uncomment below to test the API function
+ //api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
// TODO: test validations
}
-
+
/**
* test inline additionalProperties
*
@@ -255,11 +264,12 @@ public void testGroupParametersTest() throws IOException {
@Test
public void testInlineAdditionalPropertiesTest() throws IOException {
Map param = null;
- api.testInlineAdditionalProperties(param);
+ // uncomment below to test the API function
+ //api.testInlineAdditionalProperties(param);
// TODO: test validations
}
-
+
/**
* test json serialization of form data
*
@@ -272,11 +282,12 @@ public void testInlineAdditionalPropertiesTest() throws IOException {
public void testJsonFormDataTest() throws IOException {
String param = null;
String param2 = null;
- api.testJsonFormData(param, param2);
+ // uncomment below to test the API function
+ //api.testJsonFormData(param, param2);
// TODO: test validations
}
-
+
/**
*
*
@@ -292,9 +303,10 @@ public void testQueryParameterCollectionFormatTest() throws IOException {
List http = null;
List url = null;
List context = null;
- api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
+ // uncomment below to test the API function
+ //api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java
index 7336706db7c7..bd5f014616a7 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java
@@ -14,8 +14,8 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Client;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -28,12 +28,10 @@
/**
* API tests for FakeClassnameTags123Api
*/
-@Ignore
public class FakeClassnameTags123ApiTest {
private final FakeClassnameTags123Api api = new FakeClassnameTags123Api();
-
/**
* To test class name in snake case
*
@@ -45,9 +43,10 @@ public class FakeClassnameTags123ApiTest {
@Test
public void testClassnameTest() throws IOException {
Client body = null;
- Client response = api.testClassname(body);
+ // uncomment below to test the API function
+ //Client response = api.testClassname(body);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/PetApiTest.java
index ee0ecc7df519..fceb8e3a1581 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/PetApiTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/PetApiTest.java
@@ -17,8 +17,8 @@
import org.openapitools.client.model.ModelApiResponse;
import org.openapitools.client.model.Pet;
import java.util.Set;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -31,12 +31,10 @@
/**
* API tests for PetApi
*/
-@Ignore
public class PetApiTest {
private final PetApi api = new PetApi();
-
/**
* Add a new pet to the store
*
@@ -48,11 +46,12 @@ public class PetApiTest {
@Test
public void addPetTest() throws IOException {
Pet body = null;
- api.addPet(body);
+ // uncomment below to test the API function
+ //api.addPet(body);
// TODO: test validations
}
-
+
/**
* Deletes a pet
*
@@ -65,11 +64,12 @@ public void addPetTest() throws IOException {
public void deletePetTest() throws IOException {
Long petId = null;
String apiKey = null;
- api.deletePet(petId, apiKey);
+ // uncomment below to test the API function
+ //api.deletePet(petId, apiKey);
// TODO: test validations
}
-
+
/**
* Finds Pets by status
*
@@ -81,11 +81,12 @@ public void deletePetTest() throws IOException {
@Test
public void findPetsByStatusTest() throws IOException {
List status = null;
- List response = api.findPetsByStatus(status);
+ // uncomment below to test the API function
+ //List response = api.findPetsByStatus(status);
// TODO: test validations
}
-
+
/**
* Finds Pets by tags
*
@@ -97,11 +98,12 @@ public void findPetsByStatusTest() throws IOException {
@Test
public void findPetsByTagsTest() throws IOException {
Set tags = null;
- Set response = api.findPetsByTags(tags);
+ // uncomment below to test the API function
+ //Set response = api.findPetsByTags(tags);
// TODO: test validations
}
-
+
/**
* Find pet by ID
*
@@ -113,11 +115,12 @@ public void findPetsByTagsTest() throws IOException {
@Test
public void getPetByIdTest() throws IOException {
Long petId = null;
- Pet response = api.getPetById(petId);
+ // uncomment below to test the API function
+ //Pet response = api.getPetById(petId);
// TODO: test validations
}
-
+
/**
* Update an existing pet
*
@@ -129,11 +132,12 @@ public void getPetByIdTest() throws IOException {
@Test
public void updatePetTest() throws IOException {
Pet body = null;
- api.updatePet(body);
+ // uncomment below to test the API function
+ //api.updatePet(body);
// TODO: test validations
}
-
+
/**
* Updates a pet in the store with form data
*
@@ -147,11 +151,12 @@ public void updatePetWithFormTest() throws IOException {
Long petId = null;
String name = null;
String status = null;
- api.updatePetWithForm(petId, name, status);
+ // uncomment below to test the API function
+ //api.updatePetWithForm(petId, name, status);
// TODO: test validations
}
-
+
/**
* uploads an image
*
@@ -165,11 +170,12 @@ public void uploadFileTest() throws IOException {
Long petId = null;
String additionalMetadata = null;
File _file = null;
- ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file);
+ // uncomment below to test the API function
+ //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file);
// TODO: test validations
}
-
+
/**
* uploads an image (required)
*
@@ -183,9 +189,10 @@ public void uploadFileWithRequiredFileTest() throws IOException {
Long petId = null;
File requiredFile = null;
String additionalMetadata = null;
- ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata);
+ // uncomment below to test the API function
+ //ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/StoreApiTest.java
index 8f769519c2d3..6ddc66f6a48d 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/StoreApiTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/StoreApiTest.java
@@ -14,8 +14,8 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Order;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -28,12 +28,10 @@
/**
* API tests for StoreApi
*/
-@Ignore
public class StoreApiTest {
private final StoreApi api = new StoreApi();
-
/**
* Delete purchase order by ID
*
@@ -45,11 +43,12 @@ public class StoreApiTest {
@Test
public void deleteOrderTest() throws IOException {
String orderId = null;
- api.deleteOrder(orderId);
+ // uncomment below to test the API function
+ //api.deleteOrder(orderId);
// TODO: test validations
}
-
+
/**
* Returns pet inventories by status
*
@@ -60,11 +59,12 @@ public void deleteOrderTest() throws IOException {
*/
@Test
public void getInventoryTest() throws IOException {
- Map response = api.getInventory();
+ // uncomment below to test the API function
+ //Map response = api.getInventory();
// TODO: test validations
}
-
+
/**
* Find purchase order by ID
*
@@ -76,11 +76,12 @@ public void getInventoryTest() throws IOException {
@Test
public void getOrderByIdTest() throws IOException {
Long orderId = null;
- Order response = api.getOrderById(orderId);
+ // uncomment below to test the API function
+ //Order response = api.getOrderById(orderId);
// TODO: test validations
}
-
+
/**
* Place an order for a pet
*
@@ -92,9 +93,10 @@ public void getOrderByIdTest() throws IOException {
@Test
public void placeOrderTest() throws IOException {
Order body = null;
- Order response = api.placeOrder(body);
+ // uncomment below to test the API function
+ //Order response = api.placeOrder(body);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/UserApiTest.java
index 6035fe4cb18f..1c28fd599e95 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/UserApiTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/api/UserApiTest.java
@@ -15,8 +15,8 @@
import java.time.OffsetDateTime;
import org.openapitools.client.model.User;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.time.LocalDate;
@@ -29,12 +29,10 @@
/**
* API tests for UserApi
*/
-@Ignore
public class UserApiTest {
private final UserApi api = new UserApi();
-
/**
* Create user
*
@@ -46,11 +44,12 @@ public class UserApiTest {
@Test
public void createUserTest() throws IOException {
User body = null;
- api.createUser(body);
+ // uncomment below to test the API function
+ //api.createUser(body);
// TODO: test validations
}
-
+
/**
* Creates list of users with given input array
*
@@ -62,11 +61,12 @@ public void createUserTest() throws IOException {
@Test
public void createUsersWithArrayInputTest() throws IOException {
List body = null;
- api.createUsersWithArrayInput(body);
+ // uncomment below to test the API function
+ //api.createUsersWithArrayInput(body);
// TODO: test validations
}
-
+
/**
* Creates list of users with given input array
*
@@ -78,11 +78,12 @@ public void createUsersWithArrayInputTest() throws IOException {
@Test
public void createUsersWithListInputTest() throws IOException {
List body = null;
- api.createUsersWithListInput(body);
+ // uncomment below to test the API function
+ //api.createUsersWithListInput(body);
// TODO: test validations
}
-
+
/**
* Delete user
*
@@ -94,11 +95,12 @@ public void createUsersWithListInputTest() throws IOException {
@Test
public void deleteUserTest() throws IOException {
String username = null;
- api.deleteUser(username);
+ // uncomment below to test the API function
+ //api.deleteUser(username);
// TODO: test validations
}
-
+
/**
* Get user by user name
*
@@ -110,11 +112,12 @@ public void deleteUserTest() throws IOException {
@Test
public void getUserByNameTest() throws IOException {
String username = null;
- User response = api.getUserByName(username);
+ // uncomment below to test the API function
+ //User response = api.getUserByName(username);
// TODO: test validations
}
-
+
/**
* Logs user into the system
*
@@ -127,11 +130,12 @@ public void getUserByNameTest() throws IOException {
public void loginUserTest() throws IOException {
String username = null;
String password = null;
- String response = api.loginUser(username, password);
+ // uncomment below to test the API function
+ //String response = api.loginUser(username, password);
// TODO: test validations
}
-
+
/**
* Logs out current logged in user session
*
@@ -142,11 +146,12 @@ public void loginUserTest() throws IOException {
*/
@Test
public void logoutUserTest() throws IOException {
- api.logoutUser();
+ // uncomment below to test the API function
+ //api.logoutUser();
// TODO: test validations
}
-
+
/**
* Updated user
*
@@ -159,9 +164,10 @@ public void logoutUserTest() throws IOException {
public void updateUserTest() throws IOException {
String username = null;
User body = null;
- api.updateUser(username, body);
+ // uncomment below to test the API function
+ //api.updateUser(username, body);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java
index 2a18763af1cd..faacb289c17e 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java
@@ -20,21 +20,21 @@
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesAnyType
*/
-public class AdditionalPropertiesAnyTypeTest {
+class AdditionalPropertiesAnyTypeTest {
private final AdditionalPropertiesAnyType model = new AdditionalPropertiesAnyType();
/**
* Model tests for AdditionalPropertiesAnyType
*/
@Test
- public void testAdditionalPropertiesAnyType() {
+ void testAdditionalPropertiesAnyType() {
// TODO: test AdditionalPropertiesAnyType
}
@@ -42,7 +42,7 @@ public void testAdditionalPropertiesAnyType() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java
index b38283c127c4..b506ff7ae92a 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java
@@ -21,21 +21,21 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesArray
*/
-public class AdditionalPropertiesArrayTest {
+class AdditionalPropertiesArrayTest {
private final AdditionalPropertiesArray model = new AdditionalPropertiesArray();
/**
* Model tests for AdditionalPropertiesArray
*/
@Test
- public void testAdditionalPropertiesArray() {
+ void testAdditionalPropertiesArray() {
// TODO: test AdditionalPropertiesArray
}
@@ -43,7 +43,7 @@ public void testAdditionalPropertiesArray() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java
index c2e520f94bce..ba65ffedc14f 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java
@@ -20,21 +20,21 @@
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesBoolean
*/
-public class AdditionalPropertiesBooleanTest {
+class AdditionalPropertiesBooleanTest {
private final AdditionalPropertiesBoolean model = new AdditionalPropertiesBoolean();
/**
* Model tests for AdditionalPropertiesBoolean
*/
@Test
- public void testAdditionalPropertiesBoolean() {
+ void testAdditionalPropertiesBoolean() {
// TODO: test AdditionalPropertiesBoolean
}
@@ -42,7 +42,7 @@ public void testAdditionalPropertiesBoolean() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java
index 6f1b83dce1a8..72854079e5ed 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java
@@ -22,21 +22,21 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesClass
*/
-public class AdditionalPropertiesClassTest {
+class AdditionalPropertiesClassTest {
private final AdditionalPropertiesClass model = new AdditionalPropertiesClass();
/**
* Model tests for AdditionalPropertiesClass
*/
@Test
- public void testAdditionalPropertiesClass() {
+ void testAdditionalPropertiesClass() {
// TODO: test AdditionalPropertiesClass
}
@@ -44,7 +44,7 @@ public void testAdditionalPropertiesClass() {
* Test the property 'mapString'
*/
@Test
- public void mapStringTest() {
+ void mapStringTest() {
// TODO: test mapString
}
@@ -52,7 +52,7 @@ public void mapStringTest() {
* Test the property 'mapNumber'
*/
@Test
- public void mapNumberTest() {
+ void mapNumberTest() {
// TODO: test mapNumber
}
@@ -60,7 +60,7 @@ public void mapNumberTest() {
* Test the property 'mapInteger'
*/
@Test
- public void mapIntegerTest() {
+ void mapIntegerTest() {
// TODO: test mapInteger
}
@@ -68,7 +68,7 @@ public void mapIntegerTest() {
* Test the property 'mapBoolean'
*/
@Test
- public void mapBooleanTest() {
+ void mapBooleanTest() {
// TODO: test mapBoolean
}
@@ -76,7 +76,7 @@ public void mapBooleanTest() {
* Test the property 'mapArrayInteger'
*/
@Test
- public void mapArrayIntegerTest() {
+ void mapArrayIntegerTest() {
// TODO: test mapArrayInteger
}
@@ -84,7 +84,7 @@ public void mapArrayIntegerTest() {
* Test the property 'mapArrayAnytype'
*/
@Test
- public void mapArrayAnytypeTest() {
+ void mapArrayAnytypeTest() {
// TODO: test mapArrayAnytype
}
@@ -92,7 +92,7 @@ public void mapArrayAnytypeTest() {
* Test the property 'mapMapString'
*/
@Test
- public void mapMapStringTest() {
+ void mapMapStringTest() {
// TODO: test mapMapString
}
@@ -100,7 +100,7 @@ public void mapMapStringTest() {
* Test the property 'mapMapAnytype'
*/
@Test
- public void mapMapAnytypeTest() {
+ void mapMapAnytypeTest() {
// TODO: test mapMapAnytype
}
@@ -108,7 +108,7 @@ public void mapMapAnytypeTest() {
* Test the property 'anytype1'
*/
@Test
- public void anytype1Test() {
+ void anytype1Test() {
// TODO: test anytype1
}
@@ -116,7 +116,7 @@ public void anytype1Test() {
* Test the property 'anytype2'
*/
@Test
- public void anytype2Test() {
+ void anytype2Test() {
// TODO: test anytype2
}
@@ -124,7 +124,7 @@ public void anytype2Test() {
* Test the property 'anytype3'
*/
@Test
- public void anytype3Test() {
+ void anytype3Test() {
// TODO: test anytype3
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java
index 5ba298191173..916c2c2bcb3d 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java
@@ -20,21 +20,21 @@
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesInteger
*/
-public class AdditionalPropertiesIntegerTest {
+class AdditionalPropertiesIntegerTest {
private final AdditionalPropertiesInteger model = new AdditionalPropertiesInteger();
/**
* Model tests for AdditionalPropertiesInteger
*/
@Test
- public void testAdditionalPropertiesInteger() {
+ void testAdditionalPropertiesInteger() {
// TODO: test AdditionalPropertiesInteger
}
@@ -42,7 +42,7 @@ public void testAdditionalPropertiesInteger() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java
index bb7004745abc..a099245eec5b 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java
@@ -21,21 +21,21 @@
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesNumber
*/
-public class AdditionalPropertiesNumberTest {
+class AdditionalPropertiesNumberTest {
private final AdditionalPropertiesNumber model = new AdditionalPropertiesNumber();
/**
* Model tests for AdditionalPropertiesNumber
*/
@Test
- public void testAdditionalPropertiesNumber() {
+ void testAdditionalPropertiesNumber() {
// TODO: test AdditionalPropertiesNumber
}
@@ -43,7 +43,7 @@ public void testAdditionalPropertiesNumber() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java
index df3fb067d745..d47c9a37d1fe 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java
@@ -20,21 +20,21 @@
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesObject
*/
-public class AdditionalPropertiesObjectTest {
+class AdditionalPropertiesObjectTest {
private final AdditionalPropertiesObject model = new AdditionalPropertiesObject();
/**
* Model tests for AdditionalPropertiesObject
*/
@Test
- public void testAdditionalPropertiesObject() {
+ void testAdditionalPropertiesObject() {
// TODO: test AdditionalPropertiesObject
}
@@ -42,7 +42,7 @@ public void testAdditionalPropertiesObject() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java
index 3e24921e49f2..3820dd2e23ce 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java
@@ -20,21 +20,21 @@
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesString
*/
-public class AdditionalPropertiesStringTest {
+class AdditionalPropertiesStringTest {
private final AdditionalPropertiesString model = new AdditionalPropertiesString();
/**
* Model tests for AdditionalPropertiesString
*/
@Test
- public void testAdditionalPropertiesString() {
+ void testAdditionalPropertiesString() {
// TODO: test AdditionalPropertiesString
}
@@ -42,7 +42,7 @@ public void testAdditionalPropertiesString() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AnimalTest.java
index da5609b5489d..24776d3cb515 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AnimalTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/AnimalTest.java
@@ -21,21 +21,21 @@
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Animal
*/
-public class AnimalTest {
+class AnimalTest {
private final Animal model = new Animal();
/**
* Model tests for Animal
*/
@Test
- public void testAnimal() {
+ void testAnimal() {
// TODO: test Animal
}
@@ -43,7 +43,7 @@ public void testAnimal() {
* Test the property 'className'
*/
@Test
- public void classNameTest() {
+ void classNameTest() {
// TODO: test className
}
@@ -51,7 +51,7 @@ public void classNameTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java
index cbc199f15753..6bbe877044db 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java
@@ -22,21 +22,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayOfArrayOfNumberOnly
*/
-public class ArrayOfArrayOfNumberOnlyTest {
+class ArrayOfArrayOfNumberOnlyTest {
private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly();
/**
* Model tests for ArrayOfArrayOfNumberOnly
*/
@Test
- public void testArrayOfArrayOfNumberOnly() {
+ void testArrayOfArrayOfNumberOnly() {
// TODO: test ArrayOfArrayOfNumberOnly
}
@@ -44,7 +44,7 @@ public void testArrayOfArrayOfNumberOnly() {
* Test the property 'arrayArrayNumber'
*/
@Test
- public void arrayArrayNumberTest() {
+ void arrayArrayNumberTest() {
// TODO: test arrayArrayNumber
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java
index 762f9d6dc334..eaf908bb1ab7 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java
@@ -22,21 +22,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayOfNumberOnly
*/
-public class ArrayOfNumberOnlyTest {
+class ArrayOfNumberOnlyTest {
private final ArrayOfNumberOnly model = new ArrayOfNumberOnly();
/**
* Model tests for ArrayOfNumberOnly
*/
@Test
- public void testArrayOfNumberOnly() {
+ void testArrayOfNumberOnly() {
// TODO: test ArrayOfNumberOnly
}
@@ -44,7 +44,7 @@ public void testArrayOfNumberOnly() {
* Test the property 'arrayNumber'
*/
@Test
- public void arrayNumberTest() {
+ void arrayNumberTest() {
// TODO: test arrayNumber
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayTestTest.java
index 20dc34a8c517..99c6bcf53601 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayTestTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ArrayTestTest.java
@@ -22,21 +22,21 @@
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ReadOnlyFirst;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayTest
*/
-public class ArrayTestTest {
+class ArrayTestTest {
private final ArrayTest model = new ArrayTest();
/**
* Model tests for ArrayTest
*/
@Test
- public void testArrayTest() {
+ void testArrayTest() {
// TODO: test ArrayTest
}
@@ -44,7 +44,7 @@ public void testArrayTest() {
* Test the property 'arrayOfString'
*/
@Test
- public void arrayOfStringTest() {
+ void arrayOfStringTest() {
// TODO: test arrayOfString
}
@@ -52,7 +52,7 @@ public void arrayOfStringTest() {
* Test the property 'arrayArrayOfInteger'
*/
@Test
- public void arrayArrayOfIntegerTest() {
+ void arrayArrayOfIntegerTest() {
// TODO: test arrayArrayOfInteger
}
@@ -60,7 +60,7 @@ public void arrayArrayOfIntegerTest() {
* Test the property 'arrayArrayOfModel'
*/
@Test
- public void arrayArrayOfModelTest() {
+ void arrayArrayOfModelTest() {
// TODO: test arrayArrayOfModel
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/BigCatTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/BigCatTest.java
index 765bd1505128..20bc4e0d4247 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/BigCatTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/BigCatTest.java
@@ -22,21 +22,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Cat;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for BigCat
*/
-public class BigCatTest {
+class BigCatTest {
private final BigCat model = new BigCat();
/**
* Model tests for BigCat
*/
@Test
- public void testBigCat() {
+ void testBigCat() {
// TODO: test BigCat
}
@@ -44,7 +44,7 @@ public void testBigCat() {
* Test the property 'className'
*/
@Test
- public void classNameTest() {
+ void classNameTest() {
// TODO: test className
}
@@ -52,7 +52,7 @@ public void classNameTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
@@ -60,7 +60,7 @@ public void colorTest() {
* Test the property 'declawed'
*/
@Test
- public void declawedTest() {
+ void declawedTest() {
// TODO: test declawed
}
@@ -68,7 +68,7 @@ public void declawedTest() {
* Test the property 'kind'
*/
@Test
- public void kindTest() {
+ void kindTest() {
// TODO: test kind
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CapitalizationTest.java
index 4fd3728ab897..a0217acd1f20 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CapitalizationTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CapitalizationTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Capitalization
*/
-public class CapitalizationTest {
+class CapitalizationTest {
private final Capitalization model = new Capitalization();
/**
* Model tests for Capitalization
*/
@Test
- public void testCapitalization() {
+ void testCapitalization() {
// TODO: test Capitalization
}
@@ -40,7 +40,7 @@ public void testCapitalization() {
* Test the property 'smallCamel'
*/
@Test
- public void smallCamelTest() {
+ void smallCamelTest() {
// TODO: test smallCamel
}
@@ -48,7 +48,7 @@ public void smallCamelTest() {
* Test the property 'capitalCamel'
*/
@Test
- public void capitalCamelTest() {
+ void capitalCamelTest() {
// TODO: test capitalCamel
}
@@ -56,7 +56,7 @@ public void capitalCamelTest() {
* Test the property 'smallSnake'
*/
@Test
- public void smallSnakeTest() {
+ void smallSnakeTest() {
// TODO: test smallSnake
}
@@ -64,7 +64,7 @@ public void smallSnakeTest() {
* Test the property 'capitalSnake'
*/
@Test
- public void capitalSnakeTest() {
+ void capitalSnakeTest() {
// TODO: test capitalSnake
}
@@ -72,7 +72,7 @@ public void capitalSnakeTest() {
* Test the property 'scAETHFlowPoints'
*/
@Test
- public void scAETHFlowPointsTest() {
+ void scAETHFlowPointsTest() {
// TODO: test scAETHFlowPoints
}
@@ -80,7 +80,7 @@ public void scAETHFlowPointsTest() {
* Test the property 'ATT_NAME'
*/
@Test
- public void ATT_NAMETest() {
+ void ATT_NAMETest() {
// TODO: test ATT_NAME
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CatTest.java
index d591bdd30ef7..1b389a075be0 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CatTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CatTest.java
@@ -22,21 +22,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Animal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Cat
*/
-public class CatTest {
+class CatTest {
private final Cat model = new Cat();
/**
* Model tests for Cat
*/
@Test
- public void testCat() {
+ void testCat() {
// TODO: test Cat
}
@@ -44,7 +44,7 @@ public void testCat() {
* Test the property 'className'
*/
@Test
- public void classNameTest() {
+ void classNameTest() {
// TODO: test className
}
@@ -52,7 +52,7 @@ public void classNameTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
@@ -60,7 +60,7 @@ public void colorTest() {
* Test the property 'declawed'
*/
@Test
- public void declawedTest() {
+ void declawedTest() {
// TODO: test declawed
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CategoryTest.java
index 12de38c0c08d..22fcbd7f3ccb 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Category
*/
-public class CategoryTest {
+class CategoryTest {
private final Category model = new Category();
/**
* Model tests for Category
*/
@Test
- public void testCategory() {
+ void testCategory() {
// TODO: test Category
}
@@ -40,7 +40,7 @@ public void testCategory() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClassModelTest.java
index d1936d85e815..6ef5c744fbcb 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClassModelTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClassModelTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ClassModel
*/
-public class ClassModelTest {
+class ClassModelTest {
private final ClassModel model = new ClassModel();
/**
* Model tests for ClassModel
*/
@Test
- public void testClassModel() {
+ void testClassModel() {
// TODO: test ClassModel
}
@@ -40,7 +40,7 @@ public void testClassModel() {
* Test the property 'propertyClass'
*/
@Test
- public void propertyClassTest() {
+ void propertyClassTest() {
// TODO: test propertyClass
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClientTest.java
index 7aa0f5859ff1..8028f11bc2b9 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClientTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ClientTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Client
*/
-public class ClientTest {
+class ClientTest {
private final Client model = new Client();
/**
* Model tests for Client
*/
@Test
- public void testClient() {
+ void testClient() {
// TODO: test Client
}
@@ -40,7 +40,7 @@ public void testClient() {
* Test the property 'client'
*/
@Test
- public void clientTest() {
+ void clientTest() {
// TODO: test client
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/DogTest.java
index 744c8a406fe8..b2a12ab4c5e0 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/DogTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/DogTest.java
@@ -22,21 +22,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Animal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Dog
*/
-public class DogTest {
+class DogTest {
private final Dog model = new Dog();
/**
* Model tests for Dog
*/
@Test
- public void testDog() {
+ void testDog() {
// TODO: test Dog
}
@@ -44,7 +44,7 @@ public void testDog() {
* Test the property 'className'
*/
@Test
- public void classNameTest() {
+ void classNameTest() {
// TODO: test className
}
@@ -52,7 +52,7 @@ public void classNameTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
@@ -60,7 +60,7 @@ public void colorTest() {
* Test the property 'breed'
*/
@Test
- public void breedTest() {
+ void breedTest() {
// TODO: test breed
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumArraysTest.java
index 694e4196138b..4a755b0d4425 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumArraysTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumArraysTest.java
@@ -21,21 +21,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for EnumArrays
*/
-public class EnumArraysTest {
+class EnumArraysTest {
private final EnumArrays model = new EnumArrays();
/**
* Model tests for EnumArrays
*/
@Test
- public void testEnumArrays() {
+ void testEnumArrays() {
// TODO: test EnumArrays
}
@@ -43,7 +43,7 @@ public void testEnumArrays() {
* Test the property 'justSymbol'
*/
@Test
- public void justSymbolTest() {
+ void justSymbolTest() {
// TODO: test justSymbol
}
@@ -51,7 +51,7 @@ public void justSymbolTest() {
* Test the property 'arrayEnum'
*/
@Test
- public void arrayEnumTest() {
+ void arrayEnumTest() {
// TODO: test arrayEnum
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumClassTest.java
index 3f50e1bfb9ef..48aa1a737fce 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumClassTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumClassTest.java
@@ -13,19 +13,19 @@
package org.openapitools.client.model;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for EnumClass
*/
-public class EnumClassTest {
+class EnumClassTest {
/**
* Model tests for EnumClass
*/
@Test
- public void testEnumClass() {
+ void testEnumClass() {
// TODO: test EnumClass
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumTestTest.java
index b8d3359c9067..b06e3eb195d9 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumTestTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/EnumTestTest.java
@@ -19,21 +19,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.OuterEnum;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for EnumTest
*/
-public class EnumTestTest {
+class EnumTestTest {
private final EnumTest model = new EnumTest();
/**
* Model tests for EnumTest
*/
@Test
- public void testEnumTest() {
+ void testEnumTest() {
// TODO: test EnumTest
}
@@ -41,7 +41,7 @@ public void testEnumTest() {
* Test the property 'enumString'
*/
@Test
- public void enumStringTest() {
+ void enumStringTest() {
// TODO: test enumString
}
@@ -49,7 +49,7 @@ public void enumStringTest() {
* Test the property 'enumStringRequired'
*/
@Test
- public void enumStringRequiredTest() {
+ void enumStringRequiredTest() {
// TODO: test enumStringRequired
}
@@ -57,7 +57,7 @@ public void enumStringRequiredTest() {
* Test the property 'enumInteger'
*/
@Test
- public void enumIntegerTest() {
+ void enumIntegerTest() {
// TODO: test enumInteger
}
@@ -65,7 +65,7 @@ public void enumIntegerTest() {
* Test the property 'enumNumber'
*/
@Test
- public void enumNumberTest() {
+ void enumNumberTest() {
// TODO: test enumNumber
}
@@ -73,7 +73,7 @@ public void enumNumberTest() {
* Test the property 'outerEnum'
*/
@Test
- public void outerEnumTest() {
+ void outerEnumTest() {
// TODO: test outerEnum
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java
index fb8827a1e88b..0048cb2c7497 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java
@@ -22,21 +22,21 @@
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ModelFile;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for FileSchemaTestClass
*/
-public class FileSchemaTestClassTest {
+class FileSchemaTestClassTest {
private final FileSchemaTestClass model = new FileSchemaTestClass();
/**
* Model tests for FileSchemaTestClass
*/
@Test
- public void testFileSchemaTestClass() {
+ void testFileSchemaTestClass() {
// TODO: test FileSchemaTestClass
}
@@ -44,7 +44,7 @@ public void testFileSchemaTestClass() {
* Test the property '_file'
*/
@Test
- public void _fileTest() {
+ void _fileTest() {
// TODO: test _file
}
@@ -52,7 +52,7 @@ public void _fileTest() {
* Test the property 'files'
*/
@Test
- public void filesTest() {
+ void filesTest() {
// TODO: test files
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FormatTestTest.java
index 058a8ad7d439..3060f7f2d56d 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FormatTestTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/FormatTestTest.java
@@ -23,21 +23,21 @@
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.UUID;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for FormatTest
*/
-public class FormatTestTest {
+class FormatTestTest {
private final FormatTest model = new FormatTest();
/**
* Model tests for FormatTest
*/
@Test
- public void testFormatTest() {
+ void testFormatTest() {
// TODO: test FormatTest
}
@@ -45,7 +45,7 @@ public void testFormatTest() {
* Test the property 'integer'
*/
@Test
- public void integerTest() {
+ void integerTest() {
// TODO: test integer
}
@@ -53,7 +53,7 @@ public void integerTest() {
* Test the property 'int32'
*/
@Test
- public void int32Test() {
+ void int32Test() {
// TODO: test int32
}
@@ -61,7 +61,7 @@ public void int32Test() {
* Test the property 'int64'
*/
@Test
- public void int64Test() {
+ void int64Test() {
// TODO: test int64
}
@@ -69,7 +69,7 @@ public void int64Test() {
* Test the property 'number'
*/
@Test
- public void numberTest() {
+ void numberTest() {
// TODO: test number
}
@@ -77,7 +77,7 @@ public void numberTest() {
* Test the property '_float'
*/
@Test
- public void _floatTest() {
+ void _floatTest() {
// TODO: test _float
}
@@ -85,7 +85,7 @@ public void _floatTest() {
* Test the property '_double'
*/
@Test
- public void _doubleTest() {
+ void _doubleTest() {
// TODO: test _double
}
@@ -93,7 +93,7 @@ public void _doubleTest() {
* Test the property 'string'
*/
@Test
- public void stringTest() {
+ void stringTest() {
// TODO: test string
}
@@ -101,7 +101,7 @@ public void stringTest() {
* Test the property '_byte'
*/
@Test
- public void _byteTest() {
+ void _byteTest() {
// TODO: test _byte
}
@@ -109,7 +109,7 @@ public void _byteTest() {
* Test the property 'binary'
*/
@Test
- public void binaryTest() {
+ void binaryTest() {
// TODO: test binary
}
@@ -117,7 +117,7 @@ public void binaryTest() {
* Test the property 'date'
*/
@Test
- public void dateTest() {
+ void dateTest() {
// TODO: test date
}
@@ -125,7 +125,7 @@ public void dateTest() {
* Test the property 'dateTime'
*/
@Test
- public void dateTimeTest() {
+ void dateTimeTest() {
// TODO: test dateTime
}
@@ -133,7 +133,7 @@ public void dateTimeTest() {
* Test the property 'uuid'
*/
@Test
- public void uuidTest() {
+ void uuidTest() {
// TODO: test uuid
}
@@ -141,7 +141,7 @@ public void uuidTest() {
* Test the property 'password'
*/
@Test
- public void passwordTest() {
+ void passwordTest() {
// TODO: test password
}
@@ -149,7 +149,7 @@ public void passwordTest() {
* Test the property 'bigDecimal'
*/
@Test
- public void bigDecimalTest() {
+ void bigDecimalTest() {
// TODO: test bigDecimal
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java
index bf777b061ccd..908f0aff6ed7 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for HasOnlyReadOnly
*/
-public class HasOnlyReadOnlyTest {
+class HasOnlyReadOnlyTest {
private final HasOnlyReadOnly model = new HasOnlyReadOnly();
/**
* Model tests for HasOnlyReadOnly
*/
@Test
- public void testHasOnlyReadOnly() {
+ void testHasOnlyReadOnly() {
// TODO: test HasOnlyReadOnly
}
@@ -40,7 +40,7 @@ public void testHasOnlyReadOnly() {
* Test the property 'bar'
*/
@Test
- public void barTest() {
+ void barTest() {
// TODO: test bar
}
@@ -48,7 +48,7 @@ public void barTest() {
* Test the property 'foo'
*/
@Test
- public void fooTest() {
+ void fooTest() {
// TODO: test foo
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MapTestTest.java
index 50e909f03811..3752c5ba31fd 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MapTestTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MapTestTest.java
@@ -20,21 +20,21 @@
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for MapTest
*/
-public class MapTestTest {
+class MapTestTest {
private final MapTest model = new MapTest();
/**
* Model tests for MapTest
*/
@Test
- public void testMapTest() {
+ void testMapTest() {
// TODO: test MapTest
}
@@ -42,7 +42,7 @@ public void testMapTest() {
* Test the property 'mapMapOfString'
*/
@Test
- public void mapMapOfStringTest() {
+ void mapMapOfStringTest() {
// TODO: test mapMapOfString
}
@@ -50,7 +50,7 @@ public void mapMapOfStringTest() {
* Test the property 'mapOfEnumString'
*/
@Test
- public void mapOfEnumStringTest() {
+ void mapOfEnumStringTest() {
// TODO: test mapOfEnumString
}
@@ -58,7 +58,7 @@ public void mapOfEnumStringTest() {
* Test the property 'directMap'
*/
@Test
- public void directMapTest() {
+ void directMapTest() {
// TODO: test directMap
}
@@ -66,7 +66,7 @@ public void directMapTest() {
* Test the property 'indirectMap'
*/
@Test
- public void indirectMapTest() {
+ void indirectMapTest() {
// TODO: test indirectMap
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java
index b16858dc17e2..0f47e193af8d 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java
@@ -23,21 +23,21 @@
import java.util.Map;
import java.util.UUID;
import org.openapitools.client.model.Animal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for MixedPropertiesAndAdditionalPropertiesClass
*/
-public class MixedPropertiesAndAdditionalPropertiesClassTest {
+class MixedPropertiesAndAdditionalPropertiesClassTest {
private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass();
/**
* Model tests for MixedPropertiesAndAdditionalPropertiesClass
*/
@Test
- public void testMixedPropertiesAndAdditionalPropertiesClass() {
+ void testMixedPropertiesAndAdditionalPropertiesClass() {
// TODO: test MixedPropertiesAndAdditionalPropertiesClass
}
@@ -45,7 +45,7 @@ public void testMixedPropertiesAndAdditionalPropertiesClass() {
* Test the property 'uuid'
*/
@Test
- public void uuidTest() {
+ void uuidTest() {
// TODO: test uuid
}
@@ -53,7 +53,7 @@ public void uuidTest() {
* Test the property 'dateTime'
*/
@Test
- public void dateTimeTest() {
+ void dateTimeTest() {
// TODO: test dateTime
}
@@ -61,7 +61,7 @@ public void dateTimeTest() {
* Test the property 'map'
*/
@Test
- public void mapTest() {
+ void mapTest() {
// TODO: test map
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/Model200ResponseTest.java
index dd90f6799d3e..5743b70142b8 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/Model200ResponseTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/Model200ResponseTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Model200Response
*/
-public class Model200ResponseTest {
+class Model200ResponseTest {
private final Model200Response model = new Model200Response();
/**
* Model tests for Model200Response
*/
@Test
- public void testModel200Response() {
+ void testModel200Response() {
// TODO: test Model200Response
}
@@ -40,7 +40,7 @@ public void testModel200Response() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -48,7 +48,7 @@ public void nameTest() {
* Test the property 'propertyClass'
*/
@Test
- public void propertyClassTest() {
+ void propertyClassTest() {
// TODO: test propertyClass
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java
index e63f2ae5e9ca..436e4abd59e3 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ModelApiResponse
*/
-public class ModelApiResponseTest {
+class ModelApiResponseTest {
private final ModelApiResponse model = new ModelApiResponse();
/**
* Model tests for ModelApiResponse
*/
@Test
- public void testModelApiResponse() {
+ void testModelApiResponse() {
// TODO: test ModelApiResponse
}
@@ -40,7 +40,7 @@ public void testModelApiResponse() {
* Test the property 'code'
*/
@Test
- public void codeTest() {
+ void codeTest() {
// TODO: test code
}
@@ -48,7 +48,7 @@ public void codeTest() {
* Test the property 'type'
*/
@Test
- public void typeTest() {
+ void typeTest() {
// TODO: test type
}
@@ -56,7 +56,7 @@ public void typeTest() {
* Test the property 'message'
*/
@Test
- public void messageTest() {
+ void messageTest() {
// TODO: test message
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelFileTest.java
index 264249edc1c0..f128d7b9ac2e 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelFileTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelFileTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ModelFile
*/
-public class ModelFileTest {
+class ModelFileTest {
private final ModelFile model = new ModelFile();
/**
* Model tests for ModelFile
*/
@Test
- public void testModelFile() {
+ void testModelFile() {
// TODO: test ModelFile
}
@@ -40,7 +40,7 @@ public void testModelFile() {
* Test the property 'sourceURI'
*/
@Test
- public void sourceURITest() {
+ void sourceURITest() {
// TODO: test sourceURI
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelListTest.java
index 81fd2dcc6a6a..92273f48d239 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelListTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelListTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ModelList
*/
-public class ModelListTest {
+class ModelListTest {
private final ModelList model = new ModelList();
/**
* Model tests for ModelList
*/
@Test
- public void testModelList() {
+ void testModelList() {
// TODO: test ModelList
}
@@ -40,7 +40,7 @@ public void testModelList() {
* Test the property '_123list'
*/
@Test
- public void _123listTest() {
+ void _123listTest() {
// TODO: test _123list
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelReturnTest.java
index 5840d4f8f0c9..1c5337654cd4 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelReturnTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ModelReturnTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ModelReturn
*/
-public class ModelReturnTest {
+class ModelReturnTest {
private final ModelReturn model = new ModelReturn();
/**
* Model tests for ModelReturn
*/
@Test
- public void testModelReturn() {
+ void testModelReturn() {
// TODO: test ModelReturn
}
@@ -40,7 +40,7 @@ public void testModelReturn() {
* Test the property '_return'
*/
@Test
- public void _returnTest() {
+ void _returnTest() {
// TODO: test _return
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NameTest.java
index 9280c1715390..1a6aa18fa20d 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NameTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NameTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Name
*/
-public class NameTest {
+class NameTest {
private final Name model = new Name();
/**
* Model tests for Name
*/
@Test
- public void testName() {
+ void testName() {
// TODO: test Name
}
@@ -40,7 +40,7 @@ public void testName() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -48,7 +48,7 @@ public void nameTest() {
* Test the property 'snakeCase'
*/
@Test
- public void snakeCaseTest() {
+ void snakeCaseTest() {
// TODO: test snakeCase
}
@@ -56,7 +56,7 @@ public void snakeCaseTest() {
* Test the property 'property'
*/
@Test
- public void propertyTest() {
+ void propertyTest() {
// TODO: test property
}
@@ -64,7 +64,7 @@ public void propertyTest() {
* Test the property '_123number'
*/
@Test
- public void _123numberTest() {
+ void _123numberTest() {
// TODO: test _123number
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NumberOnlyTest.java
index 63b5bc0440e5..8623386a5e95 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NumberOnlyTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/NumberOnlyTest.java
@@ -19,21 +19,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for NumberOnly
*/
-public class NumberOnlyTest {
+class NumberOnlyTest {
private final NumberOnly model = new NumberOnly();
/**
* Model tests for NumberOnly
*/
@Test
- public void testNumberOnly() {
+ void testNumberOnly() {
// TODO: test NumberOnly
}
@@ -41,7 +41,7 @@ public void testNumberOnly() {
* Test the property 'justNumber'
*/
@Test
- public void justNumberTest() {
+ void justNumberTest() {
// TODO: test justNumber
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OrderTest.java
index e0fbb529af69..670c2535646b 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OrderTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OrderTest.java
@@ -19,21 +19,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.time.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Order
*/
-public class OrderTest {
+class OrderTest {
private final Order model = new Order();
/**
* Model tests for Order
*/
@Test
- public void testOrder() {
+ void testOrder() {
// TODO: test Order
}
@@ -41,7 +41,7 @@ public void testOrder() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -49,7 +49,7 @@ public void idTest() {
* Test the property 'petId'
*/
@Test
- public void petIdTest() {
+ void petIdTest() {
// TODO: test petId
}
@@ -57,7 +57,7 @@ public void petIdTest() {
* Test the property 'quantity'
*/
@Test
- public void quantityTest() {
+ void quantityTest() {
// TODO: test quantity
}
@@ -65,7 +65,7 @@ public void quantityTest() {
* Test the property 'shipDate'
*/
@Test
- public void shipDateTest() {
+ void shipDateTest() {
// TODO: test shipDate
}
@@ -73,7 +73,7 @@ public void shipDateTest() {
* Test the property 'status'
*/
@Test
- public void statusTest() {
+ void statusTest() {
// TODO: test status
}
@@ -81,7 +81,7 @@ public void statusTest() {
* Test the property 'complete'
*/
@Test
- public void completeTest() {
+ void completeTest() {
// TODO: test complete
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterCompositeTest.java
index 840cf65c8d01..870a977da944 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterCompositeTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterCompositeTest.java
@@ -19,21 +19,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for OuterComposite
*/
-public class OuterCompositeTest {
+class OuterCompositeTest {
private final OuterComposite model = new OuterComposite();
/**
* Model tests for OuterComposite
*/
@Test
- public void testOuterComposite() {
+ void testOuterComposite() {
// TODO: test OuterComposite
}
@@ -41,7 +41,7 @@ public void testOuterComposite() {
* Test the property 'myNumber'
*/
@Test
- public void myNumberTest() {
+ void myNumberTest() {
// TODO: test myNumber
}
@@ -49,7 +49,7 @@ public void myNumberTest() {
* Test the property 'myString'
*/
@Test
- public void myStringTest() {
+ void myStringTest() {
// TODO: test myString
}
@@ -57,7 +57,7 @@ public void myStringTest() {
* Test the property 'myBoolean'
*/
@Test
- public void myBooleanTest() {
+ void myBooleanTest() {
// TODO: test myBoolean
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterEnumTest.java
index b312b11a09eb..0333ee657a0f 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterEnumTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/OuterEnumTest.java
@@ -13,19 +13,19 @@
package org.openapitools.client.model;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for OuterEnum
*/
-public class OuterEnumTest {
+class OuterEnumTest {
/**
* Model tests for OuterEnum
*/
@Test
- public void testOuterEnum() {
+ void testOuterEnum() {
// TODO: test OuterEnum
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/PetTest.java
index ca23198fbf18..2e4303f1e4b5 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/PetTest.java
@@ -26,21 +26,21 @@
import java.util.Set;
import org.openapitools.client.model.Category;
import org.openapitools.client.model.Tag;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Pet
*/
-public class PetTest {
+class PetTest {
private final Pet model = new Pet();
/**
* Model tests for Pet
*/
@Test
- public void testPet() {
+ void testPet() {
// TODO: test Pet
}
@@ -48,7 +48,7 @@ public void testPet() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -56,7 +56,7 @@ public void idTest() {
* Test the property 'category'
*/
@Test
- public void categoryTest() {
+ void categoryTest() {
// TODO: test category
}
@@ -64,7 +64,7 @@ public void categoryTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -72,7 +72,7 @@ public void nameTest() {
* Test the property 'photoUrls'
*/
@Test
- public void photoUrlsTest() {
+ void photoUrlsTest() {
// TODO: test photoUrls
}
@@ -80,7 +80,7 @@ public void photoUrlsTest() {
* Test the property 'tags'
*/
@Test
- public void tagsTest() {
+ void tagsTest() {
// TODO: test tags
}
@@ -88,7 +88,7 @@ public void tagsTest() {
* Test the property 'status'
*/
@Test
- public void statusTest() {
+ void statusTest() {
// TODO: test status
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java
index b356d6993c53..c56da4290fa9 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for ReadOnlyFirst
*/
-public class ReadOnlyFirstTest {
+class ReadOnlyFirstTest {
private final ReadOnlyFirst model = new ReadOnlyFirst();
/**
* Model tests for ReadOnlyFirst
*/
@Test
- public void testReadOnlyFirst() {
+ void testReadOnlyFirst() {
// TODO: test ReadOnlyFirst
}
@@ -40,7 +40,7 @@ public void testReadOnlyFirst() {
* Test the property 'bar'
*/
@Test
- public void barTest() {
+ void barTest() {
// TODO: test bar
}
@@ -48,7 +48,7 @@ public void barTest() {
* Test the property 'baz'
*/
@Test
- public void bazTest() {
+ void bazTest() {
// TODO: test baz
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java
index 8eb0b1bd2694..9501cf722d66 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for SpecialModelName
*/
-public class SpecialModelNameTest {
+class SpecialModelNameTest {
private final SpecialModelName model = new SpecialModelName();
/**
* Model tests for SpecialModelName
*/
@Test
- public void testSpecialModelName() {
+ void testSpecialModelName() {
// TODO: test SpecialModelName
}
@@ -40,7 +40,7 @@ public void testSpecialModelName() {
* Test the property '$specialPropertyName'
*/
@Test
- public void $specialPropertyNameTest() {
+ void $specialPropertyNameTest() {
// TODO: test $specialPropertyName
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TagTest.java
index 6dc0868167c5..dc9cf9742efa 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TagTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Tag
*/
-public class TagTest {
+class TagTest {
private final Tag model = new Tag();
/**
* Model tests for Tag
*/
@Test
- public void testTag() {
+ void testTag() {
// TODO: test Tag
}
@@ -40,7 +40,7 @@ public void testTag() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java
index 2e3312e5f382..7ee75c357315 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java
@@ -22,21 +22,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for TypeHolderDefault
*/
-public class TypeHolderDefaultTest {
+class TypeHolderDefaultTest {
private final TypeHolderDefault model = new TypeHolderDefault();
/**
* Model tests for TypeHolderDefault
*/
@Test
- public void testTypeHolderDefault() {
+ void testTypeHolderDefault() {
// TODO: test TypeHolderDefault
}
@@ -44,7 +44,7 @@ public void testTypeHolderDefault() {
* Test the property 'stringItem'
*/
@Test
- public void stringItemTest() {
+ void stringItemTest() {
// TODO: test stringItem
}
@@ -52,7 +52,7 @@ public void stringItemTest() {
* Test the property 'numberItem'
*/
@Test
- public void numberItemTest() {
+ void numberItemTest() {
// TODO: test numberItem
}
@@ -60,7 +60,7 @@ public void numberItemTest() {
* Test the property 'integerItem'
*/
@Test
- public void integerItemTest() {
+ void integerItemTest() {
// TODO: test integerItem
}
@@ -68,7 +68,7 @@ public void integerItemTest() {
* Test the property 'boolItem'
*/
@Test
- public void boolItemTest() {
+ void boolItemTest() {
// TODO: test boolItem
}
@@ -76,7 +76,7 @@ public void boolItemTest() {
* Test the property 'arrayItem'
*/
@Test
- public void arrayItemTest() {
+ void arrayItemTest() {
// TODO: test arrayItem
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java
index 5df1bbd3d5ba..5c77882f5007 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java
@@ -22,21 +22,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for TypeHolderExample
*/
-public class TypeHolderExampleTest {
+class TypeHolderExampleTest {
private final TypeHolderExample model = new TypeHolderExample();
/**
* Model tests for TypeHolderExample
*/
@Test
- public void testTypeHolderExample() {
+ void testTypeHolderExample() {
// TODO: test TypeHolderExample
}
@@ -44,7 +44,7 @@ public void testTypeHolderExample() {
* Test the property 'stringItem'
*/
@Test
- public void stringItemTest() {
+ void stringItemTest() {
// TODO: test stringItem
}
@@ -52,7 +52,7 @@ public void stringItemTest() {
* Test the property 'numberItem'
*/
@Test
- public void numberItemTest() {
+ void numberItemTest() {
// TODO: test numberItem
}
@@ -60,7 +60,7 @@ public void numberItemTest() {
* Test the property 'floatItem'
*/
@Test
- public void floatItemTest() {
+ void floatItemTest() {
// TODO: test floatItem
}
@@ -68,7 +68,7 @@ public void floatItemTest() {
* Test the property 'integerItem'
*/
@Test
- public void integerItemTest() {
+ void integerItemTest() {
// TODO: test integerItem
}
@@ -76,7 +76,7 @@ public void integerItemTest() {
* Test the property 'boolItem'
*/
@Test
- public void boolItemTest() {
+ void boolItemTest() {
// TODO: test boolItem
}
@@ -84,7 +84,7 @@ public void boolItemTest() {
* Test the property 'arrayItem'
*/
@Test
- public void arrayItemTest() {
+ void arrayItemTest() {
// TODO: test arrayItem
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/UserTest.java
index b029d279409c..69d274133b97 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/UserTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/UserTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for User
*/
-public class UserTest {
+class UserTest {
private final User model = new User();
/**
* Model tests for User
*/
@Test
- public void testUser() {
+ void testUser() {
// TODO: test User
}
@@ -40,7 +40,7 @@ public void testUser() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'username'
*/
@Test
- public void usernameTest() {
+ void usernameTest() {
// TODO: test username
}
@@ -56,7 +56,7 @@ public void usernameTest() {
* Test the property 'firstName'
*/
@Test
- public void firstNameTest() {
+ void firstNameTest() {
// TODO: test firstName
}
@@ -64,7 +64,7 @@ public void firstNameTest() {
* Test the property 'lastName'
*/
@Test
- public void lastNameTest() {
+ void lastNameTest() {
// TODO: test lastName
}
@@ -72,7 +72,7 @@ public void lastNameTest() {
* Test the property 'email'
*/
@Test
- public void emailTest() {
+ void emailTest() {
// TODO: test email
}
@@ -80,7 +80,7 @@ public void emailTest() {
* Test the property 'password'
*/
@Test
- public void passwordTest() {
+ void passwordTest() {
// TODO: test password
}
@@ -88,7 +88,7 @@ public void passwordTest() {
* Test the property 'phone'
*/
@Test
- public void phoneTest() {
+ void phoneTest() {
// TODO: test phone
}
@@ -96,7 +96,7 @@ public void phoneTest() {
* Test the property 'userStatus'
*/
@Test
- public void userStatusTest() {
+ void userStatusTest() {
// TODO: test userStatus
}
diff --git a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/XmlItemTest.java b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/XmlItemTest.java
index e7b49511c939..d2e45fadf56c 100644
--- a/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/XmlItemTest.java
+++ b/samples/client/petstore/java/google-api-client/src/test/java/org/openapitools/client/model/XmlItemTest.java
@@ -22,21 +22,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for XmlItem
*/
-public class XmlItemTest {
+class XmlItemTest {
private final XmlItem model = new XmlItem();
/**
* Model tests for XmlItem
*/
@Test
- public void testXmlItem() {
+ void testXmlItem() {
// TODO: test XmlItem
}
@@ -44,7 +44,7 @@ public void testXmlItem() {
* Test the property 'attributeString'
*/
@Test
- public void attributeStringTest() {
+ void attributeStringTest() {
// TODO: test attributeString
}
@@ -52,7 +52,7 @@ public void attributeStringTest() {
* Test the property 'attributeNumber'
*/
@Test
- public void attributeNumberTest() {
+ void attributeNumberTest() {
// TODO: test attributeNumber
}
@@ -60,7 +60,7 @@ public void attributeNumberTest() {
* Test the property 'attributeInteger'
*/
@Test
- public void attributeIntegerTest() {
+ void attributeIntegerTest() {
// TODO: test attributeInteger
}
@@ -68,7 +68,7 @@ public void attributeIntegerTest() {
* Test the property 'attributeBoolean'
*/
@Test
- public void attributeBooleanTest() {
+ void attributeBooleanTest() {
// TODO: test attributeBoolean
}
@@ -76,7 +76,7 @@ public void attributeBooleanTest() {
* Test the property 'wrappedArray'
*/
@Test
- public void wrappedArrayTest() {
+ void wrappedArrayTest() {
// TODO: test wrappedArray
}
@@ -84,7 +84,7 @@ public void wrappedArrayTest() {
* Test the property 'nameString'
*/
@Test
- public void nameStringTest() {
+ void nameStringTest() {
// TODO: test nameString
}
@@ -92,7 +92,7 @@ public void nameStringTest() {
* Test the property 'nameNumber'
*/
@Test
- public void nameNumberTest() {
+ void nameNumberTest() {
// TODO: test nameNumber
}
@@ -100,7 +100,7 @@ public void nameNumberTest() {
* Test the property 'nameInteger'
*/
@Test
- public void nameIntegerTest() {
+ void nameIntegerTest() {
// TODO: test nameInteger
}
@@ -108,7 +108,7 @@ public void nameIntegerTest() {
* Test the property 'nameBoolean'
*/
@Test
- public void nameBooleanTest() {
+ void nameBooleanTest() {
// TODO: test nameBoolean
}
@@ -116,7 +116,7 @@ public void nameBooleanTest() {
* Test the property 'nameArray'
*/
@Test
- public void nameArrayTest() {
+ void nameArrayTest() {
// TODO: test nameArray
}
@@ -124,7 +124,7 @@ public void nameArrayTest() {
* Test the property 'nameWrappedArray'
*/
@Test
- public void nameWrappedArrayTest() {
+ void nameWrappedArrayTest() {
// TODO: test nameWrappedArray
}
@@ -132,7 +132,7 @@ public void nameWrappedArrayTest() {
* Test the property 'prefixString'
*/
@Test
- public void prefixStringTest() {
+ void prefixStringTest() {
// TODO: test prefixString
}
@@ -140,7 +140,7 @@ public void prefixStringTest() {
* Test the property 'prefixNumber'
*/
@Test
- public void prefixNumberTest() {
+ void prefixNumberTest() {
// TODO: test prefixNumber
}
@@ -148,7 +148,7 @@ public void prefixNumberTest() {
* Test the property 'prefixInteger'
*/
@Test
- public void prefixIntegerTest() {
+ void prefixIntegerTest() {
// TODO: test prefixInteger
}
@@ -156,7 +156,7 @@ public void prefixIntegerTest() {
* Test the property 'prefixBoolean'
*/
@Test
- public void prefixBooleanTest() {
+ void prefixBooleanTest() {
// TODO: test prefixBoolean
}
@@ -164,7 +164,7 @@ public void prefixBooleanTest() {
* Test the property 'prefixArray'
*/
@Test
- public void prefixArrayTest() {
+ void prefixArrayTest() {
// TODO: test prefixArray
}
@@ -172,7 +172,7 @@ public void prefixArrayTest() {
* Test the property 'prefixWrappedArray'
*/
@Test
- public void prefixWrappedArrayTest() {
+ void prefixWrappedArrayTest() {
// TODO: test prefixWrappedArray
}
@@ -180,7 +180,7 @@ public void prefixWrappedArrayTest() {
* Test the property 'namespaceString'
*/
@Test
- public void namespaceStringTest() {
+ void namespaceStringTest() {
// TODO: test namespaceString
}
@@ -188,7 +188,7 @@ public void namespaceStringTest() {
* Test the property 'namespaceNumber'
*/
@Test
- public void namespaceNumberTest() {
+ void namespaceNumberTest() {
// TODO: test namespaceNumber
}
@@ -196,7 +196,7 @@ public void namespaceNumberTest() {
* Test the property 'namespaceInteger'
*/
@Test
- public void namespaceIntegerTest() {
+ void namespaceIntegerTest() {
// TODO: test namespaceInteger
}
@@ -204,7 +204,7 @@ public void namespaceIntegerTest() {
* Test the property 'namespaceBoolean'
*/
@Test
- public void namespaceBooleanTest() {
+ void namespaceBooleanTest() {
// TODO: test namespaceBoolean
}
@@ -212,7 +212,7 @@ public void namespaceBooleanTest() {
* Test the property 'namespaceArray'
*/
@Test
- public void namespaceArrayTest() {
+ void namespaceArrayTest() {
// TODO: test namespaceArray
}
@@ -220,7 +220,7 @@ public void namespaceArrayTest() {
* Test the property 'namespaceWrappedArray'
*/
@Test
- public void namespaceWrappedArrayTest() {
+ void namespaceWrappedArrayTest() {
// TODO: test namespaceWrappedArray
}
@@ -228,7 +228,7 @@ public void namespaceWrappedArrayTest() {
* Test the property 'prefixNsString'
*/
@Test
- public void prefixNsStringTest() {
+ void prefixNsStringTest() {
// TODO: test prefixNsString
}
@@ -236,7 +236,7 @@ public void prefixNsStringTest() {
* Test the property 'prefixNsNumber'
*/
@Test
- public void prefixNsNumberTest() {
+ void prefixNsNumberTest() {
// TODO: test prefixNsNumber
}
@@ -244,7 +244,7 @@ public void prefixNsNumberTest() {
* Test the property 'prefixNsInteger'
*/
@Test
- public void prefixNsIntegerTest() {
+ void prefixNsIntegerTest() {
// TODO: test prefixNsInteger
}
@@ -252,7 +252,7 @@ public void prefixNsIntegerTest() {
* Test the property 'prefixNsBoolean'
*/
@Test
- public void prefixNsBooleanTest() {
+ void prefixNsBooleanTest() {
// TODO: test prefixNsBoolean
}
@@ -260,7 +260,7 @@ public void prefixNsBooleanTest() {
* Test the property 'prefixNsArray'
*/
@Test
- public void prefixNsArrayTest() {
+ void prefixNsArrayTest() {
// TODO: test prefixNsArray
}
@@ -268,7 +268,7 @@ public void prefixNsArrayTest() {
* Test the property 'prefixNsWrappedArray'
*/
@Test
- public void prefixNsWrappedArrayTest() {
+ void prefixNsWrappedArrayTest() {
// TODO: test prefixNsWrappedArray
}
diff --git a/samples/client/petstore/java/okhttp-gson-3.1/build.gradle b/samples/client/petstore/java/okhttp-gson-3.1/build.gradle
index c50f27fa8ae4..9c49711c900d 100644
--- a/samples/client/petstore/java/okhttp-gson-3.1/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-3.1/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-3.1/build.sbt b/samples/client/petstore/java/okhttp-gson-3.1/build.sbt
index 1cfb07976edd..6d08084ea4a2 100644
--- a/samples/client/petstore/java/okhttp-gson-3.1/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-3.1/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-3.1/pom.xml b/samples/client/petstore/java/okhttp-gson-3.1/pom.xml
index c8415c8f73ef..0871be01351a 100644
--- a/samples/client/petstore/java/okhttp-gson-3.1/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-3.1/pom.xml
@@ -339,7 +339,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.gradle b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.gradle
index 6cad260b145f..bf28eaab47a0 100644
--- a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.gradle
@@ -119,9 +119,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt
index 0f9cf8f3f2a3..83d5a9f45c08 100644
--- a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt
@@ -23,7 +23,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/pom.xml b/samples/client/petstore/java/okhttp-gson-awsv4signature/pom.xml
index d57acfa31049..8085232eb926 100644
--- a/samples/client/petstore/java/okhttp-gson-awsv4signature/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/pom.xml
@@ -344,7 +344,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.gradle b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.gradle
index 31873abe5dc7..53abcdebd4b1 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.gradle
@@ -119,9 +119,9 @@ dependencies {
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation 'io.swagger.parser.v3:swagger-parser-v3:2.0.30'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt
index b1ece5e85631..99d8419f18f1 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt
@@ -23,7 +23,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml b/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml
index c1ff5944375f..340c3277d16b 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml
@@ -344,7 +344,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/build.gradle b/samples/client/petstore/java/okhttp-gson-group-parameter/build.gradle
index 4b2531773dd9..0b538e51b8c2 100644
--- a/samples/client/petstore/java/okhttp-gson-group-parameter/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-group-parameter/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt b/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt
index 67c416e48b9c..986fec5f5794 100644
--- a/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/pom.xml b/samples/client/petstore/java/okhttp-gson-group-parameter/pom.xml
index 9e97a62b9f38..ed94eca8ad81 100644
--- a/samples/client/petstore/java/okhttp-gson-group-parameter/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-group-parameter/pom.xml
@@ -339,7 +339,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/build.gradle b/samples/client/petstore/java/okhttp-gson-nullable-required/build.gradle
index 61981aa9d3b5..c9e122aff311 100644
--- a/samples/client/petstore/java/okhttp-gson-nullable-required/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-nullable-required/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt b/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt
index f5180bf82598..342822d7ac97 100644
--- a/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/pom.xml b/samples/client/petstore/java/okhttp-gson-nullable-required/pom.xml
index 7be91544ac2a..eeb259d13437 100644
--- a/samples/client/petstore/java/okhttp-gson-nullable-required/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-nullable-required/pom.xml
@@ -339,7 +339,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
index 6bc0e6630ccd..ea4e98857eaa 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
index 2e3b8bade6f4..6d8a20396b6c 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml b/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
index ed5e1ea29907..ea1f1fdf159d 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
@@ -346,7 +346,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/build.gradle b/samples/client/petstore/java/okhttp-gson-swagger1/build.gradle
index 99b33483c509..67dd0df27bdc 100644
--- a/samples/client/petstore/java/okhttp-gson-swagger1/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-swagger1/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt b/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt
index 81f278caba46..982b47d29805 100644
--- a/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/pom.xml b/samples/client/petstore/java/okhttp-gson-swagger1/pom.xml
index 1f9cbb8c2722..1d394370ae97 100644
--- a/samples/client/petstore/java/okhttp-gson-swagger1/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-swagger1/pom.xml
@@ -345,7 +345,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/build.gradle b/samples/client/petstore/java/okhttp-gson-swagger2/build.gradle
index 99b33483c509..67dd0df27bdc 100644
--- a/samples/client/petstore/java/okhttp-gson-swagger2/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-swagger2/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt b/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt
index 81f278caba46..982b47d29805 100644
--- a/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/pom.xml b/samples/client/petstore/java/okhttp-gson-swagger2/pom.xml
index be6d38308ebe..d0e30fb7e0f1 100644
--- a/samples/client/petstore/java/okhttp-gson-swagger2/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-swagger2/pom.xml
@@ -345,7 +345,7 @@
3.14.0
0.2.6
1.3.5
- 5.10.0
+ 5.10.2
1.10.0
2.1.1
1.1.1
diff --git a/samples/client/petstore/java/okhttp-gson/build.gradle b/samples/client/petstore/java/okhttp-gson/build.gradle
index 99b33483c509..67dd0df27bdc 100644
--- a/samples/client/petstore/java/okhttp-gson/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson/build.gradle
@@ -118,9 +118,9 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
javadoc {
diff --git a/samples/client/petstore/java/okhttp-gson/build.sbt b/samples/client/petstore/java/okhttp-gson/build.sbt
index 81f278caba46..982b47d29805 100644
--- a/samples/client/petstore/java/okhttp-gson/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson/build.sbt
@@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
- "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test",
+ "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.mockito" % "mockito-core" % "3.12.4" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java
index e4a9e8440107..b8ca4aff421e 100644
--- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java
+++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java
@@ -11,8 +11,8 @@
import java.math.BigDecimal;
import org.openapitools.client.model.*;
-import org.junit.Assert;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
public class ClientTest {
ApiClient apiClient;
@@ -48,7 +48,7 @@ public void arrayArrayNumberTest() {
model2.setArrayArrayNumber(new ArrayList>());
model2.getArrayArrayNumber().add(arrayArrayNumber2);
- Assert.assertTrue(model2.equals(model));
+ Assertions.assertTrue(model2.equals(model));
}
/**
@@ -65,6 +65,6 @@ public void testPet() {
model2.setId(1029L);
model2.setName("Dog");
- Assert.assertTrue(model.equals(model2));
+ Assertions.assertTrue(model.equals(model2));
}
}