MCPcopy Create free account
hub / github.com/apache/tomcat / assertEcho

Method assertEcho

test/org/apache/jasper/compiler/TestCompiler.java:189–191  ·  view source on GitHub ↗

Assertion for text printed by tags:echo

(String result, String expected)

Source from the content-addressed store, hash-verified

187
188 /** Assertion for text printed by tags:echo */
189 private static void assertEcho(String result, String expected) {
190 Assert.assertTrue(result, result.indexOf("<p>" + expected + "</p>") > 0);
191 }
192}

Callers 9

testBug49726aMethod · 0.95
testBug49726bMethod · 0.95
testBug53257aMethod · 0.95
testBug53257bMethod · 0.95
testBug53257cMethod · 0.95
testBug53257dMethod · 0.95
testBug53257eMethod · 0.95
testBug53257fMethod · 0.95
testBug53257gMethod · 0.95

Calls 1

indexOfMethod · 0.45

Tested by

no test coverage detected