Lines Matching refs:istr
43 istringstream istr;
44 istr.str("bar");
46 istr >> ws;
47 CPPUNIT_ASSERT( istr.good() );
50 istr >> foo;
51 CPPUNIT_ASSERT( istr.eof() );
52 CPPUNIT_ASSERT( !istr.fail() );
55 istr >> ws;
56 CPPUNIT_ASSERT( istr.eof() );
57 CPPUNIT_ASSERT( !istr.fail() );
58 istr.clear();
62 istringstream istr;
63 istr.str(" bar ");
65 istr >> ws;
66 CPPUNIT_ASSERT( istr.good() );
69 istr >> foo;
70 CPPUNIT_ASSERT( !istr.eof() );
71 CPPUNIT_ASSERT( !istr.fail() );
74 istr >> ws;
75 CPPUNIT_ASSERT( istr.eof() );
76 CPPUNIT_ASSERT( !istr.fail() );
77 istr.clear();