google-nomulus/common/gradle/dependency-locks
Ben McIlwain bbacdb9704
Start using JUnit 5 (#488)
* Start using JUnit 5

This converts a single test class over to JUnit 5 (YamlUtilsTest). The main
differences you'll notice are that @RunWith isn't needed anymore, test classes
and test methods can now be package-private, and the @Test annotation comes from
the org.junit.jupiter.api package instead of org.junit. There's a lot more
differences between 4 and 5 than this that we'll need to keep in mind when
converting more test classes; for some more details, see:
https://www.baeldung.com/junit-5-migration

In order to allow JUnit 4 and 5 test classes to coexist, I've had to add two new
dependencies, org.junit.jupiter:junit-jupiter-engine and
org.junit.vintage:junit-vintage-engine, which exist in addition to junit:junit
for now. Eventually, once we've completed migrating over all JUnit 4 test
classes, then we can remove junit and junit-vintage-engine and just be left with
junit-jupiter-engine.

* Delete no longer needed lockfiles

* Merge branch 'master' into first-junit5
2020-02-19 18:29:59 -05:00
..
annotationProcessor.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
apt.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
archives.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
buildscript-classpath.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
checkstyle.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
compile.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
compileClasspath.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
compileOnly.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
default.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
deploy_jar.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
errorprone.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
errorproneJavac.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
jacocoAgent.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
jacocoAnt.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
runtime.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
runtimeClasspath.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testAnnotationProcessor.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testApt.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testCompile.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testCompileClasspath.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testCompileOnly.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testing.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testingAnnotationProcessor.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testingApt.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testingCompile.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testingCompileClasspath.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testingCompileOnly.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testingRuntime.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testingRuntimeClasspath.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testRuntime.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
testRuntimeClasspath.lockfile Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00