src/test/java/eu/digitisation/layout/ComponentTagTest.java
@Test
    public void testShortTag() {
        System.out.println("shortTag");
        ComponentTag tag = ComponentTag.valueOf(FileType.PAGE, "TextRegion");
        String expResult = "TextRegion";
        String result = ComponentTag.shortTag(tag);
        assertEquals(expResult, result);
    }
/**
     * Test of shortTag method, of class ComponentTag.
     */
Test of shortTag method, of class ComponentTag.
Test of shortTag method of class ComponentTag .
@Test
    public void testShortTag() {
        System.out.println("shortTag");
        ComponentTag tag = ComponentTag.valueOf(FileType.PAGE, "TextRegion");
        String expResult = "TextRegion";
        String result = ComponentTag.shortTag(tag);
        assertEquals(expResult, result);
    }
@ Test public void testShortTag ( ) { System . out . println ( "shortTag" ) ; ComponentTag tag = ComponentTag . valueOf ( FileType . PAGE , "TextRegion" ) ; String expResult = "TextRegion" ; String result = ComponentTag . shortTag ( tag ) ; assertEquals ( expResult , result ) ; }
Test of shortTag method, of class ComponentTag.
Test of shortTag method of class ComponentTag .