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

Side by Side Diff: mojo/public/js/core_unittests.js

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
« no previous file with comments | « mojo/public/js/core.js ('k') | mojo/public/js/router.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 define([ 5 define([
6 "gin/test/expect", 6 "gin/test/expect",
7 "mojo/public/js/core", 7 "mojo/public/js/core",
8 "gc", 8 "gc",
9 ], function(expect, core, gc) { 9 ], function(expect, core, gc) {
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 expect(core.isHandle(pipe.handle1)).toBeTruthy(); 188 expect(core.isHandle(pipe.handle1)).toBeTruthy();
189 expect(core.isHandle(null)).toBeTruthy(); 189 expect(core.isHandle(null)).toBeTruthy();
190 } 190 }
191 191
192 function testIsHandleDataPipe(pipe) { 192 function testIsHandleDataPipe(pipe) {
193 expect(core.isHandle(pipe.consumerHandle)).toBeTruthy(); 193 expect(core.isHandle(pipe.consumerHandle)).toBeTruthy();
194 expect(core.isHandle(pipe.producerHandle)).toBeTruthy(); 194 expect(core.isHandle(pipe.producerHandle)).toBeTruthy();
195 } 195 }
196 196
197 }); 197 });
OLDNEW
« no previous file with comments | « mojo/public/js/core.js ('k') | mojo/public/js/router.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698