зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 97d17b777f68 (bug 944162) for Android bustage.
This commit is contained in:
Родитель
0c317359b6
Коммит
f4184d4740
|
@ -7,6 +7,7 @@ package org.mozilla.gecko.tests.helpers;
|
|||
import org.mozilla.gecko.Assert;
|
||||
import org.mozilla.gecko.tests.UITestContext;
|
||||
|
||||
// TODO: Add ispixel assertions.
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
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) {
|
||||
sAsserter.ok(false, message, DIAG_STRING);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче