[vcpkg] Fix regression in tests. Test classes must not be structs.
MODIFY
src/tests_arguments.cpp
src/tests_arguments.cpp
@@ -10,7 +10,7 @@ using namespace vcpkg;
namespace UnitTest1
{
- struct ArgumentTests : TestClass<ArgumentTests>
+ class ArgumentTests : public TestClass<ArgumentTests>
{
TEST_METHOD(create_from_arg_sequence_options_lower)
{

MODIFY
src/tests_dependencies.cpp
src/tests_dependencies.cpp
@@ -11,7 +11,7 @@ using namespace vcpkg;
namespace UnitTest1
{
- struct ArgumentTests : TestClass<ArgumentTests>
+ class DependencyTests : public TestClass<DependencyTests>
{
TEST_METHOD(parse_depends_one)
{

MODIFY
src/tests_paragraph.cpp
src/tests_paragraph.cpp
@@ -21,7 +21,7 @@ namespace Strings = vcpkg::Strings;
namespace UnitTest1
{
- struct ArgumentTests : TestClass<ArgumentTests>
+ class ControlParsing : public TestClass<ControlParsing>
{
TEST_METHOD(SourceParagraph_Construct_Minimum)
{

[vcpkg] Fix regression in tests. Test classes must not be structs.