9182-2.cc: Make sure the exception is actually thrown.
2004-02-14 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make sure the exception is actually thrown. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. From-SVN: r77828
This commit is contained in:
parent
45cfeb0614
commit
45cbe93c0e
@ -1,3 +1,11 @@
|
||||
2004-02-14 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
|
||||
sure the exception is actually thrown.
|
||||
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
|
||||
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
|
||||
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
|
||||
|
||||
2004-02-14 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/13858
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include <fstream>
|
||||
#include <locale>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
|
||||
|
||||
@ -63,6 +64,7 @@ void test14()
|
||||
{
|
||||
fbuf1.sputn("onne", 4);
|
||||
fbuf1.close();
|
||||
VERIFY( false );
|
||||
}
|
||||
catch (exception&)
|
||||
{
|
||||
|
@ -19,6 +19,7 @@
|
||||
// 27.8.1.4 Overridden virtual functions
|
||||
|
||||
#include <fstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
void test03()
|
||||
{
|
||||
@ -36,6 +37,7 @@ void test03()
|
||||
// seekoff should flush the output sequence, which will fail
|
||||
// if the output buffer contains illegal characters.
|
||||
fb.pubseekoff(0, ios_base::cur);
|
||||
VERIFY( false );
|
||||
}
|
||||
catch (exception&)
|
||||
{
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <locale>
|
||||
#include <fstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
void test01()
|
||||
{
|
||||
@ -36,6 +37,7 @@ void test01()
|
||||
try
|
||||
{
|
||||
fb.pubseekpos(pos);
|
||||
VERIFY( false );
|
||||
}
|
||||
catch (exception&)
|
||||
{
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include <fstream>
|
||||
#include <locale>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
|
||||
|
||||
@ -62,7 +63,7 @@ void test13()
|
||||
{
|
||||
fbuf1.sputn("ison", 4);
|
||||
fbuf1.pubsync();
|
||||
fbuf1.close();
|
||||
VERIFY( false );
|
||||
}
|
||||
catch (exception&)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user