Skip to content

Commit 63b7cec

Browse files
committed
Attribution. Fix broken test. Closes #568
1 parent 462bc81 commit 63b7cec

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

History.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [Git master](https://github.com/cucumber/cucumber-jvm/compare/v1.1.4...master)
22

3+
* [JUnit] Inherit Information of @Cucumber.Options ([#568](https://github.com/cucumber/cucumber-jvm/issues/568) Klaus Bayrhammer)
34
* [JUnit] JUnitFormatter does not put required name attribute in testsuite root element ([#480](https://github.com/cucumber/cucumber-jvm/pull/480), [#477](https://github.com/cucumber/cucumber-jvm/issues/477) ericmaxwell2003)
45
* [Core] Output embedded text in HTML report ([#501](https://github.com/cucumber/cucumber-jvm/pull/501) Tom Dunstan)
56
* [Core] Fix for Lexing Error message not useful ([#519](https://github.com/cucumber/cucumber-jvm/issues/519), [#523](https://github.com/cucumber/cucumber-jvm/pull/523) Alpar Gal)

junit/src/test/java/cucumber/runtime/junit/RuntimeOptionsFactoryTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void override_monochrome_flag_from_baseclass() {
113113
RuntimeOptionsFactory runtimeOptionsFactory = new RuntimeOptionsFactory(SubClassWithMonoChromeTrue.class);
114114
RuntimeOptions runtimeOptions = runtimeOptionsFactory.create();
115115

116-
assertFalse(runtimeOptions.isMonochrome());
116+
assertTrue(runtimeOptions.isMonochrome());
117117
}
118118

119119

@@ -166,12 +166,12 @@ static class BaseClassWithFormatter {
166166
// empty
167167
}
168168

169-
@Cucumber.Options(monochrome = false)
169+
@Cucumber.Options(monochrome = true)
170170
static class SubClassWithMonoChromeTrue extends BaseClassWithMonoChromeFalse {
171171
// empty
172172
}
173173

174-
@Cucumber.Options(monochrome = true)
174+
@Cucumber.Options(monochrome = false)
175175
static class BaseClassWithMonoChromeFalse {
176176
// empty
177177
}

0 commit comments

Comments
 (0)