org.springframework.batch.repeat
Class ExitStatusTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.repeat.ExitStatusTests

public class ExitStatusTests
extends TestCase

Author:
Dave Syer

Constructor Summary
ExitStatusTests()
           
 
Method Summary
 void testAddExitCode()
           
 void testAddExitCodeToExistingStatus()
           
 void testAddExitCodeToSameStatus()
           
 void testAddExitCodeWithDescription()
           
 void testAddExitDescription()
           
 void testAddExitDescriptionToSameStatus()
           
 void testAndBoolean()
          Test method for ExitStatus.and(boolean).
 void testAndExitStatusStillContinuable()
          Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).
 void testAndExitStatusWhenContinuableAddedToFinished()
          Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).
 void testAndExitStatusWhenCustomContinuableAddedToContinuable()
          Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).
 void testAndExitStatusWhenCustomContinuableAddedToFinished()
          Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).
 void testAndExitStatusWhenFinishedAddedToContinuable()
          Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).
 void testEquals()
           
 void testEqualsSelf()
           
 void testEqualsWithNull()
          Test equality of exit statuses.
 void testEqualsWithSameProperties()
          Test equality of exit statuses.
 void testExitStatusBooleanInt()
          Test method for ExitStatus.ExitStatus(boolean, String).
 void testExitStatusConstantsContinuable()
          Test method for ExitStatus.ExitStatus(boolean, String).
 void testExitStatusConstantsFinished()
          Test method for ExitStatus.ExitStatus(boolean, String).
 void testHashcode()
          Test equality of exit statuses.
 void testSerializable()
           
 void testUnkownIsRunning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitStatusTests

public ExitStatusTests()
Method Detail

testExitStatusBooleanInt

public void testExitStatusBooleanInt()
Test method for ExitStatus.ExitStatus(boolean, String).


testExitStatusConstantsContinuable

public void testExitStatusConstantsContinuable()
Test method for ExitStatus.ExitStatus(boolean, String).


testExitStatusConstantsFinished

public void testExitStatusConstantsFinished()
Test method for ExitStatus.ExitStatus(boolean, String).


testEqualsWithSameProperties

public void testEqualsWithSameProperties()
                                  throws Exception
Test equality of exit statuses.

Throws:
Exception

testEqualsSelf

public void testEqualsSelf()

testEquals

public void testEquals()

testEqualsWithNull

public void testEqualsWithNull()
                        throws Exception
Test equality of exit statuses.

Throws:
Exception

testHashcode

public void testHashcode()
                  throws Exception
Test equality of exit statuses.

Throws:
Exception

testAndBoolean

public void testAndBoolean()
Test method for ExitStatus.and(boolean).


testAndExitStatusStillContinuable

public void testAndExitStatusStillContinuable()
Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).


testAndExitStatusWhenFinishedAddedToContinuable

public void testAndExitStatusWhenFinishedAddedToContinuable()
Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).


testAndExitStatusWhenContinuableAddedToFinished

public void testAndExitStatusWhenContinuableAddedToFinished()
Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).


testAndExitStatusWhenCustomContinuableAddedToContinuable

public void testAndExitStatusWhenCustomContinuableAddedToContinuable()
Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).


testAndExitStatusWhenCustomContinuableAddedToFinished

public void testAndExitStatusWhenCustomContinuableAddedToFinished()
Test method for ExitStatus.and(org.springframework.batch.repeat.ExitStatus).


testAddExitCode

public void testAddExitCode()
                     throws Exception
Throws:
Exception

testAddExitCodeToExistingStatus

public void testAddExitCodeToExistingStatus()
                                     throws Exception
Throws:
Exception

testAddExitCodeToSameStatus

public void testAddExitCodeToSameStatus()
                                 throws Exception
Throws:
Exception

testAddExitDescription

public void testAddExitDescription()
                            throws Exception
Throws:
Exception

testAddExitDescriptionToSameStatus

public void testAddExitDescriptionToSameStatus()
                                        throws Exception
Throws:
Exception

testAddExitCodeWithDescription

public void testAddExitCodeWithDescription()
                                    throws Exception
Throws:
Exception

testUnkownIsRunning

public void testUnkownIsRunning()
                         throws Exception
Throws:
Exception

testSerializable

public void testSerializable()
                      throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.