Fix add tests (#16)
authorPearl Dsilva <pearl1594@gmail.com>
Fri, 19 Nov 2021 08:34:49 +0000 (14:04 +0530)
committerGitHub <noreply@github.com>
Fri, 19 Nov 2021 08:34:49 +0000 (14:04 +0530)
commitc8c7cf5956905a9b1ead4a2121da798c328719a1
treece4f559ebfab26af2e95a8cee4b8ebcccf0edda2
parent792b9d51f124aaa04cf92d64676113726f5b2354
Fix add tests (#16)

* refactor tests

* Decouple Test data from tests

* Update listApis and add/refactor tests
65 files changed:
Makefile
cloudstack/AccountService.go
cloudstack/AddressService.go
cloudstack/AffinityGroupService.go
cloudstack/BrocadeVCSService.go
cloudstack/ClusterService.go
cloudstack/ConfigurationService.go
cloudstack/ConfigurationService_test.go
cloudstack/DiskOfferingService.go
cloudstack/DomainService.go
cloudstack/HostService.go
cloudstack/HostService_mock.go
cloudstack/HostService_test.go
cloudstack/ISOService.go
cloudstack/ImageStoreService.go
cloudstack/InternalLBService.go
cloudstack/LDAPService.go
cloudstack/LimitService.go
cloudstack/LimitService_test.go [new file with mode: 0644]
cloudstack/NetworkACLService_test.go [new file with mode: 0644]
cloudstack/NetworkOfferingService.go
cloudstack/NetworkOfferingService_mock.go
cloudstack/NetworkOfferingService_test.go
cloudstack/NetworkService.go
cloudstack/NetworkService_test.go
cloudstack/NicService.go
cloudstack/PodService.go
cloudstack/PoolService.go
cloudstack/ProjectService.go
cloudstack/ProjectService_mock.go
cloudstack/ProjectService_test.go
cloudstack/RouterService.go
cloudstack/SSHService.go
cloudstack/SSHService_mock.go
cloudstack/ServiceOfferingService.go
cloudstack/SnapshotService.go
cloudstack/StoragePoolService.go
cloudstack/SwiftService.go
cloudstack/SystemVMService.go
cloudstack/SystemVMService_mock.go
cloudstack/TemplateService.go
cloudstack/UsageService.go
cloudstack/UserService.go
cloudstack/VMGroupService.go
cloudstack/VPCService.go
cloudstack/VPCService_test.go [new file with mode: 0644]
cloudstack/VPNService.go
cloudstack/VPNService_test.go [new file with mode: 0644]
cloudstack/VirtualMachineService.go
cloudstack/VirtualMachineService_mock.go
cloudstack/VirtualMachineService_test.go
cloudstack/VolumeService.go
cloudstack/ZoneService.go
cloudstack/testdata/LimitServiceData.json [new file with mode: 0644]
cloudstack/testdata/NetworkACLServiceData.json [new file with mode: 0644]
cloudstack/testdata/ProjectServiceData.json
cloudstack/testdata/VPCServiceData.json [new file with mode: 0644]
cloudstack/testdata/VPNServiceData.json [new file with mode: 0644]
cloudstack/testdata/VirtualMachineServiceData.json
examples/ACSOps.go [moved from examples/ACSDetails.go with 86% similarity]
examples/AddHost.go
examples/CreateDeleteDomain.go
examples/HostOperations.go
generate/layout.go
generate/listApis.json