org.infinitest.toolkit
Class Assertions
java.lang.Object
org.infinitest.toolkit.Assertions
public abstract class Assertions
- extends Object
Assertions for use in JUnit tests.
- Author:
- Paul Holser
Assertions
public Assertions()
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