Home | History | Annotate | Download | only in unit

Lines Matching full:chars_read

406     int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
407 CPPUNIT_CHECK( chars_read == 11 );
409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) );
410 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) );
432 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
433 CPPUNIT_CHECK( chars_read == 11 );
437 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read.
439 CPPUNIT_ASSERT( offset >= chars_read );
485 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) );
486 CPPUNIT_CHECK( chars_read == 11 );
490 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read.
492 CPPUNIT_ASSERT( off >= chars_read );