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

Unified Diff: chrome/browser/cocoa/previewable_contents_controller_unittest.mm

Issue 5031001: [Mac] Removes the match preview tear image. Also removes the underlying reso... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/browser/cocoa/previewable_contents_controller.mm ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/previewable_contents_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/previewable_contents_controller_unittest.mm (revision 66159)
+++ chrome/browser/cocoa/previewable_contents_controller_unittest.mm (working copy)
@@ -11,16 +11,6 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
-@interface PreviewableContentsController (ExposedForTesting)
-- (NSButton*)closeButton;
-@end
-
-@implementation PreviewableContentsController (ExposedForTesting)
-- (NSButton*)closeButton {
- return closeButton_;
-}
-@end
-
namespace {
class PreviewableContentsControllerTest : public CocoaTest {
@@ -36,11 +26,6 @@
TEST_VIEW(PreviewableContentsControllerTest, [controller_ view])
-// Adds the view to a window and displays it.
-TEST_F(PreviewableContentsControllerTest, TestImagesLoadedProperly) {
- EXPECT_TRUE([[[controller_ closeButton] image] isValid]);
-}
-
// TODO(rohitrao): Test showing and hiding the preview. This may require
// changing the interface to take in a TabContentsView* instead of a
// TabContents*.
« no previous file with comments | « chrome/browser/cocoa/previewable_contents_controller.mm ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698