blob: eccc74a48686b8e29b421d65fca5aea472033af0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*
* Copyright (C) 2009-2014 SonarSource SA
* All rights reserved
* mailto:contact AT sonarsource DOT com
*/
package batch.suite;
import com.sonar.orchestrator.Orchestrator;
import org.junit.ClassRule;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import util.ItUtils;
@RunWith(Suite.class)
@Suite.SuiteClasses({
ExtensionLifecycleTest.class, LinksTest.class, MavenTest.class, ProjectBuilderTest.class, ProjectExclusionsTest.class,
TempFolderTest.class, MultiLanguageTest.class, IssueJsonReportTest.class, ProjectProvisioningTest.class, BatchTest.class,
IssuesModeTest.class, SettingsEncryptionTest.class
})
public class BatchTestSuite {
@ClassRule
public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv()
.addPlugin(ItUtils.xooPlugin())
.setOrchestratorProperty("javaVersion", "LATEST_RELEASE").addPlugin("java")
.setContext("/")
// Used by SettingsEncryptionTest
.addPlugin(ItUtils.pluginArtifact("settings-encryption-plugin"))
// Used by IssuesModeTest
.addPlugin(ItUtils.pluginArtifact("access-secured-props-plugin"))
// used by TempFolderTest
.addPlugin(ItUtils.pluginArtifact("batch-plugin"))
// used by ExtensionLifecycleTest
.addPlugin(ItUtils.pluginArtifact("extension-lifecycle-plugin"))
// used by ProjectBuilderTest
.addPlugin(ItUtils.pluginArtifact("project-builder-plugin"))
.build();
}
|