Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertHasCause (0.12 sec)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

                && objectExpr.name == "result"
            ) {
                val arg = AstUtil.getNodeText(call.arguments, sourceCode)
                addViolation(call, "Should use outputContains($arg) or failure.assertHasCause($arg) instead")
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

                String arg = AstUtil.getNodeText(call.getArguments(), getSourceCode());
                addViolation(call, "Should use outputContains(" + arg + ") or failure.assertHasCause(" + arg + ") instead");
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
Back to top