Class TestClient


  • public class TestClient
    extends java.lang.Object
    A test script that plays the role of the client. TODO: needs to support clients that run inside a container (for testing Transaction)
    Author:
    Kohsuke Kawaguchi
    • Constructor Summary

      Constructors 
      Constructor Description
      TestClient​(TestDescriptor parent, com.sun.istack.test.VersionProcessor applicableVersions, TransportSet supportedTransport, Script script, boolean sideEffectFree)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • applicableVersions

        @NotNull
        public final com.sun.istack.test.VersionProcessor applicableVersions
        Versions to which this client test applies.
      • script

        @NotNull
        public final Script script
        The BeanShell script to be executed.
      • sideEffectFree

        public final boolean sideEffectFree
        If true, it indicates that this test doesn't leave any side-effect on the client or the server. With a proper option, multiple instances of the same test will run in parallel to test the behaviors in the concurrent environment.
      • supportedTransport

        public final TransportSet supportedTransport
    • Constructor Detail

      • TestClient

        public TestClient​(TestDescriptor parent,
                          com.sun.istack.test.VersionProcessor applicableVersions,
                          TransportSet supportedTransport,
                          Script script,
                          boolean sideEffectFree)