A E F G J L N O S T

A

Assert - Class in net.sf.jstester.util
Environment especific Assert.
It will delegate all its call to a JsAssert depending on the runtime environment.
Assert() - Constructor for class net.sf.jstester.util.Assert
 
assertArrayEquals(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts if two arrays are equal.
assertArrayEquals(String, String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts if two arrays are equal.
assertArrayEquals(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts if two arrays are equal.
assertArrayEquals(String, String, String) - Method in class net.sf.jstester.JsTestCase
Asserts if two arrays are equal.
assertArrayEquals(String, String) - Method in class net.sf.jstester.JsTester
Asserts if two arrays are equal.
assertArrayEquals(String, String, String) - Method in class net.sf.jstester.JsTester
Asserts if two arrays are equal.
assertBinaryPredicate(String, String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that a binary predicate is true.
The predicate can not be null.
assertBinaryPredicate(String, String, String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that a binary predicate is true.
The predicate can not be null.
assertBinaryPredicate(String, String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that a binary predicate is true.
The predicate can not be null.
assertBinaryPredicate(String, String, String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that a binary predicate is true.
The predicate can not be null.
assertBinaryPredicate(String, String, String) - Method in class net.sf.jstester.JsTester
Asserts that a binary predicate is true.
The predicate can not be null.
assertBinaryPredicate(String, String, String, String) - Method in class net.sf.jstester.JsTester
Asserts that a binary predicate is true.
The predicate can not be null.
assertEquals(String, String) - Method in class net.sf.jstester.JsTester
Asserts that two expressions are equal.
If the expressions are arrays, calls assertArrayEquals.
If the expressions are objects, calls assertObjectEquals.
assertEquals(String, String, String) - Method in class net.sf.jstester.JsTester
Asserts that two expressions are equal.
If the expressions are arrays, calls assertArrayEquals.
If the expressions are objects, calls assertObjectEquals.
assertEquals(boolean, boolean) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(byte, byte) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(char, char) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(double, double, double) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(float, float, float) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(int, int) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(long, long) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(Object, Object) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(short, short) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, boolean, boolean) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, byte, byte) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, char, char) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, double, double, double) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, float, float, float) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, int, int) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, long, long) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, Object, Object) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, short, short) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, String) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, String, String) - Static method in class net.sf.jstester.util.Assert
 
assertEquals(String, Object, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(Object, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, String, String) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, String) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, double, double, double) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(double, double, double) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, float, float, float) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(float, float, float) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, long, long) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(long, long) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, boolean, boolean) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(boolean, boolean) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, byte, byte) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(byte, byte) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, char, char) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(char, char) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, short, short) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(short, short) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(String, int, int) - Method in interface net.sf.jstester.util.JsAssert
 
assertEquals(int, int) - Method in interface net.sf.jstester.util.JsAssert
 
assertExpressionEquals(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that two expressions are equal.
If the expressions are arrays, calls assertArrayEquals.
If the expressions are objects, calls assertObjectEquals.
This method calls JsTester.assertEquals()
assertExpressionEquals(String, String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that two expressions are equal.
If the expressions are arrays, calls assertArrayEquals.
If the expressions are objects, calls assertObjectEquals.
This method calls JsTester.assertEquals()
assertExpressionEquals(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that two expressions are equal.
If the expressions are arrays, calls assertArrayEquals.
If the expressions are objects, calls assertObjectEquals.
This method calls JsTester.assertEquals()
assertExpressionEquals(String, String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that two expressions are equal.
If the expressions are arrays, calls assertArrayEquals.
If the expressions are objects, calls assertObjectEquals.
This method calls JsTester.assertEquals()
assertFalse(boolean) - Static method in class net.sf.jstester.util.Assert
 
assertFalse(String, boolean) - Static method in class net.sf.jstester.util.Assert
 
assertFalse(String, boolean) - Method in interface net.sf.jstester.util.JsAssert
 
assertFalse(boolean) - Method in interface net.sf.jstester.util.JsAssert
 
assertIsAlien(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
 
assertIsAlien(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
 
assertIsAlien(String) - Method in class net.sf.jstester.JsTestCase
 
assertIsAlien(String, String) - Method in class net.sf.jstester.JsTestCase
 
assertIsAlien(String) - Method in class net.sf.jstester.JsTester
 
assertIsAlien(String, String) - Method in class net.sf.jstester.JsTester
 
assertIsArray(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is an array.
assertIsArray(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is an array.
assertIsArray(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is an array.
assertIsArray(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is an array.
assertIsArray(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is an array.
assertIsArray(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is an array.
assertIsBoolean(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a boolean.
assertIsBoolean(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a boolean.
assertIsBoolean(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a boolean.
assertIsBoolean(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a boolean.
assertIsBoolean(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a boolean.
assertIsBoolean(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a boolean.
assertIsEmpty(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression an empty object.
assertIsEmpty(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression an empty object.
assertIsEmpty(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression an empty object.
assertIsEmpty(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression an empty object.
assertIsEmpty(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression an empty object.
assertIsEmpty(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression an empty object.
assertIsFunction(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a function.
assertIsFunction(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a function.
assertIsFunction(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a function.
assertIsFunction(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a function.
assertIsFunction(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a function.
assertIsFunction(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a function.
assertIsNumber(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a number.
assertIsNumber(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a number.
assertIsNumber(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a number.
assertIsNumber(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a number.
assertIsNumber(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a number.
assertIsNumber(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a number.
assertIsObject(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is an object.
assertIsObject(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is an object.
assertIsObject(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is an object.
assertIsObject(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is an object.
assertIsObject(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is an object.
assertIsObject(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is an object.
assertIsString(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a string.
assertIsString(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is a string.
assertIsString(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a string.
assertIsString(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is a string.
assertIsString(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a string.
assertIsString(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is a string.
assertIsUndefined(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is undefined.
assertIsUndefined(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is undefined.
assertIsUndefined(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is undefined.
assertIsUndefined(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is undefined.
assertIsUndefined(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is undefined.
assertIsUndefined(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is undefined.
assertNotNull(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is not null.
assertNotNull(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is not null.
assertNotNull(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is not null.
assertNotNull(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is not null.
assertNotNull(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is not null.
assertNotNull(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is not null.
assertNotNull(Object) - Static method in class net.sf.jstester.util.Assert
 
assertNotNull(String, Object) - Static method in class net.sf.jstester.util.Assert
 
assertNotNull(Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertNotNull(String, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertNotSame(Object, Object) - Static method in class net.sf.jstester.util.Assert
 
assertNotSame(String, Object, Object) - Static method in class net.sf.jstester.util.Assert
 
assertNotSame(String, Object, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertNotSame(Object, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertNull(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is null.
assertNull(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is null.
assertNull(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is null.
assertNull(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is null.
assertNull(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is null.
assertNull(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is null.
assertNull(Object) - Static method in class net.sf.jstester.util.Assert
 
assertNull(String, Object) - Static method in class net.sf.jstester.util.Assert
 
assertNull(Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertNull(String, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertObjectEquals(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the two expressions are objects and equal.
If any property is an array, calls assertArrayEquals.
If any property is an object, calls assertObjectEquals.
assertObjectEquals(String, String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the two expressions are objects and equal.
If any property is an array, calls assertArrayEquals.
If any property is an object, calls assertObjectEquals.
assertObjectEquals(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the two expressions are objects and equal.
If any property is an array, calls assertArrayEquals.
If any property is an object, calls assertObjectEquals.
assertObjectEquals(String, String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the two expressions are objects and equal.
If any property is an array, calls assertArrayEquals.
If any property is an object, calls assertObjectEquals.
assertObjectEquals(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the two expressions are objects and equal.
If any property is an array, calls assertArrayEquals.
If any property is an object, calls assertObjectEquals.
assertObjectEquals(String, String, String) - Method in class net.sf.jstester.JsTester
Asserts that the two expressions are objects and equal.
If any property is an array, calls assertArrayEquals.
If any property is an object, calls assertObjectEquals.
assertSame(Object, Object) - Static method in class net.sf.jstester.util.Assert
 
assertSame(String, Object, Object) - Static method in class net.sf.jstester.util.Assert
 
assertSame(String, Object, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertSame(Object, Object) - Method in interface net.sf.jstester.util.JsAssert
 
assertTrue(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is true.
assertTrue(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that the expression is true.
assertTrue(String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is true.
assertTrue(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that the expression is true.
assertTrue(String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is true.
assertTrue(String, String) - Method in class net.sf.jstester.JsTester
Asserts that the expression is true.
assertTrue(boolean) - Static method in class net.sf.jstester.util.Assert
 
assertTrue(String, boolean) - Static method in class net.sf.jstester.util.Assert
 
assertTrue(String, boolean) - Method in interface net.sf.jstester.util.JsAssert
 
assertTrue(boolean) - Method in interface net.sf.jstester.util.JsAssert
 
assertUnaryPredicate(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that a unary predicate is true.
The predicate can not be null.
assertUnaryPredicate(String, String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Asserts that a unary predicate is true.
The predicate can not be null.
assertUnaryPredicate(String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that a unary predicate is true.
The predicate can not be null.
assertUnaryPredicate(String, String, String) - Method in class net.sf.jstester.JsTestCase
Asserts that a unary predicate is true.
The predicate can not be null.
assertUnaryPredicate(String, String) - Method in class net.sf.jstester.JsTester
Asserts that a unary predicate is true.
The predicate can not be null.
assertUnaryPredicate(String, String, String) - Method in class net.sf.jstester.JsTester
Asserts that a unary predicate is true.
The predicate can not be null.

E

eval(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Executes an arbitrary expression.
It fails if the expression throws a assertException.
It fails if the expression throws a RhinoException.
eval(String) - Method in class net.sf.jstester.JsTestCase
Executes an arbitrary expression.
It fails if the expression throws a JsAssertException.
It fails if the expression throws a RhinoException.
eval(String) - Method in class net.sf.jstester.JsTester
Executes an arbitrary expression.
It fails if the expression throws a JsAssertException.
It fails if the expression throws a RhinoException.

F

fail() - Static method in class net.sf.jstester.util.Assert
 
fail(String) - Static method in class net.sf.jstester.util.Assert
 
fail(String) - Method in interface net.sf.jstester.util.JsAssert
 
fail() - Method in interface net.sf.jstester.util.JsAssert
 

G

getAssert() - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssert.
getContext() - Method in class net.sf.jstester.ext.GroovyJsTestCase
Get the current context.
getContext() - Method in class net.sf.jstester.JsTestCase
Get the current context.
getContext() - Method in class net.sf.jstester.JsTester
Get the current context.
getGlobalScope() - Method in class net.sf.jstester.ext.GroovyJsTestCase
Get the global scope.
getGlobalScope() - Method in class net.sf.jstester.JsTestCase
Get the global scope.
getGlobalScope() - Method in class net.sf.jstester.JsTester
Get the global scope.
getJsTester() - Method in class net.sf.jstester.ext.GroovyJsTestCase
 
GroovyJsTestCase - Class in net.sf.jstester.ext
TestCase for javascript code validation with Groovy.
This class is a wrapper on JsTester.
GroovyJsTestCase() - Constructor for class net.sf.jstester.ext.GroovyJsTestCase
 

J

JsAssert - Interface in net.sf.jstester.util
Abstraction over all Assert implementations.
JsAssertionError - Interface in net.sf.jstester.util
Abstraction over all Assertion errors.
JsTestCase - Class in net.sf.jstester
TestCase for javascript code validation.
This class is a wrapper on JsTester.
JsTestCase() - Constructor for class net.sf.jstester.JsTestCase
 
JsTestCase(String) - Constructor for class net.sf.jstester.JsTestCase
 
JsTester - Class in net.sf.jstester
Provides assertions on javascript code.
JsTester() - Constructor for class net.sf.jstester.JsTester
 
JsTesterUtils - Class in net.sf.jstester.util
Provides handy methods to create assertions and errors.
If 'org.testng.Assert' can be loaded it will use TestNg features, if that fails and 'org.junit.Assert' can be loaded it will use JUnit4's features, if both fail it will fallback to JUnit 3.x

L

loadScript(String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Loads a script available in the classpath.
loadScript(String, String) - Method in class net.sf.jstester.ext.GroovyJsTestCase
Loads a script available in the classpath.
loadScript(String) - Method in class net.sf.jstester.JsTestCase
Loads a script available in the classpath.
loadScript(String, String) - Method in class net.sf.jstester.JsTestCase
Loads a script available in the classpath.
loadScript(String) - Static method in class net.sf.jstester.JsTester
Loads a script available in the classpath.
loadScript(String, String) - Static method in class net.sf.jstester.JsTester
Loads a script available in the classpath.

N

net.sf.jstester - package net.sf.jstester
The core package
net.sf.jstester.ext - package net.sf.jstester.ext
 
net.sf.jstester.util - package net.sf.jstester.util
Utilities for running tests with Junit 3.x & 4.x and TestNG
newJsAssertionError() - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(boolean) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(char) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(double) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(float) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(int) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(long) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(Object) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.
newJsAssertionError(String) - Static method in class net.sf.jstester.util.JsTesterUtils
Returns an environment specific JsAssertionError.

O

onSetUp() - Method in class net.sf.jstester.JsTester
Initializes the context, global scope, and assertion scripts.
Must be called before any call to eval() is issued.
onTearDown() - Method in class net.sf.jstester.JsTester
Destroys the current context.

S

setUp() - Method in class net.sf.jstester.ext.GroovyJsTestCase
Initializes the tester.
setUp() - Method in class net.sf.jstester.JsTestCase
Initializes the tester.

T

tearDown() - Method in class net.sf.jstester.ext.GroovyJsTestCase
Cleanups the tester.
tearDown() - Method in class net.sf.jstester.JsTestCase
Cleanups the tester.

A E F G J L N O S T

Copyright © 2006-2009. All Rights Reserved.