Package org.folg.gedcom.model

Examples of org.folg.gedcom.model.Person


  }

  @Test
  public void testToPerson8() throws Exception {
    // Surname with suffix
    Person dqPerson = gedcom.getPeople().get(7);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here


  }

  @Test
  public void testToPerson9() throws Exception {
    // Surname first
    Person dqPerson = gedcom.getPeople().get(8);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson10() throws Exception {
    // Surname not specified, but extracted from name text
    Person dqPerson = gedcom.getPeople().get(9);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson11() throws Exception {
    // Given name only
    Person dqPerson = gedcom.getPeople().get(10);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson12() throws Exception {
    // Empty full text
    Person dqPerson = gedcom.getPeople().get(11);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson13() throws Exception {
    // Empty surname at first
    Person dqPerson = gedcom.getPeople().get(12);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson14() throws Exception {
    // Empty surname at first
    Person dqPerson = gedcom.getPeople().get(13);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson15() throws Exception {
    // Empty surname at first
    Person dqPerson = gedcom.getPeople().get(14);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson16() throws Exception {
    // Comma separated name part
    Person dqPerson = gedcom.getPeople().get(15);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

  }

  @Test
  public void testToPerson17() throws Exception {
    // Case insensitive tags
    Person dqPerson = gedcom.getPeople().get(16);
    TestConversionResult result = new TestConversionResult();
    PersonMapper mapper = new PersonMapper();

    mapper.toPerson(dqPerson, result);
    assertNotNull(result.getPersons());
View Full Code Here

TOP

Related Classes of org.folg.gedcom.model.Person

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.