public class ExpressionsTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.apache.shindig.expressions.Expressions |
expressions |
| Constructor and Description |
|---|
ExpressionsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addVariable(String key,
Object value) |
void |
arraySupport() |
void |
booleanCoercionOfBooleans() |
void |
booleanCoercionOfNull() |
void |
booleanCoercionOfNumbers() |
void |
booleanCoercionOfStrings() |
<T> T |
evaluate(String expression,
Class<T> type) |
void |
iterableCoercionOfCollection() |
void |
iterableCoercionOfJSONArray() |
void |
iterableCoercionOfJSONObjectWithListProperty() |
void |
iterableCoercionOfJSONObjectWithoutListProperty() |
void |
iterableCoercionOfNull() |
void |
iterableCoercionOfScalar() |
void |
jsonArrayCoercion() |
void |
jsonArrayCoercionOfStatic() |
void |
jsonArraySupport() |
void |
jsonObjectSupport() |
void |
listSupport() |
void |
mapSupport() |
void |
missingJsonSubproperty() |
void |
missingMapSubproperty() |
void |
missingTopLevelVariable() |
void |
setUp() |
public void setUp()
public void arraySupport()
public void listSupport()
public void mapSupport()
public void jsonArrayCoercionOfStatic()
throws Exception
Exceptionpublic void booleanCoercionOfBooleans()
throws Exception
Exceptionpublic void iterableCoercionOfCollection()
throws Exception
Exceptionpublic void iterableCoercionOfJSONArray()
throws Exception
Exceptionpublic void iterableCoercionOfJSONObjectWithListProperty()
throws Exception
Exceptionpublic void iterableCoercionOfJSONObjectWithoutListProperty()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.