Refactor tests - decouple test data from test files (#14) v2.11.0
authorPearl Dsilva <pearl1594@gmail.com>
Thu, 14 Oct 2021 09:20:57 +0000 (14:50 +0530)
committerGitHub <noreply@github.com>
Thu, 14 Oct 2021 09:20:57 +0000 (14:50 +0530)
commit78fa5e496c8a81f2a7527c1cd5a762a9611e27ad
tree332fe2d539319ec73bd603a425301eeadd194dea
parent83acc75e143aae7bcc97603447d04a077858a965
Refactor tests - decouple test data from test files (#14)

* refactor tests

* Decouple Test data from tests
61 files changed:
cloudstack/AccountService_test.go
cloudstack/AddressService_test.go
cloudstack/AffinityGroupService_test.go
cloudstack/AsyncJobService_test.go
cloudstack/AuthenticationService_test.go
cloudstack/CertificateService_test.go
cloudstack/ClusterService.go
cloudstack/ClusterService_test.go
cloudstack/ConfigurationService.go
cloudstack/ConfigurationService_test.go
cloudstack/DiskOfferingService_test.go
cloudstack/DomainService_test.go
cloudstack/FirewallService_test.go
cloudstack/HostService_test.go
cloudstack/HypervisorService_test.go
cloudstack/ISOService_test.go
cloudstack/ImageStoreService_test.go
cloudstack/LoadBalancerService_test.go
cloudstack/NetworkOfferingService_test.go
cloudstack/NetworkService_test.go
cloudstack/PoolService_test.go
cloudstack/ProjectService_test.go
cloudstack/ResourcetagsService_test.go
cloudstack/SSHService_test.go
cloudstack/ServiceOfferingService_test.go
cloudstack/StoragePoolService_test.go
cloudstack/TemplateService_test.go
cloudstack/UserService_test.go
cloudstack/VLANService_test.go
cloudstack/VirtualMachineService_test.go
cloudstack/cloudstack_test.go
cloudstack/testdata/AccountServiceData.json [new file with mode: 0644]
cloudstack/testdata/AddressServiceData.json [new file with mode: 0644]
cloudstack/testdata/AffinityGroupServiceData.json [new file with mode: 0644]
cloudstack/testdata/ApiDiscoveryServiceData.json [new file with mode: 0644]
cloudstack/testdata/AsyncJobServiceData.json [new file with mode: 0644]
cloudstack/testdata/AuthenticationServiceData.json [new file with mode: 0644]
cloudstack/testdata/CertificateServiceData.json [new file with mode: 0644]
cloudstack/testdata/ClusterServiceData.json [new file with mode: 0644]
cloudstack/testdata/ConfigurationServiceData.json [new file with mode: 0644]
cloudstack/testdata/DiskOfferingServiceData.json [new file with mode: 0644]
cloudstack/testdata/DomainServiceData.json [new file with mode: 0644]
cloudstack/testdata/FirewallServiceData.json [new file with mode: 0644]
cloudstack/testdata/HostServiceData.json [new file with mode: 0644]
cloudstack/testdata/HypervisorServiceData.json [new file with mode: 0644]
cloudstack/testdata/ISOServiceData.json [new file with mode: 0644]
cloudstack/testdata/ImageStoreServiceData.json [new file with mode: 0644]
cloudstack/testdata/LoadBalancerServiceData.json [new file with mode: 0644]
cloudstack/testdata/NetworkOfferingServiceData.json [new file with mode: 0644]
cloudstack/testdata/NetworkServiceData.json [new file with mode: 0644]
cloudstack/testdata/PoolServiceData.json [new file with mode: 0644]
cloudstack/testdata/ProjectServiceData.json [new file with mode: 0644]
cloudstack/testdata/ResourceTagsServiceData.json [new file with mode: 0644]
cloudstack/testdata/SSHServiceData.json [new file with mode: 0644]
cloudstack/testdata/ServiceOfferingServiceData.json [new file with mode: 0644]
cloudstack/testdata/StoragePoolServiceData.json [new file with mode: 0644]
cloudstack/testdata/TemplateServiceData.json [new file with mode: 0644]
cloudstack/testdata/UserServiceData.json [new file with mode: 0644]
cloudstack/testdata/VLANServiceData.json [new file with mode: 0644]
cloudstack/testdata/VirtualMachineServiceData.json [new file with mode: 0644]
generate/generate.go