aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2016-12-31 17:37:13 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2016-12-31 17:37:13 +0000
commit68c982c48f75f121112b780c829e000acc036f0c (patch)
tree865f0e7b13d7f9511b4f0a9e777bfd621383e8b1 /src/test/java
parent1260b3bff1855161ec5f129695cb690356d72ca8 (diff)
downloadjackcess-68c982c48f75f121112b780c829e000acc036f0c.tar.gz
jackcess-68c982c48f75f121112b780c829e000acc036f0c.zip
change evaluation context
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1076 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java b/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java
index 3109ea4..ffcf901 100644
--- a/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java
@@ -264,14 +264,14 @@ public class ExpressionatorTest extends TestCase
private static Object eval(String exprStr) {
Expression expr = Expressionator.parse(
Expressionator.Type.DEFAULT_VALUE, exprStr, new TestContext());
- return expr.evalDefault();
+ return expr.eval(null);
}
private static void evalFail(String exprStr, Class<? extends Exception> failure) {
Expression expr = Expressionator.parse(
Expressionator.Type.DEFAULT_VALUE, exprStr, new TestContext());
try {
- expr.evalDefault();
+ expr.eval(null);
fail(failure + " should have been thrown");
} catch(Exception e) {
assertTrue(failure.isInstance(e));