diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-09-11 16:59:48 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-09-25 15:05:32 -0400 |
commit | ccd3e0333dce5bd96b80b42aaf0dc27ac3bde72a (patch) | |
tree | b2cbbb60fd327f16f401be6135343647bb343323 /src/mongo/base/SConscript | |
parent | 801992d49afe770bc2f240735028e161da11c532 (diff) | |
download | mongo-ccd3e0333dce5bd96b80b42aaf0dc27ac3bde72a.tar.gz |
SERVER-5112 ConfigurationVariableManager type and unit tests.
In this implementation, setVariable function always takes a string
parameter, and parsing is handled by a parsing object supplied by the
configuration variable declarer.
Diffstat (limited to 'src/mongo/base/SConscript')
-rw-r--r-- | src/mongo/base/SConscript | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/base/SConscript b/src/mongo/base/SConscript index ca3416fffd2..6bc1aa8a7cb 100644 --- a/src/mongo/base/SConscript +++ b/src/mongo/base/SConscript @@ -2,11 +2,14 @@ Import("env") -env.StaticLibrary('base', ['initializer_dependency_graph.cpp', +env.StaticLibrary('base', ['configuration_variable_manager.cpp', + 'initializer_dependency_graph.cpp', 'make_string_vector.cpp', 'parse_number.cpp', 'status.cpp']) +env.CppUnitTest('status_test', 'status_test.cpp', LIBDEPS=['base']) + env.CppUnitTest('initializer_dependency_graph_test', ['initializer_dependency_graph_test.cpp'], LIBDEPS=['base']) @@ -15,7 +18,8 @@ env.CppUnitTest('owned_pointer_vector_test', ['owned_pointer_vector_test.cpp'], LIBDEPS=['base']) -env.CppUnitTest('status_test', 'status_test.cpp', +env.CppUnitTest('configuration_variable_manager_test', + ['configuration_variable_manager_test.cpp'], LIBDEPS=['base']) env.CppUnitTest('parse_number_test', ['parse_number_test.cpp'], LIBDEPS=['base']) |