org.apache.maven.continuum.web.action
Class AddProjectActionTest

Package class diagram package AddProjectActionTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jmock.core.VerifyingTestCase
              extended by org.jmock.core.MockObjectSupportTestCase
                  extended by org.jmock.MockObjectTestCase
                      extended by org.apache.maven.continuum.web.action.AddProjectActionTest
All Implemented Interfaces:
junit.framework.Test

public class AddProjectActionTest
extends org.jmock.MockObjectTestCase

Test for AddProjectAction

Author:
jzurbano

Field Summary
 
Fields inherited from class org.jmock.core.MockObjectSupportTestCase
ANYTHING, NOT_NULL, NULL
 
Constructor Summary
AddProjectActionTest()
           
 
Method Summary
 void testAddAntProject()
          Test add of Ant project
 void testAddAntProjectWithValidValues()
           
 void testAddProjectNullValues()
           
 void testAddShellProject()
          Test add of Shell project
 void testAddShellProjectWithValidValues()
           
 
Methods inherited from class org.jmock.MockObjectTestCase
atLeastOnce, defaultMockNameForType, mock, mock, never, newCoreMock, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException
 
Methods inherited from class org.jmock.core.MockObjectSupportTestCase
and, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, isA, newDummy, newDummy, newDummy, not, or, same, stringContains
 
Methods inherited from class org.jmock.core.VerifyingTestCase
registerToVerify, runBare, unregisterToVerify, verify
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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

AddProjectActionTest

public AddProjectActionTest()
Method Detail

testAddProjectNullValues

public void testAddProjectNullValues()
                              throws Exception
Throws:
Exception

testAddAntProject

public void testAddAntProject()
                       throws Exception
Test add of Ant project

Throws:
Exception

testAddAntProjectWithValidValues

public void testAddAntProjectWithValidValues()
                                      throws Exception
Throws:
Exception

testAddShellProject

public void testAddShellProject()
                         throws Exception
Test add of Shell project

Throws:
Exception

testAddShellProjectWithValidValues

public void testAddShellProjectWithValidValues()
                                        throws Exception
Throws:
Exception


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.