Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion cpp/src/arrow/flight/sql/odbc/tests/connection_info_test.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,7 +31,7 @@ class ConnectionInfoTest : public T {};

class ConnectionInfoMockTest : public FlightSQLODBCMockTestBase {};
class ConnectionInfoRemoteTest : public FlightSQLODBCRemoteTestBase {};
using TestTypes = ::testing::Types<ConnectionInfoMockTest, FlightSQLODBCRemoteTestBase>;
using TestTypes = ::testing::Types<ConnectionInfoMockTest, ConnectionInfoRemoteTest>;
TYPED_TEST_SUITE(ConnectionInfoTest, TestTypes);

template <typename T>
Expand DownExpand Up@@ -711,6 +711,20 @@ TEST_F(ConnectionInfoMockTest, TestSQLGetInfoCreateTable) {
EXPECT_EQ(static_cast<SQLUINTEGER>(1), value);
}

TEST_F(ConnectionInfoRemoteTest, TestSQLGetInfoCreateSchema) {
SQLUINTEGER value;
GetInfo(this->conn, SQL_CREATE_SCHEMA, &value);

EXPECT_EQ(static_cast<SQLUINTEGER>(0), value);
}

TEST_F(ConnectionInfoRemoteTest, TestSQLGetInfoCreateTable) {
SQLUINTEGER value;
GetInfo(this->conn, SQL_CREATE_TABLE, &value);

EXPECT_EQ(static_cast<SQLUINTEGER>(0), value);
}

TYPED_TEST(ConnectionInfoTest, TestSQLGetInfoCreateTranslation) {
SQLUINTEGER value;
GetInfo(this->conn, SQL_CREATE_TRANSLATION, &value);
Expand Down
Loading