com.atlassian.plugin.impl
Class TestAbstractPlugin

java.lang.Object
  extended by com.atlassian.plugin.impl.TestAbstractPlugin

public class TestAbstractPlugin
extends Object


Constructor Summary
TestAbstractPlugin()
           
 
Method Summary
 void compareToEqualWhenBothKeysNull()
           
 void compareToEqualWhenBothVersionsInvalid()
           
 void compareToEqualWhenKeyAndVersionEqual()
           
 void compareToSortsByKey()
           
 void compareToSortsByVersion()
           
 void compareToSortsInvalidVersionBeforeValidVersion()
           
 void compareToSortsMilestonesBeforeNumericVersions()
           
 void compareToSortsNullKeyBeforeNonNullKey()
           
 void compareToTreatsNullPluginInformationAsVersionZero()
           
 void enableTimesAreInitiallyNull()
           
 void fastAsynchronousEnableIsNotLost()
           
 void getNameDefaultsToKey()
           
 void getNameReturnsBlankIfI18nNameKeySpecified()
           
 void getNameReturnsSetName()
           
 void secondEnableClearsEnablingTime()
           
 void simpleEnableSetsBothEnableTimes()
           
 void slowAsynchronousEnableIsNotLost()
           
 void slowEnableSetsEnableTimesSeparately()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAbstractPlugin

public TestAbstractPlugin()
Method Detail

compareToSortsByKey

public void compareToSortsByKey()

compareToSortsMilestonesBeforeNumericVersions

public void compareToSortsMilestonesBeforeNumericVersions()

compareToSortsByVersion

public void compareToSortsByVersion()

compareToEqualWhenKeyAndVersionEqual

public void compareToEqualWhenKeyAndVersionEqual()

compareToTreatsNullPluginInformationAsVersionZero

public void compareToTreatsNullPluginInformationAsVersionZero()

compareToSortsInvalidVersionBeforeValidVersion

public void compareToSortsInvalidVersionBeforeValidVersion()
                                                    throws Exception
Throws:
Exception

compareToEqualWhenBothVersionsInvalid

public void compareToEqualWhenBothVersionsInvalid()
                                           throws Exception
Throws:
Exception

compareToSortsNullKeyBeforeNonNullKey

public void compareToSortsNullKeyBeforeNonNullKey()

compareToEqualWhenBothKeysNull

public void compareToEqualWhenBothKeysNull()

getNameDefaultsToKey

public void getNameDefaultsToKey()

getNameReturnsSetName

public void getNameReturnsSetName()

getNameReturnsBlankIfI18nNameKeySpecified

public void getNameReturnsBlankIfI18nNameKeySpecified()

fastAsynchronousEnableIsNotLost

public void fastAsynchronousEnableIsNotLost()

slowAsynchronousEnableIsNotLost

public void slowAsynchronousEnableIsNotLost()
                                     throws Exception
Throws:
Exception

enableTimesAreInitiallyNull

public void enableTimesAreInitiallyNull()

simpleEnableSetsBothEnableTimes

public void simpleEnableSetsBothEnableTimes()
                                     throws InterruptedException
Throws:
InterruptedException

slowEnableSetsEnableTimesSeparately

public void slowEnableSetsEnableTimesSeparately()
                                         throws InterruptedException
Throws:
InterruptedException

secondEnableClearsEnablingTime

public void secondEnableClearsEnablingTime()
                                    throws InterruptedException
Throws:
InterruptedException


Copyright © 2015 Atlassian. All rights reserved.