Add auto-generated test files for kotlin client (#17916)

* add auto-generated test files for kotlin client

* undo changes to doc

* add auto-generated model test files in kotlin clients

* update tests
This commit is contained in:
William Cheng
2024-02-21 18:29:23 +08:00
committed by GitHub
parent 3af7363e76
commit f191904297
318 changed files with 19705 additions and 1 deletions

View File

@@ -0,0 +1,77 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import io.kotlintest.shouldBe
import io.kotlintest.specs.ShouldSpec
import org.openapitools.client.models.ModelWithPropertyHavingDefault
class ModelWithPropertyHavingDefaultTest : ShouldSpec() {
init {
// uncomment below to create an instance of ModelWithPropertyHavingDefault
//val modelInstance = ModelWithPropertyHavingDefault()
// to test the property `propertyInt`
should("test propertyInt") {
// uncomment below to test the property
//modelInstance.propertyInt shouldBe ("TODO")
}
// to test the property `propertyLong`
should("test propertyLong") {
// uncomment below to test the property
//modelInstance.propertyLong shouldBe ("TODO")
}
// to test the property `propertyFloat1`
should("test propertyFloat1") {
// uncomment below to test the property
//modelInstance.propertyFloat1 shouldBe ("TODO")
}
// to test the property `propertyFloat2`
should("test propertyFloat2") {
// uncomment below to test the property
//modelInstance.propertyFloat2 shouldBe ("TODO")
}
// to test the property `propertyFloat3`
should("test propertyFloat3") {
// uncomment below to test the property
//modelInstance.propertyFloat3 shouldBe ("TODO")
}
// to test the property `propertyDouble1`
should("test propertyDouble1") {
// uncomment below to test the property
//modelInstance.propertyDouble1 shouldBe ("TODO")
}
// to test the property `propertyDouble2`
should("test propertyDouble2") {
// uncomment below to test the property
//modelInstance.propertyDouble2 shouldBe ("TODO")
}
// to test the property `propertyDouble3`
should("test propertyDouble3") {
// uncomment below to test the property
//modelInstance.propertyDouble3 shouldBe ("TODO")
}
}
}