mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
fixed unchanged copy and paste
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@6086 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
4c6539bd08
commit
2b8adbe34c
@ -9,7 +9,7 @@ PROGRAM example
|
||||
STOP
|
||||
END IF
|
||||
|
||||
IF (SetOutputStringOn(id, .TRUE.).NE.IPQ_OK) THEN
|
||||
IF (SetLogStringOn(id, .TRUE.).NE.IPQ_OK) THEN
|
||||
CALL OutputErrorString(id)
|
||||
STOP
|
||||
END IF
|
||||
|
||||
@ -2902,11 +2902,11 @@ void TestIPhreeqc::TestGetErrorString(void)
|
||||
obj.SetErrorFileName(ERR_FILENAME);
|
||||
CPPUNIT_ASSERT_EQUAL( std::string(ERR_FILENAME), std::string(obj.GetErrorFileName()) );
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL( 1, obj.RunAccumulated() );
|
||||
CPPUNIT_ASSERT_EQUAL( 1, obj.RunAccumulated() );
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL( std::string(ERR_FILENAME), std::string(obj.GetErrorFileName()) );
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL( true, ::FileExists(ERR_FILENAME) );
|
||||
CPPUNIT_ASSERT_EQUAL( true, ::FileExists(ERR_FILENAME) );
|
||||
|
||||
{
|
||||
std::string fline("ERROR: Numerical method failed on all combinations of convergence parameters\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user