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

Unified Diff: ppapi/tests/test_image_data.cc

Issue 12193015: PPAPI/NaCl: Make related tests run in 1 fixture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 10 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 | « ppapi/tests/test_case.cc ('k') | ppapi/tests/test_input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_image_data.cc
diff --git a/ppapi/tests/test_image_data.cc b/ppapi/tests/test_image_data.cc
index d5b78f046c21a4a25e1b4c450de296c040d7d42c..856eaa36ca199c6e6c5442c9cda562857ba009e8 100644
--- a/ppapi/tests/test_image_data.cc
+++ b/ppapi/tests/test_image_data.cc
@@ -19,13 +19,13 @@ bool TestImageData::Init() {
}
void TestImageData::RunTests(const std::string& filter) {
- instance_->LogTest("InvalidFormat", TestInvalidFormat());
- instance_->LogTest("GetNativeFormat", TestGetNativeFormat());
- instance_->LogTest("IsImageDataFormatSupported", TestFormatSupported());
- instance_->LogTest("InvalidSize", TestInvalidSize());
- instance_->LogTest("HugeSize", TestHugeSize());
- instance_->LogTest("InitToZero", TestInitToZero());
- instance_->LogTest("IsImageData", TestIsImageData());
+ RUN_TEST(InvalidFormat, filter);
+ RUN_TEST(GetNativeFormat, filter);
+ RUN_TEST(FormatSupported, filter);
+ RUN_TEST(InvalidSize, filter);
+ RUN_TEST(HugeSize, filter);
+ RUN_TEST(InitToZero, filter);
+ RUN_TEST(IsImageData, filter);
}
std::string TestImageData::TestInvalidFormat() {
« no previous file with comments | « ppapi/tests/test_case.cc ('k') | ppapi/tests/test_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698