Backed out changeset 97d17b777f68 (bug 944162) for Android bustage.

This commit is contained in:
Ryan VanderMeulen 2013-12-08 22:49:50 -05:00
Родитель 0c317359b6
Коммит f4184d4740
1 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -7,6 +7,7 @@ package org.mozilla.gecko.tests.helpers;
import org.mozilla.gecko.Assert; import org.mozilla.gecko.Assert;
import org.mozilla.gecko.tests.UITestContext; import org.mozilla.gecko.tests.UITestContext;
// TODO: Add ispixel assertions.
/** /**
* Provides assertions in a JUnit-like API that wraps the robocop Assert interface. * Provides assertions in a JUnit-like API that wraps the robocop Assert interface.
*/ */
@ -46,14 +47,6 @@ public final class AssertionHelper {
sAsserter.ok(actual, message, DIAG_STRING); sAsserter.ok(actual, message, DIAG_STRING);
} }
public static void assertIsPixel(final string message, final int actual, final int r, final int g, final int b) {
sAsserter.ispixel(actual, r, g, b, message);
}
public static void assertIsNotPixel(final string message, final int actual, final int r, final int g, final int b) {
sAsserter.isnotpixel(actual, r, g, b, message);
}
public static void fail(final String message) { public static void fail(final String message) {
sAsserter.ok(false, message, DIAG_STRING); sAsserter.ok(false, message, DIAG_STRING);
} }