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

Side by Side Diff: mojo/public/js/tests/core_unittest.js

Issue 2645873003: Cleanup mojo-js tests. (Closed)
Patch Set: more deps fixes Created 3 years, 11 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
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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 237 }
238 238
239 expect(core.unmapBuffer(mappedBuffer0.buffer)).toBe(core.RESULT_OK); 239 expect(core.unmapBuffer(mappedBuffer0.buffer)).toBe(core.RESULT_OK);
240 expect(core.unmapBuffer(mappedBuffer1.buffer)).toBe(core.RESULT_OK); 240 expect(core.unmapBuffer(mappedBuffer1.buffer)).toBe(core.RESULT_OK);
241 241
242 expect(core.close(dupedBufferHandle.handle)).toBe(core.RESULT_OK); 242 expect(core.close(dupedBufferHandle.handle)).toBe(core.RESULT_OK);
243 expect(core.close(sharedBuffer.handle)).toBe(core.RESULT_OK); 243 expect(core.close(sharedBuffer.handle)).toBe(core.RESULT_OK);
244 } 244 }
245 245
246 }); 246 });
OLDNEW
« no previous file with comments | « mojo/public/js/tests/connection_unittest.js ('k') | mojo/public/js/tests/interface_ptr_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698