diff options
Diffstat (limited to 'src/tests/xb_test_tblmgr.cpp')
-rwxr-xr-x | src/tests/xb_test_tblmgr.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/tests/xb_test_tblmgr.cpp b/src/tests/xb_test_tblmgr.cpp index d048594..4e177d0 100755 --- a/src/tests/xb_test_tblmgr.cpp +++ b/src/tests/xb_test_tblmgr.cpp @@ -96,39 +96,6 @@ int main( int argCnt, char **av ) } -std::cout << "cp0\n"; - x.SetDataDirectory( "/ABCDEFG/" ); - - #ifdef WIN32 - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "\\ABCDEFG\\", 9 ); - #else - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "/ABCDEFG/", 9 ); - #endif -std::cout << "cp1\n"; - x.SetDataDirectory( "/ABCDEFG" ); - #ifdef WIN32 - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "\\ABCDEFG", 8 ); - #else - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "/ABCDEFG", 8 ); - #endif - - - x.SetDataDirectory( "\\ABCDEFG\\"); - #ifdef WIN32 - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "\\ABCDEFG\\", 9 ); - #else - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "/ABCDEFG/", 9 ); - #endif - - x.SetDataDirectory( "\\ABCDEFG" ); - #ifdef WIN32 - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "\\ABCDEFG", 8 ); - #else - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "/ABCDEFG", 8 ); - #endif - - x.SetDataDirectory( "ABCDEFG" ); - iRc += TestMethod( iPo, "Set/GetDataDirectory()", x.GetDataDirectory(), "ABCDEFG", 7 ); iRc += TestMethod( iPo, "RemoveTblFromDbList()", x.RemoveTblFromTblList( "TestTableB" ), 0 ); iRc += TestMethod( iPo, "RemoveTblFromDbList()", x.RemoveTblFromTblList( "TestTableB" ), XB_NOT_FOUND ); |