src/test/java/de/tuebingen/uni/sfs/lapps/core/converter/impl/LifToTcfSentenceLayerConversionTest.java
/**
     * Test of lif to tcf toSentence layer conversion. This is a test when
     * sentence layer but no token layer. It throws exception
     */
Test of lif to tcf toSentence layer conversion. This is a test when
sentence layer but no token layer. It throws exception
Test of lif to tcf toSentence layer conversion . This is a test when sentence layer but no token layer . It throws exception
@Test(expected = ConversionException.class)
    public void testLayerConversion_whenOnlySentenceLayer() throws Exception {
        System.out.println("testLayerConversion_whenOnlySentenceLayer");
        InputStream input = this.getClass().getResourceAsStream(SENTENCE_LAYER_NO_TOKEN_LAYER_LIF_INPUT);
        InputStream expectedOutput = this.getClass().getResourceAsStream(SENTENCE_LAYER_TCF_EXPECTED_OUTPUT);
        LifToTcfConversionAssertUtils.lifToTcfAssertEqual(input, expectedOutput);
    }
@ Test ( expected = ConversionException . class ) public void testLayerConversion_whenOnlySentenceLayer ( ) throws Exception { System . out . println ( "testLayerConversion_whenOnlySentenceLayer" ) ; InputStream input = this . getClass ( ) . getResourceAsStream ( SENTENCE_LAYER_NO_TOKEN_LAYER_LIF_INPUT ) ; InputStream expectedOutput = this . getClass ( ) . getResourceAsStream ( SENTENCE_LAYER_TCF_EXPECTED_OUTPUT ) ; LifToTcfConversionAssertUtils . lifToTcfAssertEqual ( input , expectedOutput ) ; }
Test of lif to tcf toSentence layer conversion.
Test of lif to tcf toSentence layer conversion .