Package org.gedcom4j.model

Examples of org.gedcom4j.model.Trailer


        g.trailer = null;
        rootValidator.validate();
        assertFindingsContain(Severity.ERROR, "trailer");

        g.trailer = new Trailer();
        rootValidator.validate();
        assertNoIssues();
    }
View Full Code Here


     * Test method for
     * {@link org.gedcom4j.model.Trailer#equals(java.lang.Object)}.
     */
    @Test
    public void testEqualsObject() {
        Trailer t1 = new Trailer();
        assertEquals(t1, t1);

        Trailer t2 = new Trailer();
        assertEquals(
                "Hashcodes for trailers are always equal - they have no properties",
                t1, t2);

        assertFalse(t1.equals(null));
View Full Code Here

    /**
     * Test method for {@link org.gedcom4j.model.Trailer#hashCode()}.
     */
    @Test
    public void testHashCode() {
        Trailer t1 = new Trailer();
        Trailer t2 = new Trailer();
        assertEquals(
                "Hashcodes for trailers are always equal - they have no properties",
                t1.hashCode(), t2.hashCode());
    }
View Full Code Here

TOP

Related Classes of org.gedcom4j.model.Trailer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.