hightide-devassist/src/test/java/io/hightide/devassist/AbstractAnnotationProcessorTest.java
/**
     * Asserts that the compilation produced results of the following
     * {@link Kind Kinds} at the given line numbers, where the <em>n</em>th kind
     * is expected at the <em>n</em>th line number.
     * <p>
     * Does not check that these is the <em>only</em> diagnostic kinds returned!
     *
     * @param expectedDiagnosticKinds
     *            the kinds of diagnostic expected
     * @param expectedLineNumbers
     *            the line numbers at which the diagnostics are expected
     * @param diagnostics
     *            the result of the compilation
     * @see #assertCompilationSuccessful(List)
     * @see #assertCompilationReturned(Kind, long, List)
     */
Asserts that the compilation produced results of the following
Kind Kinds at the given line numbers, where the nth kind
is expected at the nth line number.

Does not check that these is the only diagnostic kinds returned!


Asserts that the compilation produced results of the following Kind Kinds at the given line numbers where the nth kind is expected at the nth line number . Does not check that these is the only diagnostic kinds returned!
protected static void assertCompilationReturned(
            Kind[] expectedDiagnosticKinds, long[] expectedLineNumbers,
            List<Diagnostic<? extends JavaFileObject>> diagnostics) {
        assert ((expectedDiagnosticKinds != null) && (expectedLineNumbers != null)
                && (expectedDiagnosticKinds.length == expectedLineNumbers.length));
        for (int i = 0; i < expectedDiagnosticKinds.length; i++) {
            assertCompilationReturned(expectedDiagnosticKinds[i], expectedLineNumbers[i],
                                      diagnostics);
        }
    }
protected static void assertCompilationReturned ( Kind [ ] expectedDiagnosticKinds , long [ ] expectedLineNumbers , List < Diagnostic < ? extends JavaFileObject > > diagnostics ) { assert ( ( expectedDiagnosticKinds != null ) && ( expectedLineNumbers != null ) && ( expectedDiagnosticKinds . length == expectedLineNumbers . length ) ) ; for ( int i = 0 ; i < expectedDiagnosticKinds . length ; i ++ ) { assertCompilationReturned ( expectedDiagnosticKinds [ i ] , expectedLineNumbers [ i ] , diagnostics ) ; } }
Asserts that the compilation produced results of the following
 {@link Kind Kinds} at the given line numbers, where the <em>n</em>th kind
 is expected at the <em>n</em>th line number.
Asserts that the compilation produced results of the following { @link Kind Kinds } at the given line numbers where the <em > n< / em > th kind is expected at the <em > n< / em > th line number .