-------------------------------------------------------------------------
| 37 | |
| 38 | //------------------------------------------------------------------------- |
| 39 | TEST(OptionsParserTest, Default) |
| 40 | { |
| 41 | cov::OptionsParser parser; |
| 42 | |
| 43 | auto options = TestTools::Parse(parser, {}); |
| 44 | ASSERT_TRUE(static_cast<bool>(options)); |
| 45 | ASSERT_EQ(cov::LogLevel::Normal, options->GetLogLevel()); |
| 46 | ASSERT_FALSE(options->IsPlugingModeEnabled()); |
| 47 | ASSERT_FALSE(options->IsCoverChildrenModeEnabled()); |
| 48 | ASSERT_TRUE(options->IsAggregateByFileModeEnabled()); |
| 49 | ASSERT_FALSE(options->IsContinueAfterCppExceptionModeEnabled()); |
| 50 | ASSERT_FALSE(options->IsOptimizedBuildSupportEnabled()); |
| 51 | ASSERT_TRUE(options->GetExcludedLineRegexes().empty()); |
| 52 | ASSERT_TRUE(options->GetSubstitutePdbSourcePaths().empty()); |
| 53 | } |
| 54 | |
| 55 | //------------------------------------------------------------------------- |
| 56 | TEST(OptionsParserTest, Help) |
nothing calls this directly
no test coverage detected