org.melati.app.test
Class TemplateAppTest

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

public class TemplateAppTest
extends junit.framework.TestCase

Generated code for the test suite TemplateAppTest located at /melati/src/test/java/org/melati/app/test/TemplateAppTest.testsuite.


Constructor Summary
TemplateAppTest(String name)
          Constructor for TemplateAppTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testInit()
           
 void testInitWithUnmatcheArgs0()
           
 void testLogin()
           
 void testMain()
           
 void testMainFourArgs()
          Also covers .wm extension.
 void testMainOneArg()
           
 void testMainThreeArgs()
           
 void testMainTwoArgs()
           
 void testMainZeroArgs()
           
 void testNoTemplateEngineConfigured()
          Test no configured template engine.
 
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

TemplateAppTest

public TemplateAppTest(String name)
Constructor for TemplateAppTest.

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()

testInit

public void testInit()
              throws Exception
Throws:
Exception
See Also:
AbstractTemplateApp.init(String[])

testInitWithUnmatcheArgs0

public void testInitWithUnmatcheArgs0()
                               throws Exception
Throws:
Exception
See Also:
AbstractTemplateApp.init(String[])

testMain

public void testMain()
              throws Exception
Throws:
Exception
See Also:
TemplateApp.main(String[])

testMainOneArg

public void testMainOneArg()
                    throws Exception
Throws:
Exception
See Also:
TemplateApp.main(String[])

testMainTwoArgs

public void testMainTwoArgs()
                     throws Exception
Throws:
Exception
See Also:
TemplateApp.main(String[])

testMainThreeArgs

public void testMainThreeArgs()
                       throws Exception
Throws:
Exception
See Also:
TemplateApp.main(String[])

testMainFourArgs

public void testMainFourArgs()
                      throws Exception
Also covers .wm extension.

Throws:
Exception
See Also:
TemplateApp.main(String[])

testMainZeroArgs

public void testMainZeroArgs()
                      throws Exception
Throws:
Exception
See Also:
TemplateApp.main(String[])

testLogin

public void testLogin()
               throws Exception
Throws:
Exception

testNoTemplateEngineConfigured

public void testNoTemplateEngineConfigured()
                                    throws Exception
Test no configured template engine.

Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.