Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
397000100%3.419

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.jclouds.ec2.binders39000100%0.826
org.jclouds.ec2.compute4000100%0.013
org.jclouds.ec2.options142000100%0.219
org.jclouds.ec22000100%0.186
org.jclouds.ec2.xml35000100%0.408
org.jclouds.ec2.services78000100%0.574
org.jclouds.ec2.compute.options37000100%0.013
org.jclouds.ec2.compute.functions16000100%0.315
org.jclouds.ec2.compute.strategy14000100%0.518
org.jclouds.ec2.compute.internal16000100%0.316
org.jclouds.ec2.functions1000100%0.001
org.jclouds.ec2.config3000100%0.028
org.jclouds.ec2.util10000100%0.002

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.jclouds.ec2.compute

ClassTestsErrors FailuresSkippedSuccess RateTime
EC2TemplateBuilderTest4000100%0.013

org.jclouds.ec2.options

ClassTestsErrors FailuresSkippedSuccess RateTime
CreateSnapshotOptionsTest5000100%0.006
BundleInstanceS3StorageOptionsTest6000100%0.007
RunInstancesOptionsTest32000100%0.034
RegisterImageBackedByEbsOptionsTest41000100%0.038
DescribeSnapshotsOptionsTest12000100%0.005
DescribeImagesOptionsTest13000100%0.004
DetachVolumeOptionsTest9000100%0.006
RegisterImageOptionsTest17000100%0.008
CreateImageOptionsTest7000100%0.111

org.jclouds.ec2

ClassTestsErrors FailuresSkippedSuccess RateTime
EC2AsyncClientTest2000100%0.186

org.jclouds.ec2.services

ClassTestsErrors FailuresSkippedSuccess RateTime
AvailabilityZoneAndRegionAsyncClientTest4000100%0.015
SecurityGroupAsyncClientTest8000100%0.015
ElasticBlockStoreAsyncClientTest17000100%0.102
WindowsAsyncClientTest4000100%0.045
AMIAsyncClientTest14000100%0.065
ElasticIPAddressAsyncClientTest5000100%0.029
InstanceAsyncClientTest23000100%0.286
KeyPairAsyncClientTest3000100%0.017

org.jclouds.ec2.compute.options

ClassTestsErrors FailuresSkippedSuccess RateTime
EC2TemplateOptionsTest37000100%0.013

org.jclouds.ec2.compute.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
RunningInstanceToNodeMetadataTest7000100%0.149
CreateUniqueKeyPairTest2000100%0.024
CreateSecurityGroupIfNeededTest3000100%0.017
RegionAndIdToImageTest3000100%0.056
EC2ImageParserTest1000100%0.069

org.jclouds.ec2.compute.strategy

ClassTestsErrors FailuresSkippedSuccess RateTime
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptionsTest12000100%0.025
EC2CreateNodesInGroupThenAddToSetTest2000100%0.493

org.jclouds.ec2.compute.internal

ClassTestsErrors FailuresSkippedSuccess RateTime
EC2TemplateBuilderImplTest16000100%0.316

org.jclouds.ec2.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
ConvertUnencodedBytesToBase64EncodedStringTest1000100%0.001

org.jclouds.ec2.config

ClassTestsErrors FailuresSkippedSuccess RateTime
EC2RestClientModuleTest3000100%0.028

org.jclouds.ec2.util

ClassTestsErrors FailuresSkippedSuccess RateTime
IpPermissionsTest10000100%0.002

Test Cases

[Summary] [Package List] [Test Cases]

DescribeBundleTasksResponseHandlerTest

testApplyInputStream0.009

AvailabilityZoneAndRegionAsyncClientTest

testDescribeAvailabilityZones0.003
testDescribeRegionsOptions0.004
testDescribeRegions0.004
testDescribeAvailabilityZonesOptions0.004

CreateSnapshotOptionsTest

testWithDescriptionNPE0.002
testWithDescription0.003
testWithDescriptionStatic0
testNullWithDescription0
testAssignability0.001

BindGroupNamesToIndexedFormParamsTest

testNullIsBad0.001
testMustBeArray0
test0

RunningInstanceToNodeMetadataTest

testAllStatesCovered0.001
testApplyWhereTagDoesntMatchAndLocationFoundAndImageAndHardwareNotFound0.005
testApplyWhereTagDoesntMatchAndImageHardwareAndLocationNotFoundButCredentialsFound0.018
testHandleMissingAMIs0.001
testApplyWhereTagDoesntMatchAndImageHardwareAndLocationNotFound0.002
testApplyWhereTagDoesntMatchAndImageHardwareAndLocationFound0.06
testApplyWhereTagDoesntMatchAndImageAndLocationFoundAndHardwareNotFound0.062

BundleTaskHandlerTest

testBundleInstance0.017
testCancleBundleTask0.003

SecurityGroupAsyncClientTest

testAuthorizeSecurityGroupIngressCidr0.003
testRevokeSecurityGroupIngressCidr0.001
testDeleteSecurityGroup0.002
testDescribeSecurityGroupsArgs0.002
testDescribeSecurityGroups0.002
testCreateSecurityGroup0.003
testAuthorizeSecurityGroupIngressGroup0
testRevokeSecurityGroupIngressGroup0.002

ElasticBlockStoreAsyncClientTest

testResetCreateVolumePermissionsOnSnapshot0.003
testDetachVolumeOptions0.026
testDeleteVolume0.004
testRemoveCreateVolumePermissionsFromSnapshot0.002
testCreateSnapshot0.007
testGetCreateVolumePermissionForSnapshot0.007
testDescribeSnapshotsArgs0.005
testDetachVolume0.001
testDescribeSnapshots0.001
testCreateVolumeFromSnapShotWithSize0.003
testAttachVolume0.002
testDescribeVolumes0.002
testCreateVolume0.001
testDescribeVolumesArgs0.002
testCreateVolumeFromSnapShot0.005
testCreateSnapshotOptions0.007
testAddCreateVolumePermissionsToSnapshot0.024

BlockDeviceMappingHandlerTest

testApplyInputStream0.009

BindInstanceIdsToIndexedFormParamsTest

testNullIsBad0.013
testMustBeArray0
test0

CreateVolumeResponseHandlerTest

testApplyInputStream0.009

DescribeAvailabilityZonesResponseHandlerTest

testApplyInputStream0.003

ConvertUnencodedBytesToBase64EncodedStringTest

testDefault0.001

DescribeSecurityGroupsResponseHandlerTest

testApplyInputStream0.026

BindBlockDeviceMappingToIndexedFormParamsTest

testNullIsBad0
testMustBeBlockDeviceMapping0
testMapping0.042

BindPublicIpsToIndexedFormParamsTest

testNullIsBad0.001
testMustBeArray0
test0.001

BindVolumeIdsToIndexedFormParamsTest

testNullIsBad0
test0
testMustBeArray0.001

BindS3UploadPolicyAndSignatureTest

testNullIsBad0
testMapping0.72

BundleInstanceS3StorageOptionsTest

testBucketOwnedByNPE0.002
testNullBucketOwnedBy0.001
testBucketOwnedByStatic0.001
testBucketOwnedBy0.001
testNullBucketOwnedByNotInjected0.001
testAssignability0.001

CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptionsTest

testCreateNewKeyPairUnlessUserSpecifiedOtherwise_doesntCreateAKeyPairAndReturnsNullWhenToldNotTo0.012
testCreateNewKeyPairUnlessUserSpecifiedOtherwise_reusesKeyWhenToldToWithRunScriptAndCredentialsSpecified0.005
testGetSecurityGroupsForTagAndOptions_createsNewGroupByDefaultWhenPortsAreSpecifiedWhenDoesntExist0.001
testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups0.001
testExecuteWithDefaultOptionsEC20.002
testCreateNewKeyPairUnlessUserSpecifiedOtherwise_reusesKeyWhenToldToWithRunScriptAndCredentialsAlreadyInMap0.001
testExecuteWithUserData0.001
testCreateNewKeyPairUnlessUserSpecifiedOtherwise_createsNewKeyPairAndReturnsItsNameByDefault0
testCreateNewKeyPairUnlessUserSpecifiedOtherwise_reusesKeyWhenToldTo0
testCreateNewKeyPairUnlessUserSpecifiedOtherwise_reusesKeyWhenToldToWithRunScriptButNoCredentials0
testGetSecurityGroupsForTagAndOptions_createsNewGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesntExist0.001
testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExist0.001

WindowsAsyncClientTest

testDescribeBundleTasksArgs0.018
testBundleInstanceInRegionOptions0.02
testBundleInstanceInRegion0.003
testDescribeBundleTasks0.004

DescribeRegionsResponseHandlerTest

testEuc20.005
testApplyInputStream0.022
testEuc0.023
testUnsupportedAdditionalRegionDoesntBreak0.023

BindBundleIdsToIndexedFormParamsTest

testMustBeArray0
test0.001
testNullIsBad0

BindUserIdsToIndexedFormParamsTest

test0.001
testMustBeIterable0
testNullIsBad0

PermissionHandlerTest

testApplyInputStream0.007

DescribeImagesResponseHandlerTest

testWindows0.016
testEBS0.001
testUNIX0.001

BindProductCodesToIndexedFormParamsTest

testMustBeIterable0
testNullIsBad0
test0.011

DescribeAddressesResponseHandlerTest

testApplyInputStream0.008

CreateUniqueKeyPairTest

testApply0.023
testApplyWithIllegalStateException0.001

BindKeyNamesToIndexedFormParamsTest

testMustBeArray0
test0.001
testNullIsBad0.001

DescribeInstancesResponseHandlerTest

testWhenRunning0.008
testApplyInputStream0.008
testEBS0.028

EC2AsyncClientTest

testAsync0.09
testSync0.096

AMIAsyncClientTest

testDeregisterImage0.003
testRemoveLaunchPermissionsFromImage0.003
testAddLaunchPermissionsToImage0.004
testRegisterImageBackedByEBSOptions0.003
testRegisterImageBackedByEBS0.002
testRegisterImageFromManifest0.02
testRegisterImageFromManifestOptions0.002
testGetBlockDeviceMappingsForImage0.003
testCreateImage0.002
testDescribeImagesOptions0.003
testCreateImageOptions0.003
testResetLaunchPermissionsOnImage0.005
testDescribeImages0.005
testGetLaunchPermissionForImage0.007

EC2TemplateBuilderImplTest

testOptionsUsesDefaultTemplateBuilder0.055
testDefaultLocationWithUnmatchedPredicateExceptionMessage0.115
testDefaultLocationWithOptions0.001
testArchWins0.076
testSuppliedLocationWithNoOptions0.001
testParseOnDemandWithoutRegionEncodedIntoId0.027
testResolveImages0
testSuppliedImageLocationWiderThanDefault0.003
testImageIdNullsEverythingElse0
testParseOnDemandNotFound0.001
testSizeWithImageIdPredicateOnlyDoesntImage0.011
testSuppliedLocationAndOptions0.002
testParseOnDemand0.014
testSizeWithImageIdPredicateOnlyAcceptsImage0.006
testDefaultLocationWithNoOptionsNoSuchElement0.004
testNothingUsesDefaultTemplateBuilder0

DescribeVolumesResponseHandlerTest

testApplyInputStream0.013

SnapshotHandlerTest

testApplyInputStream0.046

RunInstancesOptionsTest

testNullWithRamdisk0.007
testWithKernelId0.001
testWithBlockDeviceMapping0.007
testWithBlockDeviceMappingNPE0.006
testWithBlockDeviceMappingStatic0.001
testWithInstanceType0
testNullWithSecurityGroup0
testWithInstanceTypeStatic0
testWithRamdiskStatic0.001
testNullWithInstanceType0
testAssignability0
testWithKeyName0
testWithKernelIdNPE0
testWithSecurityGroupNPE0.001
testNullWithVirtualName0
testNullWithKeyName0
testWithRamdisk0
testWithKernelIdStatic0
testWithKeyNameStatic0.001
testWithRamdiskNPE0
testWithKeyNameNPE0
testNullWithAdditionalInfo0
testWithInstanceTypeNPE0
testWithUserDataEmpty0.001
testWithSecurityGroupStatic0.001
testWithSecurityGroup0
testNullWithBlockDeviceMapping0.001
testNullWithUserData0
testWithUserDataNPE0.001
testNullWithKernelId0
testWithUserDataStatic0.003
testWithUserData0.002

EC2CreateNodesInGroupThenAddToSetTest

testZoneAsALocation0.246
testRegionAsALocation0.247

DescribeKeyPairsResponseHandlerTest

testApplyInputStream0.006

ElasticIPAddressAsyncClientTest

testReleaseAddress0.006
testDisassociateAddress0.007
testAssociateAddress0.008
testDescribeAddresses0.004
testAllocateAddress0.004

EC2TemplateBuilderTest

testTemplateChoiceForInstanceByCChardwareId0.006
testTemplateChoiceForInstanceByAttributes0.001
testNegativeTemplateChoiceForInstanceByAttributes0.003
testTemplateChoiceForInstanceByhardwareId0.003

InstanceStateChangeHandlerTest

testTerminate0.002
testStop0.004
testStart0.001

RunInstancesResponseHandlerTest

testApplyInputStream0.005

BindUserIdGroupPairToSourceSecurityGroupFormParamsTest

testUserIdGroupPair0.002
testNullIsBad0.001
testMustBeUserIdGroupPair0.001

RegisterImageBackedByEbsOptionsTest

testNullWithRamdisk0.001
testAddNewEphemeralBlockDeviceNPE0.005
testNullWithDescription0
testAddNewEphemeralBlockDeviceTooSmall0.002
testWithRamdisk0
testAddBlockDeviceFromSnapshotStatic0.008
testWithArchitectureStatic0
testNullWithArchitecture0
testNullAddNewBlockDevice0.001
testAddBlockDeviceFromSnapshotNPE0.001
testAddEphemeralBlockDeviceFromSnapshot0.001
testWithDescription0
testAddNewEphemeralBlockDeviceStatic0
testWithKernelId0
testAddNewBlockDeviceStatic0.01
testNullAddNewEphemeralBlockDevice0
testAddEphemeralBlockDeviceFromSnapshotNPE0
testWithArchitecture0
testWithKernelIdStatic0
testWithKernelIdNPE0
testNullAddEphemeralBlockDeviceFromSnapshot0
testNullAddBlockDeviceFromSnapshot0
testAddEphemeralBlockDeviceFromSnapshotStatic0
testAddBlockDeviceFromSnapshot0.001
testAddNewBlockDeviceTooSmall0.001
testAddNewEphemeralBlockDevice0.001
testWithRamdiskNPE0
testWithArchitectureNPE0
testWithDescriptionStatic0
testAddNewBlockDeviceNullVirtualName0
testAddEphemeralBlockDeviceFromSnapshotNullVirtualName0.001
testAddNewEphemeralBlockDeviceTooBig0
testAddNewBlockDeviceNPE0.001
testAddBlockDeviceFromSnapshotNullVirtualName0.001
testAssignability0.001
testWithDescriptionNPE0.001
testWithRamdiskStatic0
testAddNewBlockDevice0
testAddNewBlockDeviceTooBig0
testNullWithKernelId0
testAddNewEphemeralBlockDeviceNullVirtualName0.001

DescribeSnapshotsOptionsTest

testRestorableByStatic0.001
testNullSnapshotIds0
testRestorableBy0.001
testNullRestorableBy0
testAssignability0
testMultipleOwners0
testNullOwners0
testOwners0
testMultipleSnapshotIds0.001
testSnapshotIds0
testSnapshotIdsStatic0
testOwnersStatic0.002

AttachmentHandlerTest

testApplyInputStream0.004

DescribeImagesOptionsTest

testOwners0.001
testNullOwners0
testExecutableByStatic0
testImageIds0.001
testOwnersStatic0.001
testNullImageIds0
testExecutableBy0
testMultipleOwners0
testExecutableByNPE0
testNullExecutableBy0
testAssignability0
testMultipleImageIds0.001
testImageIdsStatic0

DetachVolumeOptionsTest

testNullFromDevice0.001
testFromInstance0
testFromDeviceStatic0.001
testAssignability0
testNullFromInstance0
testFromInstanceNPE0.001
testFromInstanceStatic0.001
testFromDevice0.001
testFromDeviceNPE0.001

CreateSecurityGroupIfNeededTest

testWhenPort22AndToItselfAuthorizesIngressTwice0.016
testWhenEventualConsistencyExpiresIllegalStateException0.001
testIllegalStateExceptionCreatingGroupJustReturns0

IfNotNullBindAvailabilityZoneToFormParamTest

testWhenNullReturnsSame0.004
testMustBeString0.002
test0

KeyPairResponseHandlerTest

testApplyInputStream0.059

RegisterImageOptionsTest

testWithDescription0.001
testNullWithKernelId0.001
testWithDescriptionStatic0.002
testNullWithRamdisk0.001
testWithKernelIdNPE0
testWithDescriptionNPE0
testWithArchitectureNPE0.001
testNullWithArchitecture0
testWithRamdiskNPE0.001
testWithArchitecture0
testWithRamdiskStatic0
testWithArchitectureStatic0
testWithKernelId0
testNullWithDescription0
testAssignability0
testWithRamdisk0.001
testWithKernelIdStatic0

EC2RestClientModuleTest

testDescribeAvailabilityZonesInRegion_NoZones0.006
testDescribeAvailabilityZonesInRegion_RethrowIfNoneFound0.001
testDescribeAvailabilityZonesInRegion_BestEffort0.021

EC2TemplateOptionsTest

testDefaultOpen220.001
testinboundPortsStatic0
testsecurityGroupsIterableBadFormat0.001
testinstallPrivateKeyStatic0
testDefaultGroupsVarArgsEmpty0.001
testsecurityGroupsVarArgsBadFormat0
testnoKeyPair0
testkeyPair0
testsecurityGroupsIterable0
testsecurityGroupsIterableEmptyNotOk0.001
testinboundPortsBadFormat0
testkeyPairNPE0
testFalsenoKeyPair0
testauthorizePublicKeyBadFormat0.001
testblockOnPortBadFormat0.001
testauthorizePublicKeyStatic0.002
testblockOnPort0.001
testinstallPrivateKey0.001
testNullblockOnPort0.001
testkeyPairAndNoKeyPair0
testsecurityGroupsIterableStatic0
testsecurityGroupsVarArgs0
testNoKeyPairAndKeyPair0
testNullkeyPair0
testsecurityGroupsVarArgsEmptyNotOk0
testkeyPairBadFormat0
testauthorizePublicKey0
testinboundPorts0
testkeyPairStatic0
testauthorizePublicKeyNPE0
testblockOnPortStatic0
testinstallPrivateKeyBadFormat0.001
testsecurityGroupsVarArgsStatic0
testinstallPrivateKeyNPE0
testNullauthorizePublicKey0
testNullinstallPrivateKey0.001
testnoKeyPairStatic0

DescribeInstanceAttributeTest

testInstanceInitiatedShutdownBehaviorHandler0.002
testStringValueHandler0
testUnencodeStringValueHandler0.002
testBooleanValueHandler0.005
testInstanceTypeHandler0.011

AllocateAddressResponseHandlerTest

testApplyInputStream0.006

RegionAndIdToImageTest

testApplyNoSuchElementExceptionMakesExecutionException0.054
testApplyNotFoundMakesExecutionException0.002
testApply0

BindUserGroupsToIndexedFormParamsTest

testNullIsBad0
testMustBeIterable0
testOnlyAllIsValid0
test0.022

InstanceAsyncClientTest

testRebootInstances0.099
testDescribeInstancesArgs0.101
testGetRamdiskForInstanceInRegion0.001
testSetApiTerminationDisabledForInstanceInRegion0.002
testTerminateInstances0.002
testGetInstanceTypeForInstanceInRegion0.002
testGetUserDataForInstanceInRegion0.002
testSetKernelForInstanceInRegion0.002
testSetRamdiskForInstanceInRegion0.002
testSetInstanceInitiatedShutdownBehaviorForInstanceInRegion0.006
testGetBlockDeviceMappingForInstanceInRegion0.001
testStopInstances0.002
testSetInstanceTypeForInstanceInRegion0.003
testGetDisableApiTerminationForInstanceInRegion0.015
testGetKernelForInstanceInRegion0.021
testGetInstanceInitiatedShutdownBehaviorForInstanceInRegion0.004
testSetUserDataForInstanceInRegion0.014
testSetBlockDeviceMappingForInstanceInRegion0
testRunInstancesOptions0
testGetRootDeviceNameForInstanceInRegion0
testRunInstances0.001
testStartInstances0.003
testDescribeInstances0.003

EC2ImageParserTest

testParseAmznImage0.069

IpPermissionsTest

testProtocolFromAndToPortAndUserGroups0.002
testAllProtocolCidrBound0
testMultipleCidrs0
testProtocolICMPAny0
testAllProtocol0
testJustProtocolAndCidr0
testProtocolICMPTypeAnyCode0
testProtocolICMPTypeCode0
testProtocolFromAndToPortAndGroupIds0
testAnyProtocol0

DescribeSnapshotsResponseHandlerTest

testApplyInputStream0.016

CreateImageOptionsTest

testWithDescription0.038
testNoReboot0.042
testWithDescriptionStatic0.001
testWithDescriptionNPE0.03
testNoRebootStatic0
testAssignability0
testNullWithDescription0

KeyPairAsyncClientTest

testDescribeKeyPairs0.005
testDescribeKeyPairsArgs0.006
testDeleteKeyPair0.006