com.atlassian.plugin.impl
Class TestAbstractPlugin

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.impl.TestAbstractPlugin
All Implemented Interfaces:
junit.framework.Test

public class TestAbstractPlugin
extends junit.framework.TestCase


Constructor Summary
TestAbstractPlugin()
           
 
Method Summary
 void testCompareTo()
           
 void testCompareToOnVersion()
           
 void testCompareToOnVersionWithMilestone()
           
 void testCompareToWhenEqual()
           
 void testCompareToWithBothNullKeys()
           
 void testCompareToWithNullKey()
           
 void testCompareToWithNullPluginInformation()
           
 void testCompareWithBothVersionsInvalid()
           
 void testCompareWithInvalidVersion()
           
 void testGetNameReturnsBlankIfI18nNameKeySpecified()
           
 void testGetNameReturnsKeyIfBlank()
           
 void testGetNameReturnsSetName()
           
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAbstractPlugin

public TestAbstractPlugin()
Method Detail

testCompareTo

public void testCompareTo()

testCompareToOnVersionWithMilestone

public void testCompareToOnVersionWithMilestone()

testCompareToOnVersion

public void testCompareToOnVersion()

testCompareToWhenEqual

public void testCompareToWhenEqual()

testCompareToWithNullPluginInformation

public void testCompareToWithNullPluginInformation()

testCompareWithInvalidVersion

public void testCompareWithInvalidVersion()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testCompareWithBothVersionsInvalid

public void testCompareWithBothVersionsInvalid()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testCompareToWithNullKey

public void testCompareToWithNullKey()

testCompareToWithBothNullKeys

public void testCompareToWithBothNullKeys()

testGetNameReturnsKeyIfBlank

public void testGetNameReturnsKeyIfBlank()

testGetNameReturnsSetName

public void testGetNameReturnsSetName()

testGetNameReturnsBlankIfI18nNameKeySpecified

public void testGetNameReturnsBlankIfI18nNameKeySpecified()


Copyright © 2013 Atlassian. All Rights Reserved.