mirror of https://github.com/ARMmbed/mbed-os.git
Fixed unit test after removing mux.
parent
7c9f5f3781
commit
dc87629641
|
@ -16,7 +16,6 @@ TEST_SRC_FILES = \
|
||||||
../../stubs/AT_CellularSIM_stub.cpp \
|
../../stubs/AT_CellularSIM_stub.cpp \
|
||||||
../../stubs/AT_CellularPower_stub.cpp \
|
../../stubs/AT_CellularPower_stub.cpp \
|
||||||
../../stubs/AT_CellularInformation_stub.cpp \
|
../../stubs/AT_CellularInformation_stub.cpp \
|
||||||
../../stubs/AT_CellularMultiplexer_stub.cpp \
|
|
||||||
../../stubs/CellularUtil_stub.cpp \
|
../../stubs/CellularUtil_stub.cpp \
|
||||||
../../stubs/AT_CellularBase_stub.cpp \
|
../../stubs/AT_CellularBase_stub.cpp \
|
||||||
../../stubs/NetworkInterface_stub.cpp \
|
../../stubs/NetworkInterface_stub.cpp \
|
||||||
|
|
|
@ -67,11 +67,6 @@ TEST(AT_CellularDevice, test_AT_CellularDevice_open_sim)
|
||||||
unit->test_AT_CellularDevice_open_sim();
|
unit->test_AT_CellularDevice_open_sim();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(AT_CellularDevice, test_AT_CellularDevice_open_multiplexer)
|
|
||||||
{
|
|
||||||
unit->test_AT_CellularDevice_open_multiplexer();
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(AT_CellularDevice, test_AT_CellularDevice_open_information)
|
TEST(AT_CellularDevice, test_AT_CellularDevice_open_information)
|
||||||
{
|
{
|
||||||
unit->test_AT_CellularDevice_open_information();
|
unit->test_AT_CellularDevice_open_information();
|
||||||
|
@ -97,11 +92,6 @@ TEST(AT_CellularDevice, test_AT_CellularDevice_close_sim)
|
||||||
unit->test_AT_CellularDevice_close_sim();
|
unit->test_AT_CellularDevice_close_sim();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(AT_CellularDevice, test_AT_CellularDevice_close_multiplexer)
|
|
||||||
{
|
|
||||||
unit->test_AT_CellularDevice_close_multiplexer();
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(AT_CellularDevice, test_AT_CellularDevice_close_information)
|
TEST(AT_CellularDevice, test_AT_CellularDevice_close_information)
|
||||||
{
|
{
|
||||||
unit->test_AT_CellularDevice_close_information();
|
unit->test_AT_CellularDevice_close_information();
|
||||||
|
|
|
@ -100,16 +100,6 @@ void Test_AT_CellularDevice::test_AT_CellularDevice_open_sim()
|
||||||
CHECK(dev.open_sim(&fh1));
|
CHECK(dev.open_sim(&fh1));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Test_AT_CellularDevice::test_AT_CellularDevice_open_multiplexer()
|
|
||||||
{
|
|
||||||
EventQueue que;
|
|
||||||
AT_CellularDevice dev(que);
|
|
||||||
FileHandle_stub fh1;
|
|
||||||
|
|
||||||
CHECK(!dev.open_multiplexer(NULL));
|
|
||||||
CHECK(dev.open_multiplexer(&fh1));
|
|
||||||
}
|
|
||||||
|
|
||||||
void Test_AT_CellularDevice::test_AT_CellularDevice_open_information()
|
void Test_AT_CellularDevice::test_AT_CellularDevice_open_information()
|
||||||
{
|
{
|
||||||
EventQueue que;
|
EventQueue que;
|
||||||
|
@ -140,11 +130,6 @@ void Test_AT_CellularDevice::test_AT_CellularDevice_close_sim()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Test_AT_CellularDevice::test_AT_CellularDevice_close_multiplexer()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void Test_AT_CellularDevice::test_AT_CellularDevice_close_information()
|
void Test_AT_CellularDevice::test_AT_CellularDevice_close_information()
|
||||||
{
|
{
|
||||||
EventQueue que;
|
EventQueue que;
|
||||||
|
|
|
@ -36,8 +36,6 @@ public:
|
||||||
|
|
||||||
void test_AT_CellularDevice_open_sim();
|
void test_AT_CellularDevice_open_sim();
|
||||||
|
|
||||||
void test_AT_CellularDevice_open_multiplexer();
|
|
||||||
|
|
||||||
void test_AT_CellularDevice_open_information();
|
void test_AT_CellularDevice_open_information();
|
||||||
|
|
||||||
void test_AT_CellularDevice_close_network();
|
void test_AT_CellularDevice_close_network();
|
||||||
|
@ -48,8 +46,6 @@ public:
|
||||||
|
|
||||||
void test_AT_CellularDevice_close_sim();
|
void test_AT_CellularDevice_close_sim();
|
||||||
|
|
||||||
void test_AT_CellularDevice_close_multiplexer();
|
|
||||||
|
|
||||||
void test_AT_CellularDevice_close_information();
|
void test_AT_CellularDevice_close_information();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue