mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Make C++ test names more consistent (#3586)
Inconsistent names were found using the following regular expressions. * `rg "TEST(_F|_P)?\(\w+,\s+\w+Test\)"` * `rg "TEST(_F|_P)?\(\w+,\s+Test\w+\)"` * `rg "TEST(_F|_P)?\(\w+Tests,\s+\w+\)"` Fixes #3495.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "frc/Timer.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(NotifierTest, TestStartPeriodicAndStop) {
|
||||
TEST(NotifierTest, StartPeriodicAndStop) {
|
||||
uint32_t counter = 0;
|
||||
|
||||
frc::Notifier notifier{[&] { ++counter; }};
|
||||
@@ -29,7 +29,7 @@ TEST(NotifierTest, TestStartPeriodicAndStop) {
|
||||
fmt::print("Received {} notifications in 3 seconds\n", counter - 10);
|
||||
}
|
||||
|
||||
TEST(NotifierTest, TestStartSingle) {
|
||||
TEST(NotifierTest, StartSingle) {
|
||||
uint32_t counter = 0;
|
||||
|
||||
frc::Notifier notifier{[&] { ++counter; }};
|
||||
|
||||
Reference in New Issue
Block a user