org.melati.app.test
Class PoemAppTest

Package class diagram package PoemAppTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.app.test.PoemAppTest
All Implemented Interfaces:
junit.framework.Test

public class PoemAppTest
extends junit.framework.TestCase

Author:
timp

Constructor Summary
PoemAppTest(String name)
           
 
Method Summary
protected  void setUp()
          
protected  void tearDown()
          
 void testAccess()
          Access exceptions.
 void testAccessPrompted()
          Access exceptions.
 void testAccessPromptedThreeWrongResponses()
          Access exceptions.
 void testAccessWrongPasswordInArgs()
          Access exceptions.
 void testAccessWrongUsernameInArgs()
          Access exceptions.
 void testArgumentHandling()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 void testArgumentNames()
          Test argument names
 void testArgumentNames2()
          Test argument names
 void testArgumentNames3()
          Test argument names
 void testArgumentNames4()
          Test argument names
 void testPrePoemSessionThowing()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 void testRun()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 void testRunNoMethod()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 void testRunNoTable()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 void testRunNoTroid()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 void testRunTableMethod()
          Test method for AbstractConfigApp.run(java.lang.String[]).
 
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

PoemAppTest

public PoemAppTest(String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testRun

public void testRun()
             throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testRunNoMethod

public void testRunNoMethod()
                     throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testRunTableMethod

public void testRunTableMethod()
                        throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testRunNoTroid

public void testRunNoTroid()
                    throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testRunNoTable

public void testRunNoTable()
                    throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testArgumentHandling

public void testArgumentHandling()
                          throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testPrePoemSessionThowing

public void testPrePoemSessionThowing()
                               throws Exception
Test method for AbstractConfigApp.run(java.lang.String[]).

Throws:
Exception

testAccess

public void testAccess()
                throws Exception
Access exceptions.

Throws:
Exception

testAccessPrompted

public void testAccessPrompted()
                        throws Exception
Access exceptions.

Throws:
Exception

testAccessPromptedThreeWrongResponses

public void testAccessPromptedThreeWrongResponses()
                                           throws Exception
Access exceptions.

Throws:
Exception

testAccessWrongUsernameInArgs

public void testAccessWrongUsernameInArgs()
                                   throws Exception
Access exceptions.

Throws:
Exception

testAccessWrongPasswordInArgs

public void testAccessWrongPasswordInArgs()
                                   throws Exception
Access exceptions.

Throws:
Exception

testArgumentNames

public void testArgumentNames()
                       throws Exception
Test argument names

Throws:
Exception

testArgumentNames2

public void testArgumentNames2()
                        throws Exception
Test argument names

Throws:
Exception

testArgumentNames3

public void testArgumentNames3()
                        throws Exception
Test argument names

Throws:
Exception

testArgumentNames4

public void testArgumentNames4()
                        throws Exception
Test argument names

Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.