summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorDaniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu>2010-06-04 18:47:45 -0700
committerDaniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu>2010-06-04 18:47:45 -0700
commit62f2e567d541a214fabccd75560ba16ff6c24424 (patch)
tree42f8a2b4e17547a1dfc8d74118acf98006ead9fa /tests/SConscript
parentecabc99717289d79691a24ca59f20510f3c1b752 (diff)
downloadaptitude-62f2e567d541a214fabccd75560ba16ff6c24424.tar.gz
Write a "teletype" mock/fake object that allows test code to easily examine the effect of a sequence of outputs on a normal terminal.
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 4a7c4674..840659e3 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -112,10 +112,12 @@ boost_test_extra_deps = [
gtest_test_sources = [
'gtest_test_main.cc',
'test_logging.cc',
+ 'test_teletype_mock.cc',
'test_terminal_mock.cc',
]
gtest_test_extra_deps = [
+ '../src/cmdline/mocks/teletype.o',
'../src/cmdline/mocks/terminal.o',
'../src/cmdline/terminal.o',
'../src/generic/util/logging.o',