diff options
| author | ras0219 <533828+ras0219@users.noreply.github.com> | 2020-08-13 18:36:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-13 18:36:33 -0700 |
| commit | 0b5bbe30d940c597242cefa899dc93168054e466 (patch) | |
| tree | a02a36758c8d4f794194dd37b48a7649fc143ee3 /toolsrc/src/vcpkg-test/commands.cpp | |
| parent | 5bb91a9452c2155e8ccd69c88629af24507249d4 (diff) | |
| download | vcpkg-0b5bbe30d940c597242cefa899dc93168054e466.tar.gz vcpkg-0b5bbe30d940c597242cefa899dc93168054e466.zip | |
[vcpkg] Lift `--x-json` to a global option, implement experimental `x-package-info` command (#12845)
* [vcpkg] Improve error reporting in vcpkg::Json
* [vcpkg] Lift --x-json to a common option
* [vcpkg] Address warnings-as-errors in VS2015
* [vcpkg] Remove unused local
* [vcpkg] Extract vcpkg::Install::get_cmake_usage
* [vcpkg] Implement vcpkg::serialize_ipv(ipv, paths)
* [vcpkg] Implement x-package-info to enable tooling
* [vcpkg] Fixup tests to respect new cli mode
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'toolsrc/src/vcpkg-test/commands.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg-test/commands.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg-test/commands.cpp b/toolsrc/src/vcpkg-test/commands.cpp index eeefa3098..2c3779877 100644 --- a/toolsrc/src/vcpkg-test/commands.cpp +++ b/toolsrc/src/vcpkg-test/commands.cpp @@ -24,7 +24,7 @@ TEST_CASE ("get_available_basic_commands works", "[commands]") TEST_CASE ("get_available_paths_commands works", "[commands]") { auto commands_list = Commands::get_available_paths_commands(); - CHECK(commands_list.size() == 18); + CHECK(commands_list.size() == 19); CHECK(Commands::find("/?", commands_list) != nullptr); CHECK(Commands::find("help", commands_list) != nullptr); @@ -42,6 +42,7 @@ TEST_CASE ("get_available_paths_commands works", "[commands]") CHECK(Commands::find("fetch", commands_list) != nullptr); CHECK(Commands::find("x-ci-clean", commands_list) != nullptr); CHECK(Commands::find("x-history", commands_list) != nullptr); + CHECK(Commands::find("x-package-info", commands_list) != nullptr); CHECK(Commands::find("x-vsinstances", commands_list) != nullptr); CHECK(Commands::find("x-format-manifest", commands_list) != nullptr); |
