OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef SRC_SHARED_TEST_CASE_H_ | 5 #ifndef SRC_SHARED_TEST_CASE_H_ |
6 #define SRC_SHARED_TEST_CASE_H_ | 6 #define SRC_SHARED_TEST_CASE_H_ |
7 | 7 |
8 #include "src/shared/globals.h" | 8 #include "src/shared/globals.h" |
9 | 9 |
10 #define TEST_CASE(name) \ | 10 #define TEST_CASE(name) \ |
11 static void Test##name(); \ | 11 static void Test##name(); \ |
(...skipping 26 matching lines...) Expand all Loading... |
38 TestCase* next_; | 38 TestCase* next_; |
39 RunEntry* const run_; | 39 RunEntry* const run_; |
40 const char* name_; | 40 const char* name_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(TestCase); | 42 DISALLOW_COPY_AND_ASSIGN(TestCase); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace fletch | 45 } // namespace fletch |
46 | 46 |
47 #endif // SRC_SHARED_TEST_CASE_H_ | 47 #endif // SRC_SHARED_TEST_CASE_H_ |
OLD | NEW |