1 // **********************************************************************
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
8 // **********************************************************************
10 #include <IceUtil/IceUtil.h>
16 TestFailed::TestFailed(const std::string
& n
) :
21 TestBase::TestBase(const std::string
& n
) :
27 TestBase::name() const
35 cout
<< "running " << _name
<< " test... " << flush
;
40 catch(const IceUtil::Exception
& e
)
42 cout
<< e
<< " failed" << endl
;
43 throw TestFailed(_name
);