mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 15:36:09 +00:00
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:
@@ -118,6 +118,16 @@
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testAdditionalPropertiesReference', function() {
|
||||
it('should call testAdditionalPropertiesReference successfully', function(done) {
|
||||
//uncomment below and update the code to test testAdditionalPropertiesReference
|
||||
//instance.testAdditionalPropertiesReference(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testBodyWithBinary', function() {
|
||||
it('should call testBodyWithBinary successfully', function(done) {
|
||||
//uncomment below and update the code to test testBodyWithBinary
|
||||
@@ -198,6 +208,16 @@
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testInlineFreeformAdditionalProperties', function() {
|
||||
it('should call testInlineFreeformAdditionalProperties successfully', function(done) {
|
||||
//uncomment below and update the code to test testInlineFreeformAdditionalProperties
|
||||
//instance.testInlineFreeformAdditionalProperties(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testJsonFormData', function() {
|
||||
it('should call testJsonFormData successfully', function(done) {
|
||||
//uncomment below and update the code to test testJsonFormData
|
||||
@@ -218,6 +238,16 @@
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testStringMapReference', function() {
|
||||
it('should call testStringMapReference successfully', function(done) {
|
||||
//uncomment below and update the code to test testStringMapReference
|
||||
//instance.testStringMapReference(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}));
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
//instance = new OpenApiPetstore.Color('#00FF00');
|
||||
instance = new OpenApiPetstore.Color();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
|
||||
Reference in New Issue
Block a user