com.atlassian.bamboo.utils
Class BambooTestCase

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 com.atlassian.bamboo.utils.BambooTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class BambooTestCase
extends org.jmock.MockObjectTestCase


Field Summary
 
Fields inherited from class org.jmock.core.MockObjectSupportTestCase
ANYTHING, NOT_NULL, NULL
 
Constructor Summary
BambooTestCase()
           
 
Method Summary
protected  void _preserveSystemProperties(SystemProperty... properties)
           
protected  void _setUpGetAdminConfigExpectation(org.jmock.Mock mockContainer)
           
protected  org.jmock.core.Constraint aSimpleLogEntryContaining(java.lang.String expectedLogLine)
           
static
<T> void
assertHasEqualElements(java.util.Collection<? extends T> expected, java.util.Collection<? extends T> actual)
           
static
<T> void
assertHasEqualElements(java.lang.String message, java.util.Collection<? extends T> expected, java.util.Collection<? extends T> actual)
           
protected  void tearDown()
           
 
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, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BambooTestCase

public BambooTestCase()
Method Detail

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

_preserveSystemProperties

protected void _preserveSystemProperties(SystemProperty... properties)

_setUpGetAdminConfigExpectation

protected void _setUpGetAdminConfigExpectation(org.jmock.Mock mockContainer)

aSimpleLogEntryContaining

protected org.jmock.core.Constraint aSimpleLogEntryContaining(java.lang.String expectedLogLine)

assertHasEqualElements

public static <T> void assertHasEqualElements(java.lang.String message,
                                              java.util.Collection<? extends T> expected,
                                              java.util.Collection<? extends T> actual)

assertHasEqualElements

public static <T> void assertHasEqualElements(java.util.Collection<? extends T> expected,
                                              java.util.Collection<? extends T> actual)


Copyright © 2010 Atlassian. All Rights Reserved.