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

Side by Side Diff: mojo/public/js/tests/union_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/interfaces/bindings/tests/test_unions.mojom", 7 "mojo/public/interfaces/bindings/tests/test_unions.mojom",
8 "mojo/public/js/codec", 8 "mojo/public/js/codec",
9 "mojo/public/js/validator", 9 "mojo/public/js/validator",
10 ], function(expect, 10 ], function(expect,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 testConstructors(); 186 testConstructors();
187 testBasicEncoding(); 187 testBasicEncoding();
188 testUnionsInArrayEncoding(); 188 testUnionsInArrayEncoding();
189 testUnionsInMapEncoding(); 189 testUnionsInMapEncoding();
190 testNestedUnionsEncoding(); 190 testNestedUnionsEncoding();
191 testNullUnionMemberValidation(); 191 testNullUnionMemberValidation();
192 testNullUnionValidation(); 192 testNullUnionValidation();
193 this.result = "PASS"; 193 this.result = "PASS";
194 }); 194 });
OLDNEW
« no previous file with comments | « mojo/public/js/tests/struct_unittest.js ('k') | mojo/public/js/tests/validation_test_input_parser.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698