- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for shouldVisitMethod (0.11 sec)
-
build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt
*/ private fun isIntegrationTest(current: ClassNode) = current.name.endsWith("Test") || current.name.endsWith("Spec") override fun shouldVisitMethod(node: MethodNode): Boolean = isIntegrationTest(node.declaringClass) override fun visitMethodCallExpression(mce: MethodCallExpression) { if (AstUtil.isMethodNamed(mce, "contains")) {
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
*/ private boolean isIntegrationTest(ClassNode current) { return current.getName().endsWith("Test") || current.getName().endsWith("Spec"); } @Override protected boolean shouldVisitMethod(MethodNode node) { return isIntegrationTest(node.getDeclaringClass()); } @Override public void visitMethodCallExpression(MethodCallExpression mce) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0)