vcpkg/toolsrc/include/tests.utils.h
Robert Schumacher ecd21d6cb4 [vcpkg-tests] Use PCH.
[vcpkg-update] Fix feature packages with update command.
Fixes #2003.
2017-11-11 19:47:56 -08:00

26 lines
1.1 KiB
C++

#pragma once
#include <CppUnitTest.h>
#include <vcpkg/dependencies.h>
#include <vcpkg/packagespec.h>
#include <vcpkg/packagespecparseresult.h>
#include <vcpkg/statusparagraph.h>
#include <memory>
namespace Microsoft::VisualStudio::CppUnitTestFramework
{
std::wstring ToString(const vcpkg::Dependencies::InstallPlanType& t);
std::wstring ToString(const vcpkg::Dependencies::RequestType& t);
std::wstring ToString(const vcpkg::PackageSpecParseResult& t);
std::wstring ToString(const vcpkg::PackageSpec& t);
}
std::unique_ptr<vcpkg::StatusParagraph> make_status_pgh(const char* name,
const char* depends = "",
const char* triplet = "x86-windows");
std::unique_ptr<vcpkg::StatusParagraph> make_status_feature_pgh(const char* name,
const char* feature,
const char* depends = "",
const char* triplet = "x86-windows");