OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stack> | 5 #include <stack> |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/thread.h" | 8 #include "base/thread.h" |
9 #include "base/waitable_event.h" | 9 #include "base/waitable_event.h" |
10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
(...skipping 996 matching lines...) Loading... |
1007 | 1007 |
1008 TEST_F(AppCacheStorageImplTest, MarkEntryAsForeignWithLoadInProgress) { | 1008 TEST_F(AppCacheStorageImplTest, MarkEntryAsForeignWithLoadInProgress) { |
1009 RunTestOnIOThread( | 1009 RunTestOnIOThread( |
1010 &AppCacheStorageImplTest::MarkEntryAsForeignWithLoadInProgress); | 1010 &AppCacheStorageImplTest::MarkEntryAsForeignWithLoadInProgress); |
1011 } | 1011 } |
1012 | 1012 |
1013 TEST_F(AppCacheStorageImplTest, FindNoMainResponse) { | 1013 TEST_F(AppCacheStorageImplTest, FindNoMainResponse) { |
1014 RunTestOnIOThread(&AppCacheStorageImplTest::FindNoMainResponse); | 1014 RunTestOnIOThread(&AppCacheStorageImplTest::FindNoMainResponse); |
1015 } | 1015 } |
1016 | 1016 |
1017 // http://code.google.com/p/chromium/issues/detail?id=39731 | 1017 TEST_F(AppCacheStorageImplTest, BasicFindMainResponseInDatabase) { |
1018 TEST_F(AppCacheStorageImplTest, DISABLED_BasicFindMainResponseInDatabase) { | |
1019 RunTestOnIOThread( | 1018 RunTestOnIOThread( |
1020 &AppCacheStorageImplTest::BasicFindMainResponseInDatabase); | 1019 &AppCacheStorageImplTest::BasicFindMainResponseInDatabase); |
1021 } | 1020 } |
1022 | 1021 |
1023 TEST_F(AppCacheStorageImplTest, BasicFindMainResponseInWorkingSet) { | 1022 TEST_F(AppCacheStorageImplTest, BasicFindMainResponseInWorkingSet) { |
1024 RunTestOnIOThread( | 1023 RunTestOnIOThread( |
1025 &AppCacheStorageImplTest::BasicFindMainResponseInWorkingSet); | 1024 &AppCacheStorageImplTest::BasicFindMainResponseInWorkingSet); |
1026 } | 1025 } |
1027 | 1026 |
1028 TEST_F(AppCacheStorageImplTest, BlockFindMainResponseWithPolicyCheck) { | 1027 TEST_F(AppCacheStorageImplTest, BlockFindMainResponseWithPolicyCheck) { |
(...skipping 30 matching lines...) Loading... |
1059 | 1058 |
1060 } // namespace appcache | 1059 } // namespace appcache |
1061 | 1060 |
1062 // AppCacheStorageImplTest is expected to always live longer than the | 1061 // AppCacheStorageImplTest is expected to always live longer than the |
1063 // runnable methods. This lets us call NewRunnableMethod on its instances. | 1062 // runnable methods. This lets us call NewRunnableMethod on its instances. |
1064 template<> | 1063 template<> |
1065 struct RunnableMethodTraits<appcache::AppCacheStorageImplTest> { | 1064 struct RunnableMethodTraits<appcache::AppCacheStorageImplTest> { |
1066 void RetainCallee(appcache::AppCacheStorageImplTest* obj) { } | 1065 void RetainCallee(appcache::AppCacheStorageImplTest* obj) { } |
1067 void ReleaseCallee(appcache::AppCacheStorageImplTest* obj) { } | 1066 void ReleaseCallee(appcache::AppCacheStorageImplTest* obj) { } |
1068 }; | 1067 }; |
OLD | NEW |