[java] update rest-assured, retrofit2, vertx to use junit 5 (#19185)

* update rest assured to use junit 5

* regenerate samples

* update junit from 4 to 5 for retrofit2, vertx

* update vertx test template
This commit is contained in:
William Cheng 2024-07-18 16:16:27 +08:00 committed by GitHub
parent 75cbebd2d2
commit 47abf82164
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
447 changed files with 4513 additions and 4634 deletions

View File

@ -8,9 +8,9 @@ import {{invokerPackage}}.ApiClient;
import {{apiPackage}}.{{classname}}; import {{apiPackage}}.{{classname}};
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@ -31,12 +31,12 @@ import static {{invokerPackage}}.{{#gson}}GsonObjectMapper.gson{{/gson}}{{#jacks
/** /**
* API tests for {{classname}} * API tests for {{classname}}
*/ */
@Ignore @Disabled
public class {{classname}}Test { public class {{classname}}Test {
private {{classname}} api; private {{classname}} api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()

View File

@ -104,14 +104,13 @@ ext {
swagger_annotations_version = "2.2.15" swagger_annotations_version = "2.2.15"
{{/swagger2AnnotationLibrary}} {{/swagger2AnnotationLibrary}}
rest_assured_version = "5.3.2" rest_assured_version = "5.3.2"
junit_version = "4.13.2" junit_version = "5.10.3"
{{#jackson}} {{#jackson}}
jackson_version = "2.17.1" jackson_version = "2.17.1"
jackson_databind_version = "2.17.1" jackson_databind_version = "2.17.1"
{{#openApiNullable}} {{#openApiNullable}}
jackson_databind_nullable_version = "0.2.6" jackson_databind_nullable_version = "0.2.6"
{{/openApiNullable}} {{/openApiNullable}}
jakarta_annotation_version = "1.3.5"
{{/jackson}} {{/jackson}}
{{#gson}} {{#gson}}
gson_version = "2.10.1" gson_version = "2.10.1"
@ -121,6 +120,7 @@ ext {
jodatime_version = "2.10.5" jodatime_version = "2.10.5"
{{/joda}} {{/joda}}
okio_version = "3.6.0" okio_version = "3.6.0"
jakarta_annotation_version = "1.3.5"
} }
dependencies { dependencies {
@ -163,5 +163,5 @@ dependencies {
implementation "org.hibernate:hibernate-validator:6.0.19.Final" implementation "org.hibernate:hibernate-validator:6.0.19.Final"
{{/performBeanValidation}} {{/performBeanValidation}}
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version" testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
} }

View File

@ -43,7 +43,7 @@ lazy val root = (project in file(".")).
"org.hibernate" % "hibernate-validator" % "6.0.19.Final" % "compile", "org.hibernate" % "hibernate-validator" % "6.0.19.Final" % "compile",
{{/performBeanValidation}} {{/performBeanValidation}}
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"junit" % "junit" % "4.13.2" % "test", "org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test" "com.novocode" % "junit-interface" % "0.10" % "test"
) )
) )

View File

@ -331,8 +331,8 @@
{{/performBeanValidation}} {{/performBeanValidation}}
<!-- test dependencies --> <!-- test dependencies -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version> <version>${junit-version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -366,6 +366,6 @@
<beanvalidation-version>3.0.2</beanvalidation-version> <beanvalidation-version>3.0.2</beanvalidation-version>
{{/useBeanValidation}} {{/useBeanValidation}}
<okio-version>3.6.0</okio-version> <okio-version>3.6.0</okio-version>
<junit-version>4.13.2</junit-version> <junit-version>5.10.3</junit-version>
</properties> </properties>
</project> </project>

View File

@ -3,8 +3,9 @@ package {{package}};
import {{invokerPackage}}.ApiClient; import {{invokerPackage}}.ApiClient;
{{#imports}}import {{import}}; {{#imports}}import {{import}};
{{/imports}} {{/imports}}
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@ -25,7 +26,7 @@ public class {{classname}}Test {
private {{classname}} api; private {{classname}} api;
@Before @BeforeEach
public void setup() { public void setup() {
api = new ApiClient().createService({{classname}}.class); api = new ApiClient().createService({{classname}}.class);
} }

View File

@ -112,7 +112,7 @@ ext {
{{/usePlayWS}} {{/usePlayWS}}
jakarta_annotation_version = "1.3.5" jakarta_annotation_version = "1.3.5"
swagger_annotations_version = "1.5.22" swagger_annotations_version = "1.5.22"
junit_version = "4.13.2" junit_version = "5.10.3"
{{#useRxJava2}} {{#useRxJava2}}
rx_java_version = "2.1.1" rx_java_version = "2.1.1"
{{/useRxJava2}} {{/useRxJava2}}
@ -162,5 +162,5 @@ dependencies {
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version" implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
{{/jackson}} {{/jackson}}
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version" testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
} }

View File

@ -37,7 +37,7 @@ lazy val root = (project in file(".")).
{{/joda}} {{/joda}}
"io.gsonfire" % "gson-fire" % "1.9.0" % "compile", "io.gsonfire" % "gson-fire" % "1.9.0" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"junit" % "junit" % "4.13.2" % "test", "org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test" "com.novocode" % "junit-interface" % "0.11" % "test"
) )
) )

View File

@ -367,8 +367,8 @@
</dependency> </dependency>
<!-- test dependencies --> <!-- test dependencies -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version> <version>${junit-version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -413,6 +413,6 @@
<beanvalidation-version>3.0.2</beanvalidation-version> <beanvalidation-version>3.0.2</beanvalidation-version>
{{/useBeanValidation}} {{/useBeanValidation}}
<oltu-version>1.0.1</oltu-version> <oltu-version>1.0.1</oltu-version>
<junit-version>4.13.2</junit-version> <junit-version>5.10.3</junit-version>
</properties> </properties>
</project> </project>

View File

@ -6,11 +6,10 @@ package {{package}};
import {{invokerPackage}}.Configuration; import {{invokerPackage}}.Configuration;
import org.junit.Test; import org.junit.jupiter.api.BeforeAll;
import org.junit.Ignore; import org.junit.jupiter.api.BeforeEach;
import org.junit.BeforeClass; import org.junit.jupiter.api.Disabled;
import org.junit.Rule; import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import io.vertx.core.AsyncResult; import io.vertx.core.AsyncResult;
import io.vertx.core.Handler; import io.vertx.core.Handler;
@ -31,24 +30,18 @@ import java.util.Map;
/** /**
* API tests for {{classname}} * API tests for {{classname}}
*/ */
@RunWith(VertxUnitRunner.class) @Disabled
@Ignore
public class {{classname}}Test { public class {{classname}}Test {
private {{classname}} api; private {{classname}} api;
@Rule @BeforeAll
public RunTestOnContext rule = new RunTestOnContext();
@BeforeClass
public void setupApiClient() { public void setupApiClient() {
JsonObject config = new JsonObject();
Vertx vertx = rule.vertx();
Configuration.setupDefaultApiClient(vertx, config);
api = new {{classname}}Impl(); api = new {{classname}}Impl();
} }
{{#operations}}{{#operation}}
{{#operations}}
{{#operation}}
/** /**
* {{summary}} * {{summary}}
* {{notes}} * {{notes}}
@ -66,5 +59,6 @@ public class {{classname}}Test {
async.complete(); async.complete();
}); });
} }
{{/operation}}{{/operations}} {{/operation}}
{{/operations}}
} }

View File

@ -33,7 +33,7 @@ ext {
jackson_version = "2.17.1" jackson_version = "2.17.1"
jackson_databind_version = "2.17.1" jackson_databind_version = "2.17.1"
vertx_version = "3.5.2" vertx_version = "3.5.2"
junit_version = "4.13.2" junit_version = "5.10.3"
{{#openApiNullable}} {{#openApiNullable}}
jackson_databind_nullable_version = "0.2.6" jackson_databind_nullable_version = "0.2.6"
{{/openApiNullable}} {{/openApiNullable}}
@ -56,6 +56,6 @@ dependencies {
implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version" implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
{{/openApiNullable}} {{/openApiNullable}}
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version" testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
testImplementation "io.vertx:vertx-unit:$vertx_version" testImplementation "io.vertx:vertx-unit:$vertx_version"
} }

View File

@ -284,8 +284,8 @@
<!-- test dependencies --> <!-- test dependencies -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version> <version>${junit-version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -315,6 +315,6 @@
{{^useJakartaEe}} {{^useJakartaEe}}
<jakarta-annotation-version>1.3.5</jakarta-annotation-version> <jakarta-annotation-version>1.3.5</jakarta-annotation-version>
{{/useJakartaEe}} {{/useJakartaEe}}
<junit-version>4.13.2</junit-version> <junit-version>5.10.3</junit-version>
</properties> </properties>
</project> </project>

View File

@ -98,12 +98,12 @@ if(hasProperty('target') && target == 'android') {
ext { ext {
rest_assured_version = "5.3.2" rest_assured_version = "5.3.2"
junit_version = "4.13.2" junit_version = "5.10.3"
jackson_version = "2.17.1" jackson_version = "2.17.1"
jackson_databind_version = "2.17.1" jackson_databind_version = "2.17.1"
jackson_databind_nullable_version = "0.2.6" jackson_databind_nullable_version = "0.2.6"
jakarta_annotation_version = "1.3.5"
okio_version = "3.6.0" okio_version = "3.6.0"
jakarta_annotation_version = "1.3.5"
} }
dependencies { dependencies {
@ -119,5 +119,5 @@ dependencies {
implementation "jakarta.validation:jakarta.validation-api:3.0.2" implementation "jakarta.validation:jakarta.validation-api:3.0.2"
implementation "org.hibernate:hibernate-validator:6.0.19.Final" implementation "org.hibernate:hibernate-validator:6.0.19.Final"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version" testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
} }

View File

@ -22,7 +22,7 @@ lazy val root = (project in file(".")).
"jakarta.validation" % "jakarta.validation-api" % "3.0.2" % "compile", "jakarta.validation" % "jakarta.validation-api" % "3.0.2" % "compile",
"org.hibernate" % "hibernate-validator" % "6.0.19.Final" % "compile", "org.hibernate" % "hibernate-validator" % "6.0.19.Final" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"junit" % "junit" % "4.13.2" % "test", "org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test" "com.novocode" % "junit-interface" % "0.10" % "test"
) )
) )

View File

@ -269,8 +269,8 @@
</dependency> </dependency>
<!-- test dependencies --> <!-- test dependencies -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version> <version>${junit-version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -286,6 +286,6 @@
<jakarta-annotation-version>1.3.5</jakarta-annotation-version> <jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<beanvalidation-version>3.0.2</beanvalidation-version> <beanvalidation-version>3.0.2</beanvalidation-version>
<okio-version>3.6.0</okio-version> <okio-version>3.6.0</okio-version>
<junit-version>4.13.2</junit-version> <junit-version>5.10.3</junit-version>
</properties> </properties>
</project> </project>

View File

@ -14,18 +14,25 @@
package org.openapitools.client.api; package org.openapitools.client.api;
import org.openapitools.client.model.Client; import org.openapitools.client.model.Client;
import java.util.UUID;
import org.openapitools.client.ApiClient; import org.openapitools.client.ApiClient;
import org.openapitools.client.api.AnotherFakeApi; import org.openapitools.client.api.AnotherFakeApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.JacksonObjectMapper.jackson; import static org.openapitools.client.JacksonObjectMapper.jackson;
@ -33,12 +40,12 @@ import static org.openapitools.client.JacksonObjectMapper.jackson;
/** /**
* API tests for AnotherFakeApi * API tests for AnotherFakeApi
*/ */
@Ignore @Disabled
public class AnotherFakeApiTest { public class AnotherFakeApiTest {
private AnotherFakeApi api; private AnotherFakeApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -52,10 +59,12 @@ public class AnotherFakeApiTest {
*/ */
@Test @Test
public void shouldSee200AfterCall123testSpecialTags() { public void shouldSee200AfterCall123testSpecialTags() {
String uuidTest = null;
Client body = null; Client body = null;
api.call123testSpecialTags() api.call123testSpecialTags()
.uuidTestHeader(uuidTest)
.body(body).execute(r -> r.prettyPeek()); .body(body).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -26,14 +26,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.FakeApi; import org.openapitools.client.api.FakeApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.JacksonObjectMapper.jackson; import static org.openapitools.client.JacksonObjectMapper.jackson;
@ -41,12 +47,12 @@ import static org.openapitools.client.JacksonObjectMapper.jackson;
/** /**
* API tests for FakeApi * API tests for FakeApi
*/ */
@Ignore @Disabled
public class FakeApiTest { public class FakeApiTest {
private FakeApi api; private FakeApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -303,4 +309,4 @@ public class FakeApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -18,14 +18,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.FakeClassnameTags123Api; import org.openapitools.client.api.FakeClassnameTags123Api;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.JacksonObjectMapper.jackson; import static org.openapitools.client.JacksonObjectMapper.jackson;
@ -33,12 +39,12 @@ import static org.openapitools.client.JacksonObjectMapper.jackson;
/** /**
* API tests for FakeClassnameTags123Api * API tests for FakeClassnameTags123Api
*/ */
@Ignore @Disabled
public class FakeClassnameTags123ApiTest { public class FakeClassnameTags123ApiTest {
private FakeClassnameTags123Api api; private FakeClassnameTags123Api api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -58,4 +64,4 @@ public class FakeClassnameTags123ApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -21,14 +21,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.PetApi; import org.openapitools.client.api.PetApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.JacksonObjectMapper.jackson; import static org.openapitools.client.JacksonObjectMapper.jackson;
@ -36,12 +42,12 @@ import static org.openapitools.client.JacksonObjectMapper.jackson;
/** /**
* API tests for PetApi * API tests for PetApi
*/ */
@Ignore @Disabled
public class PetApiTest { public class PetApiTest {
private PetApi api; private PetApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -244,7 +250,7 @@ public class PetApiTest {
public void shouldSee200AfterUploadFile() { public void shouldSee200AfterUploadFile() {
Long petId = null; Long petId = null;
String additionalMetadata = null; String additionalMetadata = null;
File file = null; File _file = null;
api.uploadFile() api.uploadFile()
.petIdPath(petId).execute(r -> r.prettyPeek()); .petIdPath(petId).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
@ -265,4 +271,4 @@ public class PetApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -18,14 +18,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.StoreApi; import org.openapitools.client.api.StoreApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.JacksonObjectMapper.jackson; import static org.openapitools.client.JacksonObjectMapper.jackson;
@ -33,12 +39,12 @@ import static org.openapitools.client.JacksonObjectMapper.jackson;
/** /**
* API tests for StoreApi * API tests for StoreApi
*/ */
@Ignore @Disabled
public class StoreApiTest { public class StoreApiTest {
private StoreApi api; private StoreApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -136,4 +142,4 @@ public class StoreApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -13,19 +13,26 @@
package org.openapitools.client.api; package org.openapitools.client.api;
import java.time.OffsetDateTime;
import org.openapitools.client.model.User; import org.openapitools.client.model.User;
import org.openapitools.client.ApiClient; import org.openapitools.client.ApiClient;
import org.openapitools.client.api.UserApi; import org.openapitools.client.api.UserApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.JacksonObjectMapper.jackson; import static org.openapitools.client.JacksonObjectMapper.jackson;
@ -33,12 +40,12 @@ import static org.openapitools.client.JacksonObjectMapper.jackson;
/** /**
* API tests for UserApi * API tests for UserApi
*/ */
@Ignore @Disabled
public class UserApiTest { public class UserApiTest {
private UserApi api; private UserApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -64,7 +71,7 @@ public class UserApiTest {
*/ */
@Test @Test
public void shouldSee0AfterCreateUsersWithArrayInput() { public void shouldSee0AfterCreateUsersWithArrayInput() {
List<User> body = null; List<@Valid User> body = null;
api.createUsersWithArrayInput() api.createUsersWithArrayInput()
.body(body).execute(r -> r.prettyPeek()); .body(body).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
@ -76,7 +83,7 @@ public class UserApiTest {
*/ */
@Test @Test
public void shouldSee0AfterCreateUsersWithListInput() { public void shouldSee0AfterCreateUsersWithListInput() {
List<User> body = null; List<@Valid User> body = null;
api.createUsersWithListInput() api.createUsersWithListInput()
.body(body).execute(r -> r.prettyPeek()); .body(body).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
@ -203,4 +210,4 @@ public class UserApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesAnyType * Model tests for AdditionalPropertiesAnyType
*/ */
public class AdditionalPropertiesAnyTypeTest { class AdditionalPropertiesAnyTypeTest {
private final AdditionalPropertiesAnyType model = new AdditionalPropertiesAnyType(); private final AdditionalPropertiesAnyType model = new AdditionalPropertiesAnyType();
/** /**
* Model tests for AdditionalPropertiesAnyType * Model tests for AdditionalPropertiesAnyType
*/ */
@Test @Test
public void testAdditionalPropertiesAnyType() { void testAdditionalPropertiesAnyType() {
// TODO: test AdditionalPropertiesAnyType // TODO: test AdditionalPropertiesAnyType
} }
@ -43,7 +42,7 @@ public class AdditionalPropertiesAnyTypeTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -21,22 +21,21 @@ import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesArray * Model tests for AdditionalPropertiesArray
*/ */
public class AdditionalPropertiesArrayTest { class AdditionalPropertiesArrayTest {
private final AdditionalPropertiesArray model = new AdditionalPropertiesArray(); private final AdditionalPropertiesArray model = new AdditionalPropertiesArray();
/** /**
* Model tests for AdditionalPropertiesArray * Model tests for AdditionalPropertiesArray
*/ */
@Test @Test
public void testAdditionalPropertiesArray() { void testAdditionalPropertiesArray() {
// TODO: test AdditionalPropertiesArray // TODO: test AdditionalPropertiesArray
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesArrayTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesBoolean * Model tests for AdditionalPropertiesBoolean
*/ */
public class AdditionalPropertiesBooleanTest { class AdditionalPropertiesBooleanTest {
private final AdditionalPropertiesBoolean model = new AdditionalPropertiesBoolean(); private final AdditionalPropertiesBoolean model = new AdditionalPropertiesBoolean();
/** /**
* Model tests for AdditionalPropertiesBoolean * Model tests for AdditionalPropertiesBoolean
*/ */
@Test @Test
public void testAdditionalPropertiesBoolean() { void testAdditionalPropertiesBoolean() {
// TODO: test AdditionalPropertiesBoolean // TODO: test AdditionalPropertiesBoolean
} }
@ -43,7 +42,7 @@ public class AdditionalPropertiesBooleanTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -22,22 +22,21 @@ import java.math.BigDecimal;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesClass * Model tests for AdditionalPropertiesClass
*/ */
public class AdditionalPropertiesClassTest { class AdditionalPropertiesClassTest {
private final AdditionalPropertiesClass model = new AdditionalPropertiesClass(); private final AdditionalPropertiesClass model = new AdditionalPropertiesClass();
/** /**
* Model tests for AdditionalPropertiesClass * Model tests for AdditionalPropertiesClass
*/ */
@Test @Test
public void testAdditionalPropertiesClass() { void testAdditionalPropertiesClass() {
// TODO: test AdditionalPropertiesClass // TODO: test AdditionalPropertiesClass
} }
@ -45,7 +44,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapString' * Test the property 'mapString'
*/ */
@Test @Test
public void mapStringTest() { void mapStringTest() {
// TODO: test mapString // TODO: test mapString
} }
@ -53,7 +52,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapNumber' * Test the property 'mapNumber'
*/ */
@Test @Test
public void mapNumberTest() { void mapNumberTest() {
// TODO: test mapNumber // TODO: test mapNumber
} }
@ -61,7 +60,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapInteger' * Test the property 'mapInteger'
*/ */
@Test @Test
public void mapIntegerTest() { void mapIntegerTest() {
// TODO: test mapInteger // TODO: test mapInteger
} }
@ -69,7 +68,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapBoolean' * Test the property 'mapBoolean'
*/ */
@Test @Test
public void mapBooleanTest() { void mapBooleanTest() {
// TODO: test mapBoolean // TODO: test mapBoolean
} }
@ -77,7 +76,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapArrayInteger' * Test the property 'mapArrayInteger'
*/ */
@Test @Test
public void mapArrayIntegerTest() { void mapArrayIntegerTest() {
// TODO: test mapArrayInteger // TODO: test mapArrayInteger
} }
@ -85,7 +84,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapArrayAnytype' * Test the property 'mapArrayAnytype'
*/ */
@Test @Test
public void mapArrayAnytypeTest() { void mapArrayAnytypeTest() {
// TODO: test mapArrayAnytype // TODO: test mapArrayAnytype
} }
@ -93,7 +92,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapMapString' * Test the property 'mapMapString'
*/ */
@Test @Test
public void mapMapStringTest() { void mapMapStringTest() {
// TODO: test mapMapString // TODO: test mapMapString
} }
@ -101,7 +100,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapMapAnytype' * Test the property 'mapMapAnytype'
*/ */
@Test @Test
public void mapMapAnytypeTest() { void mapMapAnytypeTest() {
// TODO: test mapMapAnytype // TODO: test mapMapAnytype
} }
@ -109,7 +108,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'anytype1' * Test the property 'anytype1'
*/ */
@Test @Test
public void anytype1Test() { void anytype1Test() {
// TODO: test anytype1 // TODO: test anytype1
} }
@ -117,7 +116,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'anytype2' * Test the property 'anytype2'
*/ */
@Test @Test
public void anytype2Test() { void anytype2Test() {
// TODO: test anytype2 // TODO: test anytype2
} }
@ -125,7 +124,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'anytype3' * Test the property 'anytype3'
*/ */
@Test @Test
public void anytype3Test() { void anytype3Test() {
// TODO: test anytype3 // TODO: test anytype3
} }

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesInteger * Model tests for AdditionalPropertiesInteger
*/ */
public class AdditionalPropertiesIntegerTest { class AdditionalPropertiesIntegerTest {
private final AdditionalPropertiesInteger model = new AdditionalPropertiesInteger(); private final AdditionalPropertiesInteger model = new AdditionalPropertiesInteger();
/** /**
* Model tests for AdditionalPropertiesInteger * Model tests for AdditionalPropertiesInteger
*/ */
@Test @Test
public void testAdditionalPropertiesInteger() { void testAdditionalPropertiesInteger() {
// TODO: test AdditionalPropertiesInteger // TODO: test AdditionalPropertiesInteger
} }
@ -43,7 +42,7 @@ public class AdditionalPropertiesIntegerTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -21,22 +21,21 @@ import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesNumber * Model tests for AdditionalPropertiesNumber
*/ */
public class AdditionalPropertiesNumberTest { class AdditionalPropertiesNumberTest {
private final AdditionalPropertiesNumber model = new AdditionalPropertiesNumber(); private final AdditionalPropertiesNumber model = new AdditionalPropertiesNumber();
/** /**
* Model tests for AdditionalPropertiesNumber * Model tests for AdditionalPropertiesNumber
*/ */
@Test @Test
public void testAdditionalPropertiesNumber() { void testAdditionalPropertiesNumber() {
// TODO: test AdditionalPropertiesNumber // TODO: test AdditionalPropertiesNumber
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesNumberTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesObject * Model tests for AdditionalPropertiesObject
*/ */
public class AdditionalPropertiesObjectTest { class AdditionalPropertiesObjectTest {
private final AdditionalPropertiesObject model = new AdditionalPropertiesObject(); private final AdditionalPropertiesObject model = new AdditionalPropertiesObject();
/** /**
* Model tests for AdditionalPropertiesObject * Model tests for AdditionalPropertiesObject
*/ */
@Test @Test
public void testAdditionalPropertiesObject() { void testAdditionalPropertiesObject() {
// TODO: test AdditionalPropertiesObject // TODO: test AdditionalPropertiesObject
} }
@ -43,7 +42,7 @@ public class AdditionalPropertiesObjectTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesString * Model tests for AdditionalPropertiesString
*/ */
public class AdditionalPropertiesStringTest { class AdditionalPropertiesStringTest {
private final AdditionalPropertiesString model = new AdditionalPropertiesString(); private final AdditionalPropertiesString model = new AdditionalPropertiesString();
/** /**
* Model tests for AdditionalPropertiesString * Model tests for AdditionalPropertiesString
*/ */
@Test @Test
public void testAdditionalPropertiesString() { void testAdditionalPropertiesString() {
// TODO: test AdditionalPropertiesString // TODO: test AdditionalPropertiesString
} }
@ -43,7 +42,7 @@ public class AdditionalPropertiesStringTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -21,25 +21,21 @@ import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions;
import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Disabled;
import org.openapitools.client.model.Dog; import org.junit.jupiter.api.Test;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
/** /**
* Model tests for Animal * Model tests for Animal
*/ */
public class AnimalTest { class AnimalTest {
private final Animal model = new Animal(); private final Animal model = new Animal();
/** /**
* Model tests for Animal * Model tests for Animal
*/ */
@Test @Test
public void testAnimal() { void testAnimal() {
// TODO: test Animal // TODO: test Animal
} }
@ -47,7 +43,7 @@ public class AnimalTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -55,7 +51,7 @@ public class AnimalTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ArrayOfArrayOfNumberOnly * Model tests for ArrayOfArrayOfNumberOnly
*/ */
public class ArrayOfArrayOfNumberOnlyTest { class ArrayOfArrayOfNumberOnlyTest {
private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly(); private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly();
/** /**
* Model tests for ArrayOfArrayOfNumberOnly * Model tests for ArrayOfArrayOfNumberOnly
*/ */
@Test @Test
public void testArrayOfArrayOfNumberOnly() { void testArrayOfArrayOfNumberOnly() {
// TODO: test ArrayOfArrayOfNumberOnly // TODO: test ArrayOfArrayOfNumberOnly
} }
@ -44,7 +44,7 @@ public class ArrayOfArrayOfNumberOnlyTest {
* Test the property 'arrayArrayNumber' * Test the property 'arrayArrayNumber'
*/ */
@Test @Test
public void arrayArrayNumberTest() { void arrayArrayNumberTest() {
// TODO: test arrayArrayNumber // TODO: test arrayArrayNumber
} }

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ArrayOfNumberOnly * Model tests for ArrayOfNumberOnly
*/ */
public class ArrayOfNumberOnlyTest { class ArrayOfNumberOnlyTest {
private final ArrayOfNumberOnly model = new ArrayOfNumberOnly(); private final ArrayOfNumberOnly model = new ArrayOfNumberOnly();
/** /**
* Model tests for ArrayOfNumberOnly * Model tests for ArrayOfNumberOnly
*/ */
@Test @Test
public void testArrayOfNumberOnly() { void testArrayOfNumberOnly() {
// TODO: test ArrayOfNumberOnly // TODO: test ArrayOfNumberOnly
} }
@ -44,7 +44,7 @@ public class ArrayOfNumberOnlyTest {
* Test the property 'arrayNumber' * Test the property 'arrayNumber'
*/ */
@Test @Test
public void arrayNumberTest() { void arrayNumberTest() {
// TODO: test arrayNumber // TODO: test arrayNumber
} }

View File

@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.openapitools.client.model.ReadOnlyFirst; import org.openapitools.client.model.ReadOnlyFirst;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ArrayTest * Model tests for ArrayTest
*/ */
public class ArrayTestTest { class ArrayTestTest {
private final ArrayTest model = new ArrayTest(); private final ArrayTest model = new ArrayTest();
/** /**
* Model tests for ArrayTest * Model tests for ArrayTest
*/ */
@Test @Test
public void testArrayTest() { void testArrayTest() {
// TODO: test ArrayTest // TODO: test ArrayTest
} }
@ -44,7 +44,7 @@ public class ArrayTestTest {
* Test the property 'arrayOfString' * Test the property 'arrayOfString'
*/ */
@Test @Test
public void arrayOfStringTest() { void arrayOfStringTest() {
// TODO: test arrayOfString // TODO: test arrayOfString
} }
@ -52,7 +52,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfInteger' * Test the property 'arrayArrayOfInteger'
*/ */
@Test @Test
public void arrayArrayOfIntegerTest() { void arrayArrayOfIntegerTest() {
// TODO: test arrayArrayOfInteger // TODO: test arrayArrayOfInteger
} }
@ -60,7 +60,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfModel' * Test the property 'arrayArrayOfModel'
*/ */
@Test @Test
public void arrayArrayOfModelTest() { void arrayArrayOfModelTest() {
// TODO: test arrayArrayOfModel // TODO: test arrayArrayOfModel
} }

View File

@ -22,21 +22,21 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Cat; import org.openapitools.client.model.Cat;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for BigCat * Model tests for BigCat
*/ */
public class BigCatTest { class BigCatTest {
private final BigCat model = new BigCat(); private final BigCat model = new BigCat();
/** /**
* Model tests for BigCat * Model tests for BigCat
*/ */
@Test @Test
public void testBigCat() { void testBigCat() {
// TODO: test BigCat // TODO: test BigCat
} }
@ -44,7 +44,7 @@ public class BigCatTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -52,7 +52,7 @@ public class BigCatTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }
@ -60,7 +60,7 @@ public class BigCatTest {
* Test the property 'declawed' * Test the property 'declawed'
*/ */
@Test @Test
public void declawedTest() { void declawedTest() {
// TODO: test declawed // TODO: test declawed
} }
@ -68,7 +68,7 @@ public class BigCatTest {
* Test the property 'kind' * Test the property 'kind'
*/ */
@Test @Test
public void kindTest() { void kindTest() {
// TODO: test kind // TODO: test kind
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Capitalization * Model tests for Capitalization
*/ */
public class CapitalizationTest { class CapitalizationTest {
private final Capitalization model = new Capitalization(); private final Capitalization model = new Capitalization();
/** /**
* Model tests for Capitalization * Model tests for Capitalization
*/ */
@Test @Test
public void testCapitalization() { void testCapitalization() {
// TODO: test Capitalization // TODO: test Capitalization
} }
@ -41,7 +40,7 @@ public class CapitalizationTest {
* Test the property 'smallCamel' * Test the property 'smallCamel'
*/ */
@Test @Test
public void smallCamelTest() { void smallCamelTest() {
// TODO: test smallCamel // TODO: test smallCamel
} }
@ -49,7 +48,7 @@ public class CapitalizationTest {
* Test the property 'capitalCamel' * Test the property 'capitalCamel'
*/ */
@Test @Test
public void capitalCamelTest() { void capitalCamelTest() {
// TODO: test capitalCamel // TODO: test capitalCamel
} }
@ -57,7 +56,7 @@ public class CapitalizationTest {
* Test the property 'smallSnake' * Test the property 'smallSnake'
*/ */
@Test @Test
public void smallSnakeTest() { void smallSnakeTest() {
// TODO: test smallSnake // TODO: test smallSnake
} }
@ -65,7 +64,7 @@ public class CapitalizationTest {
* Test the property 'capitalSnake' * Test the property 'capitalSnake'
*/ */
@Test @Test
public void capitalSnakeTest() { void capitalSnakeTest() {
// TODO: test capitalSnake // TODO: test capitalSnake
} }
@ -73,7 +72,7 @@ public class CapitalizationTest {
* Test the property 'scAETHFlowPoints' * Test the property 'scAETHFlowPoints'
*/ */
@Test @Test
public void scAETHFlowPointsTest() { void scAETHFlowPointsTest() {
// TODO: test scAETHFlowPoints // TODO: test scAETHFlowPoints
} }
@ -81,7 +80,7 @@ public class CapitalizationTest {
* Test the property 'ATT_NAME' * Test the property 'ATT_NAME'
*/ */
@Test @Test
public void ATT_NAMETest() { void ATT_NAMETest() {
// TODO: test ATT_NAME // TODO: test ATT_NAME
} }

View File

@ -22,23 +22,21 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Animal; import org.openapitools.client.model.Animal;
import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions;
import org.junit.Assert; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import org.junit.Test;
/** /**
* Model tests for Cat * Model tests for Cat
*/ */
public class CatTest { class CatTest {
private final Cat model = new Cat(); private final Cat model = new Cat();
/** /**
* Model tests for Cat * Model tests for Cat
*/ */
@Test @Test
public void testCat() { void testCat() {
// TODO: test Cat // TODO: test Cat
} }
@ -46,7 +44,7 @@ public class CatTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -54,7 +52,7 @@ public class CatTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }
@ -62,7 +60,7 @@ public class CatTest {
* Test the property 'declawed' * Test the property 'declawed'
*/ */
@Test @Test
public void declawedTest() { void declawedTest() {
// TODO: test declawed // TODO: test declawed
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Category * Model tests for Category
*/ */
public class CategoryTest { class CategoryTest {
private final Category model = new Category(); private final Category model = new Category();
/** /**
* Model tests for Category * Model tests for Category
*/ */
@Test @Test
public void testCategory() { void testCategory() {
// TODO: test Category // TODO: test Category
} }
@ -41,7 +40,7 @@ public class CategoryTest {
* Test the property 'id' * Test the property 'id'
*/ */
@Test @Test
public void idTest() { void idTest() {
// TODO: test id // TODO: test id
} }
@ -49,7 +48,7 @@ public class CategoryTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ClassModel * Model tests for ClassModel
*/ */
public class ClassModelTest { class ClassModelTest {
private final ClassModel model = new ClassModel(); private final ClassModel model = new ClassModel();
/** /**
* Model tests for ClassModel * Model tests for ClassModel
*/ */
@Test @Test
public void testClassModel() { void testClassModel() {
// TODO: test ClassModel // TODO: test ClassModel
} }
@ -41,7 +40,7 @@ public class ClassModelTest {
* Test the property 'propertyClass' * Test the property 'propertyClass'
*/ */
@Test @Test
public void propertyClassTest() { void propertyClassTest() {
// TODO: test propertyClass // TODO: test propertyClass
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Client * Model tests for Client
*/ */
public class ClientTest { class ClientTest {
private final Client model = new Client(); private final Client model = new Client();
/** /**
* Model tests for Client * Model tests for Client
*/ */
@Test @Test
public void testClient() { void testClient() {
// TODO: test Client // TODO: test Client
} }
@ -41,7 +40,7 @@ public class ClientTest {
* Test the property 'client' * Test the property 'client'
*/ */
@Test @Test
public void clientTest() { void clientTest() {
// TODO: test client // TODO: test client
} }

View File

@ -22,22 +22,21 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Animal; import org.openapitools.client.model.Animal;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Dog * Model tests for Dog
*/ */
public class DogTest { class DogTest {
private final Dog model = new Dog(); private final Dog model = new Dog();
/** /**
* Model tests for Dog * Model tests for Dog
*/ */
@Test @Test
public void testDog() { void testDog() {
// TODO: test Dog // TODO: test Dog
} }
@ -45,7 +44,7 @@ public class DogTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -53,7 +52,7 @@ public class DogTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }
@ -61,7 +60,7 @@ public class DogTest {
* Test the property 'breed' * Test the property 'breed'
*/ */
@Test @Test
public void breedTest() { void breedTest() {
// TODO: test breed // TODO: test breed
} }

View File

@ -19,23 +19,23 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for EnumArrays * Model tests for EnumArrays
*/ */
public class EnumArraysTest { class EnumArraysTest {
private final EnumArrays model = new EnumArrays(); private final EnumArrays model = new EnumArrays();
/** /**
* Model tests for EnumArrays * Model tests for EnumArrays
*/ */
@Test @Test
public void testEnumArrays() { void testEnumArrays() {
// TODO: test EnumArrays // TODO: test EnumArrays
} }
@ -43,7 +43,7 @@ public class EnumArraysTest {
* Test the property 'justSymbol' * Test the property 'justSymbol'
*/ */
@Test @Test
public void justSymbolTest() { void justSymbolTest() {
// TODO: test justSymbol // TODO: test justSymbol
} }
@ -51,7 +51,7 @@ public class EnumArraysTest {
* Test the property 'arrayEnum' * Test the property 'arrayEnum'
*/ */
@Test @Test
public void arrayEnumTest() { void arrayEnumTest() {
// TODO: test arrayEnum // TODO: test arrayEnum
} }

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model; package org.openapitools.client.model;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for EnumClass * Model tests for EnumClass
*/ */
public class EnumClassTest { class EnumClassTest {
/** /**
* Model tests for EnumClass * Model tests for EnumClass
*/ */
@Test @Test
public void testEnumClass() { void testEnumClass() {
// TODO: test EnumClass // TODO: test EnumClass
} }

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnum;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for EnumTest * Model tests for EnumTest
*/ */
public class EnumTestTest { class EnumTestTest {
private final EnumTest model = new EnumTest(); private final EnumTest model = new EnumTest();
/** /**
* Model tests for EnumTest * Model tests for EnumTest
*/ */
@Test @Test
public void testEnumTest() { void testEnumTest() {
// TODO: test EnumTest // TODO: test EnumTest
} }
@ -42,7 +41,7 @@ public class EnumTestTest {
* Test the property 'enumString' * Test the property 'enumString'
*/ */
@Test @Test
public void enumStringTest() { void enumStringTest() {
// TODO: test enumString // TODO: test enumString
} }
@ -50,7 +49,7 @@ public class EnumTestTest {
* Test the property 'enumStringRequired' * Test the property 'enumStringRequired'
*/ */
@Test @Test
public void enumStringRequiredTest() { void enumStringRequiredTest() {
// TODO: test enumStringRequired // TODO: test enumStringRequired
} }
@ -58,7 +57,7 @@ public class EnumTestTest {
* Test the property 'enumInteger' * Test the property 'enumInteger'
*/ */
@Test @Test
public void enumIntegerTest() { void enumIntegerTest() {
// TODO: test enumInteger // TODO: test enumInteger
} }
@ -66,7 +65,7 @@ public class EnumTestTest {
* Test the property 'enumNumber' * Test the property 'enumNumber'
*/ */
@Test @Test
public void enumNumberTest() { void enumNumberTest() {
// TODO: test enumNumber // TODO: test enumNumber
} }
@ -74,7 +73,7 @@ public class EnumTestTest {
* Test the property 'outerEnum' * Test the property 'outerEnum'
*/ */
@Test @Test
public void outerEnumTest() { void outerEnumTest() {
// TODO: test outerEnum // TODO: test outerEnum
} }

View File

@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.openapitools.client.model.ModelFile; import org.openapitools.client.model.ModelFile;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for FileSchemaTestClass * Model tests for FileSchemaTestClass
*/ */
public class FileSchemaTestClassTest { class FileSchemaTestClassTest {
private final FileSchemaTestClass model = new FileSchemaTestClass(); private final FileSchemaTestClass model = new FileSchemaTestClass();
/** /**
* Model tests for FileSchemaTestClass * Model tests for FileSchemaTestClass
*/ */
@Test @Test
public void testFileSchemaTestClass() { void testFileSchemaTestClass() {
// TODO: test FileSchemaTestClass // TODO: test FileSchemaTestClass
} }
@ -44,7 +44,7 @@ public class FileSchemaTestClassTest {
* Test the property '_file' * Test the property '_file'
*/ */
@Test @Test
public void _fileTest() { void _fileTest() {
// TODO: test _file // TODO: test _file
} }
@ -52,7 +52,7 @@ public class FileSchemaTestClassTest {
* Test the property 'files' * Test the property 'files'
*/ */
@Test @Test
public void filesTest() { void filesTest() {
// TODO: test files // TODO: test files
} }

View File

@ -23,22 +23,21 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for FormatTest * Model tests for FormatTest
*/ */
public class FormatTestTest { class FormatTestTest {
private final FormatTest model = new FormatTest(); private final FormatTest model = new FormatTest();
/** /**
* Model tests for FormatTest * Model tests for FormatTest
*/ */
@Test @Test
public void testFormatTest() { void testFormatTest() {
// TODO: test FormatTest // TODO: test FormatTest
} }
@ -46,7 +45,7 @@ public class FormatTestTest {
* Test the property 'integer' * Test the property 'integer'
*/ */
@Test @Test
public void integerTest() { void integerTest() {
// TODO: test integer // TODO: test integer
} }
@ -54,7 +53,7 @@ public class FormatTestTest {
* Test the property 'int32' * Test the property 'int32'
*/ */
@Test @Test
public void int32Test() { void int32Test() {
// TODO: test int32 // TODO: test int32
} }
@ -62,7 +61,7 @@ public class FormatTestTest {
* Test the property 'int64' * Test the property 'int64'
*/ */
@Test @Test
public void int64Test() { void int64Test() {
// TODO: test int64 // TODO: test int64
} }
@ -70,7 +69,7 @@ public class FormatTestTest {
* Test the property 'number' * Test the property 'number'
*/ */
@Test @Test
public void numberTest() { void numberTest() {
// TODO: test number // TODO: test number
} }
@ -78,7 +77,7 @@ public class FormatTestTest {
* Test the property '_float' * Test the property '_float'
*/ */
@Test @Test
public void _floatTest() { void _floatTest() {
// TODO: test _float // TODO: test _float
} }
@ -86,7 +85,7 @@ public class FormatTestTest {
* Test the property '_double' * Test the property '_double'
*/ */
@Test @Test
public void _doubleTest() { void _doubleTest() {
// TODO: test _double // TODO: test _double
} }
@ -94,7 +93,7 @@ public class FormatTestTest {
* Test the property 'string' * Test the property 'string'
*/ */
@Test @Test
public void stringTest() { void stringTest() {
// TODO: test string // TODO: test string
} }
@ -102,7 +101,7 @@ public class FormatTestTest {
* Test the property '_byte' * Test the property '_byte'
*/ */
@Test @Test
public void _byteTest() { void _byteTest() {
// TODO: test _byte // TODO: test _byte
} }
@ -110,7 +109,7 @@ public class FormatTestTest {
* Test the property 'binary' * Test the property 'binary'
*/ */
@Test @Test
public void binaryTest() { void binaryTest() {
// TODO: test binary // TODO: test binary
} }
@ -118,7 +117,7 @@ public class FormatTestTest {
* Test the property 'date' * Test the property 'date'
*/ */
@Test @Test
public void dateTest() { void dateTest() {
// TODO: test date // TODO: test date
} }
@ -126,7 +125,7 @@ public class FormatTestTest {
* Test the property 'dateTime' * Test the property 'dateTime'
*/ */
@Test @Test
public void dateTimeTest() { void dateTimeTest() {
// TODO: test dateTime // TODO: test dateTime
} }
@ -134,7 +133,7 @@ public class FormatTestTest {
* Test the property 'uuid' * Test the property 'uuid'
*/ */
@Test @Test
public void uuidTest() { void uuidTest() {
// TODO: test uuid // TODO: test uuid
} }
@ -142,7 +141,7 @@ public class FormatTestTest {
* Test the property 'password' * Test the property 'password'
*/ */
@Test @Test
public void passwordTest() { void passwordTest() {
// TODO: test password // TODO: test password
} }
@ -150,7 +149,7 @@ public class FormatTestTest {
* Test the property 'bigDecimal' * Test the property 'bigDecimal'
*/ */
@Test @Test
public void bigDecimalTest() { void bigDecimalTest() {
// TODO: test bigDecimal // TODO: test bigDecimal
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for HasOnlyReadOnly * Model tests for HasOnlyReadOnly
*/ */
public class HasOnlyReadOnlyTest { class HasOnlyReadOnlyTest {
private final HasOnlyReadOnly model = new HasOnlyReadOnly(); private final HasOnlyReadOnly model = new HasOnlyReadOnly();
/** /**
* Model tests for HasOnlyReadOnly * Model tests for HasOnlyReadOnly
*/ */
@Test @Test
public void testHasOnlyReadOnly() { void testHasOnlyReadOnly() {
// TODO: test HasOnlyReadOnly // TODO: test HasOnlyReadOnly
} }
@ -41,7 +40,7 @@ public class HasOnlyReadOnlyTest {
* Test the property 'bar' * Test the property 'bar'
*/ */
@Test @Test
public void barTest() { void barTest() {
// TODO: test bar // TODO: test bar
} }
@ -49,7 +48,7 @@ public class HasOnlyReadOnlyTest {
* Test the property 'foo' * Test the property 'foo'
*/ */
@Test @Test
public void fooTest() { void fooTest() {
// TODO: test foo // TODO: test foo
} }

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for MapTest * Model tests for MapTest
*/ */
public class MapTestTest { class MapTestTest {
private final MapTest model = new MapTest(); private final MapTest model = new MapTest();
/** /**
* Model tests for MapTest * Model tests for MapTest
*/ */
@Test @Test
public void testMapTest() { void testMapTest() {
// TODO: test MapTest // TODO: test MapTest
} }
@ -43,7 +42,7 @@ public class MapTestTest {
* Test the property 'mapMapOfString' * Test the property 'mapMapOfString'
*/ */
@Test @Test
public void mapMapOfStringTest() { void mapMapOfStringTest() {
// TODO: test mapMapOfString // TODO: test mapMapOfString
} }
@ -51,7 +50,7 @@ public class MapTestTest {
* Test the property 'mapOfEnumString' * Test the property 'mapOfEnumString'
*/ */
@Test @Test
public void mapOfEnumStringTest() { void mapOfEnumStringTest() {
// TODO: test mapOfEnumString // TODO: test mapOfEnumString
} }
@ -59,7 +58,7 @@ public class MapTestTest {
* Test the property 'directMap' * Test the property 'directMap'
*/ */
@Test @Test
public void directMapTest() { void directMapTest() {
// TODO: test directMap // TODO: test directMap
} }
@ -67,7 +66,7 @@ public class MapTestTest {
* Test the property 'indirectMap' * Test the property 'indirectMap'
*/ */
@Test @Test
public void indirectMapTest() { void indirectMapTest() {
// TODO: test indirectMap // TODO: test indirectMap
} }

View File

@ -23,22 +23,21 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.UUID; import java.util.UUID;
import org.openapitools.client.model.Animal; import org.openapitools.client.model.Animal;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for MixedPropertiesAndAdditionalPropertiesClass * Model tests for MixedPropertiesAndAdditionalPropertiesClass
*/ */
public class MixedPropertiesAndAdditionalPropertiesClassTest { class MixedPropertiesAndAdditionalPropertiesClassTest {
private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass(); private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass();
/** /**
* Model tests for MixedPropertiesAndAdditionalPropertiesClass * Model tests for MixedPropertiesAndAdditionalPropertiesClass
*/ */
@Test @Test
public void testMixedPropertiesAndAdditionalPropertiesClass() { void testMixedPropertiesAndAdditionalPropertiesClass() {
// TODO: test MixedPropertiesAndAdditionalPropertiesClass // TODO: test MixedPropertiesAndAdditionalPropertiesClass
} }
@ -46,7 +45,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassTest {
* Test the property 'uuid' * Test the property 'uuid'
*/ */
@Test @Test
public void uuidTest() { void uuidTest() {
// TODO: test uuid // TODO: test uuid
} }
@ -54,7 +53,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassTest {
* Test the property 'dateTime' * Test the property 'dateTime'
*/ */
@Test @Test
public void dateTimeTest() { void dateTimeTest() {
// TODO: test dateTime // TODO: test dateTime
} }
@ -62,7 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassTest {
* Test the property 'map' * Test the property 'map'
*/ */
@Test @Test
public void mapTest() { void mapTest() {
// TODO: test map // TODO: test map
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Model200Response * Model tests for Model200Response
*/ */
public class Model200ResponseTest { class Model200ResponseTest {
private final Model200Response model = new Model200Response(); private final Model200Response model = new Model200Response();
/** /**
* Model tests for Model200Response * Model tests for Model200Response
*/ */
@Test @Test
public void testModel200Response() { void testModel200Response() {
// TODO: test Model200Response // TODO: test Model200Response
} }
@ -41,7 +40,7 @@ public class Model200ResponseTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }
@ -49,7 +48,7 @@ public class Model200ResponseTest {
* Test the property 'propertyClass' * Test the property 'propertyClass'
*/ */
@Test @Test
public void propertyClassTest() { void propertyClassTest() {
// TODO: test propertyClass // TODO: test propertyClass
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ModelApiResponse * Model tests for ModelApiResponse
*/ */
public class ModelApiResponseTest { class ModelApiResponseTest {
private final ModelApiResponse model = new ModelApiResponse(); private final ModelApiResponse model = new ModelApiResponse();
/** /**
* Model tests for ModelApiResponse * Model tests for ModelApiResponse
*/ */
@Test @Test
public void testModelApiResponse() { void testModelApiResponse() {
// TODO: test ModelApiResponse // TODO: test ModelApiResponse
} }
@ -41,7 +40,7 @@ public class ModelApiResponseTest {
* Test the property 'code' * Test the property 'code'
*/ */
@Test @Test
public void codeTest() { void codeTest() {
// TODO: test code // TODO: test code
} }
@ -49,7 +48,7 @@ public class ModelApiResponseTest {
* Test the property 'type' * Test the property 'type'
*/ */
@Test @Test
public void typeTest() { void typeTest() {
// TODO: test type // TODO: test type
} }
@ -57,7 +56,7 @@ public class ModelApiResponseTest {
* Test the property 'message' * Test the property 'message'
*/ */
@Test @Test
public void messageTest() { void messageTest() {
// TODO: test message // TODO: test message
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ModelFile * Model tests for ModelFile
*/ */
public class ModelFileTest { class ModelFileTest {
private final ModelFile model = new ModelFile(); private final ModelFile model = new ModelFile();
/** /**
* Model tests for ModelFile * Model tests for ModelFile
*/ */
@Test @Test
public void testModelFile() { void testModelFile() {
// TODO: test ModelFile // TODO: test ModelFile
} }
@ -41,7 +40,7 @@ public class ModelFileTest {
* Test the property 'sourceURI' * Test the property 'sourceURI'
*/ */
@Test @Test
public void sourceURITest() { void sourceURITest() {
// TODO: test sourceURI // TODO: test sourceURI
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ModelList * Model tests for ModelList
*/ */
public class ModelListTest { class ModelListTest {
private final ModelList model = new ModelList(); private final ModelList model = new ModelList();
/** /**
* Model tests for ModelList * Model tests for ModelList
*/ */
@Test @Test
public void testModelList() { void testModelList() {
// TODO: test ModelList // TODO: test ModelList
} }
@ -41,7 +40,7 @@ public class ModelListTest {
* Test the property '_123list' * Test the property '_123list'
*/ */
@Test @Test
public void _123listTest() { void _123listTest() {
// TODO: test _123list // TODO: test _123list
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ModelReturn * Model tests for ModelReturn
*/ */
public class ModelReturnTest { class ModelReturnTest {
private final ModelReturn model = new ModelReturn(); private final ModelReturn model = new ModelReturn();
/** /**
* Model tests for ModelReturn * Model tests for ModelReturn
*/ */
@Test @Test
public void testModelReturn() { void testModelReturn() {
// TODO: test ModelReturn // TODO: test ModelReturn
} }
@ -41,7 +40,7 @@ public class ModelReturnTest {
* Test the property '_return' * Test the property '_return'
*/ */
@Test @Test
public void _returnTest() { void _returnTest() {
// TODO: test _return // TODO: test _return
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Name * Model tests for Name
*/ */
public class NameTest { class NameTest {
private final Name model = new Name(); private final Name model = new Name();
/** /**
* Model tests for Name * Model tests for Name
*/ */
@Test @Test
public void testName() { void testName() {
// TODO: test Name // TODO: test Name
} }
@ -41,7 +40,7 @@ public class NameTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }
@ -49,7 +48,7 @@ public class NameTest {
* Test the property 'snakeCase' * Test the property 'snakeCase'
*/ */
@Test @Test
public void snakeCaseTest() { void snakeCaseTest() {
// TODO: test snakeCase // TODO: test snakeCase
} }
@ -57,7 +56,7 @@ public class NameTest {
* Test the property 'property' * Test the property 'property'
*/ */
@Test @Test
public void propertyTest() { void propertyTest() {
// TODO: test property // TODO: test property
} }
@ -65,7 +64,7 @@ public class NameTest {
* Test the property '_123number' * Test the property '_123number'
*/ */
@Test @Test
public void _123numberTest() { void _123numberTest() {
// TODO: test _123number // TODO: test _123number
} }

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for NumberOnly * Model tests for NumberOnly
*/ */
public class NumberOnlyTest { class NumberOnlyTest {
private final NumberOnly model = new NumberOnly(); private final NumberOnly model = new NumberOnly();
/** /**
* Model tests for NumberOnly * Model tests for NumberOnly
*/ */
@Test @Test
public void testNumberOnly() { void testNumberOnly() {
// TODO: test NumberOnly // TODO: test NumberOnly
} }
@ -42,7 +41,7 @@ public class NumberOnlyTest {
* Test the property 'justNumber' * Test the property 'justNumber'
*/ */
@Test @Test
public void justNumberTest() { void justNumberTest() {
// TODO: test justNumber // TODO: test justNumber
} }

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Order * Model tests for Order
*/ */
public class OrderTest { class OrderTest {
private final Order model = new Order(); private final Order model = new Order();
/** /**
* Model tests for Order * Model tests for Order
*/ */
@Test @Test
public void testOrder() { void testOrder() {
// TODO: test Order // TODO: test Order
} }
@ -42,7 +41,7 @@ public class OrderTest {
* Test the property 'id' * Test the property 'id'
*/ */
@Test @Test
public void idTest() { void idTest() {
// TODO: test id // TODO: test id
} }
@ -50,7 +49,7 @@ public class OrderTest {
* Test the property 'petId' * Test the property 'petId'
*/ */
@Test @Test
public void petIdTest() { void petIdTest() {
// TODO: test petId // TODO: test petId
} }
@ -58,7 +57,7 @@ public class OrderTest {
* Test the property 'quantity' * Test the property 'quantity'
*/ */
@Test @Test
public void quantityTest() { void quantityTest() {
// TODO: test quantity // TODO: test quantity
} }
@ -66,7 +65,7 @@ public class OrderTest {
* Test the property 'shipDate' * Test the property 'shipDate'
*/ */
@Test @Test
public void shipDateTest() { void shipDateTest() {
// TODO: test shipDate // TODO: test shipDate
} }
@ -74,7 +73,7 @@ public class OrderTest {
* Test the property 'status' * Test the property 'status'
*/ */
@Test @Test
public void statusTest() { void statusTest() {
// TODO: test status // TODO: test status
} }
@ -82,7 +81,7 @@ public class OrderTest {
* Test the property 'complete' * Test the property 'complete'
*/ */
@Test @Test
public void completeTest() { void completeTest() {
// TODO: test complete // TODO: test complete
} }

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for OuterComposite * Model tests for OuterComposite
*/ */
public class OuterCompositeTest { class OuterCompositeTest {
private final OuterComposite model = new OuterComposite(); private final OuterComposite model = new OuterComposite();
/** /**
* Model tests for OuterComposite * Model tests for OuterComposite
*/ */
@Test @Test
public void testOuterComposite() { void testOuterComposite() {
// TODO: test OuterComposite // TODO: test OuterComposite
} }
@ -42,7 +41,7 @@ public class OuterCompositeTest {
* Test the property 'myNumber' * Test the property 'myNumber'
*/ */
@Test @Test
public void myNumberTest() { void myNumberTest() {
// TODO: test myNumber // TODO: test myNumber
} }
@ -50,7 +49,7 @@ public class OuterCompositeTest {
* Test the property 'myString' * Test the property 'myString'
*/ */
@Test @Test
public void myStringTest() { void myStringTest() {
// TODO: test myString // TODO: test myString
} }
@ -58,7 +57,7 @@ public class OuterCompositeTest {
* Test the property 'myBoolean' * Test the property 'myBoolean'
*/ */
@Test @Test
public void myBooleanTest() { void myBooleanTest() {
// TODO: test myBoolean // TODO: test myBoolean
} }

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model; package org.openapitools.client.model;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for OuterEnum * Model tests for OuterEnum
*/ */
public class OuterEnumTest { class OuterEnumTest {
/** /**
* Model tests for OuterEnum * Model tests for OuterEnum
*/ */
@Test @Test
public void testOuterEnum() { void testOuterEnum() {
// TODO: test OuterEnum // TODO: test OuterEnum
} }

View File

@ -20,27 +20,27 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashSet; import java.util.LinkedHashSet;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import org.openapitools.client.model.Category; import org.openapitools.client.model.Category;
import org.openapitools.client.model.Tag; import org.openapitools.client.model.Tag;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Pet * Model tests for Pet
*/ */
public class PetTest { class PetTest {
private final Pet model = new Pet(); private final Pet model = new Pet();
/** /**
* Model tests for Pet * Model tests for Pet
*/ */
@Test @Test
public void testPet() { void testPet() {
// TODO: test Pet // TODO: test Pet
} }
@ -48,7 +48,7 @@ public class PetTest {
* Test the property 'id' * Test the property 'id'
*/ */
@Test @Test
public void idTest() { void idTest() {
// TODO: test id // TODO: test id
} }
@ -56,7 +56,7 @@ public class PetTest {
* Test the property 'category' * Test the property 'category'
*/ */
@Test @Test
public void categoryTest() { void categoryTest() {
// TODO: test category // TODO: test category
} }
@ -64,7 +64,7 @@ public class PetTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }
@ -72,7 +72,7 @@ public class PetTest {
* Test the property 'photoUrls' * Test the property 'photoUrls'
*/ */
@Test @Test
public void photoUrlsTest() { void photoUrlsTest() {
// TODO: test photoUrls // TODO: test photoUrls
} }
@ -80,7 +80,7 @@ public class PetTest {
* Test the property 'tags' * Test the property 'tags'
*/ */
@Test @Test
public void tagsTest() { void tagsTest() {
// TODO: test tags // TODO: test tags
} }
@ -88,7 +88,7 @@ public class PetTest {
* Test the property 'status' * Test the property 'status'
*/ */
@Test @Test
public void statusTest() { void statusTest() {
// TODO: test status // TODO: test status
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ReadOnlyFirst * Model tests for ReadOnlyFirst
*/ */
public class ReadOnlyFirstTest { class ReadOnlyFirstTest {
private final ReadOnlyFirst model = new ReadOnlyFirst(); private final ReadOnlyFirst model = new ReadOnlyFirst();
/** /**
* Model tests for ReadOnlyFirst * Model tests for ReadOnlyFirst
*/ */
@Test @Test
public void testReadOnlyFirst() { void testReadOnlyFirst() {
// TODO: test ReadOnlyFirst // TODO: test ReadOnlyFirst
} }
@ -41,7 +40,7 @@ public class ReadOnlyFirstTest {
* Test the property 'bar' * Test the property 'bar'
*/ */
@Test @Test
public void barTest() { void barTest() {
// TODO: test bar // TODO: test bar
} }
@ -49,7 +48,7 @@ public class ReadOnlyFirstTest {
* Test the property 'baz' * Test the property 'baz'
*/ */
@Test @Test
public void bazTest() { void bazTest() {
// TODO: test baz // TODO: test baz
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for SpecialModelName * Model tests for SpecialModelName
*/ */
public class SpecialModelNameTest { class SpecialModelNameTest {
private final SpecialModelName model = new SpecialModelName(); private final SpecialModelName model = new SpecialModelName();
/** /**
* Model tests for SpecialModelName * Model tests for SpecialModelName
*/ */
@Test @Test
public void testSpecialModelName() { void testSpecialModelName() {
// TODO: test SpecialModelName // TODO: test SpecialModelName
} }
@ -41,7 +40,7 @@ public class SpecialModelNameTest {
* Test the property '$specialPropertyName' * Test the property '$specialPropertyName'
*/ */
@Test @Test
public void $specialPropertyNameTest() { void $specialPropertyNameTest() {
// TODO: test $specialPropertyName // TODO: test $specialPropertyName
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Tag * Model tests for Tag
*/ */
public class TagTest { class TagTest {
private final Tag model = new Tag(); private final Tag model = new Tag();
/** /**
* Model tests for Tag * Model tests for Tag
*/ */
@Test @Test
public void testTag() { void testTag() {
// TODO: test Tag // TODO: test Tag
} }
@ -41,7 +40,7 @@ public class TagTest {
* Test the property 'id' * Test the property 'id'
*/ */
@Test @Test
public void idTest() { void idTest() {
// TODO: test id // TODO: test id
} }
@ -49,7 +48,7 @@ public class TagTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for TypeHolderDefault * Model tests for TypeHolderDefault
*/ */
public class TypeHolderDefaultTest { class TypeHolderDefaultTest {
private final TypeHolderDefault model = new TypeHolderDefault(); private final TypeHolderDefault model = new TypeHolderDefault();
/** /**
* Model tests for TypeHolderDefault * Model tests for TypeHolderDefault
*/ */
@Test @Test
public void testTypeHolderDefault() { void testTypeHolderDefault() {
// TODO: test TypeHolderDefault // TODO: test TypeHolderDefault
} }
@ -44,7 +44,7 @@ public class TypeHolderDefaultTest {
* Test the property 'stringItem' * Test the property 'stringItem'
*/ */
@Test @Test
public void stringItemTest() { void stringItemTest() {
// TODO: test stringItem // TODO: test stringItem
} }
@ -52,7 +52,7 @@ public class TypeHolderDefaultTest {
* Test the property 'numberItem' * Test the property 'numberItem'
*/ */
@Test @Test
public void numberItemTest() { void numberItemTest() {
// TODO: test numberItem // TODO: test numberItem
} }
@ -60,7 +60,7 @@ public class TypeHolderDefaultTest {
* Test the property 'integerItem' * Test the property 'integerItem'
*/ */
@Test @Test
public void integerItemTest() { void integerItemTest() {
// TODO: test integerItem // TODO: test integerItem
} }
@ -68,7 +68,7 @@ public class TypeHolderDefaultTest {
* Test the property 'boolItem' * Test the property 'boolItem'
*/ */
@Test @Test
public void boolItemTest() { void boolItemTest() {
// TODO: test boolItem // TODO: test boolItem
} }
@ -76,7 +76,7 @@ public class TypeHolderDefaultTest {
* Test the property 'arrayItem' * Test the property 'arrayItem'
*/ */
@Test @Test
public void arrayItemTest() { void arrayItemTest() {
// TODO: test arrayItem // TODO: test arrayItem
} }

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for TypeHolderExample * Model tests for TypeHolderExample
*/ */
public class TypeHolderExampleTest { class TypeHolderExampleTest {
private final TypeHolderExample model = new TypeHolderExample(); private final TypeHolderExample model = new TypeHolderExample();
/** /**
* Model tests for TypeHolderExample * Model tests for TypeHolderExample
*/ */
@Test @Test
public void testTypeHolderExample() { void testTypeHolderExample() {
// TODO: test TypeHolderExample // TODO: test TypeHolderExample
} }
@ -44,7 +44,7 @@ public class TypeHolderExampleTest {
* Test the property 'stringItem' * Test the property 'stringItem'
*/ */
@Test @Test
public void stringItemTest() { void stringItemTest() {
// TODO: test stringItem // TODO: test stringItem
} }
@ -52,7 +52,7 @@ public class TypeHolderExampleTest {
* Test the property 'numberItem' * Test the property 'numberItem'
*/ */
@Test @Test
public void numberItemTest() { void numberItemTest() {
// TODO: test numberItem // TODO: test numberItem
} }
@ -60,7 +60,7 @@ public class TypeHolderExampleTest {
* Test the property 'floatItem' * Test the property 'floatItem'
*/ */
@Test @Test
public void floatItemTest() { void floatItemTest() {
// TODO: test floatItem // TODO: test floatItem
} }
@ -68,7 +68,7 @@ public class TypeHolderExampleTest {
* Test the property 'integerItem' * Test the property 'integerItem'
*/ */
@Test @Test
public void integerItemTest() { void integerItemTest() {
// TODO: test integerItem // TODO: test integerItem
} }
@ -76,7 +76,7 @@ public class TypeHolderExampleTest {
* Test the property 'boolItem' * Test the property 'boolItem'
*/ */
@Test @Test
public void boolItemTest() { void boolItemTest() {
// TODO: test boolItem // TODO: test boolItem
} }
@ -84,7 +84,7 @@ public class TypeHolderExampleTest {
* Test the property 'arrayItem' * Test the property 'arrayItem'
*/ */
@Test @Test
public void arrayItemTest() { void arrayItemTest() {
// TODO: test arrayItem // TODO: test arrayItem
} }

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for User * Model tests for User
*/ */
public class UserTest { class UserTest {
private final User model = new User(); private final User model = new User();
/** /**
* Model tests for User * Model tests for User
*/ */
@Test @Test
public void testUser() { void testUser() {
// TODO: test User // TODO: test User
} }
@ -41,7 +40,7 @@ public class UserTest {
* Test the property 'id' * Test the property 'id'
*/ */
@Test @Test
public void idTest() { void idTest() {
// TODO: test id // TODO: test id
} }
@ -49,7 +48,7 @@ public class UserTest {
* Test the property 'username' * Test the property 'username'
*/ */
@Test @Test
public void usernameTest() { void usernameTest() {
// TODO: test username // TODO: test username
} }
@ -57,7 +56,7 @@ public class UserTest {
* Test the property 'firstName' * Test the property 'firstName'
*/ */
@Test @Test
public void firstNameTest() { void firstNameTest() {
// TODO: test firstName // TODO: test firstName
} }
@ -65,7 +64,7 @@ public class UserTest {
* Test the property 'lastName' * Test the property 'lastName'
*/ */
@Test @Test
public void lastNameTest() { void lastNameTest() {
// TODO: test lastName // TODO: test lastName
} }
@ -73,7 +72,7 @@ public class UserTest {
* Test the property 'email' * Test the property 'email'
*/ */
@Test @Test
public void emailTest() { void emailTest() {
// TODO: test email // TODO: test email
} }
@ -81,7 +80,7 @@ public class UserTest {
* Test the property 'password' * Test the property 'password'
*/ */
@Test @Test
public void passwordTest() { void passwordTest() {
// TODO: test password // TODO: test password
} }
@ -89,7 +88,7 @@ public class UserTest {
* Test the property 'phone' * Test the property 'phone'
*/ */
@Test @Test
public void phoneTest() { void phoneTest() {
// TODO: test phone // TODO: test phone
} }
@ -97,7 +96,7 @@ public class UserTest {
* Test the property 'userStatus' * Test the property 'userStatus'
*/ */
@Test @Test
public void userStatusTest() { void userStatusTest() {
// TODO: test userStatus // TODO: test userStatus
} }

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for XmlItem * Model tests for XmlItem
*/ */
public class XmlItemTest { class XmlItemTest {
private final XmlItem model = new XmlItem(); private final XmlItem model = new XmlItem();
/** /**
* Model tests for XmlItem * Model tests for XmlItem
*/ */
@Test @Test
public void testXmlItem() { void testXmlItem() {
// TODO: test XmlItem // TODO: test XmlItem
} }
@ -44,7 +44,7 @@ public class XmlItemTest {
* Test the property 'attributeString' * Test the property 'attributeString'
*/ */
@Test @Test
public void attributeStringTest() { void attributeStringTest() {
// TODO: test attributeString // TODO: test attributeString
} }
@ -52,7 +52,7 @@ public class XmlItemTest {
* Test the property 'attributeNumber' * Test the property 'attributeNumber'
*/ */
@Test @Test
public void attributeNumberTest() { void attributeNumberTest() {
// TODO: test attributeNumber // TODO: test attributeNumber
} }
@ -60,7 +60,7 @@ public class XmlItemTest {
* Test the property 'attributeInteger' * Test the property 'attributeInteger'
*/ */
@Test @Test
public void attributeIntegerTest() { void attributeIntegerTest() {
// TODO: test attributeInteger // TODO: test attributeInteger
} }
@ -68,7 +68,7 @@ public class XmlItemTest {
* Test the property 'attributeBoolean' * Test the property 'attributeBoolean'
*/ */
@Test @Test
public void attributeBooleanTest() { void attributeBooleanTest() {
// TODO: test attributeBoolean // TODO: test attributeBoolean
} }
@ -76,7 +76,7 @@ public class XmlItemTest {
* Test the property 'wrappedArray' * Test the property 'wrappedArray'
*/ */
@Test @Test
public void wrappedArrayTest() { void wrappedArrayTest() {
// TODO: test wrappedArray // TODO: test wrappedArray
} }
@ -84,7 +84,7 @@ public class XmlItemTest {
* Test the property 'nameString' * Test the property 'nameString'
*/ */
@Test @Test
public void nameStringTest() { void nameStringTest() {
// TODO: test nameString // TODO: test nameString
} }
@ -92,7 +92,7 @@ public class XmlItemTest {
* Test the property 'nameNumber' * Test the property 'nameNumber'
*/ */
@Test @Test
public void nameNumberTest() { void nameNumberTest() {
// TODO: test nameNumber // TODO: test nameNumber
} }
@ -100,7 +100,7 @@ public class XmlItemTest {
* Test the property 'nameInteger' * Test the property 'nameInteger'
*/ */
@Test @Test
public void nameIntegerTest() { void nameIntegerTest() {
// TODO: test nameInteger // TODO: test nameInteger
} }
@ -108,7 +108,7 @@ public class XmlItemTest {
* Test the property 'nameBoolean' * Test the property 'nameBoolean'
*/ */
@Test @Test
public void nameBooleanTest() { void nameBooleanTest() {
// TODO: test nameBoolean // TODO: test nameBoolean
} }
@ -116,7 +116,7 @@ public class XmlItemTest {
* Test the property 'nameArray' * Test the property 'nameArray'
*/ */
@Test @Test
public void nameArrayTest() { void nameArrayTest() {
// TODO: test nameArray // TODO: test nameArray
} }
@ -124,7 +124,7 @@ public class XmlItemTest {
* Test the property 'nameWrappedArray' * Test the property 'nameWrappedArray'
*/ */
@Test @Test
public void nameWrappedArrayTest() { void nameWrappedArrayTest() {
// TODO: test nameWrappedArray // TODO: test nameWrappedArray
} }
@ -132,7 +132,7 @@ public class XmlItemTest {
* Test the property 'prefixString' * Test the property 'prefixString'
*/ */
@Test @Test
public void prefixStringTest() { void prefixStringTest() {
// TODO: test prefixString // TODO: test prefixString
} }
@ -140,7 +140,7 @@ public class XmlItemTest {
* Test the property 'prefixNumber' * Test the property 'prefixNumber'
*/ */
@Test @Test
public void prefixNumberTest() { void prefixNumberTest() {
// TODO: test prefixNumber // TODO: test prefixNumber
} }
@ -148,7 +148,7 @@ public class XmlItemTest {
* Test the property 'prefixInteger' * Test the property 'prefixInteger'
*/ */
@Test @Test
public void prefixIntegerTest() { void prefixIntegerTest() {
// TODO: test prefixInteger // TODO: test prefixInteger
} }
@ -156,7 +156,7 @@ public class XmlItemTest {
* Test the property 'prefixBoolean' * Test the property 'prefixBoolean'
*/ */
@Test @Test
public void prefixBooleanTest() { void prefixBooleanTest() {
// TODO: test prefixBoolean // TODO: test prefixBoolean
} }
@ -164,7 +164,7 @@ public class XmlItemTest {
* Test the property 'prefixArray' * Test the property 'prefixArray'
*/ */
@Test @Test
public void prefixArrayTest() { void prefixArrayTest() {
// TODO: test prefixArray // TODO: test prefixArray
} }
@ -172,7 +172,7 @@ public class XmlItemTest {
* Test the property 'prefixWrappedArray' * Test the property 'prefixWrappedArray'
*/ */
@Test @Test
public void prefixWrappedArrayTest() { void prefixWrappedArrayTest() {
// TODO: test prefixWrappedArray // TODO: test prefixWrappedArray
} }
@ -180,7 +180,7 @@ public class XmlItemTest {
* Test the property 'namespaceString' * Test the property 'namespaceString'
*/ */
@Test @Test
public void namespaceStringTest() { void namespaceStringTest() {
// TODO: test namespaceString // TODO: test namespaceString
} }
@ -188,7 +188,7 @@ public class XmlItemTest {
* Test the property 'namespaceNumber' * Test the property 'namespaceNumber'
*/ */
@Test @Test
public void namespaceNumberTest() { void namespaceNumberTest() {
// TODO: test namespaceNumber // TODO: test namespaceNumber
} }
@ -196,7 +196,7 @@ public class XmlItemTest {
* Test the property 'namespaceInteger' * Test the property 'namespaceInteger'
*/ */
@Test @Test
public void namespaceIntegerTest() { void namespaceIntegerTest() {
// TODO: test namespaceInteger // TODO: test namespaceInteger
} }
@ -204,7 +204,7 @@ public class XmlItemTest {
* Test the property 'namespaceBoolean' * Test the property 'namespaceBoolean'
*/ */
@Test @Test
public void namespaceBooleanTest() { void namespaceBooleanTest() {
// TODO: test namespaceBoolean // TODO: test namespaceBoolean
} }
@ -212,7 +212,7 @@ public class XmlItemTest {
* Test the property 'namespaceArray' * Test the property 'namespaceArray'
*/ */
@Test @Test
public void namespaceArrayTest() { void namespaceArrayTest() {
// TODO: test namespaceArray // TODO: test namespaceArray
} }
@ -220,7 +220,7 @@ public class XmlItemTest {
* Test the property 'namespaceWrappedArray' * Test the property 'namespaceWrappedArray'
*/ */
@Test @Test
public void namespaceWrappedArrayTest() { void namespaceWrappedArrayTest() {
// TODO: test namespaceWrappedArray // TODO: test namespaceWrappedArray
} }
@ -228,7 +228,7 @@ public class XmlItemTest {
* Test the property 'prefixNsString' * Test the property 'prefixNsString'
*/ */
@Test @Test
public void prefixNsStringTest() { void prefixNsStringTest() {
// TODO: test prefixNsString // TODO: test prefixNsString
} }
@ -236,7 +236,7 @@ public class XmlItemTest {
* Test the property 'prefixNsNumber' * Test the property 'prefixNsNumber'
*/ */
@Test @Test
public void prefixNsNumberTest() { void prefixNsNumberTest() {
// TODO: test prefixNsNumber // TODO: test prefixNsNumber
} }
@ -244,7 +244,7 @@ public class XmlItemTest {
* Test the property 'prefixNsInteger' * Test the property 'prefixNsInteger'
*/ */
@Test @Test
public void prefixNsIntegerTest() { void prefixNsIntegerTest() {
// TODO: test prefixNsInteger // TODO: test prefixNsInteger
} }
@ -252,7 +252,7 @@ public class XmlItemTest {
* Test the property 'prefixNsBoolean' * Test the property 'prefixNsBoolean'
*/ */
@Test @Test
public void prefixNsBooleanTest() { void prefixNsBooleanTest() {
// TODO: test prefixNsBoolean // TODO: test prefixNsBoolean
} }
@ -260,7 +260,7 @@ public class XmlItemTest {
* Test the property 'prefixNsArray' * Test the property 'prefixNsArray'
*/ */
@Test @Test
public void prefixNsArrayTest() { void prefixNsArrayTest() {
// TODO: test prefixNsArray // TODO: test prefixNsArray
} }
@ -268,7 +268,7 @@ public class XmlItemTest {
* Test the property 'prefixNsWrappedArray' * Test the property 'prefixNsWrappedArray'
*/ */
@Test @Test
public void prefixNsWrappedArrayTest() { void prefixNsWrappedArrayTest() {
// TODO: test prefixNsWrappedArray // TODO: test prefixNsWrappedArray
} }

View File

@ -98,10 +98,11 @@ if(hasProperty('target') && target == 'android') {
ext { ext {
rest_assured_version = "5.3.2" rest_assured_version = "5.3.2"
junit_version = "4.13.2" junit_version = "5.10.3"
gson_version = "2.10.1" gson_version = "2.10.1"
gson_fire_version = "1.9.0" gson_fire_version = "1.9.0"
okio_version = "3.6.0" okio_version = "3.6.0"
jakarta_annotation_version = "1.3.5"
} }
dependencies { dependencies {
@ -113,5 +114,5 @@ dependencies {
implementation "jakarta.validation:jakarta.validation-api:3.0.2" implementation "jakarta.validation:jakarta.validation-api:3.0.2"
implementation "org.hibernate:hibernate-validator:6.0.19.Final" implementation "org.hibernate:hibernate-validator:6.0.19.Final"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version" testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
} }

View File

@ -19,7 +19,7 @@ lazy val root = (project in file(".")).
"jakarta.validation" % "jakarta.validation-api" % "3.0.2" % "compile", "jakarta.validation" % "jakarta.validation-api" % "3.0.2" % "compile",
"org.hibernate" % "hibernate-validator" % "6.0.19.Final" % "compile", "org.hibernate" % "hibernate-validator" % "6.0.19.Final" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"junit" % "junit" % "4.13.2" % "test", "org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test" "com.novocode" % "junit-interface" % "0.10" % "test"
) )
) )

View File

@ -246,8 +246,8 @@
</dependency> </dependency>
<!-- test dependencies --> <!-- test dependencies -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version> <version>${junit-version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -260,6 +260,6 @@
<jakarta-annotation-version>1.3.5</jakarta-annotation-version> <jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<beanvalidation-version>3.0.2</beanvalidation-version> <beanvalidation-version>3.0.2</beanvalidation-version>
<okio-version>3.6.0</okio-version> <okio-version>3.6.0</okio-version>
<junit-version>4.13.2</junit-version> <junit-version>5.10.3</junit-version>
</properties> </properties>
</project> </project>

View File

@ -14,18 +14,25 @@
package org.openapitools.client.api; package org.openapitools.client.api;
import org.openapitools.client.model.Client; import org.openapitools.client.model.Client;
import java.util.UUID;
import org.openapitools.client.ApiClient; import org.openapitools.client.ApiClient;
import org.openapitools.client.api.AnotherFakeApi; import org.openapitools.client.api.AnotherFakeApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.GsonObjectMapper.gson; import static org.openapitools.client.GsonObjectMapper.gson;
@ -33,12 +40,12 @@ import static org.openapitools.client.GsonObjectMapper.gson;
/** /**
* API tests for AnotherFakeApi * API tests for AnotherFakeApi
*/ */
@Ignore @Disabled
public class AnotherFakeApiTest { public class AnotherFakeApiTest {
private AnotherFakeApi api; private AnotherFakeApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -52,10 +59,12 @@ public class AnotherFakeApiTest {
*/ */
@Test @Test
public void shouldSee200AfterCall123testSpecialTags() { public void shouldSee200AfterCall123testSpecialTags() {
String uuidTest = null;
Client body = null; Client body = null;
api.call123testSpecialTags() api.call123testSpecialTags()
.uuidTestHeader(uuidTest)
.body(body).execute(r -> r.prettyPeek()); .body(body).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -26,14 +26,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.FakeApi; import org.openapitools.client.api.FakeApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.GsonObjectMapper.gson; import static org.openapitools.client.GsonObjectMapper.gson;
@ -41,12 +47,12 @@ import static org.openapitools.client.GsonObjectMapper.gson;
/** /**
* API tests for FakeApi * API tests for FakeApi
*/ */
@Ignore @Disabled
public class FakeApiTest { public class FakeApiTest {
private FakeApi api; private FakeApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -303,4 +309,4 @@ public class FakeApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -18,14 +18,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.FakeClassnameTags123Api; import org.openapitools.client.api.FakeClassnameTags123Api;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.GsonObjectMapper.gson; import static org.openapitools.client.GsonObjectMapper.gson;
@ -33,12 +39,12 @@ import static org.openapitools.client.GsonObjectMapper.gson;
/** /**
* API tests for FakeClassnameTags123Api * API tests for FakeClassnameTags123Api
*/ */
@Ignore @Disabled
public class FakeClassnameTags123ApiTest { public class FakeClassnameTags123ApiTest {
private FakeClassnameTags123Api api; private FakeClassnameTags123Api api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -58,4 +64,4 @@ public class FakeClassnameTags123ApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -16,19 +16,24 @@ package org.openapitools.client.api;
import java.io.File; import java.io.File;
import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.ModelApiResponse;
import org.openapitools.client.model.Pet; import org.openapitools.client.model.Pet;
import java.util.Set;
import org.openapitools.client.ApiClient; import org.openapitools.client.ApiClient;
import org.openapitools.client.api.PetApi; import org.openapitools.client.api.PetApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
@ -37,12 +42,12 @@ import static org.openapitools.client.GsonObjectMapper.gson;
/** /**
* API tests for PetApi * API tests for PetApi
*/ */
@Ignore @Disabled
public class PetApiTest { public class PetApiTest {
private PetApi api; private PetApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -245,7 +250,7 @@ public class PetApiTest {
public void shouldSee200AfterUploadFile() { public void shouldSee200AfterUploadFile() {
Long petId = null; Long petId = null;
String additionalMetadata = null; String additionalMetadata = null;
File file = null; File _file = null;
api.uploadFile() api.uploadFile()
.petIdPath(petId).execute(r -> r.prettyPeek()); .petIdPath(petId).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
@ -266,4 +271,4 @@ public class PetApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -18,14 +18,20 @@ import org.openapitools.client.ApiClient;
import org.openapitools.client.api.StoreApi; import org.openapitools.client.api.StoreApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.GsonObjectMapper.gson; import static org.openapitools.client.GsonObjectMapper.gson;
@ -33,12 +39,12 @@ import static org.openapitools.client.GsonObjectMapper.gson;
/** /**
* API tests for StoreApi * API tests for StoreApi
*/ */
@Ignore @Disabled
public class StoreApiTest { public class StoreApiTest {
private StoreApi api; private StoreApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -136,4 +142,4 @@ public class StoreApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -13,19 +13,26 @@
package org.openapitools.client.api; package org.openapitools.client.api;
import java.time.OffsetDateTime;
import org.openapitools.client.model.User; import org.openapitools.client.model.User;
import org.openapitools.client.ApiClient; import org.openapitools.client.ApiClient;
import org.openapitools.client.api.UserApi; import org.openapitools.client.api.UserApi;
import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.ErrorLoggingFilter; import io.restassured.filter.log.ErrorLoggingFilter;
import org.junit.Before; import org.junit.jupiter.api.BeforeEach;
import org.junit.Test; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import static io.restassured.config.ObjectMapperConfig.objectMapperConfig; import static io.restassured.config.ObjectMapperConfig.objectMapperConfig;
import static io.restassured.config.RestAssuredConfig.config; import static io.restassured.config.RestAssuredConfig.config;
import static org.openapitools.client.GsonObjectMapper.gson; import static org.openapitools.client.GsonObjectMapper.gson;
@ -33,12 +40,12 @@ import static org.openapitools.client.GsonObjectMapper.gson;
/** /**
* API tests for UserApi * API tests for UserApi
*/ */
@Ignore @Disabled
public class UserApiTest { public class UserApiTest {
private UserApi api; private UserApi api;
@Before @BeforeEach
public void createApi() { public void createApi() {
api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier( api = ApiClient.api(ApiClient.Config.apiConfig().reqSpecSupplier(
() -> new RequestSpecBuilder() () -> new RequestSpecBuilder()
@ -64,7 +71,7 @@ public class UserApiTest {
*/ */
@Test @Test
public void shouldSee0AfterCreateUsersWithArrayInput() { public void shouldSee0AfterCreateUsersWithArrayInput() {
List<User> body = null; List<@Valid User> body = null;
api.createUsersWithArrayInput() api.createUsersWithArrayInput()
.body(body).execute(r -> r.prettyPeek()); .body(body).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
@ -76,7 +83,7 @@ public class UserApiTest {
*/ */
@Test @Test
public void shouldSee0AfterCreateUsersWithListInput() { public void shouldSee0AfterCreateUsersWithListInput() {
List<User> body = null; List<@Valid User> body = null;
api.createUsersWithListInput() api.createUsersWithListInput()
.body(body).execute(r -> r.prettyPeek()); .body(body).execute(r -> r.prettyPeek());
// TODO: test validations // TODO: test validations
@ -203,4 +210,4 @@ public class UserApiTest {
// TODO: test validations // TODO: test validations
} }
} }

View File

@ -21,22 +21,21 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesAnyType * Model tests for AdditionalPropertiesAnyType
*/ */
public class AdditionalPropertiesAnyTypeTest { class AdditionalPropertiesAnyTypeTest {
private final AdditionalPropertiesAnyType model = new AdditionalPropertiesAnyType(); private final AdditionalPropertiesAnyType model = new AdditionalPropertiesAnyType();
/** /**
* Model tests for AdditionalPropertiesAnyType * Model tests for AdditionalPropertiesAnyType
*/ */
@Test @Test
public void testAdditionalPropertiesAnyType() { void testAdditionalPropertiesAnyType() {
// TODO: test AdditionalPropertiesAnyType // TODO: test AdditionalPropertiesAnyType
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesAnyTypeTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -22,22 +22,21 @@ import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesArray * Model tests for AdditionalPropertiesArray
*/ */
public class AdditionalPropertiesArrayTest { class AdditionalPropertiesArrayTest {
private final AdditionalPropertiesArray model = new AdditionalPropertiesArray(); private final AdditionalPropertiesArray model = new AdditionalPropertiesArray();
/** /**
* Model tests for AdditionalPropertiesArray * Model tests for AdditionalPropertiesArray
*/ */
@Test @Test
public void testAdditionalPropertiesArray() { void testAdditionalPropertiesArray() {
// TODO: test AdditionalPropertiesArray // TODO: test AdditionalPropertiesArray
} }
@ -45,7 +44,7 @@ public class AdditionalPropertiesArrayTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -21,22 +21,21 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesBoolean * Model tests for AdditionalPropertiesBoolean
*/ */
public class AdditionalPropertiesBooleanTest { class AdditionalPropertiesBooleanTest {
private final AdditionalPropertiesBoolean model = new AdditionalPropertiesBoolean(); private final AdditionalPropertiesBoolean model = new AdditionalPropertiesBoolean();
/** /**
* Model tests for AdditionalPropertiesBoolean * Model tests for AdditionalPropertiesBoolean
*/ */
@Test @Test
public void testAdditionalPropertiesBoolean() { void testAdditionalPropertiesBoolean() {
// TODO: test AdditionalPropertiesBoolean // TODO: test AdditionalPropertiesBoolean
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesBooleanTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -23,22 +23,21 @@ import java.math.BigDecimal;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesClass * Model tests for AdditionalPropertiesClass
*/ */
public class AdditionalPropertiesClassTest { class AdditionalPropertiesClassTest {
private final AdditionalPropertiesClass model = new AdditionalPropertiesClass(); private final AdditionalPropertiesClass model = new AdditionalPropertiesClass();
/** /**
* Model tests for AdditionalPropertiesClass * Model tests for AdditionalPropertiesClass
*/ */
@Test @Test
public void testAdditionalPropertiesClass() { void testAdditionalPropertiesClass() {
// TODO: test AdditionalPropertiesClass // TODO: test AdditionalPropertiesClass
} }
@ -46,7 +45,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapString' * Test the property 'mapString'
*/ */
@Test @Test
public void mapStringTest() { void mapStringTest() {
// TODO: test mapString // TODO: test mapString
} }
@ -54,7 +53,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapNumber' * Test the property 'mapNumber'
*/ */
@Test @Test
public void mapNumberTest() { void mapNumberTest() {
// TODO: test mapNumber // TODO: test mapNumber
} }
@ -62,7 +61,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapInteger' * Test the property 'mapInteger'
*/ */
@Test @Test
public void mapIntegerTest() { void mapIntegerTest() {
// TODO: test mapInteger // TODO: test mapInteger
} }
@ -70,7 +69,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapBoolean' * Test the property 'mapBoolean'
*/ */
@Test @Test
public void mapBooleanTest() { void mapBooleanTest() {
// TODO: test mapBoolean // TODO: test mapBoolean
} }
@ -78,7 +77,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapArrayInteger' * Test the property 'mapArrayInteger'
*/ */
@Test @Test
public void mapArrayIntegerTest() { void mapArrayIntegerTest() {
// TODO: test mapArrayInteger // TODO: test mapArrayInteger
} }
@ -86,7 +85,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapArrayAnytype' * Test the property 'mapArrayAnytype'
*/ */
@Test @Test
public void mapArrayAnytypeTest() { void mapArrayAnytypeTest() {
// TODO: test mapArrayAnytype // TODO: test mapArrayAnytype
} }
@ -94,7 +93,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapMapString' * Test the property 'mapMapString'
*/ */
@Test @Test
public void mapMapStringTest() { void mapMapStringTest() {
// TODO: test mapMapString // TODO: test mapMapString
} }
@ -102,7 +101,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapMapAnytype' * Test the property 'mapMapAnytype'
*/ */
@Test @Test
public void mapMapAnytypeTest() { void mapMapAnytypeTest() {
// TODO: test mapMapAnytype // TODO: test mapMapAnytype
} }
@ -110,7 +109,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'anytype1' * Test the property 'anytype1'
*/ */
@Test @Test
public void anytype1Test() { void anytype1Test() {
// TODO: test anytype1 // TODO: test anytype1
} }
@ -118,7 +117,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'anytype2' * Test the property 'anytype2'
*/ */
@Test @Test
public void anytype2Test() { void anytype2Test() {
// TODO: test anytype2 // TODO: test anytype2
} }
@ -126,7 +125,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'anytype3' * Test the property 'anytype3'
*/ */
@Test @Test
public void anytype3Test() { void anytype3Test() {
// TODO: test anytype3 // TODO: test anytype3
} }

View File

@ -21,22 +21,21 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesInteger * Model tests for AdditionalPropertiesInteger
*/ */
public class AdditionalPropertiesIntegerTest { class AdditionalPropertiesIntegerTest {
private final AdditionalPropertiesInteger model = new AdditionalPropertiesInteger(); private final AdditionalPropertiesInteger model = new AdditionalPropertiesInteger();
/** /**
* Model tests for AdditionalPropertiesInteger * Model tests for AdditionalPropertiesInteger
*/ */
@Test @Test
public void testAdditionalPropertiesInteger() { void testAdditionalPropertiesInteger() {
// TODO: test AdditionalPropertiesInteger // TODO: test AdditionalPropertiesInteger
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesIntegerTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -22,22 +22,21 @@ import java.io.IOException;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesNumber * Model tests for AdditionalPropertiesNumber
*/ */
public class AdditionalPropertiesNumberTest { class AdditionalPropertiesNumberTest {
private final AdditionalPropertiesNumber model = new AdditionalPropertiesNumber(); private final AdditionalPropertiesNumber model = new AdditionalPropertiesNumber();
/** /**
* Model tests for AdditionalPropertiesNumber * Model tests for AdditionalPropertiesNumber
*/ */
@Test @Test
public void testAdditionalPropertiesNumber() { void testAdditionalPropertiesNumber() {
// TODO: test AdditionalPropertiesNumber // TODO: test AdditionalPropertiesNumber
} }
@ -45,7 +44,7 @@ public class AdditionalPropertiesNumberTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -21,22 +21,21 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesObject * Model tests for AdditionalPropertiesObject
*/ */
public class AdditionalPropertiesObjectTest { class AdditionalPropertiesObjectTest {
private final AdditionalPropertiesObject model = new AdditionalPropertiesObject(); private final AdditionalPropertiesObject model = new AdditionalPropertiesObject();
/** /**
* Model tests for AdditionalPropertiesObject * Model tests for AdditionalPropertiesObject
*/ */
@Test @Test
public void testAdditionalPropertiesObject() { void testAdditionalPropertiesObject() {
// TODO: test AdditionalPropertiesObject // TODO: test AdditionalPropertiesObject
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesObjectTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -21,22 +21,21 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for AdditionalPropertiesString * Model tests for AdditionalPropertiesString
*/ */
public class AdditionalPropertiesStringTest { class AdditionalPropertiesStringTest {
private final AdditionalPropertiesString model = new AdditionalPropertiesString(); private final AdditionalPropertiesString model = new AdditionalPropertiesString();
/** /**
* Model tests for AdditionalPropertiesString * Model tests for AdditionalPropertiesString
*/ */
@Test @Test
public void testAdditionalPropertiesString() { void testAdditionalPropertiesString() {
// TODO: test AdditionalPropertiesString // TODO: test AdditionalPropertiesString
} }
@ -44,7 +43,7 @@ public class AdditionalPropertiesStringTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -19,25 +19,21 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions;
import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Disabled;
import org.openapitools.client.model.Dog; import org.junit.jupiter.api.Test;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
/** /**
* Model tests for Animal * Model tests for Animal
*/ */
public class AnimalTest { class AnimalTest {
private final Animal model = new Animal(); private final Animal model = new Animal();
/** /**
* Model tests for Animal * Model tests for Animal
*/ */
@Test @Test
public void testAnimal() { void testAnimal() {
// TODO: test Animal // TODO: test Animal
} }
@ -45,7 +41,7 @@ public class AnimalTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -53,7 +49,7 @@ public class AnimalTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }

View File

@ -21,23 +21,23 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ArrayOfArrayOfNumberOnly * Model tests for ArrayOfArrayOfNumberOnly
*/ */
public class ArrayOfArrayOfNumberOnlyTest { class ArrayOfArrayOfNumberOnlyTest {
private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly(); private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly();
/** /**
* Model tests for ArrayOfArrayOfNumberOnly * Model tests for ArrayOfArrayOfNumberOnly
*/ */
@Test @Test
public void testArrayOfArrayOfNumberOnly() { void testArrayOfArrayOfNumberOnly() {
// TODO: test ArrayOfArrayOfNumberOnly // TODO: test ArrayOfArrayOfNumberOnly
} }
@ -45,7 +45,7 @@ public class ArrayOfArrayOfNumberOnlyTest {
* Test the property 'arrayArrayNumber' * Test the property 'arrayArrayNumber'
*/ */
@Test @Test
public void arrayArrayNumberTest() { void arrayArrayNumberTest() {
// TODO: test arrayArrayNumber // TODO: test arrayArrayNumber
} }

View File

@ -21,23 +21,23 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ArrayOfNumberOnly * Model tests for ArrayOfNumberOnly
*/ */
public class ArrayOfNumberOnlyTest { class ArrayOfNumberOnlyTest {
private final ArrayOfNumberOnly model = new ArrayOfNumberOnly(); private final ArrayOfNumberOnly model = new ArrayOfNumberOnly();
/** /**
* Model tests for ArrayOfNumberOnly * Model tests for ArrayOfNumberOnly
*/ */
@Test @Test
public void testArrayOfNumberOnly() { void testArrayOfNumberOnly() {
// TODO: test ArrayOfNumberOnly // TODO: test ArrayOfNumberOnly
} }
@ -45,7 +45,7 @@ public class ArrayOfNumberOnlyTest {
* Test the property 'arrayNumber' * Test the property 'arrayNumber'
*/ */
@Test @Test
public void arrayNumberTest() { void arrayNumberTest() {
// TODO: test arrayNumber // TODO: test arrayNumber
} }

View File

@ -20,24 +20,24 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.openapitools.client.model.ReadOnlyFirst; import org.openapitools.client.model.ReadOnlyFirst;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ArrayTest * Model tests for ArrayTest
*/ */
public class ArrayTestTest { class ArrayTestTest {
private final ArrayTest model = new ArrayTest(); private final ArrayTest model = new ArrayTest();
/** /**
* Model tests for ArrayTest * Model tests for ArrayTest
*/ */
@Test @Test
public void testArrayTest() { void testArrayTest() {
// TODO: test ArrayTest // TODO: test ArrayTest
} }
@ -45,7 +45,7 @@ public class ArrayTestTest {
* Test the property 'arrayOfString' * Test the property 'arrayOfString'
*/ */
@Test @Test
public void arrayOfStringTest() { void arrayOfStringTest() {
// TODO: test arrayOfString // TODO: test arrayOfString
} }
@ -53,7 +53,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfInteger' * Test the property 'arrayArrayOfInteger'
*/ */
@Test @Test
public void arrayArrayOfIntegerTest() { void arrayArrayOfIntegerTest() {
// TODO: test arrayArrayOfInteger // TODO: test arrayArrayOfInteger
} }
@ -61,7 +61,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfModel' * Test the property 'arrayArrayOfModel'
*/ */
@Test @Test
public void arrayArrayOfModelTest() { void arrayArrayOfModelTest() {
// TODO: test arrayArrayOfModel // TODO: test arrayArrayOfModel
} }

View File

@ -20,21 +20,21 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.openapitools.client.model.Cat; import org.openapitools.client.model.Cat;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for BigCat * Model tests for BigCat
*/ */
public class BigCatTest { class BigCatTest {
private final BigCat model = new BigCat(); private final BigCat model = new BigCat();
/** /**
* Model tests for BigCat * Model tests for BigCat
*/ */
@Test @Test
public void testBigCat() { void testBigCat() {
// TODO: test BigCat // TODO: test BigCat
} }
@ -42,7 +42,7 @@ public class BigCatTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -50,7 +50,7 @@ public class BigCatTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }
@ -58,7 +58,7 @@ public class BigCatTest {
* Test the property 'declawed' * Test the property 'declawed'
*/ */
@Test @Test
public void declawedTest() { void declawedTest() {
// TODO: test declawed // TODO: test declawed
} }
@ -66,7 +66,7 @@ public class BigCatTest {
* Test the property 'kind' * Test the property 'kind'
*/ */
@Test @Test
public void kindTest() { void kindTest() {
// TODO: test kind // TODO: test kind
} }

View File

@ -19,22 +19,21 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Capitalization * Model tests for Capitalization
*/ */
public class CapitalizationTest { class CapitalizationTest {
private final Capitalization model = new Capitalization(); private final Capitalization model = new Capitalization();
/** /**
* Model tests for Capitalization * Model tests for Capitalization
*/ */
@Test @Test
public void testCapitalization() { void testCapitalization() {
// TODO: test Capitalization // TODO: test Capitalization
} }
@ -42,7 +41,7 @@ public class CapitalizationTest {
* Test the property 'smallCamel' * Test the property 'smallCamel'
*/ */
@Test @Test
public void smallCamelTest() { void smallCamelTest() {
// TODO: test smallCamel // TODO: test smallCamel
} }
@ -50,7 +49,7 @@ public class CapitalizationTest {
* Test the property 'capitalCamel' * Test the property 'capitalCamel'
*/ */
@Test @Test
public void capitalCamelTest() { void capitalCamelTest() {
// TODO: test capitalCamel // TODO: test capitalCamel
} }
@ -58,7 +57,7 @@ public class CapitalizationTest {
* Test the property 'smallSnake' * Test the property 'smallSnake'
*/ */
@Test @Test
public void smallSnakeTest() { void smallSnakeTest() {
// TODO: test smallSnake // TODO: test smallSnake
} }
@ -66,7 +65,7 @@ public class CapitalizationTest {
* Test the property 'capitalSnake' * Test the property 'capitalSnake'
*/ */
@Test @Test
public void capitalSnakeTest() { void capitalSnakeTest() {
// TODO: test capitalSnake // TODO: test capitalSnake
} }
@ -74,7 +73,7 @@ public class CapitalizationTest {
* Test the property 'scAETHFlowPoints' * Test the property 'scAETHFlowPoints'
*/ */
@Test @Test
public void scAETHFlowPointsTest() { void scAETHFlowPointsTest() {
// TODO: test scAETHFlowPoints // TODO: test scAETHFlowPoints
} }
@ -82,7 +81,7 @@ public class CapitalizationTest {
* Test the property 'ATT_NAME' * Test the property 'ATT_NAME'
*/ */
@Test @Test
public void ATT_NAMETest() { void ATT_NAMETest() {
// TODO: test ATT_NAME // TODO: test ATT_NAME
} }

View File

@ -20,23 +20,21 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.openapitools.client.model.Animal; import org.openapitools.client.model.Animal;
import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions;
import org.junit.Assert; import org.junit.jupiter.api.Disabled;
import org.junit.Ignore; import org.junit.jupiter.api.Test;
import org.junit.Test;
/** /**
* Model tests for Cat * Model tests for Cat
*/ */
public class CatTest { class CatTest {
private final Cat model = new Cat(); private final Cat model = new Cat();
/** /**
* Model tests for Cat * Model tests for Cat
*/ */
@Test @Test
public void testCat() { void testCat() {
// TODO: test Cat // TODO: test Cat
} }
@ -44,7 +42,7 @@ public class CatTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -52,7 +50,7 @@ public class CatTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }
@ -60,7 +58,7 @@ public class CatTest {
* Test the property 'declawed' * Test the property 'declawed'
*/ */
@Test @Test
public void declawedTest() { void declawedTest() {
// TODO: test declawed // TODO: test declawed
} }

View File

@ -19,22 +19,21 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Category * Model tests for Category
*/ */
public class CategoryTest { class CategoryTest {
private final Category model = new Category(); private final Category model = new Category();
/** /**
* Model tests for Category * Model tests for Category
*/ */
@Test @Test
public void testCategory() { void testCategory() {
// TODO: test Category // TODO: test Category
} }
@ -42,7 +41,7 @@ public class CategoryTest {
* Test the property 'id' * Test the property 'id'
*/ */
@Test @Test
public void idTest() { void idTest() {
// TODO: test id // TODO: test id
} }
@ -50,7 +49,7 @@ public class CategoryTest {
* Test the property 'name' * Test the property 'name'
*/ */
@Test @Test
public void nameTest() { void nameTest() {
// TODO: test name // TODO: test name
} }

View File

@ -19,22 +19,21 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for ClassModel * Model tests for ClassModel
*/ */
public class ClassModelTest { class ClassModelTest {
private final ClassModel model = new ClassModel(); private final ClassModel model = new ClassModel();
/** /**
* Model tests for ClassModel * Model tests for ClassModel
*/ */
@Test @Test
public void testClassModel() { void testClassModel() {
// TODO: test ClassModel // TODO: test ClassModel
} }
@ -42,7 +41,7 @@ public class ClassModelTest {
* Test the property 'propertyClass' * Test the property 'propertyClass'
*/ */
@Test @Test
public void propertyClassTest() { void propertyClassTest() {
// TODO: test propertyClass // TODO: test propertyClass
} }

View File

@ -19,22 +19,21 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Client * Model tests for Client
*/ */
public class ClientTest { class ClientTest {
private final Client model = new Client(); private final Client model = new Client();
/** /**
* Model tests for Client * Model tests for Client
*/ */
@Test @Test
public void testClient() { void testClient() {
// TODO: test Client // TODO: test Client
} }
@ -42,7 +41,7 @@ public class ClientTest {
* Test the property 'client' * Test the property 'client'
*/ */
@Test @Test
public void clientTest() { void clientTest() {
// TODO: test client // TODO: test client
} }

View File

@ -20,22 +20,21 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.openapitools.client.model.Animal; import org.openapitools.client.model.Animal;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for Dog * Model tests for Dog
*/ */
public class DogTest { class DogTest {
private final Dog model = new Dog(); private final Dog model = new Dog();
/** /**
* Model tests for Dog * Model tests for Dog
*/ */
@Test @Test
public void testDog() { void testDog() {
// TODO: test Dog // TODO: test Dog
} }
@ -43,7 +42,7 @@ public class DogTest {
* Test the property 'className' * Test the property 'className'
*/ */
@Test @Test
public void classNameTest() { void classNameTest() {
// TODO: test className // TODO: test className
} }
@ -51,7 +50,7 @@ public class DogTest {
* Test the property 'color' * Test the property 'color'
*/ */
@Test @Test
public void colorTest() { void colorTest() {
// TODO: test color // TODO: test color
} }
@ -59,7 +58,7 @@ public class DogTest {
* Test the property 'breed' * Test the property 'breed'
*/ */
@Test @Test
public void breedTest() { void breedTest() {
// TODO: test breed // TODO: test breed
} }

View File

@ -20,23 +20,23 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for EnumArrays * Model tests for EnumArrays
*/ */
public class EnumArraysTest { class EnumArraysTest {
private final EnumArrays model = new EnumArrays(); private final EnumArrays model = new EnumArrays();
/** /**
* Model tests for EnumArrays * Model tests for EnumArrays
*/ */
@Test @Test
public void testEnumArrays() { void testEnumArrays() {
// TODO: test EnumArrays // TODO: test EnumArrays
} }
@ -44,7 +44,7 @@ public class EnumArraysTest {
* Test the property 'justSymbol' * Test the property 'justSymbol'
*/ */
@Test @Test
public void justSymbolTest() { void justSymbolTest() {
// TODO: test justSymbol // TODO: test justSymbol
} }
@ -52,7 +52,7 @@ public class EnumArraysTest {
* Test the property 'arrayEnum' * Test the property 'arrayEnum'
*/ */
@Test @Test
public void arrayEnumTest() { void arrayEnumTest() {
// TODO: test arrayEnum // TODO: test arrayEnum
} }

View File

@ -14,20 +14,19 @@
package org.openapitools.client.model; package org.openapitools.client.model;
import com.google.gson.annotations.SerializedName; import com.google.gson.annotations.SerializedName;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for EnumClass * Model tests for EnumClass
*/ */
public class EnumClassTest { class EnumClassTest {
/** /**
* Model tests for EnumClass * Model tests for EnumClass
*/ */
@Test @Test
public void testEnumClass() { void testEnumClass() {
// TODO: test EnumClass // TODO: test EnumClass
} }

View File

@ -20,22 +20,21 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnum;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for EnumTest * Model tests for EnumTest
*/ */
public class EnumTestTest { class EnumTestTest {
private final EnumTest model = new EnumTest(); private final EnumTest model = new EnumTest();
/** /**
* Model tests for EnumTest * Model tests for EnumTest
*/ */
@Test @Test
public void testEnumTest() { void testEnumTest() {
// TODO: test EnumTest // TODO: test EnumTest
} }
@ -43,7 +42,7 @@ public class EnumTestTest {
* Test the property 'enumString' * Test the property 'enumString'
*/ */
@Test @Test
public void enumStringTest() { void enumStringTest() {
// TODO: test enumString // TODO: test enumString
} }
@ -51,7 +50,7 @@ public class EnumTestTest {
* Test the property 'enumStringRequired' * Test the property 'enumStringRequired'
*/ */
@Test @Test
public void enumStringRequiredTest() { void enumStringRequiredTest() {
// TODO: test enumStringRequired // TODO: test enumStringRequired
} }
@ -59,7 +58,7 @@ public class EnumTestTest {
* Test the property 'enumInteger' * Test the property 'enumInteger'
*/ */
@Test @Test
public void enumIntegerTest() { void enumIntegerTest() {
// TODO: test enumInteger // TODO: test enumInteger
} }
@ -67,7 +66,7 @@ public class EnumTestTest {
* Test the property 'enumNumber' * Test the property 'enumNumber'
*/ */
@Test @Test
public void enumNumberTest() { void enumNumberTest() {
// TODO: test enumNumber // TODO: test enumNumber
} }
@ -75,7 +74,7 @@ public class EnumTestTest {
* Test the property 'outerEnum' * Test the property 'outerEnum'
*/ */
@Test @Test
public void outerEnumTest() { void outerEnumTest() {
// TODO: test outerEnum // TODO: test outerEnum
} }

View File

@ -20,24 +20,24 @@ import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import org.openapitools.client.model.ModelFile; import org.openapitools.client.model.ModelFile;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for FileSchemaTestClass * Model tests for FileSchemaTestClass
*/ */
public class FileSchemaTestClassTest { class FileSchemaTestClassTest {
private final FileSchemaTestClass model = new FileSchemaTestClass(); private final FileSchemaTestClass model = new FileSchemaTestClass();
/** /**
* Model tests for FileSchemaTestClass * Model tests for FileSchemaTestClass
*/ */
@Test @Test
public void testFileSchemaTestClass() { void testFileSchemaTestClass() {
// TODO: test FileSchemaTestClass // TODO: test FileSchemaTestClass
} }
@ -45,7 +45,7 @@ public class FileSchemaTestClassTest {
* Test the property '_file' * Test the property '_file'
*/ */
@Test @Test
public void _fileTest() { void _fileTest() {
// TODO: test _file // TODO: test _file
} }
@ -53,7 +53,7 @@ public class FileSchemaTestClassTest {
* Test the property 'files' * Test the property 'files'
*/ */
@Test @Test
public void filesTest() { void filesTest() {
// TODO: test files // TODO: test files
} }

View File

@ -24,22 +24,21 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for FormatTest * Model tests for FormatTest
*/ */
public class FormatTestTest { class FormatTestTest {
private final FormatTest model = new FormatTest(); private final FormatTest model = new FormatTest();
/** /**
* Model tests for FormatTest * Model tests for FormatTest
*/ */
@Test @Test
public void testFormatTest() { void testFormatTest() {
// TODO: test FormatTest // TODO: test FormatTest
} }
@ -47,7 +46,7 @@ public class FormatTestTest {
* Test the property 'integer' * Test the property 'integer'
*/ */
@Test @Test
public void integerTest() { void integerTest() {
// TODO: test integer // TODO: test integer
} }
@ -55,7 +54,7 @@ public class FormatTestTest {
* Test the property 'int32' * Test the property 'int32'
*/ */
@Test @Test
public void int32Test() { void int32Test() {
// TODO: test int32 // TODO: test int32
} }
@ -63,7 +62,7 @@ public class FormatTestTest {
* Test the property 'int64' * Test the property 'int64'
*/ */
@Test @Test
public void int64Test() { void int64Test() {
// TODO: test int64 // TODO: test int64
} }
@ -71,7 +70,7 @@ public class FormatTestTest {
* Test the property 'number' * Test the property 'number'
*/ */
@Test @Test
public void numberTest() { void numberTest() {
// TODO: test number // TODO: test number
} }
@ -79,7 +78,7 @@ public class FormatTestTest {
* Test the property '_float' * Test the property '_float'
*/ */
@Test @Test
public void _floatTest() { void _floatTest() {
// TODO: test _float // TODO: test _float
} }
@ -87,7 +86,7 @@ public class FormatTestTest {
* Test the property '_double' * Test the property '_double'
*/ */
@Test @Test
public void _doubleTest() { void _doubleTest() {
// TODO: test _double // TODO: test _double
} }
@ -95,7 +94,7 @@ public class FormatTestTest {
* Test the property 'string' * Test the property 'string'
*/ */
@Test @Test
public void stringTest() { void stringTest() {
// TODO: test string // TODO: test string
} }
@ -103,7 +102,7 @@ public class FormatTestTest {
* Test the property '_byte' * Test the property '_byte'
*/ */
@Test @Test
public void _byteTest() { void _byteTest() {
// TODO: test _byte // TODO: test _byte
} }
@ -111,7 +110,7 @@ public class FormatTestTest {
* Test the property 'binary' * Test the property 'binary'
*/ */
@Test @Test
public void binaryTest() { void binaryTest() {
// TODO: test binary // TODO: test binary
} }
@ -119,7 +118,7 @@ public class FormatTestTest {
* Test the property 'date' * Test the property 'date'
*/ */
@Test @Test
public void dateTest() { void dateTest() {
// TODO: test date // TODO: test date
} }
@ -127,7 +126,7 @@ public class FormatTestTest {
* Test the property 'dateTime' * Test the property 'dateTime'
*/ */
@Test @Test
public void dateTimeTest() { void dateTimeTest() {
// TODO: test dateTime // TODO: test dateTime
} }
@ -135,7 +134,7 @@ public class FormatTestTest {
* Test the property 'uuid' * Test the property 'uuid'
*/ */
@Test @Test
public void uuidTest() { void uuidTest() {
// TODO: test uuid // TODO: test uuid
} }
@ -143,7 +142,7 @@ public class FormatTestTest {
* Test the property 'password' * Test the property 'password'
*/ */
@Test @Test
public void passwordTest() { void passwordTest() {
// TODO: test password // TODO: test password
} }
@ -151,7 +150,7 @@ public class FormatTestTest {
* Test the property 'bigDecimal' * Test the property 'bigDecimal'
*/ */
@Test @Test
public void bigDecimalTest() { void bigDecimalTest() {
// TODO: test bigDecimal // TODO: test bigDecimal
} }

View File

@ -19,22 +19,21 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter; import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for HasOnlyReadOnly * Model tests for HasOnlyReadOnly
*/ */
public class HasOnlyReadOnlyTest { class HasOnlyReadOnlyTest {
private final HasOnlyReadOnly model = new HasOnlyReadOnly(); private final HasOnlyReadOnly model = new HasOnlyReadOnly();
/** /**
* Model tests for HasOnlyReadOnly * Model tests for HasOnlyReadOnly
*/ */
@Test @Test
public void testHasOnlyReadOnly() { void testHasOnlyReadOnly() {
// TODO: test HasOnlyReadOnly // TODO: test HasOnlyReadOnly
} }
@ -42,7 +41,7 @@ public class HasOnlyReadOnlyTest {
* Test the property 'bar' * Test the property 'bar'
*/ */
@Test @Test
public void barTest() { void barTest() {
// TODO: test bar // TODO: test bar
} }
@ -50,7 +49,7 @@ public class HasOnlyReadOnlyTest {
* Test the property 'foo' * Test the property 'foo'
*/ */
@Test @Test
public void fooTest() { void fooTest() {
// TODO: test foo // TODO: test foo
} }

View File

@ -21,22 +21,21 @@ import com.google.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.junit.Assert; import org.junit.jupiter.api.Assertions;
import org.junit.Ignore; import org.junit.jupiter.api.Disabled;
import org.junit.Test; import org.junit.jupiter.api.Test;
/** /**
* Model tests for MapTest * Model tests for MapTest
*/ */
public class MapTestTest { class MapTestTest {
private final MapTest model = new MapTest(); private final MapTest model = new MapTest();
/** /**
* Model tests for MapTest * Model tests for MapTest
*/ */
@Test @Test
public void testMapTest() { void testMapTest() {
// TODO: test MapTest // TODO: test MapTest
} }
@ -44,7 +43,7 @@ public class MapTestTest {
* Test the property 'mapMapOfString' * Test the property 'mapMapOfString'
*/ */
@Test @Test
public void mapMapOfStringTest() { void mapMapOfStringTest() {
// TODO: test mapMapOfString // TODO: test mapMapOfString
} }
@ -52,7 +51,7 @@ public class MapTestTest {
* Test the property 'mapOfEnumString' * Test the property 'mapOfEnumString'
*/ */
@Test @Test
public void mapOfEnumStringTest() { void mapOfEnumStringTest() {
// TODO: test mapOfEnumString // TODO: test mapOfEnumString
} }
@ -60,7 +59,7 @@ public class MapTestTest {
* Test the property 'directMap' * Test the property 'directMap'
*/ */
@Test @Test
public void directMapTest() { void directMapTest() {
// TODO: test directMap // TODO: test directMap
} }
@ -68,7 +67,7 @@ public class MapTestTest {
* Test the property 'indirectMap' * Test the property 'indirectMap'
*/ */
@Test @Test
public void indirectMapTest() { void indirectMapTest() {
// TODO: test indirectMap // TODO: test indirectMap
} }

Some files were not shown because too many files have changed in this diff Show More