1616#include " google/cloud/bigquery/v2/minimal/internal/job_client.h"
1717#include " google/cloud/bigquery/v2/minimal/internal/job_rest_connection_impl.h"
1818#include " google/cloud/bigquery/v2/minimal/internal/job_rest_stub.h"
19- #include " google/cloud/bigquery/v2/minimal/mocks /mock_job_rest_stub.h"
19+ #include " google/cloud/bigquery/v2/minimal/testing /mock_job_rest_stub.h"
2020#include " google/cloud/common_options.h"
2121#include " google/cloud/internal/make_status.h"
2222#include " google/cloud/internal/rest_response.h"
@@ -28,6 +28,7 @@ namespace cloud {
2828namespace bigquery_v2_minimal_internal {
2929GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
3030
31+ using ::google::cloud::bigquery_v2_minimal_testing::MockBigQueryJobRestStub;
3132using ::google::cloud::testing_util::StatusIs;
3233using ::testing::AtLeast;
3334using ::testing::HasSubstr;
@@ -99,7 +100,7 @@ TEST(JobConnectionTest, GetJobSuccess) {
99100}
100101
101102// Verify that permanent errors are reported immediately.
102- TEST (GoldenThingAdminConnectionTest , GetJobPermanentError) {
103+ TEST (JobConnectionTest , GetJobPermanentError) {
103104 auto mock = std::make_shared<MockBigQueryJobRestStub>();
104105 EXPECT_CALL (*mock, GetJob)
105106 .WillOnce (
@@ -112,7 +113,7 @@ TEST(GoldenThingAdminConnectionTest, GetJobPermanentError) {
112113}
113114
114115// Verify that too many transients errors are reported correctly.
115- TEST (GoldenThingAdminConnectionTest , GetJobTooManyTransients) {
116+ TEST (JobConnectionTest , GetJobTooManyTransients) {
116117 auto mock = std::make_shared<MockBigQueryJobRestStub>();
117118 EXPECT_CALL (*mock, GetJob)
118119 .Times (AtLeast (2 ))
0 commit comments