From 19f0c41e006a41e7ffd27e7dbc276f46954b8fb7 Mon Sep 17 00:00:00 2001 From: Mike Long Date: Mon, 21 Feb 2011 20:43:18 +0100 Subject: [PATCH] Cleaned up example --- examples/UI_test_cpp.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/examples/UI_test_cpp.cpp b/examples/UI_test_cpp.cpp index c443e9b..065b3d3 100644 --- a/examples/UI_test_cpp.cpp +++ b/examples/UI_test_cpp.cpp @@ -124,26 +124,3 @@ TEST_F(UITests, when_string_longer_than_26_then_truncated_string_output) } -//TEST_F(UITests, when_outputting_to_full_display_then_previous_inserted) -//{ -// // given -// DISPLAY_get_line_insert_index_return_val = 1; -// char oldest[] = "oldest"; -// char newest[] = "newest"; -// // when -// UI_write_line(oldest); -// UI_write_line(newest); -// // then -// -// ASSERT_EQ(DISPLAY_output_call_count, 2); -// -// // fills last line -// ASSERT_EQ(strncmp(oldest, DISPLAY_output_arg0_val_history[0], 37), 0); -// //clears -// ASSERT_EQ(DISPLAY_clear_call_count, 1); -// // inserts old line at first -// ASSERT_EQ(strncmp(oldest, DISPLAY_output_arg0_val_history[1], 37), 0); -// // then inserts new line -// ASSERT_EQ(strncmp(newest, DISPLAY_output_arg0_val_history[2], 37), 0); -//} -