| 131 | class CustomCachedAuthOssTest : public CachedAuthOssTest { |
| 132 | protected: |
| 133 | void CreateOssClient(const ClientOptions& opts) override { |
| 134 | auto auth = new_basic_oss_authenticator({FLAGS_ak, FLAGS_sk, ""}); |
| 135 | auth = new_cached_oss_authenticator(auth, 3 /*ttl*/); |
| 136 | client = new_oss_client(opts, new RandInvalidateCacheAuthenticator(auth)); |
| 137 | ASSERT_NE(client, nullptr) << "Failed to create OSS client"; |
| 138 | } |
| 139 | }; |
| 140 | |
| 141 | void BasicAuthOssTest::list_objects() { |
nothing calls this directly
no test coverage detected