Examples of EntryHistorical


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

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

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

    /*
     * simulate a modify-replace done at time t10
     */
    testModify(entry, hist, DESCRIPTION, ModificationType.REPLACE,
View Full Code Here

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

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

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

    /*
     * simulate a modify-replace done at time t10
     */
    testModify(entry, hist, DISPLAYNAME, ModificationType.REPLACE,
View Full Code Here

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

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

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

    /*
     * simulate a replace with null done at time t3
     */
    testModify(entry, hist, DISPLAYNAME, ModificationType.REPLACE, null, 3,
View Full Code Here

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

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

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

    /*
     * simulate a modify-add done at time t10
     */
    testModify(entry, hist, DESCRIPTION, ModificationType.ADD,
View Full Code Here

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

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

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

    /*
     * simulate a modify-add done at time 2
     */
    testModify(entry, hist, DISPLAYNAME, ModificationType.ADD,
View Full Code Here

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

  {
    Entry entry = initializeEntry();


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

    /*
     * simulate a delete of the whole description attribute done at time
     * t10
     */
 
View Full Code Here

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

    List<AttributeValue> duplicateValues = new LinkedList<AttributeValue>();
    entry.addAttribute(builder.toAttribute(), duplicateValues);


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

    /*
     * simulate a delete of the description attribute value "value1"
     * done at time t1
     */
 
View Full Code Here

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

    List<AttributeValue> duplicateValues = new LinkedList<AttributeValue>();
    entry.addAttribute(builder.toAttribute(), duplicateValues);


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

    /*
     * simulate a delete of the description attribute values
     *  "value1" and "value2" done at time t1
     */
 
View Full Code Here

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

    List<AttributeValue> duplicateValues = new LinkedList<AttributeValue>();
    Attribute attribute = Attributes.create(EMPLOYEENUMBER, "value1");
    entry.addAttribute(attribute, duplicateValues);

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

    /*
     * simulate a delete of attribute employeenumber.
     */
    testModify(
View Full Code Here

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

    List<AttributeValue> duplicateValues = new LinkedList<AttributeValue>();
    Attribute attribute = Attributes.create(EMPLOYEENUMBER, "value1");
    entry.addAttribute(attribute, duplicateValues);

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

    /*
     * now simulate a delete of value "value1"
     */
    testModify(
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.