Rename reportInvalidArguments -> reportInvalidTestSpec

This is has been what it actually does for a long time, but it
has not been renamed earlier due to API compatibility.
This commit is contained in:
Martin Hořeňovský
2021-12-12 21:54:00 +01:00
parent 08939cc8bb
commit 602e484f02
14 changed files with 22 additions and 22 deletions

View File

@@ -153,14 +153,14 @@ void listTags( std::vector<TagInfo> const& tagInfos );
## Miscellaneous events
```cpp
void reportInvalidArguments( StringRef unmatchedSpec );
void reportInvalidTestSpec( StringRef unmatchedSpec );
void fatalErrorEncountered( StringRef error );
void noMatchingTestCases( StringRef unmatchedSpec );
```
These are one-off events that do not neatly fit into other categories.
`reportInvalidArguments` is sent for each [test specification command line
`reportInvalidTestSpec` is sent for each [test specification command line
argument](command-line.md#specifying-which-tests-to-run) that wasn't
parsed into a valid spec.