s3_file_uploader_test.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #include <gmock/gmock.h>
17 
19 
21 {
22 public:
24 
25  MOCK_METHOD3(UploadFiles, Aws::S3::Model::PutObjectOutcome(
26  const std::vector<Aws::S3::UploadDescription> &,
27  const std::string &,
28  const boost::function<void(const std::vector<Aws::S3::UploadDescription> &)> &));
29 
30  MOCK_METHOD0(CancelUpload, void());
31 
33 };
virtual bool IsAvailable() const
virtual Model::PutObjectOutcome UploadFiles(const std::vector< UploadDescription > &upload_descriptions, const std::string &bucket, const boost::function< void(const std::vector< UploadDescription > &)> &feedback_callback)
MOCK_METHOD3(UploadFiles, Aws::S3::Model::PutObjectOutcome(const std::vector< Aws::S3::UploadDescription > &, const std::string &, const boost::function< void(const std::vector< Aws::S3::UploadDescription > &)> &))
virtual void CancelUpload()
S3UploadManager(const bool enable_encryption)
MOCK_CONST_METHOD0(IsAvailable, bool())
MOCK_METHOD0(CancelUpload, void())


s3_file_uploader
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:30