Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addViolation (0.07 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            for (BuilderProblem problem : list) {
                addViolation(problems, Severity.valueOf(problem.getSeverity().name()), problem.getMessage());
            }
        }
    
        // ----------------------------------------------------------------------
        // Field validation
        // ----------------------------------------------------------------------
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

            if (objectExpr is VariableExpression
                && 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)
  3. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

            if (objectExpr instanceof VariableExpression && ((VariableExpression) objectExpr).getName().equals("result")) {
                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