org.stjs.javascript.stjs
Class STJSAssert

java.lang.Object
  extended by org.stjs.javascript.stjs.STJSAssert

public class STJSAssert
extends Object

This is a collection of assert methods that are implemented in the stjs.js javascript file.

Author:
acraciun

Constructor Summary
STJSAssert()
           
 
Method Summary
static void assertArgEquals(Object expectedValue, Object testValue)
           
static void assertArgNotNull(Object testValue)
           
static void assertArgTrue(boolean condition)
           
static void assertStateEquals(Object expectedValue, Object testValue)
           
static void assertStateNotNull(Object testValue)
           
static void assertStateTrue(boolean condition)
           
static void setAssertHandler(org.stjs.javascript.functions.Callback3<String,String,String> message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STJSAssert

public STJSAssert()
Method Detail

assertArgEquals

public static void assertArgEquals(Object expectedValue,
                                   Object testValue)

assertArgNotNull

public static void assertArgNotNull(Object testValue)

assertArgTrue

public static void assertArgTrue(boolean condition)

assertStateEquals

public static void assertStateEquals(Object expectedValue,
                                     Object testValue)

assertStateNotNull

public static void assertStateNotNull(Object testValue)

assertStateTrue

public static void assertStateTrue(boolean condition)

setAssertHandler

public static void setAssertHandler(org.stjs.javascript.functions.Callback3<String,String,String> message)


Copyright © 2013. All Rights Reserved.