MCPcopy Create free account
hub / github.com/apache/groovy / testMeSimple

Method testMeSimple

src/test/groovy/groovy/util/EvalTest.java:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 */
27public class EvalTest extends TestCase {
28 public void testMeSimple() throws CompilationFailedException {
29 Object result = Eval.me("10");
30 assertEquals("10", result.toString());
31 }
32
33 public void testMeWithSymbolAndObject() throws CompilationFailedException {
34 Object result = Eval.me("x", Integer.valueOf(10), "x");

Callers

nothing calls this directly

Calls 3

meMethod · 0.95
toStringMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected