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

Unified Diff: content/browser/renderer_host/pepper/quota_reservation_unittest.cc

Issue 137803002: [Pepper] Enable disabled QuotaReservationTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enable tests Created 6 years, 11 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/pepper/quota_reservation_unittest.cc
diff --git a/content/browser/renderer_host/pepper/quota_reservation_unittest.cc b/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
index 3f760e5566428abc531ff58305ebaf94eebb5869..05e66f8ad8af29283797f432e7315e86b28a2354 100644
--- a/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
+++ b/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
@@ -80,6 +80,7 @@ class QuotaReservationTest : public testing::Test {
virtual void TearDown() OVERRIDE {
reservation_manager_.reset();
+ base::RunLoop().RunUntilIdle();
}
base::FilePath MakeFilePath(const base::FilePath::StringType& file_name) {
@@ -150,7 +151,7 @@ void ReserveQuota(
// Tests that:
// 1) We can reserve quota with no files open.
// 2) Open a file, grow it, close it, and reserve quota with correct sizes.
-TEST_F(QuotaReservationTest, DISABLED_ReserveQuota) {
+TEST_F(QuotaReservationTest, ReserveQuota) {
GURL origin(kOrigin);
FileSystemType type = kType;
@@ -191,7 +192,7 @@ TEST_F(QuotaReservationTest, DISABLED_ReserveQuota) {
// Tests that:
// 1) We can open and close multiple files.
-TEST_F(QuotaReservationTest, DISABLED_MultipleFiles) {
+TEST_F(QuotaReservationTest, MultipleFiles) {
GURL origin(kOrigin);
FileSystemType type = kType;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698