From 3f6e918eb83d514ac38a49f64485b70b488b8626 Mon Sep 17 00:00:00 2001 From: "nirnimesh@chromium.org" Date: Wed, 30 Dec 2009 04:05:00 +0000 Subject: UITest class should derive from PlatformTest instead of testing::Test This is so that ui tests using UITest have a valid NSAutoreleasePool, which PlatformTest provides, but testing::Test does not. Review URL: http://codereview.chromium.org/519026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35366 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/ui/ui_test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/test/ui/ui_test.h') diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 8d8331c..d47a5d0 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -31,7 +31,7 @@ // AutomationProxy here, but many files that #include this one don't // themselves #include automation_proxy.h. #include "chrome/test/automation/automation_proxy.h" -#include "testing/gtest/include/gtest/gtest.h" +#include "testing/platform_test.h" class AutomationProxy; class BrowserProxy; @@ -40,7 +40,7 @@ class FilePath; class GURL; class TabProxy; -class UITest : public testing::Test { +class UITest : public PlatformTest { protected: // String to display when a test fails because the crash service isn't // running. -- cgit v1.1