diff --git a/buildSrc/src/main/groovy/eclipsebuild/testing/EclipseTestResultProcessor.java b/buildSrc/src/main/groovy/eclipsebuild/testing/EclipseTestResultProcessor.java index 4b51ef12c..8656483a4 100644 --- a/buildSrc/src/main/groovy/eclipsebuild/testing/EclipseTestResultProcessor.java +++ b/buildSrc/src/main/groovy/eclipsebuild/testing/EclipseTestResultProcessor.java @@ -75,8 +75,6 @@ private void onTestRunEndedEvent(EclipseTestEvent.TestRunEnded event) { private static final Pattern ECLIPSE_TEST_NAME = Pattern.compile("(.*)\\((.*)\\)"); private void onTestStartedEvent(EclipseTestEvent.TestStarted event) { - logger.info("Test started (" + event.getTestId() + "): " + event.getTestName()); - // TODO need idGenerator String testClass = event.getTestName(); String testMethod = event.getTestName(); @@ -86,6 +84,9 @@ private void onTestStartedEvent(EclipseTestEvent.TestStarted event) { testMethod = matcher.group(1); } + logger.info("Test started (id=" + event.getTestId() + ", testName=" + event.getTestName() + ", class=" + testClass + ", method=" + testMethod); + + String classId = getClassId(event); this.currentTestClass = testClass(classId, testClass, this.currentTestSuite); this.resultProcessor.started(this.currentTestClass, startEvent(this.currentTestSuite)); diff --git a/org.eclipse.buildship.core.test/src/main/groovy/org/eclipse/buildship/core/internal/configuration/WorkspaceConfigurationTest.groovy b/org.eclipse.buildship.core.test/src/main/groovy/org/eclipse/buildship/core/internal/configuration/WorkspaceConfigurationTest.groovy index 05982e739..67564a8cf 100644 --- a/org.eclipse.buildship.core.test/src/main/groovy/org/eclipse/buildship/core/internal/configuration/WorkspaceConfigurationTest.groovy +++ b/org.eclipse.buildship.core.test/src/main/groovy/org/eclipse/buildship/core/internal/configuration/WorkspaceConfigurationTest.groovy @@ -10,6 +10,9 @@ package org.eclipse.buildship.core.internal.configuration import org.eclipse.buildship.core.internal.test.fixtures.WorkspaceSpecification + +import spock.lang.Rollup + import org.eclipse.buildship.core.GradleDistribution class WorkspaceConfigurationTest extends WorkspaceSpecification { @@ -29,6 +32,7 @@ class WorkspaceConfigurationTest extends WorkspaceSpecification { configuration.experimentalModuleSupportEnabled == false } + @Rollup def "Can save workpsace configuration"(GradleDistribution distribution, String gradleUserHome, String javaHome, boolean offlineMode, boolean buildScansEnabled, boolean autoSync, List args, List jvmArgs, boolean showConsole, boolean showExecutions, moduleSupportEnabled) { setup: WorkspaceConfiguration orignalConfiguration = configurationManager.loadWorkspaceConfiguration()