MCPcopy Index your code
hub / github.com/apache/tomcat / doTestValid

Method doTestValid

test/org/apache/el/parser/TestAstInteger.java:42–46  ·  view source on GitHub ↗
(String value)

Source from the content-addressed store, hash-verified

40
41
42 private void doTestValid(String value) {
43 ELProcessor processor = new ELProcessor();
44 Number result = processor.eval(value);
45 Assert.assertTrue(ELSupport.equals(null, new BigInteger(value), result));
46 }
47
48
49 // Note: Testing an invalid integer would require a number larger than

Callers 2

testValidLongMethod · 0.95
testValidBigIntegerMethod · 0.95

Calls 2

evalMethod · 0.95
equalsMethod · 0.95

Tested by

no test coverage detected