Class ELClientIT
java.lang.Object
ee.jakarta.tck.el.api.expressionfactory.ELClientIT
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ELClientIT
public ELClientIT()
-
-
Method Details
-
cleanup
- Throws:
Exception
-
newInstanceTest
- Throws:
Exception- Test Name:
- newInstanceTest
- Assertion IDs:
- EL:JAVADOC:119; EL:JAVADOC:120
- Test Strategy:
- Verify that an ExpressionFactory can be instantiated with the newInstance() API.
-
createValueExpressionTest
- Throws:
Exception- Test Name:
- createValueExpressionTest
- Assertion IDs:
- EL:JAVADOC:63
- Test Strategy:
- Verify that the ExpressionFactory can handle the types of input specified in the javadoc when invoking the createValueExpression(ELContext, String, Class) method.
-
createValueExpression2Test
- Throws:
Exception- Test Name:
- createValueExpression2Test
- Assertion IDs:
- EL:JAVADOC:64
- Test Strategy:
- Verify the functionality of the createValueExpression(Object, Class) method.
-
createValueExpressionELExceptionTest
- Throws:
Exception- Test Name:
- createValueExpressionELExceptionTest
- Assertion IDs:
- EL:JAVADOC:63
- Test Strategy:
- Verify that ExpressionFactory.createValueExpression(ELContext, String, Class) throws an ELException for mixed delimiter expressions and expressions with syntactical errors.
-
createMethodExpressionTest
- Throws:
Exception- Test Name:
- createMethodExpressionTest
- Assertion IDs:
- EL:JAVADOC:62
- Test Strategy:
- Verify that the ExpressionFactory can handle the types of input specified in the javadoc when invoking the createMethodExpression(ELContext, String, Class) method, with the restriction that only expressions that share the same syntax as an lvalue are allowed (EL Spec 1.2.1.2).
-
createMethodExpressionELExceptionTest
- Throws:
Exception- Test Name:
- createMethodExpressionELExceptionTest
- Assertion IDs:
- EL:JAVADOC:63; EL:JAVADOC:253
- Test Strategy:
- Verify that ExpressionFactory.createMethodExpression() throws an ELException for expressions with syntactical errors, and for expressions that are not lvalues.
-
createExpressionNPETest
- Throws:
Exception- Test Name:
- createExpressionNPETest
- Assertion IDs:
- EL:JAVADOC:62; EL:JAVADOC:63; EL:JAVADOC:64; EL:JAVADOC:253; EL:JAVADOC:254; EL:JAVADOC:256
- Test Strategy:
- Verify that ExpressionFactory.createValueExpression() and ExpressionFactory.createMethodExpression() throw a NullPointerException under the conditions stated in the javadoc.
-
coerceToTypeTest
- Throws:
Exception- Test Name:
- coerceToTypeTest
- Assertion IDs:
- EL:JAVADOC:61
- Test Strategy:
- Verify that the coerceToType() method coerces an object to a specific type according to the EL type conversion rules.
-
coerceToTypeELExceptionTest
- Throws:
Exception- Test Name:
- coerceToTypeELExceptionTest
- Assertion IDs:
- EL:JAVADOC:61; EL:JAVADOC:251
- Test Strategy:
- Verify that the coerceToType() method throws an ELException for invalid type conversions.
-