Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: mojo/apps/js/test/run_apps_js_tests.cc

Issue 223043006: Mojo: Use Promises for request/response calls in the JavaScript bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "gin/modules/console.h" 8 #include "gin/modules/console.h"
9 #include "gin/modules/module_registry.h" 9 #include "gin/modules/module_registry.h"
10 #include "gin/modules/timer.h" 10 #include "gin/modules/timer.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 RunTest("sample_service_unittests.js", true); 58 RunTest("sample_service_unittests.js", true);
59 } 59 }
60 60
61 // http://crbug.com/351214 61 // http://crbug.com/351214
62 #if defined(OS_POSIX) 62 #if defined(OS_POSIX)
63 #define MAYBE_connection DISABLED_connection 63 #define MAYBE_connection DISABLED_connection
64 #else 64 #else
65 #define MAYBE_connection connection 65 #define MAYBE_connection connection
66 #endif 66 #endif
67 TEST(JSTest, MAYBE_connection) { 67 TEST(JSTest, MAYBE_connection) {
68 RunTest("connection_unittests.js", true); 68 RunTest("connection_unittests.js", false);
69 } 69 }
70 70
71 TEST(JSTest, monotonic_clock) { 71 TEST(JSTest, monotonic_clock) {
72 RunTest("monotonic_clock_unittests.js", false); 72 RunTest("monotonic_clock_unittests.js", false);
73 } 73 }
74 74
75 } // namespace 75 } // namespace
76 } // namespace js 76 } // namespace js
77 } // namespace mojo 77 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698