Skip to content

Commit 8553ccb

Browse files
committed
🐛 Fix tests
1 parent f9097cd commit 8553ccb

File tree

5 files changed

+95
-95
lines changed

5 files changed

+95
-95
lines changed

test/na/device/test_app.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// NOLINTEND(misc-include-cleaner)
2828
#endif // _WIN32
2929

30-
TEST(ExecutableTest, Version) {
30+
TEST(NaExecutableTest, Version) {
3131
// Command to execute
3232
// NOLINTNEXTLINE(misc-include-cleaner)
3333
const std::string command = EXECUTABLE_PATH " --version";
@@ -55,7 +55,7 @@ TEST(ExecutableTest, Version) {
5555
")\n");
5656
}
5757

58-
TEST(ExecutableTest, MissingSubcommand) {
58+
TEST(NaExecutableTest, MissingSubcommand) {
5959
// Command to execute
6060
// NOLINTNEXTLINE(misc-include-cleaner)
6161
const std::string command = EXECUTABLE_PATH;
@@ -77,7 +77,7 @@ TEST(ExecutableTest, MissingSubcommand) {
7777
EXPECT_NE(returnCode, 0);
7878
}
7979

80-
TEST(ExecutableTest, UnknownSubcommand) {
80+
TEST(NaExecutableTest, UnknownSubcommand) {
8181
// Command to execute
8282
// NOLINTNEXTLINE(misc-include-cleaner)
8383
const std::string command = EXECUTABLE_PATH " unknown";
@@ -99,7 +99,7 @@ TEST(ExecutableTest, UnknownSubcommand) {
9999
EXPECT_NE(returnCode, 0);
100100
}
101101

102-
TEST(ExecutableTest, SchemaUnknownOption) {
102+
TEST(NaExecutableTest, SchemaUnknownOption) {
103103
// Command to execute
104104
// NOLINTNEXTLINE(misc-include-cleaner)
105105
const std::string command = EXECUTABLE_PATH " schema --unknown-option";
@@ -121,7 +121,7 @@ TEST(ExecutableTest, SchemaUnknownOption) {
121121
EXPECT_NE(returnCode, 0);
122122
}
123123

124-
TEST(ExecutableTest, SchemaMissingFile) {
124+
TEST(NaExecutableTest, SchemaMissingFile) {
125125
// Command to execute
126126
// NOLINTNEXTLINE(misc-include-cleaner)
127127
const std::string command = EXECUTABLE_PATH " schema --output";
@@ -143,7 +143,7 @@ TEST(ExecutableTest, SchemaMissingFile) {
143143
EXPECT_NE(returnCode, 0);
144144
}
145145

146-
TEST(ExecutableTest, ValidateInvalidJson) {
146+
TEST(NaExecutableTest, ValidateInvalidJson) {
147147
// Command to execute
148148
// NOLINTNEXTLINE(misc-include-cleaner)
149149
const std::string command = EXECUTABLE_PATH " validate";
@@ -158,7 +158,7 @@ TEST(ExecutableTest, ValidateInvalidJson) {
158158
<< returnCode;
159159
}
160160

161-
TEST(ExecutableTest, GenerateMissingFile) {
161+
TEST(NaExecutableTest, GenerateMissingFile) {
162162
// Command to execute
163163
// NOLINTNEXTLINE(misc-include-cleaner)
164164
const std::string command = EXECUTABLE_PATH " generate --output";
@@ -180,7 +180,7 @@ TEST(ExecutableTest, GenerateMissingFile) {
180180
EXPECT_NE(returnCode, 0);
181181
}
182182

183-
TEST(ExecutableTest, Usage) {
183+
TEST(NaExecutableTest, Usage) {
184184
// Command to execute
185185
// NOLINTNEXTLINE(misc-include-cleaner)
186186
const std::string command = EXECUTABLE_PATH " --help";
@@ -204,7 +204,7 @@ TEST(ExecutableTest, Usage) {
204204
EXPECT_FALSE(output.str().empty());
205205
}
206206

207-
TEST(ExecutableTest, SchemaUsage) {
207+
TEST(NaExecutableTest, SchemaUsage) {
208208
// Command to execute
209209
// NOLINTNEXTLINE(misc-include-cleaner)
210210
const std::string command = EXECUTABLE_PATH " schema --help";
@@ -228,7 +228,7 @@ TEST(ExecutableTest, SchemaUsage) {
228228
EXPECT_TRUE(output.str().rfind("Generates a JSON schema", 0) == 0);
229229
}
230230

231-
TEST(ExecutableTest, ValidateUsage) {
231+
TEST(NaExecutableTest, ValidateUsage) {
232232
// Command to execute
233233
// NOLINTNEXTLINE(misc-include-cleaner)
234234
const std::string command = EXECUTABLE_PATH " validate --help";
@@ -252,7 +252,7 @@ TEST(ExecutableTest, ValidateUsage) {
252252
EXPECT_TRUE(output.str().rfind("Validates", 0) == 0);
253253
}
254254

255-
TEST(ExecutableTest, GenerateUsage) {
255+
TEST(NaExecutableTest, GenerateUsage) {
256256
// Command to execute
257257
// NOLINTNEXTLINE(misc-include-cleaner)
258258
const std::string command = EXECUTABLE_PATH " generate --help";
@@ -276,7 +276,7 @@ TEST(ExecutableTest, GenerateUsage) {
276276
EXPECT_TRUE(output.str().rfind("Generates a header file", 0) == 0);
277277
}
278278

279-
TEST(ExecutableTest, RoundTrip) {
279+
TEST(NaExecutableTest, RoundTrip) {
280280
std::string schema;
281281
// Capture the output of the schema command
282282
{
@@ -319,7 +319,7 @@ TEST(ExecutableTest, RoundTrip) {
319319
}
320320
}
321321

322-
TEST(ExecutableTest, RoundTripFile) {
322+
TEST(NaExecutableTest, RoundTripFile) {
323323
// Write schema to a file
324324
{
325325
// Command to execute

0 commit comments

Comments
 (0)