Skip to content

Commit aac3437

Browse files
author
Antti Kauppila
committed
Cleaned up athandlertest.cpp
1 parent d6706d1 commit aac3437

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

UNITTESTS/features/cellular/framework/AT/athandler/athandlertest.cpp

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -947,32 +947,6 @@ TEST_F(TestATHandler, test_ATHandler_read_int)
947947

948948
ret = at.read_int();
949949
EXPECT_TRUE(2 == ret);
950-
at.resp_stop();
951-
at.clear_error();
952-
953-
char table3[] = "\"9223372036854775808,\"OK\r\n\0";
954-
filehandle_stub_table = table3;
955-
filehandle_stub_table_pos = 0;
956-
mbed_poll_stub::revents_value = POLLIN;
957-
mbed_poll_stub::int_value = strlen(table3);
958-
959-
at.resp_start();
960-
ret = at.read_int();
961-
EXPECT_TRUE(-1 == ret);
962-
at.resp_stop();
963-
at.clear_error();
964-
965-
char table4[] = "\"-9223372036854775809,\"OK\r\n\0";
966-
filehandle_stub_table = table4;
967-
filehandle_stub_table_pos = 0;
968-
mbed_poll_stub::revents_value = POLLIN;
969-
mbed_poll_stub::int_value = strlen(table4);
970-
971-
at.resp_start();
972-
ret = at.read_int();
973-
EXPECT_TRUE(-1 == ret);
974-
at.resp_stop();
975-
at.clear_error();
976950
}
977951

978952
TEST_F(TestATHandler, test_ATHandler_resp_start)

0 commit comments

Comments
 (0)