OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 #include "src/shared/flags.h" | 5 #include "src/shared/flags.h" |
6 #include "src/shared/fletch.h" | 6 #include "src/shared/fletch.h" |
7 #include "src/shared/test_case.h" | 7 #include "src/shared/test_case.h" |
8 | 8 |
9 namespace fletch { | 9 namespace fletch { |
10 | 10 |
11 static void Main(int argc, char** argv) { | 11 static void Main(int argc, char** argv) { |
12 Flags::ExtractFromCommandLine(&argc, argv); | 12 Flags::ExtractFromCommandLine(&argc, argv); |
13 Fletch::Setup(); | 13 Fletch::Setup(); |
14 TestCase::RunAll(); | 14 TestCase::RunAll(); |
15 Fletch::TearDown(); | 15 Fletch::TearDown(); |
16 } | 16 } |
17 | 17 |
18 } // namespace fletch | 18 } // namespace fletch |
19 | 19 |
20 int main(int argc, char** argv) { | 20 int main(int argc, char** argv) { |
21 fletch::Main(argc, argv); | 21 fletch::Main(argc, argv); |
22 return 0; | 22 return 0; |
23 } | 23 } |
OLD | NEW |