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

Unified Diff: net/base/upload_data_unittest.cc

Issue 10834289: Split net::UploadData into two: for IPC and for upload handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + moved ResolveBlobRef from webkit_blob to webkit_glue Created 8 years, 4 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 | « net/base/upload_data.cc ('k') | net/base/upload_element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/upload_data_unittest.cc
diff --git a/net/base/upload_data_unittest.cc b/net/base/upload_data_unittest.cc
index 63636a24c55b6fa7516a64603e80e4662c0f8ad1..98bb23d064085ce7cc3f4c18f102d58ee6ccc165 100644
--- a/net/base/upload_data_unittest.cc
+++ b/net/base/upload_data_unittest.cc
@@ -103,12 +103,6 @@ TEST_F(UploadDataTest, IsInMemory_File) {
ASSERT_FALSE(upload_data_->IsInMemory());
}
-TEST_F(UploadDataTest, IsInMemory_Blob) {
- upload_data_->AppendBlob(GURL("blog:internal:12345"));
- // Until it's resolved, we don't know what blob contains.
- ASSERT_FALSE(upload_data_->IsInMemory());
-}
-
TEST_F(UploadDataTest, IsInMemory_Chunk) {
upload_data_->set_is_chunked(true);
ASSERT_FALSE(upload_data_->IsInMemory());
@@ -149,11 +143,6 @@ TEST_F(UploadDataTest, GetContentLength_File) {
ASSERT_EQ(kData.size(), callback.WaitForResult());
}
-TEST_F(UploadDataTest, GetContentLength_Blob) {
- upload_data_->AppendBlob(GURL("blog:internal:12345"));
- ASSERT_EQ(0U, upload_data_->GetContentLengthSync());
-}
-
TEST_F(UploadDataTest, GetContentLength_Chunk) {
upload_data_->set_is_chunked(true);
ASSERT_EQ(0U, upload_data_->GetContentLengthSync());
« no previous file with comments | « net/base/upload_data.cc ('k') | net/base/upload_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698