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

Package class diagram package ReleasePrepareActionTest
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.ReleasePrepareActionTest
All Implemented Interfaces:
junit.framework.Test

public class ReleasePrepareActionTest
extends org.jmock.MockObjectTestCase

Test for ReleasePrepareAction

Version:
$Id: ReleasePrepareActionTest.java 765340 2009-04-15 20:22:00Z evenisse $
Author:
Carlos Sanchez

Field Summary
 
Fields inherited from class org.jmock.core.MockObjectSupportTestCase
ANYTHING, NOT_NULL, NULL
 
Constructor Summary
ReleasePrepareActionTest()
           
 
Method Summary
 void testScmTagBaseNonSvn()
          Test that tag base url for non Subverson SCMs is empty
 void testScmTagBaseSvn()
          Test that the tag base url for Subversion is correctly constructed
 
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

ReleasePrepareActionTest

public ReleasePrepareActionTest()
Method Detail

testScmTagBaseSvn

public void testScmTagBaseSvn()
                       throws Exception
Test that the tag base url for Subversion is correctly constructed

Throws:
Exception

testScmTagBaseNonSvn

public void testScmTagBaseNonSvn()
                          throws Exception
Test that tag base url for non Subverson SCMs is empty

Throws:
Exception


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