JavaScriptTest.java revision 0901148a508a9c433851a650cd8eb52899d1222b
/*
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions Copyrighted [year] [name of copyright owner]".
*
* Copyright © 2011 ForgeRock AS. All rights reserved.
*/
// Java Standard Edition
// FEST-Assert
// TestNG
// ForgeRock OpenIDM Core
/**
* @author Paul C. Bryan
*/
public class JavaScriptTest {
// ----- preparation ----------
public void beforeMethod() {
}
// ----- yielded value unit tests ----------
@Test
@SuppressWarnings("unchecked")
public void yieldMapValue() throws ScriptException {
}
@Test
@SuppressWarnings("unchecked")
public void yieldListVaue() throws ScriptException {
}
@Test
public void yieldStringValue() throws ScriptException {
}
@Test
public void yieldIntegerValue() throws ScriptException {
}
@Test
public void yieldDoubleValue() throws ScriptException {
}
@Test
public void yieldTrueValue() throws ScriptException {
}
@Test
public void yieldFalseValue() throws ScriptException {
}
@Test
public void yieldNullValue() throws ScriptException {
}
@Test
public void notFoundValue() throws ScriptException {
}
// ----- java → javascript type conversion ----------
@Test
public void javaMapToJavaScriptObject() throws ScriptException {
}
@Test
public void javaListToJavaScriptArray() throws ScriptException {
}
@Test
public void javaIntegerToJavaScriptNumber() throws ScriptException {
}
@Test
public void javaDoubleToJavaScriptNumber() throws ScriptException {
}
// ----- property assignment ----------
@Test
@SuppressWarnings("unchecked")
public void mapPropertyValue() throws ScriptException {
}
@Test
@SuppressWarnings("unchecked")
public void listPropertyValue() throws ScriptException {
}
@Test
public void stringPropertyValue() throws ScriptException {
}
@Test
public void integerPropertyValue() throws ScriptException {
}
// ----- scope unit tests ----------
@Test
public void excludeTransientProperties() throws ScriptException {
}
// ----- exception unit tests ----------
public void scriptThrowingException() throws ScriptException {
}
public void undefinedReference() throws ScriptException {
}
public void syntaxError() throws ScriptException {
}
}