diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 02:54:05 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 02:54:05 +0000 |
commit | 224e723f497c53daa28657b8bfb98d45b8fc1d78 (patch) | |
tree | c56f1e796f5f057165f6b112f2ca566c97d3a592 /chrome_frame | |
parent | 7f83d1a5db752eb884cd5a86c1e23c01e44e1201 (diff) | |
download | chromium_src-224e723f497c53daa28657b8bfb98d45b8fc1d78.zip chromium_src-224e723f497c53daa28657b8bfb98d45b8fc1d78.tar.gz chromium_src-224e723f497c53daa28657b8bfb98d45b8fc1d78.tar.bz2 |
Fix expectations for MonikerPatchTest unit tests
The contract of the cache stream is changed to return
S_FALSE if the data is completely read and this was the
last data notification. Adjusted unit test expectations
accordingly
BUG=none
TEST=Tests from MonikerPatchTest
TBR=ananta
Review URL: http://codereview.chromium.org/1523027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/urlmon_moniker_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/test/urlmon_moniker_unittest.cc b/chrome_frame/test/urlmon_moniker_unittest.cc index ba1b132..7881490 100644 --- a/chrome_frame/test/urlmon_moniker_unittest.cc +++ b/chrome_frame/test/urlmon_moniker_unittest.cc @@ -190,7 +190,7 @@ TEST_F(MonikerPatchTest, SniffDataPlayback1) { EXPECT_EQ(small_html_meta_tag, read_buffer1.get()); EXPECT_EQ(data_size, read_size1); - EXPECT_EQ(E_PENDING, ret2); + EXPECT_EQ(S_FALSE, ret2); EXPECT_STREQ("", read_buffer2); EXPECT_EQ(sizeof(read_buffer2), read_size2); } @@ -243,7 +243,7 @@ TEST_F(MonikerPatchTest, SniffDataPlayback2) { data_read.append(read_buffer2.get(), read_size2); EXPECT_EQ(small_html_meta_tag, data_read); - EXPECT_EQ(E_PENDING, ret3); + EXPECT_EQ(S_FALSE, ret3); EXPECT_STREQ("", read_buffer3); EXPECT_EQ(sizeof(read_buffer3), read_size3); } |