Examples of Gedcom


Examples of org.gedcom4j.model.Gedcom

     */
    @Test
    public void testWriteFileWithName() throws IOException, GedcomWriterException {
        String fn = System.getProperty("java.io.tmpdir") + System.getProperty("file.separator")
                + "gedcomfilewritertest.ged";
        Gedcom g = new Gedcom();
        g.submission = new Submission("@SUBN0001@");
        g.header.submission = g.submission;
        Submitter s = new Submitter();
        s.xref = "@SUBM0001@";
        s.name = new StringWithCustomTags("Joe Tester");
View Full Code Here

Examples of org.gedcom4j.model.Gedcom

    /**
     * Test for personal name variation validator
     */
    @Test
    public void testOne() {
        Gedcom g = TestHelper.getMinimalGedcom();
        rootValidator.gedcom = g;

        Individual i = new Individual();
        i.xref = "@I00001@";
        g.individuals.put(i.xref, i);
View Full Code Here

Examples of org.gedcom4j.model.Gedcom

     */
    @Before
    public void setUp() throws IOException, GedcomParserException {
        GedcomParser gp = new GedcomParser();
        gp.load("sample/Event Tag Test.ged");
        Gedcom g = gp.gedcom;
        assertNotNull(g);
        assertTrue(gp.errors.isEmpty());
        assertEquals("Two tags had descriptions where [Y|<NULL>] belonged", 2, gp.warnings.size());
        assertFalse(g.individuals.isEmpty());
        assertEquals(1, g.individuals.size());
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.