- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for visitMethodCallExpression (0.17 sec)
-
build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt
|| current.name.endsWith("Spec") override fun shouldVisitMethod(node: MethodNode): Boolean = isIntegrationTest(node.declaringClass) override fun visitMethodCallExpression(mce: MethodCallExpression) { if (AstUtil.isMethodNamed(mce, "contains")) { checkOutputContains(mce) } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.6K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
} @Override protected boolean shouldVisitMethod(MethodNode node) { return isIntegrationTest(node.getDeclaringClass()); } @Override public void visitMethodCallExpression(MethodCallExpression mce) { if (AstUtil.isMethodNamed(mce, "contains")) { checkOutputContains(mce); } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0)