Examples of GedcomValidationFinding


Examples of org.gedcom4j.validate.GedcomValidationFinding

     * {@link GedcomValidationFinding#GedcomValidationFinding(String, Severity, Object)}
     * - nulls as parameters
     */
    @Test
    public void testGedcomValidationFinding1() {
        GedcomValidationFinding gvf = new GedcomValidationFinding(null, null,
                this);
        Assert.assertNotNull(gvf);
        Assert.assertNull(gvf.problemDescription);
        Assert.assertNull(gvf.severity);
        Assert.assertSame(this, gvf.itemWithProblem);
View Full Code Here

Examples of org.gedcom4j.validate.GedcomValidationFinding

     * {@link GedcomValidationFinding#GedcomValidationFinding(String, Severity, Object)}
     * - values for parameters
     */
    @Test
    public void testGedcomValidationFinding2() {
        GedcomValidationFinding gvf = new GedcomValidationFinding(
                "testing 1 2 3", Severity.ERROR, this);
        Assert.assertNotNull(gvf);
        Assert.assertEquals("testing 1 2 3", gvf.problemDescription);
        Assert.assertEquals(Severity.ERROR, gvf.severity);
        Assert.assertSame(this, gvf.itemWithProblem);
View Full Code Here

Examples of org.gedcom4j.validate.GedcomValidationFinding

    /**
     * Test for {@link GedcomValidationFinding#toString()}
     */
    @Test
    public void testToString() {
        GedcomValidationFinding gvf = new GedcomValidationFinding(
                "testing 1 2 3", Severity.ERROR, Integer.valueOf(4));
        Assert.assertEquals("ERROR: testing 1 2 3 (4)", gvf.toString());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.