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:
martin-mfg
2024-12-15 10:09:58 +01:00
committed by GitHub
parent 4e5a828c12
commit d87a70dd93
2192 changed files with 12623 additions and 9212 deletions

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end
@@ -43,4 +43,15 @@ describe 'AuthApi' do
end
end
# unit tests for test_auth_http_bearer
# To test HTTP bearer authentication
# To test HTTP bearer authentication
# @param [Hash] opts the optional parameters
# @return [String]
describe 'test_auth_http_bearer test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end
@@ -67,6 +67,30 @@ describe 'BodyApi' do
end
end
# unit tests for test_body_multipart_formdata_single_binary
# Test single binary in multipart mime
# Test single binary in multipart mime
# @param [Hash] opts the optional parameters
# @option opts [File] :my_file
# @return [String]
describe 'test_body_multipart_formdata_single_binary test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
# unit tests for test_echo_body_all_of_pet
# Test body parameter(s)
# Test body parameter(s)
# @param [Hash] opts the optional parameters
# @option opts [Pet] :pet Pet object that needs to be added to the store
# @return [Pet]
describe 'test_echo_body_all_of_pet test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
# unit tests for test_echo_body_free_form_object_response_string
# Test free form object
# Test free form object
@@ -103,6 +127,18 @@ describe 'BodyApi' do
end
end
# unit tests for test_echo_body_string_enum
# Test string enum response body
# Test string enum response body
# @param [Hash] opts the optional parameters
# @option opts [String] :body String enum
# @return [StringEnumRef]
describe 'test_echo_body_string_enum test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
# unit tests for test_echo_body_tag_response_string
# Test empty json (request body)
# Test empty json (request body)

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end
@@ -46,6 +46,18 @@ describe 'FormApi' do
end
end
# unit tests for test_form_object_multipart
# Test form parameter(s) for multipart schema
# Test form parameter(s) for multipart schema
# @param marker
# @param [Hash] opts the optional parameters
# @return [String]
describe 'test_form_object_multipart test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
# unit tests for test_form_oneof
# Test form parameter(s) for oneOf schema
# Test form parameter(s) for oneOf schema

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end
@@ -32,15 +32,17 @@ describe 'HeaderApi' do
end
end
# unit tests for test_header_integer_boolean_string
# unit tests for test_header_integer_boolean_string_enums
# Test header parameter(s)
# Test header parameter(s)
# @param [Hash] opts the optional parameters
# @option opts [Integer] :integer_header
# @option opts [Boolean] :boolean_header
# @option opts [String] :string_header
# @option opts [String] :enum_nonref_string_header
# @option opts [StringEnumRef] :enum_ref_string_header
# @return [String]
describe 'test_header_integer_boolean_string test' do
describe 'test_header_integer_boolean_string_enums test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end
@@ -32,14 +32,16 @@ describe 'PathApi' do
end
end
# unit tests for tests_path_string_path_string_integer_path_integer
# unit tests for tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
# Test path parameter(s)
# Test path parameter(s)
# @param path_string
# @param path_integer
# @param enum_nonref_string_path
# @param enum_ref_string_path
# @param [Hash] opts the optional parameters
# @return [String]
describe 'tests_path_string_path_string_integer_path_integer test' do
describe 'tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end
@@ -36,6 +36,7 @@ describe 'QueryApi' do
# Test query parameter(s)
# Test query parameter(s)
# @param [Hash] opts the optional parameters
# @option opts [String] :enum_nonref_string_query
# @option opts [StringEnumRef] :enum_ref_string_query
# @return [String]
describe 'test_enum_ref_string test' do
@@ -96,6 +97,30 @@ describe 'QueryApi' do
end
end
# unit tests for test_query_style_form_explode_false_array_integer
# Test query parameter(s)
# Test query parameter(s)
# @param [Hash] opts the optional parameters
# @option opts [Array<Integer>] :query_object
# @return [String]
describe 'test_query_style_form_explode_false_array_integer test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
# unit tests for test_query_style_form_explode_false_array_string
# Test query parameter(s)
# Test query parameter(s)
# @param [Hash] opts the optional parameters
# @option opts [Array<String>] :query_object
# @return [String]
describe 'test_query_style_form_explode_false_array_string test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end
# unit tests for test_query_style_form_explode_true_array_string
# Test query parameter(s)
# Test query parameter(s)

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
Generator version: 7.5.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end

View File

@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
Generator version: 7.11.0-SNAPSHOT
=end