|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
net.sf.xmlmatcher.js.rhino.RhinoAssert
public class RhinoAssert
Field Summary | |
---|---|
static java.lang.String |
JAVASCRIPT_CLASSNAME
|
static java.lang.String |
JAVASCRIPT_VAR_NAME
|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
DONTENUM, EMPTY, PERMANENT, READONLY |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
RhinoAssert()
|
|
RhinoAssert(java.lang.Object template,
java.lang.Object actual)
|
Method Summary | |
---|---|
java.lang.String |
getClassName()
|
void |
jsFunction_equal(java.lang.String xpath1,
java.lang.String xpath2,
double tolerance)
|
void |
jsFunction_equals(java.lang.String xpath1,
java.lang.String xpath2)
|
void |
jsFunction_isFalse(java.lang.String message,
boolean condition)
|
void |
jsFunction_isTrue(java.lang.String message,
boolean condition)
|
void |
jsFunction_pathExists(java.lang.String xpath)
|
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JAVASCRIPT_CLASSNAME
public static final java.lang.String JAVASCRIPT_VAR_NAME
Constructor Detail |
---|
public RhinoAssert()
public RhinoAssert(java.lang.Object template, java.lang.Object actual)
Method Detail |
---|
public java.lang.String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public void jsFunction_isTrue(java.lang.String message, boolean condition) throws JsAssertionFailedException
JsAssertionFailedException
public void jsFunction_isFalse(java.lang.String message, boolean condition) throws JsAssertionFailedException
JsAssertionFailedException
public void jsFunction_pathExists(java.lang.String xpath) throws InvalidTemplateException, XMLMismatchException
InvalidTemplateException
XMLMismatchException
public void jsFunction_equals(java.lang.String xpath1, java.lang.String xpath2) throws InvalidTemplateException, XMLMismatchException
InvalidTemplateException
XMLMismatchException
public void jsFunction_equal(java.lang.String xpath1, java.lang.String xpath2, double tolerance) throws InvalidTemplateException, XMLMismatchException
InvalidTemplateException
XMLMismatchException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |