@@ -3093,42 +3093,42 @@ class TestCmdlineParser : public TestFixture {
3093
3093
REDIRECT;
3094
3094
const char *const argv[] = { " cppcheck" , " --report-type=autosar" , " file.cpp" };
3095
3095
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (3 , argv));
3096
- ASSERT_EQUALS_ENUM (checkers:: ReportType::autosar, settings->reportType );
3096
+ ASSERT_EQUALS_ENUM (ReportType::autosar, settings->reportType );
3097
3097
}
3098
3098
3099
3099
void reportTypeCertCpp () {
3100
3100
REDIRECT;
3101
3101
const char *const argv[] = { " cppcheck" , " --report-type=certCpp" , " file.cpp" };
3102
3102
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (3 , argv));
3103
- ASSERT_EQUALS_ENUM (checkers:: ReportType::certCpp, settings->reportType );
3103
+ ASSERT_EQUALS_ENUM (ReportType::certCpp, settings->reportType );
3104
3104
}
3105
3105
3106
3106
void reportTypeCertC () {
3107
3107
REDIRECT;
3108
3108
const char *const argv[] = { " cppcheck" , " --report-type=certC" , " file.cpp" };
3109
3109
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (3 , argv));
3110
- ASSERT_EQUALS_ENUM (checkers:: ReportType::certC, settings->reportType );
3110
+ ASSERT_EQUALS_ENUM (ReportType::certC, settings->reportType );
3111
3111
}
3112
3112
3113
3113
void reportTypeMisraC () {
3114
3114
REDIRECT;
3115
3115
const char *const argv[] = { " cppcheck" , " --report-type=misraC" , " file.cpp" };
3116
3116
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (3 , argv));
3117
- ASSERT_EQUALS_ENUM (checkers:: ReportType::misraC, settings->reportType );
3117
+ ASSERT_EQUALS_ENUM (ReportType::misraC, settings->reportType );
3118
3118
}
3119
3119
3120
3120
void reportTypeMisraCpp2008 () {
3121
3121
REDIRECT;
3122
3122
const char *const argv[] = { " cppcheck" , " --report-type=misraCpp2008" , " file.cpp" };
3123
3123
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (3 , argv));
3124
- ASSERT_EQUALS_ENUM (checkers:: ReportType::misraCpp2008, settings->reportType );
3124
+ ASSERT_EQUALS_ENUM (ReportType::misraCpp2008, settings->reportType );
3125
3125
}
3126
3126
3127
3127
void reportTypeMisraCpp2023 () {
3128
3128
REDIRECT;
3129
3129
const char *const argv[] = { " cppcheck" , " --report-type=misraCpp2023" , " file.cpp" };
3130
3130
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (3 , argv));
3131
- ASSERT_EQUALS_ENUM (checkers:: ReportType::misraCpp2023, settings->reportType );
3131
+ ASSERT_EQUALS_ENUM (ReportType::misraCpp2023, settings->reportType );
3132
3132
}
3133
3133
3134
3134
void invalidReportType () {
@@ -3142,7 +3142,7 @@ class TestCmdlineParser : public TestFixture {
3142
3142
REDIRECT;
3143
3143
const char *const argv[] = { " cppcheck" , " file.cpp" };
3144
3144
ASSERT_EQUALS_ENUM (CmdLineParser::Result::Success, parser->parseFromArgs (2 , argv));
3145
- ASSERT_EQUALS_ENUM (checkers:: ReportType::normal , settings->reportType );
3145
+ ASSERT_EQUALS_ENUM (ReportType::normal , settings->reportType );
3146
3146
}
3147
3147
};
3148
3148
0 commit comments