types.hh 1.06 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
// (C) Copyright 2016 by Autodesk, Inc.
//
// The information contained herein is confidential, proprietary
// to Autodesk,  Inc.,  and considered a trade secret as defined
// in section 499C of the penal code of the State of California.
// Use of  this information  by  anyone  other  than  authorized
// employees of Autodesk, Inc.  is granted  only under a written
// non-disclosure agreement,  expressly  prescribing  the  scope
// and manner of such use.

#ifndef BASE_TYPES_HH_INCLUDE
#define BASE_TYPES_HH_INCLUDE

14
15
#ifdef TEST_ON

16
17
#include "Base/Utils/IOutputStream.hh"

18
19
#include <sstream>

20
21
22
23
24
25
26
27
28
namespace boost {
namespace filesystem {
class path;
}//namespace boost
}//namespace filesystem

namespace Test {

typedef boost::filesystem::path Path;
29
30
31
32

const char* const LOG_FILENAME = "out.txt";
const char* const REPORT_FILENAME = "report.txt";

33
typedef double Severity;
34
35

// test output stream
36
typedef Base::OutputStreamAdaptT<std::ostringstream> OStream;
37
38
39

// test input stream
typedef std::istringstream IStream;
40
41
42

}//namespace Test

43
44
#endif//TEST_ON

45
#endif//BASE_TYPES_HH_INCLUDE