Rename tests for consistency (#3592)

I started with the output of styleguide#217, then renamed a few classes
to fix compilation.

ntcore's StorageTest needed some manual renaming since it put the Test
word in the middle instead of at the end.

One limitation of wpiformat is test cases that were only named "Test"
were unmodified, and an error was generated. These test cases were
manually given more descriptive names:

* TimedRobotTest mode test cases had "Mode" appended to the name. Java
  tests were renamed to match.
* UvAsyncTest and UvAsyncFunctionTest cases were given alternate names
This commit is contained in:
Tyler Veness
2021-09-21 06:12:50 -07:00
committed by GitHub
parent 54ca474dba
commit d6f185d8e5
41 changed files with 399 additions and 398 deletions

View File

@@ -128,7 +128,7 @@ class TimedRobotTest {
@Test
@ResourceLock("timing")
void disabledTest() {
void disabledModeTest() {
MockRobot robot = new MockRobot();
Thread robotThread =
@@ -215,7 +215,7 @@ class TimedRobotTest {
@Test
@ResourceLock("timing")
void autonomousTest() {
void autonomousModeTest() {
MockRobot robot = new MockRobot();
Thread robotThread =
@@ -304,7 +304,7 @@ class TimedRobotTest {
@Test
@ResourceLock("timing")
void teleopTest() {
void teleopModeTest() {
MockRobot robot = new MockRobot();
Thread robotThread =
@@ -393,7 +393,7 @@ class TimedRobotTest {
@Test
@ResourceLock("timing")
void testTest() {
void testModeTest() {
MockRobot robot = new MockRobot();
Thread robotThread =