Code example for Manifest

Methods: getEntries

0
            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, 
            notes = "", 
            method = "clone", 
            args = {} 
    ) 
    public void test_clone() throws IOException { 
        Manifest emptyManifest = new Manifest();
        Manifest emptyClone = (Manifest) emptyManifest.clone();
        assertTrue("Should have no entries", emptyClone.getEntries().isEmpty());
        assertTrue("Should have no main attributes", emptyClone
                .getMainAttributes().isEmpty());