15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_ROW_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_ROW_H
18#include "google/cloud/spanner/row.h"
19#include "google/cloud/spanner/value.h"
20#include "google/cloud/version.h"
28GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
31#include "google/cloud/internal/disable_deprecation_warnings.inc"
34
35
36
37
38
39
40
41
43 std::vector<std::pair<std::string,
spanner::
Value>> pairs) {
48
49
50
51
52
53
54
55
56
57
58
59template <
typename... Ts>
61 return spanner::MakeTestRow(std::forward<Ts>(ts)...);
65#include "google/cloud/internal/diagnostics_pop.inc"
67GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
A Row is a sequence of columns each with a name and an associated Value.
Definition: row.h:84
The Value class represents a type-safe, nullable Spanner value.
Definition: value.h:170
Define classes to mock the Cloud Spanner C++ client APIs.
Definition: mock_database_admin_connection.h:24
spanner::Row MakeRow(std::vector< std::pair< std::string, spanner::Value > > pairs)
Creates a spanner::Row with the specified column names and values.
Definition: row.h:42
spanner::Row MakeRow(Ts &&... ts)
Creates a spanner::Row with spanner::Values created from the given arguments and with auto-generated ...
Definition: row.h:60
Contains all the Cloud Spanner C++ client types and functions.
Definition: backoff_policy.h:23
Row MakeTestRow(std::vector< std::pair< std::string, Value > > pairs)
Creates a Row with the specified column names and values.