private void addNotApplicableTests(Set<String> testNames, Set<Test> tests)
    {
        List<String> inTestNames = extractTestNames(tests);

        // We only add "not applicable" tests if there's at least one test since otherwise we consider that
        // there's no Parser or Renderer for the syntax.
        if (!inTestNames.isEmpty()) {
            for (String testName : testNames) {
                if (!inTestNames.contains(testName)) {
                    // Add it with a Not Applicable State!
                    Test test = new Test();
                    test.prefix = testName;
                    test.state = State.NOT_APPLICABLE;
                    tests.add(test);
                }
            }
        }
    }
private void addNotApplicableTests ( Set < String > testNames , Set < Test > tests ) { List < String > inTestNames = extractTestNames ( tests ) ; if ( ! inTestNames . isEmpty ( ) ) { for ( String testName : testNames ) { if ( ! inTestNames . contains ( testName ) ) { Test test = new Test ( ) ; test . prefix = testName ; test . state = State . NOT_APPLICABLE ; tests . add ( test ) ; } } } }
Add not applicable tests for all syntaxes, for input or output tests.

@param testNames the test names (eg "simple/bold/bold1")
@param tests the tests by syntaxes