com.atlassian.plugin
Class TestResources

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

public class TestResources
extends junit.framework.TestCase


Constructor Summary
TestResources()
           
 
Method Summary
 void testEmptyResources()
           
 void testGetResourceDescriptor()
           
 void testGetResourceDescriptorsByType()
           
 void testMultipleResources()
           
 void testMultipleResourceWithClashingKeysFail()
           
 void testNullTypeThrows()
           
 void testParsingNullElementThrowsException()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestResources

public TestResources()
Method Detail

testMultipleResources

public void testMultipleResources()
                           throws org.dom4j.DocumentException,
                                  com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testGetResourceDescriptorsByType

public void testGetResourceDescriptorsByType()
                                      throws org.dom4j.DocumentException,
                                             com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testNullTypeThrows

public void testNullTypeThrows()
                        throws com.atlassian.plugin.PluginParseException,
                               org.dom4j.DocumentException
Throws:
com.atlassian.plugin.PluginParseException
org.dom4j.DocumentException

testGetResourceDescriptor

public void testGetResourceDescriptor()
                               throws org.dom4j.DocumentException,
                                      com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testMultipleResourceWithClashingKeysFail

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

testParsingNullElementThrowsException

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

testEmptyResources

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


Copyright © 2012 Atlassian. All Rights Reserved.