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

Unified Diff: webrtc/common_video/libyuv/scaler_unittest.cc

Issue 1547343002: Remove DISABLED_ON_ macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: win compile Created 5 years 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
Index: webrtc/common_video/libyuv/scaler_unittest.cc
diff --git a/webrtc/common_video/libyuv/scaler_unittest.cc b/webrtc/common_video/libyuv/scaler_unittest.cc
index 526e62cb3c7dedc59dec6ba479e254156cd5b350..dea59cc05788cd1c9aeccad32e9ffd921aec7db6 100644
--- a/webrtc/common_video/libyuv/scaler_unittest.cc
+++ b/webrtc/common_video/libyuv/scaler_unittest.cc
@@ -15,7 +15,6 @@
#include "webrtc/common_video/libyuv/include/scaler.h"
#include "webrtc/system_wrappers/include/tick_util.h"
#include "webrtc/test/testsupport/fileutils.h"
-#include "webrtc/test/testsupport/gtest_disable.h"
namespace webrtc {
@@ -115,7 +114,11 @@ TEST_F(TestScaler, ScaleSendingBufferTooSmall) {
}
// TODO(mikhal): Converge the test into one function that accepts the method.
-TEST_F(TestScaler, DISABLED_ON_ANDROID(PointScaleTest)) {
+#if defined(WEBRTC_ANDROID)
+TEST_F(TestScaler, DISABLED_PointScaleTest) {
+#else
+TEST_F(TestScaler, PointScaleTest) {
+#endif
double avg_psnr;
FILE* source_file2;
ScaleMethod method = kScalePoint;
@@ -182,7 +185,11 @@ TEST_F(TestScaler, DISABLED_ON_ANDROID(PointScaleTest)) {
ASSERT_EQ(0, fclose(source_file2));
}
-TEST_F(TestScaler, DISABLED_ON_ANDROID(BiLinearScaleTest)) {
+#if defined(WEBRTC_ANDROID)
+TEST_F(TestScaler, DISABLED_BiLinearScaleTest) {
+#else
+TEST_F(TestScaler, BiLinearScaleTest) {
+#endif
double avg_psnr;
FILE* source_file2;
ScaleMethod method = kScaleBilinear;
@@ -234,7 +241,11 @@ TEST_F(TestScaler, DISABLED_ON_ANDROID(BiLinearScaleTest)) {
400, 300);
}
-TEST_F(TestScaler, DISABLED_ON_ANDROID(BoxScaleTest)) {
+#if defined(WEBRTC_ANDROID)
+TEST_F(TestScaler, DISABLED_BoxScaleTest) {
+#else
+TEST_F(TestScaler, BoxScaleTest) {
+#endif
double avg_psnr;
FILE* source_file2;
ScaleMethod method = kScaleBox;

Powered by Google App Engine
This is Rietveld 408576698