Home | History | Annotate | Download | only in http

Lines Matching full:metadata

4879 // Tests that we can write metadata to an entry.
4887 EXPECT_TRUE(response.metadata.get() == NULL);
4907 ASSERT_TRUE(response.metadata.get() != NULL);
4908 EXPECT_EQ(50, response.metadata->size());
4909 EXPECT_EQ(0, strcmp(response.metadata->data(), "Hi there"));
4916 // Tests that we only write metadata to an entry if the time stamp matches.
4924 EXPECT_TRUE(response.metadata.get() == NULL);
4940 EXPECT_TRUE(response.metadata.get() == NULL);
4947 // Tests that we can read metadata after validating the entry and with READ mode
4956 EXPECT_TRUE(response.metadata.get() == NULL);
4973 ASSERT_TRUE(response.metadata.get() != NULL);
4974 EXPECT_EQ(50, response.metadata->size());
4975 EXPECT_EQ(0, strcmp(response.metadata->data(), "Hi there"));
4987 response.metadata = NULL;
4989 EXPECT_TRUE(response.metadata.get() != NULL);
4997 // Now return 200 when validating the entry so the metadata will be lost.
5001 EXPECT_TRUE(response.metadata.get() == NULL);