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

@@ -14,8 +14,9 @@
package org.openapitools.client.api;
import java.io.File;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.web.client.RestClientException;
import java.time.LocalDate;
import java.time.OffsetDateTime;
@@ -27,8 +28,8 @@ import java.util.Map;
/**
* API tests for ResourceApi
*/
@Ignore
public class ResourceApiTest {
@Disabled
class ResourceApiTest {
private final ResourceApi api = new ResourceApi();
@@ -38,11 +39,11 @@ public class ResourceApiTest {
*
* Response file abstraction
*
* @throws ApiException
* @throws RestClientException
* if the Api call fails
*/
@Test
public void resourceInResponseTest() {
void resourceInResponseTest() {
org.springframework.core.io.Resource response = api.resourceInResponse();