root/library/tests/unittest-cpp/TestDetails.h @ 477

Revision 477, 0.6 kB (checked in by mido, 15 years ago)

panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc

RevLine 
[418]1#ifndef UNITTEST_TESTDETAILS_H
2#define UNITTEST_TESTDETAILS_H
3
4namespace UnitTest {
5
[477]6class TestDetails {
[418]7public:
[477]8        TestDetails ( char const* testName, char const* suiteName, char const* filename, int lineNumber, bool useFilename = true );
9        TestDetails ( const TestDetails& details, int lineNumber, bool useFilename = true );
[418]10
[477]11        char const* const suiteName;
12        char const* const testName;
13        char const* const filename;
14        int const lineNumber;
15        bool const useFilename;
[418]16
[477]17        TestDetails ( TestDetails const& ); // Why is it public? --> http://gcc.gnu.org/bugs.html#cxx_rvalbind
[418]18private:
[477]19        TestDetails& operator= ( TestDetails const& );
[418]20};
21
22}
23
24#endif
Note: See TracBrowser for help on using the browser.