Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
62 | 0 | 0 | 0 | 100% | 1.016 |
Package | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|
com.atlassian.gadgets.publisher.internal.impl | 46 | 0 | 0 | 0 | 100% | 0.358 |
com.atlassian.gadgets.publisher.internal | 16 | 0 | 0 | 0 | 100% | 0.658 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
GadgetProcessorImplTest | 35 | 0 | 0 | 0 | 100% | 0.26 | |
PublishedGadgetSpecStoreImplTest | 11 | 0 | 0 | 0 | 100% | 0.098 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
GadgetModuleDescriptorTest | 5 | 0 | 0 | 0 | 100% | 0.16 | |
PluginGadgetFinderTest | 5 | 0 | 0 | 0 | 100% | 0.126 | |
LocaleParserTest | 5 | 0 | 0 | 0 | 100% | 0.036 | |
GadgetSpecResourceTest | 1 | 0 | 0 | 0 | 100% | 0.336 |
testGadgetModuleDescriptorCreatesPluginGadgetSpecWithSpecifiedPluginAndLocation | 0.144 | |
testInitWithNullPluginThrowsNullPointerException | 0.001 | |
testInitWithNullElementThrowsNullPointerException | 0 | |
testInitWithMissingKeyThrowsValidationException | 0.006 | |
testInitWithMissingLocationThrowsValidationException | 0 |
assertThatPluginsAreScannedAndGadgetsFoundAtStartup | 0.104 | |
assertThatPluginEnabledInstallsLocallyHostedGadgets | 0.006 | |
assertThatPluginDisabledRemovesLocallyHostedGadgets | 0.003 | |
assertThatPluginEnabledWithNullEventModuleDoesNotCallListener | 0.004 | |
assertThatPluginDisabledWithNullEventModuleDoesNotCallListener | 0.001 |
nullArgumentThrowsNullPointerException | 0.007 | |
emptyArgumentThrowsIllegalArgumentException | 0.001 | |
argumentWithLanguageAndCountryParsesLocaleWithLanguageAndCountry | 0.001 | |
argumentWithLanguageForAllCountriesParsesLocaleWithLanguageOnly | 0 | |
argumentForAllLanguagesAndAllCountriesParsesFallbackLocale | 0 |
assertProcessWillNotTolerateNullInputStreams | 0.045 | |
assertProcessWillNotTolerateNullOutputStreams | 0.001 | |
assertAtlassianBaseUrlIsSubstitutedCorrectly | 0.034 | |
assertNullAtlassianBaseUrlCausesReturnOfOriginalString | 0.003 | |
assertEmptyAtlassianBaseUrlCausesReturnOfOriginalString | 0.004 | |
assertRequireResourceIsProcessedCorrectly | 0.002 | |
assertInvalidRequireResourceIsIgnored | 0.002 | |
assertRequireResourceWithBadPluginKeyIsIgnored | 0.001 | |
assertEmbeddedRequireResourceIsProcessedCorrectly | 0.002 | |
assertEmbeddedInvalidRequireResourceIsIgnored | 0.002 | |
assertValidRequireResourceIsReplacedAndInvalidIsNot | 0.006 | |
assertRequireResourceUrlWithMissingQuoteIsNotReplaced | 0.004 | |
assertIncludeResourcesWithoutParenthesesStillWorks | 0.003 | |
assertMisspelledIncludeResourcesIsANoop | 0.002 | |
assertIntermixedRequireResourceCallsAreProcessedCorrectlyByInterwovenIncludeResourcesCalls | 0.006 | |
assertValidStaticResourceUrlIsProcessedCorrectly | 0.003 | |
assertValidStaticResourceUrlInSubdirectoryIsProcessedCorrectly | 0.001 | |
assertStaticResourceUrlWithTypoIsIgnored | 0.004 | |
assertStaticResourceUrlCallWithOnlyOneArgumentIsIgnored | 0.001 | |
assertStaticResourceUrlCallWithSpaceAfterCommaIsProcessedCorrectly | 0.002 | |
assertEmbeddedStaticResourceUrlIsProcessedCorrectly | 0.002 | |
assertEmbeddedInvalidStaticResourceUrlIsIgnored | 0.002 | |
assertValidStaticResourceUrlIsReplacedAndInvalidIsNot | 0.002 | |
assertMultipleValidStaticResourceUrlCallsAreReplaced | 0.002 | |
assertStaticResourceUrlWithMissingQuoteIsNotReplaced | 0.001 | |
assertValidSupportedLocalesIsReplaced | 0.031 | |
assertValidSupportedLocalesWithMultipleLocalesIsReplaced | 0.007 | |
assertSupportedLocalesWithTypoIsNotReplaced | 0.001 | |
assertSupportedLocalesWithNoArgumentsIsNotReplaced | 0.003 | |
assertSupportedLocalesWithMissingQuoteIsNotReplaced | 0.009 | |
assertMultipleValidSupportedLocalesAreReplaced | 0.005 | |
assertMultipleValidPrefixesAreReplaced | 0.003 | |
assertPrefixWithUriCharsIsEscaped | 0.002 | |
assertThatOAuthWithCallbackIsReplaced | 0.007 | |
assertThatOAuthWithoutCallbackIsReplaced | 0.002 |
assertThatStoreInitiallyContainsNoUris | 0.029 | |
assertThatStoreRejectsInvalidGadgetSpec | 0.006 | |
assertThatStoreDoesNotContainNonGadgetUri | 0.002 | |
assertThatStoreDoesNotContainInvalidGadgetUri | 0.002 | |
assertThatStoreDoesNotContainValidGadgetUriFromAnotherServer | 0.003 | |
assertThatStoreDoesNotContainExternalGadgetSpecs | 0.002 | |
assertThatStoreContainsStoredGadgetUri | 0.003 | |
assertThatStoreInitiallyHasNoEntries | 0.006 | |
assertThatStoreEntriesContainsStoredGadgetUri | 0.004 | |
assertThatWritingAbsentGadgetSpecThrowsPublishedGadgetSpecNotFoundException | 0.003 | |
assertThatWritingStoredGadgetSpecEqualsOriginalSpecData | 0.003 |