Examples of test()


Examples of org.jboss.byteman.tests.auxiliary.TestAnonAuxiliary.test()

                super.test(test);
    anonInstance = this;
            }
        };

        auxiliary.test(this);

        checkOutput();
    }

    @Override
View Full Code Here

Examples of org.jboss.resteasy.cdi.injection.reverse.EJBInterface.test()

      String lookup = "ejb:/resteasy-reverse-injection-test/" + className + "!" + viewName.getName() + "?stateful";
      log.info("lookup: " + lookup);
      EJBInterface remote = EJBInterface.class.cast(context.lookup(lookup));
      log.info("remote: " + remote);
      remote.setUp(NON_CONTEXTUAL);
      Assert.assertTrue(remote.test(NON_CONTEXTUAL));
   }

   /**
    * Verifies the scopes of the EJBs used in this set of tests.
    */
 
View Full Code Here

Examples of org.jboss.resteasy.cdi.injection.reverse.StatelessEJBwithJaxRsComponentsInterface.test()

      final Context context = new InitialContext(jndiProperties);
      String name = "ejb:/resteasy-reverse-injection-test/StatelessEJBwithJaxRsComponents!" + StatelessEJBwithJaxRsComponentsInterface.class.getName();
      StatelessEJBwithJaxRsComponentsInterface remote = StatelessEJBwithJaxRsComponentsInterface.class.cast(context.lookup(name));
      log.info("remote: " + remote);
      remote.setUp(NON_CONTEXTUAL);
      Assert.assertTrue(remote.test(NON_CONTEXTUAL));
   }
  
   /**
    *  Addresses injection of JAX-RS components (BookResource, BookReader, BookWriter) into
    *  a @Dependent annotated stateful EJB3.  The target SFSB is not a contextual object,
View Full Code Here

Examples of org.jboss.test.cluster.ejb3.stateful.StatefulTimeout.test()

   }
  
   public void testTimeoutRemoval() throws Exception
   {
      StatefulTimeout sfsb = (StatefulTimeout)getInitialContext().lookup("StatefulTimeoutBean/remote");
      sfsb.test();
      Thread.sleep(5 * 1000);
     
      try
      {
         sfsb.test();
View Full Code Here

Examples of org.jboss.test.cmp2.cmrtree.ejb.Facade.test()

   public void testCascadeDelete() throws Exception
   {
      final Facade facade = FacadeUtil.getHome().create();
      facade.setup();
      facade.test(0);
   }

   public void testUpdateCMPFieldToNullOnRelatedInstance() throws Exception
   {
      final Facade facade = FacadeUtil.getHome().create();
View Full Code Here

Examples of org.jboss.test.cmp2.optimisticlock.bug1006723.testsession.TestSessionRemote.test()

      InitialContext ctx = new InitialContext();
      TestSessionRemoteHome testSessionRemoteHome = (TestSessionRemoteHome)
         PortableRemoteObject.narrow(ctx.lookup("ejb/TestSession"), TestSessionRemoteHome.class);
      TestSessionRemote testSessionRemote = testSessionRemoteHome.create();
      Long oID = testSessionRemote.setup();
      testSessionRemote.test(oID);
   }

   public void testNullLockedFields() throws Exception
   {
      Facade facade = getFacadeHome().create();
View Full Code Here

Examples of org.jboss.test.ejb.passivationcl.stateful.StatefulSession.test()

   public void testMain() throws Exception
   {
      Object ref = getInitialContext().lookup("StatefulSession");
      StatefulSessionHome home = (StatefulSessionHome) PortableRemoteObject.narrow(ref, StatefulSessionHome.class);
      StatefulSession stateful = home.create();
      stateful.test();

      int i = 5;
      while(!stateful.isPassivated())
      {
         if(i == 0)
View Full Code Here

Examples of org.jboss.test.remoting.transport.socket.ssl.serversocketrefresh.TestServer.test()

   {
      TestServer server = new SSLBisocketTestServer();
      server.setUp();
      try
      {
         server.test();
      }
      catch (Exception e)
      {
         e.printStackTrace();
      }
View Full Code Here

Examples of org.jboss.test.threading.interfaces.EJBThreads.test()

                  if (value <10) {
                     ejbTest.remove();
                  }
                  // 35% normal
                  else if (value<45) {
                     ejbTest.test();
                  }
                  // 15% business exception
                  else if (value<60) {
                     ejbTest.testBusinessException();
                  }
View Full Code Here

Examples of org.keyczar.interop.operations.Operation.test()

    this.testData = testData;
  }
 
  public void test() throws KeyczarException {
    Operation op = Operation.getOperationByName(operation, keyPath, testData);
    op.test(output, algorithm, generateOptions, testOptions);
  }
}
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.