From b7969a34ae2314e1c4cf1de7d6ac6e3ea44a52ba Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Sat, 29 Apr 2017 23:30:21 -0700 Subject: [PATCH] [vcpkg] Fix regression in tests. Test classes must not be structs. --- toolsrc/src/tests_arguments.cpp | 2 +- toolsrc/src/tests_dependencies.cpp | 2 +- toolsrc/src/tests_paragraph.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toolsrc/src/tests_arguments.cpp b/toolsrc/src/tests_arguments.cpp index bf0a868369..9145dcdb9b 100644 --- a/toolsrc/src/tests_arguments.cpp +++ b/toolsrc/src/tests_arguments.cpp @@ -10,7 +10,7 @@ using namespace vcpkg; namespace UnitTest1 { - struct ArgumentTests : TestClass + class ArgumentTests : public TestClass { TEST_METHOD(create_from_arg_sequence_options_lower) { diff --git a/toolsrc/src/tests_dependencies.cpp b/toolsrc/src/tests_dependencies.cpp index 66fdee42b5..3aabed80e9 100644 --- a/toolsrc/src/tests_dependencies.cpp +++ b/toolsrc/src/tests_dependencies.cpp @@ -11,7 +11,7 @@ using namespace vcpkg; namespace UnitTest1 { - struct ArgumentTests : TestClass + class DependencyTests : public TestClass { TEST_METHOD(parse_depends_one) { diff --git a/toolsrc/src/tests_paragraph.cpp b/toolsrc/src/tests_paragraph.cpp index caa5b97eb1..de7a6d190f 100644 --- a/toolsrc/src/tests_paragraph.cpp +++ b/toolsrc/src/tests_paragraph.cpp @@ -21,7 +21,7 @@ namespace Strings = vcpkg::Strings; namespace UnitTest1 { - struct ArgumentTests : TestClass + class ControlParsing : public TestClass { TEST_METHOD(SourceParagraph_Construct_Minimum) {