mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
update sample tests, fix Java tests (#20300)
* replace removed forkMode * remove junit runner where it's not needed * update samples without skipping test files, but skip files named "FILES" * revert overwriting custom tests, add custom java tests to list * add one sample to CircleCI, fix various Java tests
This commit is contained in:
@@ -14,10 +14,13 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import java.io.File;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -34,6 +37,95 @@ public class BodyApiTest {
|
||||
|
||||
private final BodyApi api = new BodyApi();
|
||||
|
||||
/**
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBinaryGifTest() throws ApiException {
|
||||
File response = api.testBinaryGif();
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
|
||||
File body = null;
|
||||
String response = api.testBodyApplicationOctetstreamBinary(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
|
||||
List<File> files = null;
|
||||
String response = api.testBodyMultipartFormdataArrayOfBinary(files);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataSingleBinaryTest() throws ApiException {
|
||||
File myFile = null;
|
||||
String response = api.testBodyMultipartFormdataSingleBinary(myFile);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyAllOfPetTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
Pet response = api.testEchoBodyAllOfPet(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test free form object
|
||||
*
|
||||
* Test free form object
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
|
||||
Object body = null;
|
||||
String response = api.testEchoBodyFreeFormObjectResponseString(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
@@ -47,6 +139,51 @@ public class BodyApiTest {
|
||||
Pet pet = null;
|
||||
Pet response = api.testEchoBodyPet(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test empty response body
|
||||
*
|
||||
* Test empty response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPetResponseStringTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
String response = api.testEchoBodyPetResponseString(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test string enum response body
|
||||
*
|
||||
* Test string enum response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyStringEnumTest() throws ApiException {
|
||||
String body = null;
|
||||
StringEnumRef response = api.testEchoBodyStringEnum(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyTagResponseStringTest() throws ApiException {
|
||||
Tag tag = null;
|
||||
String response = api.testEchoBodyTagResponseString(tag);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,9 +14,10 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -48,6 +49,41 @@ public class FormApiTest {
|
||||
String stringForm = null;
|
||||
String response = api.testFormIntegerBooleanString(integerForm, booleanForm, stringForm);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormObjectMultipartTest() throws ApiException {
|
||||
TestFormObjectMultipartRequestMarker marker = null;
|
||||
String response = api.testFormObjectMultipart(marker);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormOneofTest() throws ApiException {
|
||||
String form1 = null;
|
||||
Integer form2 = null;
|
||||
String form3 = null;
|
||||
Boolean form4 = null;
|
||||
Long id = null;
|
||||
String name = null;
|
||||
String response = api.testFormOneof(form1, form2, form3, form4, id, name);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,9 +15,9 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
|
||||
@@ -15,9 +15,9 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
|
||||
@@ -14,11 +14,16 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.DataQuery;
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -35,6 +40,39 @@ public class QueryApiTest {
|
||||
|
||||
private final QueryApi api = new QueryApi();
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEnumRefStringTest() throws ApiException {
|
||||
String enumNonrefStringQuery = null;
|
||||
StringEnumRef enumRefStringQuery = null;
|
||||
String response = api.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryDatetimeDateStringTest() throws ApiException {
|
||||
OffsetDateTime datetimeQuery = null;
|
||||
LocalDate dateQuery = null;
|
||||
String stringQuery = null;
|
||||
String response = api.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@@ -61,6 +99,66 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
|
||||
Pet queryObject = null;
|
||||
String response = api.testQueryStyleDeepObjectExplodeTrueObject(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
|
||||
String response = api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayIntegerTest() throws ApiException {
|
||||
List<Integer> queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayStringTest() throws ApiException {
|
||||
List<String> queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
|
||||
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueArrayString(queryObject);
|
||||
@@ -80,6 +178,21 @@ public class QueryApiTest {
|
||||
Pet queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueObject(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
DataQuery queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,18 +22,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
public class BirdTest {
|
||||
class BirdTest {
|
||||
private final Bird model = new Bird();
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
@Test
|
||||
public void testBird() {
|
||||
void testBird() {
|
||||
// TODO: test Bird
|
||||
}
|
||||
|
||||
@@ -41,7 +40,7 @@ public class BirdTest {
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@@ -49,7 +48,7 @@ public class BirdTest {
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
|
||||
@@ -22,18 +22,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Category
|
||||
*/
|
||||
public class CategoryTest {
|
||||
class CategoryTest {
|
||||
private final Category model = new Category();
|
||||
|
||||
/**
|
||||
* Model tests for Category
|
||||
*/
|
||||
@Test
|
||||
public void testCategory() {
|
||||
void testCategory() {
|
||||
// TODO: test Category
|
||||
}
|
||||
|
||||
@@ -41,7 +40,7 @@ public class CategoryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@@ -49,7 +48,7 @@ public class CategoryTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
||||
@@ -20,48 +20,32 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Query;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
public class DataQueryTest {
|
||||
class DataQueryTest {
|
||||
private final DataQuery model = new DataQuery();
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
@Test
|
||||
public void testDataQuery() {
|
||||
void testDataQuery() {
|
||||
// TODO: test DataQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
public void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
public void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@@ -69,8 +53,32 @@ public class DataQueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'suffix'
|
||||
*/
|
||||
@Test
|
||||
void suffixTest() {
|
||||
// TODO: test suffix
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,9 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
@@ -28,26 +30,33 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
public class DefaultValueTest {
|
||||
class DefaultValueTest {
|
||||
private final DefaultValue model = new DefaultValue();
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
@Test
|
||||
public void testDefaultValue() {
|
||||
void testDefaultValue() {
|
||||
// TODO: test DefaultValue
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumRefDefault'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringEnumRefDefaultTest() {
|
||||
// TODO: test arrayStringEnumRefDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringEnumDefaultTest() {
|
||||
void arrayStringEnumDefaultTest() {
|
||||
// TODO: test arrayStringEnumDefault
|
||||
}
|
||||
|
||||
@@ -55,7 +64,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringDefaultTest() {
|
||||
void arrayStringDefaultTest() {
|
||||
// TODO: test arrayStringDefault
|
||||
}
|
||||
|
||||
@@ -63,7 +72,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayIntegerDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayIntegerDefaultTest() {
|
||||
void arrayIntegerDefaultTest() {
|
||||
// TODO: test arrayIntegerDefault
|
||||
}
|
||||
|
||||
@@ -71,7 +80,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayString'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringTest() {
|
||||
void arrayStringTest() {
|
||||
// TODO: test arrayString
|
||||
}
|
||||
|
||||
@@ -79,15 +88,23 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringNullableTest() {
|
||||
void arrayStringNullableTest() {
|
||||
// TODO: test arrayStringNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringExtensionNullable'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringExtensionNullableTest() {
|
||||
// TODO: test arrayStringExtensionNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'stringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void stringNullableTest() {
|
||||
void stringNullableTest() {
|
||||
// TODO: test stringNullable
|
||||
}
|
||||
|
||||
|
||||
@@ -23,18 +23,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
public class NumberPropertiesOnlyTest {
|
||||
class NumberPropertiesOnlyTest {
|
||||
private final NumberPropertiesOnly model = new NumberPropertiesOnly();
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
@Test
|
||||
public void testNumberPropertiesOnly() {
|
||||
void testNumberPropertiesOnly() {
|
||||
// TODO: test NumberPropertiesOnly
|
||||
}
|
||||
|
||||
@@ -42,7 +41,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property 'number'
|
||||
*/
|
||||
@Test
|
||||
public void numberTest() {
|
||||
void numberTest() {
|
||||
// TODO: test number
|
||||
}
|
||||
|
||||
@@ -50,7 +49,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_float'
|
||||
*/
|
||||
@Test
|
||||
public void _floatTest() {
|
||||
void _floatTest() {
|
||||
// TODO: test _float
|
||||
}
|
||||
|
||||
@@ -58,7 +57,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_double'
|
||||
*/
|
||||
@Test
|
||||
public void _doubleTest() {
|
||||
void _doubleTest() {
|
||||
// TODO: test _double
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Category;
|
||||
import org.openapitools.client.model.Tag;
|
||||
@@ -26,18 +27,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Pet
|
||||
*/
|
||||
public class PetTest {
|
||||
class PetTest {
|
||||
private final Pet model = new Pet();
|
||||
|
||||
/**
|
||||
* Model tests for Pet
|
||||
*/
|
||||
@Test
|
||||
public void testPet() {
|
||||
void testPet() {
|
||||
// TODO: test Pet
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ public class PetTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public class PetTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ public class PetTest {
|
||||
* Test the property 'category'
|
||||
*/
|
||||
@Test
|
||||
public void categoryTest() {
|
||||
void categoryTest() {
|
||||
// TODO: test category
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ public class PetTest {
|
||||
* Test the property 'photoUrls'
|
||||
*/
|
||||
@Test
|
||||
public void photoUrlsTest() {
|
||||
void photoUrlsTest() {
|
||||
// TODO: test photoUrls
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ public class PetTest {
|
||||
* Test the property 'tags'
|
||||
*/
|
||||
@Test
|
||||
public void tagsTest() {
|
||||
void tagsTest() {
|
||||
// TODO: test tags
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ public class PetTest {
|
||||
* Test the property 'status'
|
||||
*/
|
||||
@Test
|
||||
public void statusTest() {
|
||||
void statusTest() {
|
||||
// TODO: test status
|
||||
}
|
||||
|
||||
|
||||
@@ -19,23 +19,23 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
public class QueryTest {
|
||||
class QueryTest {
|
||||
private final Query model = new Query();
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
@Test
|
||||
public void testQuery() {
|
||||
void testQuery() {
|
||||
// TODO: test Query
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ public class QueryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ public class QueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
|
||||
@@ -17,16 +17,15 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
public class StringEnumRefTest {
|
||||
class StringEnumRefTest {
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
@Test
|
||||
public void testStringEnumRef() {
|
||||
void testStringEnumRef() {
|
||||
// TODO: test StringEnumRef
|
||||
}
|
||||
|
||||
|
||||
@@ -22,18 +22,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Tag
|
||||
*/
|
||||
public class TagTest {
|
||||
class TagTest {
|
||||
private final Tag model = new Tag();
|
||||
|
||||
/**
|
||||
* Model tests for Tag
|
||||
*/
|
||||
@Test
|
||||
public void testTag() {
|
||||
void testTag() {
|
||||
// TODO: test Tag
|
||||
}
|
||||
|
||||
@@ -41,7 +40,7 @@ public class TagTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@@ -49,7 +48,7 @@ public class TagTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
||||
@@ -25,14 +25,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
public class TestFormObjectMultipartRequestMarkerTest {
|
||||
class TestFormObjectMultipartRequestMarkerTest {
|
||||
private final TestFormObjectMultipartRequestMarker model = new TestFormObjectMultipartRequestMarker();
|
||||
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
@Test
|
||||
public void testTestFormObjectMultipartRequestMarker() {
|
||||
void testTestFormObjectMultipartRequestMarker() {
|
||||
// TODO: test TestFormObjectMultipartRequestMarker
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class TestFormObjectMultipartRequestMarkerTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
||||
@@ -22,18 +22,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
private final TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter model = new TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
}
|
||||
|
||||
@@ -41,7 +40,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@@ -49,7 +48,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
@@ -57,7 +56,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@@ -65,7 +64,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
||||
@@ -19,23 +19,23 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
private final TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter model = new TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
* Test the property 'values'
|
||||
*/
|
||||
@Test
|
||||
public void valuesTest() {
|
||||
void valuesTest() {
|
||||
// TODO: test values
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user