failing Enum unit tests
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Goobi.Production | Status tracked in 1.10 | |||||
1.10 |
New
|
Undecided
|
Unassigned | |||
1.8 |
Fix Released
|
Low
|
Henning Gerhardt |
Bug Description
Undetected regression. Some Enum unit tests fail since refactoring of translation mechanism:
[junit] Running org.goobi.
[junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 0.191 sec
[junit] Test org.goobi.
[junit] Running org.goobi.
[junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 0.144 sec
[junit] Test org.goobi.
[junit] Running org.goobi.
[junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0.154 sec
[junit] Test org.goobi.
[junit] Running org.goobi.
[junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 0.142 sec
[junit] Test org.goobi.
Root cause is the use of static initializers in Message bundle class relying on existent FacesContext.
Related branches
- Ralf Claussnitzer (community): Approve
-
Diff: 124 lines (+57/-25)1 file modifiedsrc/de/sub/goobi/helper/Messages.java (+57/-25)