Examples of SurrogateImpl


Examples of ch.agent.crnickl.impl.SurrogateImpl

  /**
   * Bug 4424 2013-03-16
   */
  public void test14() {
    try {
      Surrogate k = new SurrogateImpl((DatabaseBackend)db, DBObjectType.CHRONICLE, id(42));
      db.getSeries(k);
      expectException();
    } catch (Exception e) {
      assertException(e, D.D02102);
    }
View Full Code Here

Examples of ch.agent.crnickl.impl.SurrogateImpl

  /**
   * Bug 4424 2013-03-16
   */
  public void test15() {
    try {
      Surrogate k = new SurrogateImpl((DatabaseBackend)db, DBObjectType.CHRONICLE, id(42));
      db.getSchema(k);
      expectException();
    } catch (Exception e) {
      assertException(e, D.D02102);
    }
View Full Code Here

Examples of ch.agent.crnickl.impl.SurrogateImpl

  /**
   * Bug 4424 2013-03-16
   */
  public void test16() {
    try {
      Surrogate k = new SurrogateImpl((DatabaseBackend)db, DBObjectType.CHRONICLE, id(42));
      db.getProperty(k);
      expectException();
    } catch (Exception e) {
      assertException(e, D.D02102);
    }
View Full Code Here

Examples of ch.agent.crnickl.impl.SurrogateImpl

  /**
   * Bug 4424 2013-03-16
   */
  public void test17() {
    try {
      Surrogate k = new SurrogateImpl((DatabaseBackend)db, DBObjectType.CHRONICLE, id(42));
      db.getValueType(k);
      expectException();
    } catch (Exception e) {
      assertException(e, D.D02102);
    }
View Full Code Here

Examples of ch.agent.crnickl.impl.SurrogateImpl

  /**
   * Bug 4424 2013-03-16
   */
  public void test18() {
    try {
      Surrogate k = new SurrogateImpl((DatabaseBackend)db, DBObjectType.SCHEMA, id(42));
      db.getChronicle(k);
      expectException();
    } catch (Exception e) {
      assertException(e, D.D02102);
    }
View Full Code Here

Examples of org.eclipse.osgi.internal.composite.SurrogateImpl

    if ((bundledata.getType() & BundleData.TYPE_FRAGMENT) > 0)
      result = new BundleFragment(bundledata, framework);
    else if ((bundledata.getType() & BundleData.TYPE_COMPOSITEBUNDLE) > 0)
      result = new CompositeImpl(bundledata, framework);
    else if ((bundledata.getType() & BundleData.TYPE_SURROGATEBUNDLE) > 0)
      result = new SurrogateImpl(bundledata, framework);
    else
      result = new BundleHost(bundledata, framework);
    if (setBundle)
      bundledata.setBundle(result);
    return result;
View Full Code Here

Examples of org.eclipse.osgi.internal.composite.SurrogateImpl

    if ((bundledata.getType() & BundleData.TYPE_FRAGMENT) > 0)
      result = new BundleFragment(bundledata, framework);
    else if ((bundledata.getType() & BundleData.TYPE_COMPOSITEBUNDLE) > 0)
      result = new CompositeImpl(bundledata, framework);
    else if ((bundledata.getType() & BundleData.TYPE_SURROGATEBUNDLE) > 0)
      result = new SurrogateImpl(bundledata, framework);
    else
      result = new BundleHost(bundledata, framework);
    if (setBundle)
      bundledata.setBundle(result);
    return result;
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.