bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ccxx_tests were failed to pass in Redhat linux 9.0


From: Benjamin Y. Lee
Subject: ccxx_tests were failed to pass in Redhat linux 9.0
Date: Mon, 17 Nov 2003 16:31:07 +0900

Hi !
 
I am using RedHat linux 9.0. I had downloaded Common C++ library version 2.1.0.13 and installed to /usr/local directory. When i tested installed common C++ library using ccxx_tests, then any test was not passed.
 
  ...... T.T
 
For example, i want to use persistence related library routine. But the results were wrong. Here is code example from SampelObject.cpp under ccxx_tests.
 
  
void EngineTest::testComplexObject()
{
  // write BaseObject hierarchy
  std::fstream outputArchive("EngineComplexObjectTest.dat", std::ios::out|std::ios::binary);
  Engine outputEngine(outputArchive, ost::Engine::modeWrite);
  outputEngine << complexObject;
  outputArchive.close();
    .....
 
In ddd debugger, when i executed "outputArchive.closed()" line and examined "EngineComplexObjectTest.dat" in the shell, then it's file size was zero.
 
   .....
 
I am trying to use common C++ library to write data persistently.
 
Thank you
 
From Benjamin Y. Lee
 
======================================================================
 
 Benjamin Y. Lee, Ph.D
 
 Tel: +82-502-504-3016
 Email: address@hidden
 
======================================================================
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]