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"); |
} |