mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
Better readable rule names: readJsonRule
This commit is contained in:
parent
da1969e089
commit
7ba695e767
@ -19,7 +19,7 @@ import static org.junit.Assert.assertThat
|
||||
class GithubPublishReleaseTest extends BasePiperTest {
|
||||
private JenkinsStepRule stepRule = new JenkinsStepRule(this)
|
||||
private JenkinsLoggingRule loggingRule = new JenkinsLoggingRule(this)
|
||||
private JenkinsReadJsonRule jrjr = new JenkinsReadJsonRule(this)
|
||||
private JenkinsReadJsonRule readJsonRule = new JenkinsReadJsonRule(this)
|
||||
private ExpectedException thrown = ExpectedException.none()
|
||||
|
||||
@Rule
|
||||
@ -27,7 +27,7 @@ class GithubPublishReleaseTest extends BasePiperTest {
|
||||
.getCommonRules(this)
|
||||
.around(new JenkinsReadYamlRule(this))
|
||||
.around(loggingRule)
|
||||
.around(jrjr)
|
||||
.around(readJsonRule)
|
||||
.around(stepRule)
|
||||
.around(thrown)
|
||||
|
||||
|
@ -13,13 +13,13 @@ import static org.junit.Assert.assertTrue
|
||||
|
||||
class DlangArtifactVersioningTest extends BasePiperTest{
|
||||
|
||||
JenkinsReadJsonRule jrjr = new JenkinsReadJsonRule(this, 'test/resources/versioning/DlangArtifactVersioning/')
|
||||
JenkinsReadJsonRule readJsonRule = new JenkinsReadJsonRule(this, 'test/resources/versioning/DlangArtifactVersioning/')
|
||||
JenkinsWriteJsonRule jwjr = new JenkinsWriteJsonRule(this)
|
||||
|
||||
@Rule
|
||||
public RuleChain ruleChain = Rules
|
||||
.getCommonRules(this)
|
||||
.around(jrjr)
|
||||
.around(readJsonRule)
|
||||
.around(jwjr)
|
||||
|
||||
@Test
|
||||
|
@ -13,13 +13,13 @@ import static org.junit.Assert.assertTrue
|
||||
|
||||
class NpmArtifactVersioningTest extends BasePiperTest{
|
||||
|
||||
JenkinsReadJsonRule jrjr = new JenkinsReadJsonRule(this, 'test/resources/versioning/NpmArtifactVersioning/')
|
||||
JenkinsReadJsonRule readJsonRule = new JenkinsReadJsonRule(this, 'test/resources/versioning/NpmArtifactVersioning/')
|
||||
JenkinsWriteJsonRule jwjr = new JenkinsWriteJsonRule(this)
|
||||
|
||||
@Rule
|
||||
public RuleChain ruleChain = Rules
|
||||
.getCommonRules(this)
|
||||
.around(jrjr)
|
||||
.around(readJsonRule)
|
||||
.around(jwjr)
|
||||
|
||||
@Test
|
||||
|
@ -13,13 +13,13 @@ import static org.junit.Assert.assertTrue
|
||||
|
||||
class SbtArtifactVersioningTest extends BasePiperTest{
|
||||
|
||||
JenkinsReadJsonRule jrjr = new JenkinsReadJsonRule(this, 'test/resources/versioning/SbtArtifactVersioning/')
|
||||
JenkinsReadJsonRule readJsonRule = new JenkinsReadJsonRule(this, 'test/resources/versioning/SbtArtifactVersioning/')
|
||||
JenkinsWriteJsonRule jwjr = new JenkinsWriteJsonRule(this)
|
||||
|
||||
@Rule
|
||||
public RuleChain ruleChain = Rules
|
||||
.getCommonRules(this)
|
||||
.around(jrjr)
|
||||
.around(readJsonRule)
|
||||
.around(jwjr)
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user