Package com.sun.jini.test.spec.activation.util

Examples of com.sun.jini.test.spec.activation.util.FakeExporter


          logger.log(Level.FINEST, "return case: " + result);
          for (int j = 0; j < cases.length; j++) {
            if (cases[j]) {
                exporter = null;
            } else {
                exporter = new FakeExporter(logger);
            }
            logger.log(Level.FINEST, "exporter: " + exporter);

            for (int k = 0; k < cases.length; k++) {
                if (cases[k]) {
View Full Code Here


     * This method performs all actions mentioned in class description.
     */
    public void run() throws Exception {
        // action step 1
        ActivationID aid = new FakeActivationID(logger);
        Exporter exporter = new FakeExporter(logger);
        ActivationExporter activationExporter =
                new ActivationExporter(aid, exporter);

        // action step 2
        // action step 3
        aid = new FakeActivationID(logger);

        try {
            activationExporter = new ActivationExporter(aid, null);
            throw new TestException("NullPointerException should be thrown");
        } catch (NullPointerException ignore) {
            // action step 4
        }

        // action step 5
        exporter = new FakeExporter(logger);

        try {
            activationExporter = new ActivationExporter(null, exporter);
            throw new TestException("NullPointerException should be thrown");
        } catch (NullPointerException ignore) {
View Full Code Here

     * This method performs all actions mentioned in class description.
     */
    public void run() throws Exception {
        // action step 1
        ActivationID aid = new FakeActivationID(logger);
        Exporter exporter = new FakeExporter(logger);
        ActivationExporter activationExporter = new ActivationExporter(aid,
                exporter);
        // action step 2
        // action step 3

View Full Code Here

    /**
     * This method performs all actions mentioned in class description.
     */
    public void run() throws Exception {
        ActivationID aid = new FakeActivationID(logger);
        Exporter exporter = new FakeExporter(logger);
        ActivationExporter activationExporter =
          new ActivationExporter(aid, exporter);
        Remote fup = new MethodSetProxy(logger);
        Remote result = activationExporter.export(fup);
        assertion(result instanceof Proxy);
View Full Code Here

     * This method performs all actions mentioned in class description.
     */
    public void run() throws Exception {
        // action step 1
        ActivationID aid = new FakeActivationID(logger);
        Exporter exporter = new FakeExporter(logger);
        ActivationExporter activationExporter =
                new ActivationExporter(aid, exporter);

        // action step 2
        // action step 3
View Full Code Here

    /**
     * This method performs all actions mentioned in class description.
     */
    public void run() throws Exception {
        ActivationID aid = new FakeActivationID(logger);
        Exporter exporter = new FakeExporter(logger);
        ActivationExporter activationExporter =
          new ActivationExporter(aid, exporter);
        Remote fup = new MethodSetProxy(logger);
        Remote result = activationExporter.export(fup);
        assertion(result instanceof Proxy);
View Full Code Here

TOP

Related Classes of com.sun.jini.test.spec.activation.util.FakeExporter

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.