Search in sources :

Example 1 with Issue293

use of org.nutz.el.issue.Issue293 in project nutz by nutzam.

the class El2Test method testIssue293.

@Test
public void testIssue293() {
    Context context = Lang.context();
    context.set("static", new Issue293());
    context.set("a", Issue293.class);
    assertEquals("xxx", El.eval(context, "a.printParam(a.info)"));
}
Also used : Context(org.nutz.lang.util.Context) Issue293(org.nutz.el.issue.Issue293) SimpleSpeedTest(org.nutz.el.speed.SimpleSpeedTest) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Issue293 (org.nutz.el.issue.Issue293)1 SimpleSpeedTest (org.nutz.el.speed.SimpleSpeedTest)1 Context (org.nutz.lang.util.Context)1