• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Created by Phil on 8/8/2017.
3  *  Copyright 2017 Two Blue Cubes Ltd. All rights reserved.
4  *
5  *  Distributed under the Boost Software License, Version 1.0. (See accompanying
6  *  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7  */
8 #ifndef TWOBLUECUBES_CATCH_ASSERTIONINFO_H_INCLUDED
9 #define TWOBLUECUBES_CATCH_ASSERTIONINFO_H_INCLUDED
10 
11 #include "catch_result_type.h"
12 #include "catch_common.h"
13 #include "catch_stringref.h"
14 
15 namespace Catch {
16 
17     struct AssertionInfo
18     {
19         StringRef macroName;
20         SourceLineInfo lineInfo;
21         StringRef capturedExpression;
22         ResultDisposition::Flags resultDisposition;
23 
24         // We want to delete this constructor but a compiler bug in 4.8 means
25         // the struct is then treated as non-aggregate
26         //AssertionInfo() = delete;
27     };
28 
29 } // end namespace Catch
30 
31 #endif // TWOBLUECUBES_CATCH_ASSERTIONINFO_H_INCLUDED
32