org.infinitest.toolkit
Class Assertions

java.lang.Object
  extended by org.infinitest.toolkit.Assertions

public abstract class Assertions
extends Object

Assertions for use in JUnit tests.

Author:
Paul Holser

Constructor Summary
Assertions()
           
 
Method Summary
static void assertNoException(Block block)
          Tests that the given block raises no exception.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assertions

public Assertions()
Method Detail

assertNoException

public static void assertNoException(Block block)
Tests that the given block raises no exception.

Parameters:
block - the block to execute
Throws:
AssertionError - if the block raises any exception


© Copyright 2009 Paul R. Holser, Jr. All rights reserved. pholser@alumni.rice.edu