com.atlassian.plugin.elements
Class TestResourceDescriptor

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

public class TestResourceDescriptor
extends junit.framework.TestCase


Constructor Summary
TestResourceDescriptor()
           
 
Method Summary
 void testBasicResource()
           
 void testEquality()
           
 void testEquals()
           
 void testEqualsWithNullNameAndType()
           
 void testEqualsWithNullType()
           
 void testGetResourceLocationForNameForSingleResource()
           
 void testHashcode()
           
 void testMultiResourceDescriptor()
           
 void testResourceWithContent()
           
 void testResourceWithParameters()
           
 void testResourceWithParametersAndContent()
           
 
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

TestResourceDescriptor

public TestResourceDescriptor()
Method Detail

testBasicResource

public void testBasicResource()
                       throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testResourceWithContent

public void testResourceWithContent()
                             throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testResourceWithParameters

public void testResourceWithParameters()
                                throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testResourceWithParametersAndContent

public void testResourceWithParametersAndContent()
                                          throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testEquality

public void testEquality()
                  throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testMultiResourceDescriptor

public void testMultiResourceDescriptor()
                                 throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testGetResourceLocationForNameForSingleResource

public void testGetResourceLocationForNameForSingleResource()
                                                     throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

testEquals

public void testEquals()

testEqualsWithNullNameAndType

public void testEqualsWithNullNameAndType()

testEqualsWithNullType

public void testEqualsWithNullType()

testHashcode

public void testHashcode()


Copyright © 2013 Atlassian. All Rights Reserved.