forked from loafle/openapi-generator-original
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,6 +14,7 @@ import java.time.OffsetDateTime;
|
||||
import org.openapitools.client.model.OuterComposite;
|
||||
import org.openapitools.client.model.OuterObjectWithEnumProperty;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest;
|
||||
import org.openapitools.client.model.User;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
@@ -168,6 +169,20 @@ class FakeApiTest {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* test referenced additionalProperties
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Test
|
||||
void testAdditionalPropertiesReferenceTest() {
|
||||
Map<String, Object> requestBody = null;
|
||||
// api.testAdditionalPropertiesReference(requestBody);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
@@ -369,6 +384,20 @@ class FakeApiTest {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* test inline free-form additionalProperties
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Test
|
||||
void testInlineFreeformAdditionalPropertiesTest() {
|
||||
TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null;
|
||||
// api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
@@ -440,4 +469,18 @@ class FakeApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced string map
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Test
|
||||
void testStringMapReferenceTest() {
|
||||
Map<String, String> requestBody = null;
|
||||
// api.testStringMapReference(requestBody);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user