/[projects]/CircuitBreaker/test/dk/thoerup/circuitbreaker/TestCircuitBreaker.java
ViewVC logotype

Diff of /CircuitBreaker/test/dk/thoerup/circuitbreaker/TestCircuitBreaker.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 454 by torben, Tue Oct 20 11:08:53 2009 UTC revision 455 by torben, Tue Oct 20 11:10:30 2009 UTC
# Line 85  public class TestCircuitBreaker { Line 85  public class TestCircuitBreaker {
85                  assertTrue( cb.isOpen() );                                assertTrue( cb.isOpen() );              
86          }          }
87                    
88            @Test public void forcedTrip() {
89                    assertTrue( cb.isClosed() );
90                    cb.tripBreaker();
91                    assertTrue( cb.isOpen() );
92            }
93            
94          @Test public void forcedResetTest() throws Exception {          @Test public void forcedResetTest() throws Exception {
95                  try{                  try{
96                          cb.invoke( new FailingInvocation() );                          cb.invoke( new FailingInvocation() );

Legend:
Removed from v.454  
changed lines
  Added in v.455

  ViewVC Help
Powered by ViewVC 1.1.20