Package org.nasutekds.server.replication.plugin

Examples of org.nasutekds.server.replication.plugin.EntryHistorical


  public void addAndAddSingle() throws Exception
  {
    Entry entry = initializeEntry();

    // load historical from the entry
    EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry);

    /*
     * simulate a add of the description attribute done at time t10
     */
    testModify(entry, hist, DISPLAYNAME, ModificationType.ADD,
View Full Code Here


  public void addDelAddSingle() throws Exception
  {
    Entry entry = initializeEntry();

    // load historical from the entry
    EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry);

    /*
     * simulate a add of the description attribute done at time t1
     */
    testModify(entry, hist, DISPLAYNAME, ModificationType.ADD,
View Full Code Here

  public void addAddDelSingle() throws Exception
  {
    Entry entry = initializeEntry();

    // load historical from the entry
    EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry);

    /*
     * simulate a add of the description attribute done at time t1
     */
    testModify(entry, hist, DISPLAYNAME, ModificationType.ADD,
View Full Code Here

     * works  by encoding decoding and checking that the result is the same
     * as the initial value.
     */
    entry.removeAttribute(historicalAttrType);
    entry.addAttribute(hist.encodeAndPurge(), null);
    EntryHistorical hist2 = EntryHistorical.newInstanceFromEntry(entry);
    assertEquals(hist2.encodeAndPurge().toString(), hist.encodeAndPurge().toString());

    return mods;
  }
View Full Code Here

TOP

Related Classes of org.nasutekds.server.replication.plugin.EntryHistorical

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.