diff options
author | Daniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu> | 2010-07-02 19:16:07 -0700 |
---|---|---|
committer | Daniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu> | 2010-07-02 19:16:07 -0700 |
commit | 599b6e3cd6e3d1ea9f984c7f2aea91015aaa872a (patch) | |
tree | baaf9af53b03489035f1380910428df286d3871e /tests | |
parent | 277eed1dedba6cb73a4b2527808869e872395750 (diff) | |
download | aptitude-599b6e3cd6e3d1ea9f984c7f2aea91015aaa872a.tar.gz |
Remove the now-obsolete preserve_and_advance() routine.
Its only real purpose was to do what display_and_advance() does better --
i.e., display a durable progress notification and move to the next line.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_transient_message.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test_transient_message.cc b/tests/test_transient_message.cc index d1b574b5..08401a89 100644 --- a/tests/test_transient_message.cc +++ b/tests/test_transient_message.cc @@ -94,19 +94,6 @@ TEST_F(TransientMessage, SetText) message->set_text(L"abc"); } -TEST_F(TransientMessage, PreserveAndAdvance) -{ - { - InSequence dummy; - - EXPECT_CALL(*teletype, set_last_line(StrTrimmedRightEq(L"pigeon"))); - EXPECT_CALL(*teletype, newline()); - } - - message->set_text(L"pigeon"); - message->preserve_and_advance(); -} - TEST_F(TransientMessage, DisplayAndAdvanceBasic) { { |