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

Unified Diff: mojo/public/bindings/js/mojo_unittests.js

Issue 59153005: Begin implementing V8 bindings for Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar copyright Created 7 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/bindings/js/mojo_unittests.js
diff --git a/chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js b/mojo/public/bindings/js/mojo_unittests.js
similarity index 58%
copy from chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js
copy to mojo/public/bindings/js/mojo_unittests.js
index 313a38d30ce10cf744e94ffc47a7119553b0e412..1e24ed8f8237e02d0c3bbf8e79341b0453e58f41 100644
--- a/chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js
+++ b/mojo/public/bindings/js/mojo_unittests.js
@@ -2,10 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-/**
- * Mock class for FileEntry.
- * @constructor
- */
-function MockFileEntry() {
- this.fullPath = null;
+function main(mojo) {
+ mojo.gtest.expectTrue(mojo.core, "mojo.core");
+ mojo.gtest.expectFalse(mojo.foo, "mojo.foo");
}

Powered by Google App Engine
This is Rietveld 408576698