test_util.h 816 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2014 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_DRIVE_SERVICE_TEST_UTIL_H_
  5. #define COMPONENTS_DRIVE_SERVICE_TEST_UTIL_H_
  6. #include <string>
  7. namespace drive {
  8. class FakeDriveService;
  9. namespace test_util {
  10. bool SetUpTestEntries(FakeDriveService* drive_service);
  11. bool SetUpTeamDriveTestEntries(FakeDriveService* drive_service,
  12. const std::string& team_drive_id,
  13. const std::string& team_drive_name);
  14. bool SetUpTestEntries(FakeDriveService* drive_service,
  15. const std::string& parent_resource_id);
  16. } // namespace test_util
  17. } // namespace drive
  18. #endif // COMPONENTS_DRIVE_SERVICE_TEST_UTIL_H_