Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffmaelite committed Apr 18, 2023
1 parent 61385a4 commit 90b0645
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ public void fakeHealthGetTest() throws Exception {
//assertNotNull(response);
}

/**
* test http signature authentication
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void fakeHttpSignatureTestTest() throws Exception {
//void response = client.fakeHttpSignatureTest(pet, query1, header1);
//assertNotNull(response);
}

/**
* @throws ApiException
* if the Api call fails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,6 @@ public void fakeHealthGetTest() {
// TODO: test validations
}

/**
* test http signature authentication
*/
@Test
public void fakeHttpSignatureTestTest() {
// TODO - assign values to the input arguments.
Pet pet = null;
// TODO - assign values to the input arguments.
String query1 = null;
// TODO - assign values to the input arguments.
String header1 = null;

// TODO - uncomment the following two lines to invoke the service with valid parameters.
//ApiResponse<Void> response = api.fakeHttpSignatureTest(pet, query1, header1);
//response.webClientResponse().await();
// TODO - check for appropriate return status
// assertThat("Return status", response.get().status().code(), is(expectedStatus));

// TODO: test validations
}

/**
*
* Test serialization of outer boolean types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,41 +44,6 @@ void fakeHealthGetTest() {

// TODO: test validations
}


/**
* test http signature authentication
*
*
*/
@Test
void fakeHttpSignatureTestTest() {
Pet pet = null;
String query1 = null;
String header1 = null;
// api.fakeHttpSignatureTest(pet, query1, header1);

// TODO: test validations
}

/**
* test http signature authentication
*
*
*
* This tests the overload of the method that uses a Map for query parameters instead of
* listing them out individually.
*/
@Test
void fakeHttpSignatureTestTestQueryMap() {
Pet pet = null;
String header1 = null;
FakeApi.FakeHttpSignatureTestQueryParams queryParams = new FakeApi.FakeHttpSignatureTestQueryParams()
.query1(null);
// api.fakeHttpSignatureTest(pet, header1, queryParams);

// TODO: test validations
}

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,7 @@ public void fakeHealthGetTest() {

// TODO: test validations
}

/**
* test http signature authentication
*
*
*/
@Test
public void fakeHttpSignatureTestTest() {
Pet pet = null;
String query1 = null;
String header1 = null;
api.fakeHttpSignatureTest(pet, query1, header1).block();

// TODO: test validations
}

/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,6 @@ public void fakeHealthGetTest() {
// TODO: test validations
}

/**
* test http signature authentication
*
*
*/
@Test
public void fakeHttpSignatureTestTest() {
Pet pet = null;
String query1 = null;
String header1 = null;
api.fakeHttpSignatureTest(pet, query1, header1).block();

// TODO: test validations
}

/**
*
*
Expand Down
10 changes: 0 additions & 10 deletions samples/client/petstore/javascript-apollo/test/api/FakeApi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@
done();
});
});
describe('fakeHttpSignatureTest', function() {
it('should call fakeHttpSignatureTest successfully', function(done) {
//uncomment below and update the code to test fakeHttpSignatureTest
//instance.fakeHttpSignatureTest(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('fakeOuterBooleanSerialize', function() {
it('should call fakeOuterBooleanSerialize successfully', function(done) {
//uncomment below and update the code to test fakeOuterBooleanSerialize
Expand Down
10 changes: 0 additions & 10 deletions samples/client/petstore/javascript-es6/test/api/FakeApi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@
done();
});
});
describe('fakeHttpSignatureTest', function() {
it('should call fakeHttpSignatureTest successfully', function(done) {
//uncomment below and update the code to test fakeHttpSignatureTest
//instance.fakeHttpSignatureTest(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('fakeOuterBooleanSerialize', function() {
it('should call fakeOuterBooleanSerialize successfully', function(done) {
//uncomment below and update the code to test fakeOuterBooleanSerialize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@
done();
});
});
describe('fakeHttpSignatureTest', function() {
it('should call fakeHttpSignatureTest successfully', function(done) {
//uncomment below and update the code to test fakeHttpSignatureTest
//instance.fakeHttpSignatureTest(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('fakeOuterBooleanSerialize', function() {
it('should call fakeOuterBooleanSerialize successfully', function(done) {
//uncomment below and update the code to test fakeOuterBooleanSerialize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,6 @@ public function testFakeHealthGet()
$this->markTestIncomplete('Not implemented');
}

/**
* Test case for fakeHttpSignatureTest
*
* test http signature authentication.
*
*/
public function testFakeHttpSignatureTest()
{
// TODO: implement
$this->markTestIncomplete('Not implemented');
}

/**
* Test case for fakeOuterBooleanSerialize
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ void main() {
// TODO
});

// test http signature authentication
//
//Future fakeHttpSignatureTest(Pet pet, { String query1, String header1 }) async
test('test fakeHttpSignatureTest', () async {
// TODO
});

// Test serialization of outer boolean types
//
//Future<bool> fakeOuterBooleanSerialize({ bool body }) async
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ void main() {
// TODO
});

// test http signature authentication
//
//Future fakeHttpSignatureTest(Pet pet, { String query1, String header1 }) async
test('test fakeHttpSignatureTest', () async {
// TODO
});

// Test serialization of outer boolean types
//
//Future<bool> fakeOuterBooleanSerialize({ bool body }) async
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ void main() {
// TODO
});

// test http signature authentication
//
//Future fakeHttpSignatureTest(Pet pet, { String query1, String header1 }) async
test('test fakeHttpSignatureTest', () async {
// TODO
});

// Test serialization of outer boolean types
//
//Future<bool> fakeOuterBooleanSerialize({ bool body }) async
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,6 @@ public interface FakeApi {
@ApiResponse(code = 200, message = "The instance started successfully", response = HealthCheckResult.class) })
public HealthCheckResult fakeHealthGet();

/**
* test http signature authentication
*
*/
@GET
@Path("/http-signature-test")
@Consumes({ "application/json", "application/xml" })
@ApiOperation(value = "test http signature authentication", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "The instance started successfully") })
public void fakeHttpSignatureTest(Pet pet, @QueryParam("query_1") String query1, @HeaderParam("header_1") String header1);

@POST
@Path("/outer/boolean")
@Consumes({ "application/json" })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,6 @@ public void fakeHealthGetTest() {
// TODO: test validations


}

/**
* test http signature authentication
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void fakeHttpSignatureTestTest() {
Pet pet = null;
String query1 = null;
String header1 = null;
//api.fakeHttpSignatureTest(pet, query1, header1);

// TODO: test validations


}

/**
Expand Down

0 comments on commit 90b0645

Please sign in to comment.