| Index: chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
|
| diff --git a/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js b/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
|
| index e5ea6e424ac0c8542c4a0d93e3c766b031a1ca9b..ededc640020ef2d63744632113e9b63120b560ea 100644
|
| --- a/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
|
| +++ b/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
|
| @@ -124,13 +124,7 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() {
|
| };
|
|
|
| setup(function() {
|
| - Mock4JS.clearMocksToVerify();
|
| nativeLayer_ = new print_preview.NativeLayerStub();
|
| - var nativeLayerEventTarget = mock(cr.EventTarget);
|
| - nativeLayer_.setEventTarget(nativeLayerEventTarget.proxy());
|
| - nativeLayerEventTarget.expects(atLeastOnce())
|
| - .addEventListener(ANYTHING, ANYTHING, ANYTHING);
|
| -
|
| invitationStore_ = new print_preview.InvitationStore();
|
| destinationStore_ = new print_preview.DestinationStore(
|
| nativeLayer_, new print_preview.UserInfo(),
|
| @@ -142,10 +136,6 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() {
|
| destinationSearch_.decorate($('destination-search'));
|
| });
|
|
|
| - teardown(function() {
|
| - Mock4JS.verifyAllMocks();
|
| - });
|
| -
|
| test('ResolutionFails', function() {
|
| var destId = "001122DEADBEEF";
|
| if (cr.isChromeOS) {
|
|
|