31
31
TableIdentifier identifier("test", "a");
32
32
EXPECT_EQ("test/a", identifier.getPath());
34
identifier.getSQLPath(path);
35
EXPECT_EQ("test.a", path);
33
EXPECT_EQ("test.a", identifier.getSQLPath());
38
36
TEST(table_identifier_test_temporary, Create)
40
38
TableIdentifier identifier("test", "a", message::Table::TEMPORARY);
41
39
EXPECT_EQ("/#sql", identifier.getPath().substr(0, 5));
43
identifier.getSQLPath(path);
44
EXPECT_EQ("test.#a", path);
40
EXPECT_EQ("test.#a", identifier.getSQLPath());
47
43
TEST(table_identifier_test_internal, Create)
49
45
TableIdentifier identifier("test", "a", message::Table::TEMPORARY);
50
46
EXPECT_EQ("/#sql", identifier.getPath().substr(0, 5));
52
identifier.getSQLPath(path);
53
EXPECT_EQ("test.#a", path);
47
EXPECT_EQ("test.#a", identifier.getSQLPath());
56
50
TEST(table_identifier_test_build_tmptable_filename, Static)