com.atlassian.user.configuration.xml
Class TestDefaultsParser

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.user.configuration.xml.TestDefaultsParser
All Implemented Interfaces:
junit.framework.Test

public class TestDefaultsParser
extends junit.framework.TestCase


Constructor Summary
TestDefaultsParser()
           
 
Method Summary
 void testDuplicateRepository()
           
 void testFileNotFound()
           
 void testKeyNotFound()
           
 void testLoadMultipleFilesWithDefaultConstructor()
           
 void testNoValidDefaultsFound()
           
 void testOneDefaultsFileInvalid()
           
 void testRepositoryFound()
           
 void testRepositoryWithNoClasses()
           
 void testRepositoryWithNoParams()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestDefaultsParser

public TestDefaultsParser()
Method Detail

testFileNotFound

public void testFileNotFound()
                      throws IOException,
                             org.dom4j.DocumentException
Throws:
IOException
org.dom4j.DocumentException

testKeyNotFound

public void testKeyNotFound()
                     throws org.dom4j.DocumentException,
                            IOException
Throws:
org.dom4j.DocumentException
IOException

testRepositoryFound

public void testRepositoryFound()
                         throws org.dom4j.DocumentException,
                                IOException
Throws:
org.dom4j.DocumentException
IOException

testDuplicateRepository

public void testDuplicateRepository()
                             throws org.dom4j.DocumentException,
                                    IOException
Throws:
org.dom4j.DocumentException
IOException

testRepositoryWithNoClasses

public void testRepositoryWithNoClasses()
                                 throws org.dom4j.DocumentException,
                                        IOException
Throws:
org.dom4j.DocumentException
IOException

testRepositoryWithNoParams

public void testRepositoryWithNoParams()
                                throws org.dom4j.DocumentException,
                                       IOException
Throws:
org.dom4j.DocumentException
IOException

testLoadMultipleFilesWithDefaultConstructor

public void testLoadMultipleFilesWithDefaultConstructor()
                                                 throws org.dom4j.DocumentException,
                                                        IOException
Throws:
org.dom4j.DocumentException
IOException

testOneDefaultsFileInvalid

public void testOneDefaultsFileInvalid()
                                throws org.dom4j.DocumentException,
                                       IOException
Throws:
org.dom4j.DocumentException
IOException

testNoValidDefaultsFound

public void testNoValidDefaultsFound()
                              throws org.dom4j.DocumentException,
                                     IOException
Throws:
org.dom4j.DocumentException
IOException


Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.