libNbiotCore/test/serial_test.cpp
// Tests that the serial dbgprf constructor is initialized with no error and dbgprf is set as expected.
Tests that the serial dbgprf constructor is initialized with no error and dbgprf is set as expected.
Tests that the serial dbgprf constructor is initialized with no error and dbgprf is set as expected .
TEST(SerialTest, SerialDbgprfConstructor) {
    int dbgprf = 1;
    Serial s(dbgprf);
    EXPECT_EQ(((int) Serial::NoError), s.getError())
                        << "Serial should be initalized with NoError";
    EXPECT_EQ(dbgprf, s.getDebugPrefix());
}
TEST ( SerialTest , SerialDbgprfConstructor ) { int dbgprf = 1 ; Serial s ( dbgprf ) ; EXPECT_EQ ( ( ( int ) Serial :: NoError ) , s . getError ( ) ) << " " ; EXPECT_EQ ( dbgprf , s . getDebugPrefix ( ) ) ; }
Tests that the serial dbgprf constructor is initialized with no error and dbgprf is set as expected.
Tests that the serial dbgprf constructor is initialized with no error and dbgprf is set as expected .