summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/test/test_suite.h2
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc26
2 files changed, 20 insertions, 8 deletions
diff --git a/base/test/test_suite.h b/base/test/test_suite.h
index 6dfca0e..2572756 100644
--- a/base/test/test_suite.h
+++ b/base/test/test_suite.h
@@ -75,7 +75,7 @@ class TestSuite {
// Make sure that we setup an AtExitManager so Singleton objects will be
// destroyed.
- base::ShadowingAtExitManager at_exit_manager_;
+ base::AtExitManager at_exit_manager_;
DISALLOW_COPY_AND_ASSIGN(TestSuite);
};
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 0dd79f3..34a728a 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -263,11 +263,6 @@ void FilterDisabledTests() {
// Flaky on the tryservers, http://crbug.com/103097
"URLRequestTestHTTP.MultipleRedirectTest",
"URLRequestTestHTTP.NetworkDelegateRedirectRequest",
-
- // Newly added tests which fail in CF.
- "HTTPSRequestTest.HTTPSPreloadedHSTSTest",
- "HTTPSRequestTest.ResumeTest",
- "HTTPSRequestTest.SSLSessionCacheShardTest",
};
const char* ie9_disabled_tests[] = {
@@ -664,6 +659,21 @@ void CFUrlRequestUnittestRunner::PostDestroyThreads() {
#endif
}
+// We need a module since some of the accessibility code that gets pulled
+// in here uses ATL.
+class ObligatoryModule: public CAtlExeModuleT<ObligatoryModule> {
+ public:
+ static HRESULT InitializeCom() {
+ return OleInitialize(NULL);
+ }
+
+ static void UninitializeCom() {
+ OleUninitialize();
+ }
+};
+
+ObligatoryModule g_obligatory_atl_module;
+
const char* IEVersionToString(IEVersion version) {
switch (version) {
case IE_6:
@@ -719,13 +729,15 @@ int main(int argc, char** argv) {
g_argc = argc;
g_argv = argv;
- if (chrome_frame_test::GetInstalledIEVersion() >= IE_9) {
+ // Temporarily disabled, http://crbug.com/105435.
+ if (true || chrome_frame_test::GetInstalledIEVersion() >= IE_9) {
// Adding this here as the command line and the logging stuff gets
// initialized in the NetTestSuite constructor. Did not want to break that.
base::AtExitManager at_exit_manager;
CommandLine::Init(argc, argv);
CFUrlRequestUnittestRunner::InitializeLogging();
- LOG(INFO) << "Not running ChromeFrame net tests on IE9+";
+ LOG(INFO) << "Temporarily not running ChromeFrame net tests.";
+ //LOG(INFO) << "Not running ChromeFrame net tests on IE9+";
return 0;
}