Commit 7c26fc4d authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Moved ExceptionTest from tapeserver/castor/exception to

common/exception.
Removed tapeserver/castor/exception dir.
parent ef42c823
...@@ -21,6 +21,8 @@ find_package (libattr REQUIRED) ...@@ -21,6 +21,8 @@ find_package (libattr REQUIRED)
find_package (libcap REQUIRED) find_package (libcap REQUIRED)
find_package (libuuid REQUIRED) find_package (libuuid REQUIRED)
add_subdirectory (exception)
set (COMMON_LIB_SRC_FILES set (COMMON_LIB_SRC_FILES
dataStructures/AdminHost.cpp dataStructures/AdminHost.cpp
dataStructures/AdminUser.cpp dataStructures/AdminUser.cpp
......
...@@ -52,7 +52,7 @@ namespace unitTests { ...@@ -52,7 +52,7 @@ namespace unitTests {
f2(); f2();
} }
TEST(castor_exceptions, stacktrace_with_demangling) { TEST(cta_exceptions, stacktrace_with_demangling) {
try { try {
Nested x; Nested x;
} catch (cta::exception::Exception & e) { } catch (cta::exception::Exception & e) {
...@@ -65,7 +65,7 @@ namespace unitTests { ...@@ -65,7 +65,7 @@ namespace unitTests {
} }
} }
TEST(castor_exceptions, stacktrace_in_std_exception) { TEST(cta_exceptions, stacktrace_in_std_exception) {
try { try {
Nested x; Nested x;
} catch (std::exception & e) { } catch (std::exception & e) {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
# #
cmake_minimum_required (VERSION 2.6) cmake_minimum_required (VERSION 2.6)
add_subdirectory (exception)
add_subdirectory (io) add_subdirectory (io)
add_subdirectory (legacymsg) add_subdirectory (legacymsg)
add_subdirectory (log) add_subdirectory (log)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment