Home | History | Annotate | Download | only in unit

Lines Matching refs:chars_read

405     int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
406 CPPUNIT_CHECK( chars_read == 11 );
408 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) );
409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) );
431 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) );
432 CPPUNIT_CHECK( chars_read == 11 );
436 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read.
438 CPPUNIT_ASSERT( offset >= chars_read );
484 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) );
485 CPPUNIT_CHECK( chars_read == 11 );
489 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read.
491 CPPUNIT_ASSERT( off >= chars_read );