diff --git a/tests/tcp_cmd.cpp b/tests/tcp_cmd.cpp index 6c755a9..898a074 100644 --- a/tests/tcp_cmd.cpp +++ b/tests/tcp_cmd.cpp @@ -81,26 +81,26 @@ TEST(TCP_CMD, tcp_data_cb) { tcp_cmd_recv(NULL, NULL, &p, ERR_OK); output = testing::internal::GetCapturedStdout(); #ifndef DEBUG - EXPECT_EQ(output, "help : shows a list of commands\n" - "clear text/images : clears the text or images on the lcd\n" - "text \"\" : puts text on the lcd\n" - "bgColor : set the background color of the lcd\n" - "color : set the color of the text\n" - "listFiles : shows a list with images in the filesystem\n" - "setImage : put an image on the screen\n" - "setGif : put a gif on the screen\n" - "exit : closes the connection\n\n$>\n"); + EXPECT_EQ(output, "help : shows a list of commands\n" + "clear text/images : clears the text or images on the lcd\n" + "text \"\" : puts text on the lcd\n" + "bgColor () : set the background color of the lcd\n" + "color () : set the color of the text\n" + "listFiles : shows a list with images in the filesystem\n" + "setImage : put an image on the screen\n" + "setGif : put a gif on the screen\n" + "exit : closes the connection\n\n$>\n"); #else EXPECT_EQ(output, "tcp_recved\ntcp_write:\n" - "help : shows a list of commands\n" - "clear text/images : clears the text or images on the lcd\n" - "text \"\" : puts text on the lcd\n" - "bgColor : set the background color of the lcd\n" - "color : set the color of the text\n" - "listFiles : shows a list with images in the filesystem\n" - "setImage : put an image on the screen\n" - "setGif : put a gif on the screen\n" - "exit : closes the connection\n" + "help : shows a list of commands\n" + "clear text/images : clears the text or images on the lcd\n" + "text \"\" : puts text on the lcd\n" + "bgColor () : set the background color of the lcd\n" + "color () : set the color of the text\n" + "listFiles : shows a list with images in the filesystem\n" + "setImage : put an image on the screen\n" + "setGif : put a gif on the screen\n" + "exit : closes the connection\n" "\ntcp_output\ntcp_write:\n$>\ntcp_output\npbuf_free\n"); #endif @@ -113,7 +113,7 @@ TEST(TCP_CMD, tcp_data_cb) { #ifndef DEBUG EXPECT_EQ(output, "$>\n"); #else - EXPECT_EQ(output, "tcp_recved\nlcd_display_text @ 10 10 with color 0xFF000000 bg color 0xFF000000\nThis is printed on the display\ntcp_write:\n$>\ntcp_output\npbuf_free\n"); + EXPECT_EQ(output, "tcp_recved\nlcd_display_text @ 10 10 with color 0xFFFFFFFF bg color 0xFF000000\nThis is printed on the display\ntcp_write:\n$>\ntcp_output\npbuf_free\n"); #endif strcpy(cmd, "color 0x555555");