Add Option tests.
[command.git] / tests / Makefile.am
index b60d58a44f5824db81ffd3ba4d2523cd1cec2b8a..11c3c1800278de23e0a90b806be2c9374ba6770f 100644 (file)
@@ -3,14 +3,48 @@ AUTOMAKE_OPTIONS = subdir-objects
 TESTS = \
        descriptive_holds_data.test \
        callable_invokes_provided_function.test \
+       callable_invokes_void_function.test \
        parameter_is_descriptive.test \
-       argument_handles_string_value.test
+       argument_handles_string_value.test \
+       argument_handles_int_value.test \
+       argument_handles_negative_int_value.test \
+       argument_handles_float_value.test \
+       argument_handles_negative_float_value.test \
+       argument_handles_boolean_value.test \
+       option_handles_string_value.test \
+       option_handles_int_value.test \
+       option_handles_negative_int_value.test \
+       option_handles_float_value.test \
+       option_handles_negative_float_value.test \
+       option_handles_boolean_value.test \
+       option_handles_void_value.test \
+       option_should_match_exact_name.test \
+       option_should_throw_exception_on_missing_value.test
 
 noinst_PROGRAMS = $(TESTS)
 
-AM_CXXFLAGS = -O3 -I$(top_srcdir)/include -std=c++11
+AM_CXXFLAGS = -I$(top_srcdir)/include -std=c++11
 
 descriptive_holds_data_test_SOURCES  = descriptive/holds_data.cpp
+
 callable_invokes_provided_function_test_SOURCES  = callable/invokes_provided_function.cpp
+callable_invokes_void_function_test_SOURCES  = callable/invokes_void_function.cpp
+
 parameter_is_descriptive_test_SOURCES  = parameter/is_descriptive.cpp
+
 argument_handles_string_value_test_SOURCES  = argument/handles_string_value.cpp
+argument_handles_int_value_test_SOURCES  = argument/handles_int_value.cpp
+argument_handles_negative_int_value_test_SOURCES  = argument/handles_negative_int_value.cpp
+argument_handles_float_value_test_SOURCES  = argument/handles_float_value.cpp
+argument_handles_negative_float_value_test_SOURCES  = argument/handles_negative_float_value.cpp
+argument_handles_boolean_value_test_SOURCES  = argument/handles_boolean_value.cpp
+
+option_handles_string_value_test_SOURCES  = option/handles_string_value.cpp
+option_handles_int_value_test_SOURCES = option/handles_int_value.cpp
+option_handles_negative_int_value_test_SOURCES = option/handles_negative_int_value.cpp
+option_handles_float_value_test_SOURCES  = option/handles_float_value.cpp
+option_handles_negative_float_value_test_SOURCES  = option/handles_negative_float_value.cpp
+option_handles_boolean_value_test_SOURCES  = option/handles_boolean_value.cpp
+option_handles_void_value_test_SOURCES  = option/handles_void_value.cpp
+option_should_match_exact_name_test_SOURCES  = option/should_match_exact_name.cpp
+option_should_throw_exception_on_missing_value_test_SOURCES = option/should_throw_exception_on_missing_value.cpp