winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

MockConnection.cpp (521B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 
      4 #include "MockConnection.h"
      5 
      6 using namespace SFS;
      7 using namespace SFS::details;
      8 
      9 MockConnection::MockConnection(const ConnectionConfig& config, const ReportingHandler& handler)
     10     : Connection(config, handler)
     11 {
     12 }
     13 
     14 MockConnection::~MockConnection()
     15 {
     16 }
     17 
     18 std::string MockConnection::Get(const std::string&)
     19 {
     20     return {};
     21 }
     22 
     23 std::string MockConnection::Post(const std::string&, const std::string&)
     24 {
     25     return {};
     26 }