| 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 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 | 6 |
| 7 #include "src/shared/asan_helper.h" | 7 #include "src/shared/asan_helper.h" |
| 8 #include "src/shared/assert.h" | 8 #include "src/shared/assert.h" |
| 9 #include "src/shared/flags.h" | 9 #include "src/shared/flags.h" |
| 10 #include "src/shared/test_case.h" | 10 #include "src/shared/test_case.h" |
| 11 | 11 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 34 // Parse the fake arguments | 34 // Parse the fake arguments |
| 35 int count = argc; | 35 int count = argc; |
| 36 Flags::ExtractFromCommandLine(&count, values); | 36 Flags::ExtractFromCommandLine(&count, values); |
| 37 EXPECT_EQ(2, count); | 37 EXPECT_EQ(2, count); |
| 38 EXPECT_STREQ("fletch", values[0]); | 38 EXPECT_STREQ("fletch", values[0]); |
| 39 EXPECT_STREQ("nothing", values[1]); | 39 EXPECT_STREQ("nothing", values[1]); |
| 40 EXPECT(Flags::verbose); | 40 EXPECT(Flags::verbose); |
| 41 } | 41 } |
| 42 | 42 |
| 43 } // namespace fletch | 43 } // namespace fletch |
| OLD | NEW |