jfun.jaskell.junit
Class AssertionSupport

java.lang.Object
  extended by jfun.jaskell.junit.AssertionSupport
Direct Known Subclasses:
JUnit

public class AssertionSupport
extends java.lang.Object

This class adds assertion functions to a Jaskell runtime.

Compile-time Junit dependency is avoided so that a assertion enabled jaskell runtime can start up even when junit jar is not available at runtime.

Author:
Ben Yu Feb 21, 2006 6:49:11 PM

Constructor Summary
AssertionSupport(Jaskell runtime)
          To create an AssertionSupport object.
 
Method Summary
 Jaskell getRuntime()
          Get the Jaskell runtime with assertion functions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionSupport

public AssertionSupport(Jaskell runtime)
To create an AssertionSupport object.

Parameters:
runtime - the baseline runtime to add assertion support onto.
Method Detail

getRuntime

public Jaskell getRuntime()
Get the Jaskell runtime with assertion functions.