1 #include <pqxx/connection> 2 3 #include "test_helpers.hxx" 4 5 // Test program for libpqxx. Test adorn_name. 6 7 namespace 8 { test_090()9void test_090() 10 { 11 pqxx::connection conn; 12 13 // Test connection's adorn_name() function for uniqueness 14 std::string const nametest{"basename"}; 15 16 PQXX_CHECK_NOT_EQUAL( 17 conn.adorn_name(nametest), conn.adorn_name(nametest), 18 "\"Unique\" names are not unique."); 19 } 20 } // namespace 21 22 23 PQXX_REGISTER_TEST(test_090); 24