public void verifyTextInLog()

in src/main/java/org/apache/maven/shared/verifier/Verifier.java [350:363]


    public void verifyTextInLog(String text) throws VerificationException {
        List<String> lines = loadFile(getLogFile(), false);

        boolean result = false;
        for (String line : lines) {
            if (stripAnsi(line).contains(text)) {
                result = true;
                break;
            }
        }
        if (!result) {
            throw new VerificationException("Text not found in log: " + text);
        }
    }