org.openi.menu
Class MenuBuilderTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.openi.menu.MenuBuilderTest
All Implemented Interfaces:
junit.framework.Test

public class MenuBuilderTest
extends junit.framework.TestCase

Author:
plucas TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
MenuBuilderTest(java.lang.String arg0)
          Constructor for MenuBuilderTest.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testBadBaseDir()
           
 void testBuild()
           
 void testNullInput()
          TODO: What's best way to handle null configurations?
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

MenuBuilderTest

public MenuBuilderTest(java.lang.String arg0)
Constructor for MenuBuilderTest.

Parameters:
arg0 -
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testBuild

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

testBadBaseDir

public void testBadBaseDir()
                    throws java.io.IOException
Throws:
java.io.IOException

testNullInput

public void testNullInput()
                   throws java.lang.Exception
TODO: What's best way to handle null configurations?

Throws:
java.lang.Exception