mirror of
https://github.com/google/nomulus
synced 2026-01-05 13:07:04 +00:00
Allow backwards compatibility with JUnit 4 @Rules in JUnit 5 (#526)
* Allow backwards compatibility with JUnit 4 @Rules in JUnit 5 This allows us to defer having to re-implement all of our JUnit 4 Rules as JUnit 5 extensions for now, while continuing to in-place upgrade all existing JUnit 4 test classes to JUnit 5. As proof of concept, this upgrades PremiumListUtils (which uses AppEngineRule, our largest and most complicated @Rule) to use the JUnit 5 test runner. * Apply formatter to entire file
This commit is contained in:
@@ -101,6 +101,7 @@ ext {
|
||||
'junit:junit:4.13',
|
||||
'org.junit.jupiter:junit-jupiter-api:5.6.0',
|
||||
'org.junit.jupiter:junit-jupiter-engine:5.6.0',
|
||||
'org.junit.jupiter:junit-jupiter-migrationsupport:5.6.0',
|
||||
'org.junit.vintage:junit-vintage-engine:5.6.0',
|
||||
'org.apache.avro:avro:1.8.2',
|
||||
'org.apache.beam:beam-runners-direct-java:2.16.0',
|
||||
|
||||
Reference in New Issue
Block a user