Package com.sun.jini.qa.harness

Examples of com.sun.jini.qa.harness.Test


        Subject subject = SubjectProvider
            .getSubject("transport.KerberosClient");
        String wrappedTest = sysConfig
            .getStringConfigVal("jeri.transport.wrappedTest",null);
        Class c = Class.forName(wrappedTest);
        final Test test = (Test) c.newInstance();
        test.setup(sysConfig);
        Subject.doAs(subject,
            new PrivilegedExceptionAction(){
                public Object run() throws Exception {
                    test.run();
                    return null;
                }
        });
        test.tearDown();
    }
View Full Code Here

TOP

Related Classes of com.sun.jini.qa.harness.Test

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.