public class SimpleJUnitTestRun extends SimpleJavaApplication implements JUnitTestRun
JavaApplication that runs
one or more JUnit tests.
Copyright (c) 2016. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
JUnitTestRun.MetaClassRemoteChannel.AcknowledgeWhen, RemoteChannel.Injectconsole, displayName, optionsByType, platform, processJAVA_HOME, JAVA_NET_PREFER_IPV4_STACK, JAVA_NET_PREFER_IPV6_STACK, JAVA_RMI_SERVER_HOSTNAME| Constructor and Description |
|---|
SimpleJUnitTestRun(Platform platform,
JavaApplicationProcess process,
com.oracle.bedrock.OptionsByType optionsByType)
Create a
SimpleJUnitTestRun application. |
addListener, getProxyFor, getSystemProperties, getSystemProperty, raise, removeListener, submit, submitclose, close, exitValue, getDefaultTimeout, getId, getName, getOptions, getPlatform, isOperational, waitForadd, add, get, getInstancesOf, has, remove, removeAllFeaturesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProxyFor, getSystemProperties, getSystemProperty, invokeclose, close, exitValue, getDefaultTimeout, getId, getName, getOptions, getPlatform, isOperational, waitForadd, add, get, has, removeaddListener, get, raise, removeListener, submit, submitpublic SimpleJUnitTestRun(Platform platform, JavaApplicationProcess process, com.oracle.bedrock.OptionsByType optionsByType)
SimpleJUnitTestRun application.platform - the Platform on which the Application was launchedprocess - the underlying ApplicationProcess representing the ApplicationoptionsByType - the OptionsByType used to launch the Applicationpublic List<JUnitTestListener> getRunListeners()
List of the JUnitTestListeners
that have been added to this application.List of the JUnitTestListeners
that have been added to this applicationpublic void startTests(com.oracle.bedrock.OptionsByType optionsByType)
JUnitTestRunstartTests in interface JUnitTestRunoptionsByType - the OptionsByType controlling the test executionprotected void fireJUnitStarted(JUnitTestListener.Event event)
protected void fireJUnitCompleted(JUnitTestListener.Event event)
protected void fireTestRunStarted(JUnitTestListener.Event event)
protected void fireTestRunFinished(JUnitTestListener.Event event)
protected void fireTestClassStarted(JUnitTestListener.Event event)
protected void fireTestClassFinished(JUnitTestListener.Event event)
protected void fireTestStarted(JUnitTestListener.Event event)
protected void fireTestSucceeded(JUnitTestListener.Event event)
protected void fireTestIgnored(JUnitTestListener.Event event)
protected void fireTestFailure(JUnitTestListener.Event event)
protected void fireTestError(JUnitTestListener.Event event)
protected void fireTestAssumptionFailure(JUnitTestListener.Event event)
Copyright © 2017. All rights reserved.