Examples of IContainerEntry


Examples of org.eclipse.ecf.storage.IContainerEntry

    return containerStore.store(containerAdapter);
  }

  public ID testStoreContainer() throws Exception {
    final IContainer container = createContainer();
    final IContainerEntry containerEntry = storeContainer(getStorableContainerAdapter(container));
    final ISecurePreferences prefs = containerEntry.getPreferences();
    assertNotNull(prefs);
    return container.getID();
  }
View Full Code Here

Examples of org.eclipse.ecf.storage.IContainerEntry

  public void testAndRetrieveStoreContainerByID() throws Exception {
    final ID containerID = testStoreContainer();

    // Now retrieve from container store with given ID
    final IContainerEntry containerEntry = containerStore.retrieve(containerID);
    assertNotNull(containerEntry);
    final ID containerIDa = containerEntry.getContainerID();
    assertNotNull(containerIDa);
    assertTrue(containerIDa.equals(containerID));

  }
View Full Code Here

Examples of org.eclipse.ecf.storage.IContainerEntry

  public void testAndRetrieveStoreContainerByIDAndCreateContainer() throws Exception {
    final ID containerID = testStoreContainer();

    // Now retrieve from container store with given ID
    final IContainerEntry containerEntry = containerStore.retrieve(containerID);
    assertNotNull(containerEntry);

    final IContainer containera = containerEntry.createContainer();

    final ID containerIDa = containera.getID();
    assertNotNull(containerIDa);
    assertTrue(containerIDa.equals(containerID));
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.