DMC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,6 +45,10 @@
|
|||||||
#include "wx/cppunit.h"
|
#include "wx/cppunit.h"
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
#ifdef __DMC__
|
||||||
|
#include <locale.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace CppUnit;
|
using namespace CppUnit;
|
||||||
|
|
||||||
|
@@ -157,10 +157,10 @@ void TestApp::List(Test *test, const string& parent /*=""*/) const
|
|||||||
cout << " " << name.substr(i + 1) << "\n";
|
cout << " " << name.substr(i + 1) << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef const vector<Test*> Tests;
|
typedef vector<Test*> Tests;
|
||||||
typedef Tests::const_iterator Iter;
|
typedef Tests::const_iterator Iter;
|
||||||
|
|
||||||
Tests& tests = suite->getTests();
|
const Tests& tests = suite->getTests();
|
||||||
|
|
||||||
for (Iter it = tests.begin(); it != tests.end(); ++it)
|
for (Iter it = tests.begin(); it != tests.end(); ++it)
|
||||||
List(*it, name);
|
List(*it, name);
|
||||||
|
Reference in New Issue
Block a user