~brandontschaefer/nux/xim-tests

« back to all changes in this revision

Viewing changes to tests/Helpers.cpp

  • Committer: Brandon Schaefer
  • Date: 2012-11-05 17:47:31 UTC
  • mfrom: (637.69.20 nux.armel-fixes)
  • Revision ID: brandon.schaefer@canonical.com-20121105174731-a9npj0wefur764d0
* Merge with thumpers nux.armel-fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
std::string CaptureLogOutput::GetOutput()
63
63
{
64
 
  return sout_.str();
 
64
  std::string result = sout_.str();
 
65
  sout_.str("");
 
66
  return result;
65
67
}
66
68
 
67
69