Code example for Manifest

Methods: getAttributes

0
                namedEntryAttributes.size());
    } 
 
    /** 
     * @tests java.util.jar.Manifest#clear() 
     */ 
    @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            notes = "", 
            method = "clear", 
            args = {} 
    ) 
    public void test_clear() { 
        m2.clear();
        assertTrue("Should have no entries", m2.getEntries().isEmpty());
        assertTrue("Should have no main attributes", m2.getMainAttributes()
                .isEmpty());
    } 
 
    @TestTargetNew( 
            level = TestLevel.COMPLETE,