summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2011-03-30Update tests for the new behavior of SizeToStr().Daniel Burrows2-26/+26
2011-03-30Fix compile errors caused by changes in the libapt API.Daniel Burrows1-5/+5
2010-08-26Fix the behavior of OFF_LEVEL in the logging code.Daniel Burrows1-6/+24
2010-08-06Write a routine to subtract timevals.Daniel Burrows1-2/+94
2010-07-10Make display_and_advance work even when the output isn't a terminal.Daniel Burrows1-0/+24
2010-07-10It's no longer necessary to explicitly mark newline() as unexpected, since we...Daniel Burrows1-5/+0
2010-07-10Make download_status_display part of the command-line code.Daniel Burrows2-189/+58
2010-07-10Add a routine on download_progress that's invoked when a file is skipped beca...Daniel Burrows1-0/+62
2010-07-10Delete an obsolete comment that snuck into my earlier roll-up patch.Daniel Burrows1-11/+0
2010-07-10Add a complete() routine to the download progress view that's invoked when th...Daniel Burrows1-0/+5
2010-07-10Flesh out the implementation of the download progress display and its tests.Daniel_Burrows@alumni.brown.edu4-24/+1133
2010-07-10Split the teletype mock's constructors into default/nice/strict variants too.Daniel Burrows2-3/+3
2010-07-10Make transient_message a Mock and use its strict variant.Daniel Burrows2-2/+2
2010-07-10Make combining_terminal_output implement the same interface as Mock.Daniel Burrows3-3/+3
2010-07-10Use Mock to implement terminal_with_combined_output.Daniel Burrows1-1/+1
2010-07-10Make the terminal_metrics mock a Mock instance and use its strict variant eve...Daniel Burrows3-3/+3
2010-07-10Make the terminal_locale mock a Mock instance and use its strict variant in t...Daniel Burrows3-3/+3
2010-07-10Split the "terminal" interface into several interfaces that each export one p...Daniel_Burrows@alumni.brown.edu4-179/+99
2010-07-03Move the search input controller and view classes over to generic/.Daniel_Burrows@alumni.brown.edu3-19/+12
2010-07-03Move the throttle object to src/generic/util.Daniel_Burrows@alumni.brown.edu2-13/+13
2010-07-03Move the core command-line progress view interface to generic/views.Daniel_Burrows@alumni.brown.edu3-23/+30
2010-07-03Fix up the SConscript files.Daniel_Burrows@alumni.brown.edu1-0/+2
2010-07-02Remove the now-obsolete preserve_and_advance() routine.Daniel Burrows1-13/+0
2010-07-02Use display_and_advance() for the standard progress meters.Daniel Burrows1-45/+17
2010-07-02Add a routine on transient_message to display a non-wrapped message and move ...Daniel Burrows1-0/+46
2010-06-30Add a view interface for displaying the download progress and an implementati...Daniel_Burrows@alumni.brown.edu3-0/+109
2010-06-19Don't try to link GTK+-related code into the tests if the GTK+ frontend isn't...Daniel Burrows1-2/+5
2010-06-19Don't try to test the search input controller if the GTK+ frontend wasn't built.Daniel Burrows1-0/+4
2010-06-18Explicitly include gmock/gtest -- they should be picked up by another include...Daniel Burrows1-0/+3
2010-06-18Extract the declarations of the global pointers to apt structures into a sepa...Daniel Burrows1-25/+10
2010-06-18Re-enable all the unit tests.Daniel Burrows1-2/+2
2010-06-15Add support to the command-line progress display object for showing that the ...Daniel Burrows3-56/+454
2010-06-15Make the testing of search progress throttling hopefully more robust.Daniel Burrows1-15/+16
2010-06-10Put some mock expectations that should be in sequence in the scope of InSeque...Daniel Burrows1-22/+67
2010-06-10Add support in the transient message for making a message permanent and advan...Daniel Burrows2-2/+14
2010-06-10Fix the teletype mock to only output set_last_line() when the last line has a...Daniel Burrows1-0/+22
2010-06-10Don't show any output from the transient message object if the output device ...Daniel Burrows1-4/+51
2010-06-10Write a test of the command-line search progress object.Daniel Burrows3-1/+221
2010-06-09Write tests of the command-line progress display class.Daniel Burrows3-0/+284
2010-06-07Write tests of the transient-message class.Daniel Burrows3-1/+214
2010-06-07Write a test that the teletype mock works when used with a "real" combining t...Daniel Burrows1-0/+25
2010-06-07Add a sanity-check to the terminal mock tests that makes the same calls a sim...Daniel Burrows1-0/+22
2010-06-07Write one test to specifically verify that the sequence of characters sent by...Daniel Burrows1-0/+17
2010-06-07Don't depend on the behavior of the combining terminal when testing the telet...Daniel Burrows1-15/+8
2010-06-07Verify that we can output two carriage returns from the fake terminal using m...Daniel Burrows1-1/+3
2010-06-07Add a matcher that compares strings by trimming them on the right.Daniel Burrows1-0/+56
2010-06-07Wrap a layer of indirection around wcwidth().Daniel Burrows1-13/+11
2010-06-06Use wide strings in the terminal wrapper interface.Daniel Burrows2-96/+112
2010-06-06Write tests verifying the behavior of the teletype mock object with respect t...Daniel Burrows1-1/+162
2010-06-05Add a convenience matcher to trim whitespace from strings before matching them.Daniel Burrows1-0/+41