OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "gin/test/file_runner.h" | 5 #include "gin/test/file_runner.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "gin/converter.h" | 10 #include "gin/converter.h" |
11 #include "gin/modules/console.h" | 11 #include "gin/modules/console.h" |
12 #include "gin/modules/module_registry.h" | 12 #include "gin/modules/module_registry.h" |
13 #include "gin/public/context_holder.h" | 13 #include "gin/public/context_holder.h" |
14 #include "gin/public/isolate_holder.h" | 14 #include "gin/public/isolate_holder.h" |
15 #include "gin/test/file.h" | 15 #include "gin/test/file.h" |
16 #include "gin/test/gc.h" | 16 #include "gin/test/gc.h" |
17 #include "gin/test/gtest.h" | 17 #include "gin/test/gtest.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 message_loop.Run(); | 70 message_loop.Run(); |
71 } | 71 } |
72 | 72 |
73 v8::Handle<v8::Value> result = runner.global()->Get( | 73 v8::Handle<v8::Value> result = runner.global()->Get( |
74 StringToSymbol(runner.GetContextHolder()->isolate(), "result")); | 74 StringToSymbol(runner.GetContextHolder()->isolate(), "result")); |
75 EXPECT_EQ("PASS", V8ToString(result)); | 75 EXPECT_EQ("PASS", V8ToString(result)); |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 } // namespace gin | 79 } // namespace gin |
OLD | NEW |