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

@@ -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();
});
});
});
}));

View File

@@ -28,7 +28,7 @@
var instance;
beforeEach(function() {
//instance = new OpenApiPetstore.Color('#00FF00');
instance = new OpenApiPetstore.Color();
});
var getProperty = function(object, getter, property) {