summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-16 21:30:07 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-16 21:30:07 +0000
commitf41301e22f97b5117f8b6ada563d7916b01fe56c (patch)
tree5fb1ecea7b16d71c740a44651b8588b500b9ad77 /chrome/test
parent92b004f5485530d81daab60b5b02207507d1a2bd (diff)
downloadchromium_src-f41301e22f97b5117f8b6ada563d7916b01fe56c.zip
chromium_src-f41301e22f97b5117f8b6ada563d7916b01fe56c.tar.gz
chromium_src-f41301e22f97b5117f8b6ada563d7916b01fe56c.tar.bz2
Spellchecker: call init *after* constructor.
This fixes the error where PostTask would post the task to the file thread and release its reference before the constructor returned. credit for fix goes to jam@ and thestig@ Review URL: http://codereview.chromium.org/399011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/memory_test/memory_test.cc16
1 files changed, 3 insertions, 13 deletions
diff --git a/chrome/test/memory_test/memory_test.cc b/chrome/test/memory_test/memory_test.cc
index 845885e..40920ee 100644
--- a/chrome/test/memory_test/memory_test.cc
+++ b/chrome/test/memory_test/memory_test.cc
@@ -22,16 +22,6 @@
#include "net/base/net_util.h"
#include "testing/gtest/include/gtest/gtest.h"
-#if defined(OS_LINUX) && __x86_64__
-#define MAYBE_SingleTabTest DISABLED_SingleTabTest
-#define MAYBE_FiveTabTest DISABLED_FiveTabTest
-#define MAYBE_TwelveTabTest DISABLED_TwelveTabTest
-#else
-#define MAYBE_SingleTabTest SingleTabTest
-#define MAYBE_FiveTabTest FiveTabTest
-#define MAYBE_TwelveTabTest TwelveTabTest
-#endif
-
namespace {
static const FilePath::CharType kTempDirName[] =
@@ -643,15 +633,15 @@ std::string MembusterMemoryTest::source_urls_[] = {
size_t MembusterMemoryTest::urls_length_ =
arraysize(MembusterMemoryTest::source_urls_);
-TEST_F(GeneralMixMemoryTest, MAYBE_SingleTabTest) {
+TEST_F(GeneralMixMemoryTest, SingleTabTest) {
RunTest("1t", 1);
}
-TEST_F(GeneralMixMemoryTest, MAYBE_FiveTabTest) {
+TEST_F(GeneralMixMemoryTest, FiveTabTest) {
RunTest("5t", 5);
}
-TEST_F(GeneralMixMemoryTest, MAYBE_TwelveTabTest) {
+TEST_F(GeneralMixMemoryTest, TwelveTabTest) {
RunTest("12t", 12);
}