Index: mojo/public/js/bindings/tests/validation_unittests.js |
diff --git a/gin/test/gtest_unittests.js b/mojo/public/js/bindings/tests/validation_unittests.js |
similarity index 53% |
copy from gin/test/gtest_unittests.js |
copy to mojo/public/js/bindings/tests/validation_unittests.js |
index 1d566d5d22622f5eafddc26aae48bab52f5eef5d..05f7f1f870c72780932d732bedc0cd43195113ff 100644 |
--- a/gin/test/gtest_unittests.js |
+++ b/mojo/public/js/bindings/tests/validation_unittests.js |
@@ -2,10 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-define(["gtest"], function(gtest) { |
- gtest.expectTrue(true, "true is true"); |
- gtest.expectFalse(false, "false is false"); |
- gtest.expectTrue(this, "this is " + this); |
+define([ |
+ "gin/test/expect", |
+ "mojo/bindings/js/message_file_parser" |
+ ], function(expect, parser) { |
+ |
+ expect(parser.checkMessageFileParser()).toBeNull(); |
yzshen1
2014/07/23 07:26:55
Why putting the testing code in message_file_parse
hansmuller
2014/07/23 18:06:36
I didn't wanted to export parser internals like Fi
yzshen1
2014/07/23 19:53:38
I am not sure I understand:
The parser will need t
hansmuller
2014/07/23 21:43:44
What I'd written for the original patch was to inc
|
this.result = "PASS"; |
}); |