unit test update
This commit is contained in:
parent
b28cf8b9c1
commit
a0a65ee9fb
|
@ -1085,7 +1085,7 @@ void FOptiAttrTest::vt100Test()
|
||||||
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
||||||
, CSI "0m\017$<2>" );
|
, CSI "0m\017$<2>" );
|
||||||
CPPUNIT_ASSERT ( from == to );
|
CPPUNIT_ASSERT ( from == to );
|
||||||
CPPUNIT_ASSERT ( to.encoded_char == ' ' );
|
CPPUNIT_ASSERT ( to.encoded_char[0] == ' ' );
|
||||||
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
||||||
|
|
||||||
// Invisible off (with default colors)
|
// Invisible off (with default colors)
|
||||||
|
@ -2028,7 +2028,7 @@ void FOptiAttrTest::rxvtTest()
|
||||||
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
||||||
, CSI "0m\017" );
|
, CSI "0m\017" );
|
||||||
CPPUNIT_ASSERT ( from == to );
|
CPPUNIT_ASSERT ( from == to );
|
||||||
CPPUNIT_ASSERT ( to.encoded_char == ' ' );
|
CPPUNIT_ASSERT ( to.encoded_char[0] == ' ' );
|
||||||
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
||||||
|
|
||||||
// Invisible off (with default colors)
|
// Invisible off (with default colors)
|
||||||
|
@ -2498,7 +2498,7 @@ void FOptiAttrTest::linuxTest()
|
||||||
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
||||||
, CSI "0m\017" );
|
, CSI "0m\017" );
|
||||||
CPPUNIT_ASSERT ( from == to );
|
CPPUNIT_ASSERT ( from == to );
|
||||||
CPPUNIT_ASSERT ( to.encoded_char == ' ' );
|
CPPUNIT_ASSERT ( to.encoded_char[0] == ' ' );
|
||||||
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
||||||
|
|
||||||
// Invisible off (with default colors)
|
// Invisible off (with default colors)
|
||||||
|
@ -2979,7 +2979,7 @@ void FOptiAttrTest::puttyTest()
|
||||||
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
||||||
, CSI "0m\017" );
|
, CSI "0m\017" );
|
||||||
CPPUNIT_ASSERT ( from == to );
|
CPPUNIT_ASSERT ( from == to );
|
||||||
CPPUNIT_ASSERT ( to.encoded_char == ' ' );
|
CPPUNIT_ASSERT ( to.encoded_char[0] == ' ' );
|
||||||
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
||||||
|
|
||||||
// Invisible off (with default colors)
|
// Invisible off (with default colors)
|
||||||
|
@ -3450,7 +3450,7 @@ void FOptiAttrTest::teratermTest()
|
||||||
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
|
||||||
, CSI "0m\017$<2>" );
|
, CSI "0m\017$<2>" );
|
||||||
CPPUNIT_ASSERT ( from == to );
|
CPPUNIT_ASSERT ( from == to );
|
||||||
CPPUNIT_ASSERT ( to.encoded_char == ' ' );
|
CPPUNIT_ASSERT ( to.encoded_char[0] == ' ' );
|
||||||
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
||||||
|
|
||||||
// Invisible off (with default colors)
|
// Invisible off (with default colors)
|
||||||
|
@ -3905,7 +3905,7 @@ void FOptiAttrTest::ibmColorTest()
|
||||||
CPPUNIT_ASSERT ( from != to );
|
CPPUNIT_ASSERT ( from != to );
|
||||||
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to), "" );
|
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to), "" );
|
||||||
CPPUNIT_ASSERT ( from == to );
|
CPPUNIT_ASSERT ( from == to );
|
||||||
CPPUNIT_ASSERT ( to.encoded_char == ' ' );
|
CPPUNIT_ASSERT ( to.encoded_char[0] == ' ' );
|
||||||
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
|
||||||
|
|
||||||
// Invisible off (with default colors)
|
// Invisible off (with default colors)
|
||||||
|
|
Loading…
Reference in New Issue