Home | History | Annotate | Download | only in junit

Lines Matching refs:configuration

46  * Run configuration that can execute JUnit tests on an Android platform.
61 protected void doLaunch(final ILaunchConfiguration configuration, final String mode,
66 String runner = getRunner(project, configuration, manifestData);
86 junitLaunchInfo.setTestClass(getTestClass(configuration));
87 junitLaunchInfo.setTestPackage(getTestPackage(configuration));
88 junitLaunchInfo.setTestMethod(getTestMethod(configuration));
115 * Returns the test package stored in the launch configuration, or <code>null</code> if not
118 * @param configuration the {@link ILaunchConfiguration} to retrieve the test package info from
121 private String getTestPackage(ILaunchConfiguration configuration) {
124 JUnitLaunchConfigurationConstants.ATTR_TEST_CONTAINER, configuration);
136 * Returns the test class stored in the launch configuration.
138 * @param configuration the {@link ILaunchConfiguration} to retrieve the test class info from
141 private String getTestClass(ILaunchConfiguration configuration) {
143 configuration);
147 * Returns the test method stored in the launch configuration.
149 * @param configuration the {@link ILaunchConfiguration} to retrieve the test method info from
152 private String getTestMethod(ILaunchConfiguration configuration) {
154 configuration);
160 * If a runner is stored in the given <code>configuration</code>, will return that.
166 * @param configuration the {@link ILaunchConfiguration} for the launch
172 private String getRunner(IProject project, ILaunchConfiguration configuration,
175 String runner = getRunnerFromConfig(configuration);
201 private String getRunnerFromConfig(ILaunchConfiguration configuration) throws CoreException {
202 return getStringLaunchAttribute(ATTR_INSTR_NAME, configuration);
206 * Helper method to retrieve a string attribute from the launch configuration
209 * @param configuration the {@link ILaunchConfiguration} to retrieve the attribute from
213 ILaunchConfiguration configuration) {
215 String attrValue = configuration.getAttribute(attributeName, EMPTY_STRING);
230 * @param config the launch configuration to modify