More code cleanups

This commit is contained in:
Markus Gans 2019-10-08 04:50:43 +02:00
parent b0080b00cf
commit 762b232fd0
1 changed files with 6 additions and 6 deletions

View File

@ -934,7 +934,7 @@ void FOptiAttrTest::vt100Test()
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
, C_STR(CSI "0m\017$<2>") ); , C_STR(CSI "0m\017$<2>") );
CPPUNIT_ASSERT ( *from == *to ); CPPUNIT_ASSERT ( *from == *to );
CPPUNIT_ASSERT ( to->encoded_code == ' ' ); CPPUNIT_ASSERT ( to->encoded_char == ' ' );
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors) // Invisible off (with default colors)
@ -1882,7 +1882,7 @@ void FOptiAttrTest::rxvtTest()
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
, C_STR(CSI "0m\017") ); , C_STR(CSI "0m\017") );
CPPUNIT_ASSERT ( *from == *to ); CPPUNIT_ASSERT ( *from == *to );
CPPUNIT_ASSERT ( to->encoded_code == ' ' ); CPPUNIT_ASSERT ( to->encoded_char == ' ' );
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors) // Invisible off (with default colors)
@ -2354,7 +2354,7 @@ void FOptiAttrTest::linuxTest()
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
, C_STR(CSI "0m\017") ); , C_STR(CSI "0m\017") );
CPPUNIT_ASSERT ( *from == *to ); CPPUNIT_ASSERT ( *from == *to );
CPPUNIT_ASSERT ( to->encoded_code == ' ' ); CPPUNIT_ASSERT ( to->encoded_char == ' ' );
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors) // Invisible off (with default colors)
@ -2838,7 +2838,7 @@ void FOptiAttrTest::puttyTest()
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
, C_STR(CSI "0m\017") ); , C_STR(CSI "0m\017") );
CPPUNIT_ASSERT ( *from == *to ); CPPUNIT_ASSERT ( *from == *to );
CPPUNIT_ASSERT ( to->encoded_code == ' ' ); CPPUNIT_ASSERT ( to->encoded_char == ' ' );
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors) // Invisible off (with default colors)
@ -3312,7 +3312,7 @@ void FOptiAttrTest::teratermTest()
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
, C_STR(CSI "0m\017$<2>") ); , C_STR(CSI "0m\017$<2>") );
CPPUNIT_ASSERT ( *from == *to ); CPPUNIT_ASSERT ( *from == *to );
CPPUNIT_ASSERT ( to->encoded_code == ' ' ); CPPUNIT_ASSERT ( to->encoded_char == ' ' );
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors) // Invisible off (with default colors)
@ -3770,7 +3770,7 @@ void FOptiAttrTest::ibmColorTest()
CPPUNIT_ASSERT ( *from != *to ); CPPUNIT_ASSERT ( *from != *to );
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to), C_STR("") ); CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to), C_STR("") );
CPPUNIT_ASSERT ( *from == *to ); CPPUNIT_ASSERT ( *from == *to );
CPPUNIT_ASSERT ( to->encoded_code == ' ' ); CPPUNIT_ASSERT ( to->encoded_char == ' ' );
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors) // Invisible off (with default colors)