@Test
    void testInvalidXSLT() {
        // Check none passed.
        List<Meta> cooked = metaService.find(FindMetaCriteria.createWithType(StreamTypeNames.RAW_EVENTS)).getValues();
        assertThat(cooked.size())
                .isEqualTo(0);

        // Create a store.
        createStore(INVALID_DATA, REFERENCE_DATA, INVALID_XSL);

        // Process the store sequentially.
        final List<ProcessorResult> results = processAll();

        // Check we have some raw events.
        final List<Meta> raw = metaService.find(FindMetaCriteria.createWithType(StreamTypeNames.RAW_EVENTS))
                .getValues();
        assertThat(raw.size())
                .isEqualTo(NO_OF_EVENT_FILES);

        // Check all failed.
        cooked = metaService.find(FindMetaCriteria.createWithType(StreamTypeNames.EVENTS)).getValues();
        assertThat(cooked.size())
                .isEqualTo(0);

        assertThat(results.size())
                .isEqualTo(13);

        int errors = 0;
        for (final ProcessorResult result : results) {
            errors += result.getMarkerCount(Severity.ERROR, Severity.FATAL_ERROR);
        }
        assertThat(errors)
                .isEqualTo(10);
    }
Tests that invalid xslt causes all tasks to fail.
stroom-app/src/test/java/stroom/pipeline/task/TestTranslationTaskFactory.java