/external/junit/src/org/junit/experimental/max/ |
MaxHistory.java | 14 import org.junit.runner.Description; 80 Long getFailureTimestamp(Description key) { 84 void putTestFailureTimestamp(Description key, long end) { 88 boolean isNewTest(Description key) { 92 Long getTestDuration(Description key) { 96 void putTestDuration(Description description, long duration) { 97 fDurations.put(description.toString(), duration); 103 private Map<Description, Long> starts= new HashMap<Description, Long>() [all...] |
/external/junit/src/org/junit/internal/runners/ |
ErrorReportingRunner.java | 7 import org.junit.runner.Description; 24 public Description getDescription() { 25 Description description= Description.createSuiteDescription(fTestClass); local 27 description.addChild(describeCause(each)); 28 return description; 49 private Description describeCause(Throwable child) { 50 return Description.createTestDescription(fTestClass, 55 Description description= describeCause(child) local [all...] |
/external/hamcrest/src/org/hamcrest/ |
BaseDescription.java | 12 * A {@link Description} that is stored as a string.
14 public abstract class BaseDescription implements Description {
15 public Description appendText(String text) {
20 public Description appendDescriptionOf(SelfDescribing value) {
25 public Description appendValue(Object value) {
56 public <T> Description appendValueList(String start, String separator, String end, T... values) {
60 public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values) {
64 private <T> Description appendValueList(String start, String separator, String end, Iterator<T> values) {
68 public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) {
72 private Description appendList(String start, String separator, String end, Iterator<? extends SelfDescribing> i) { [all...] |
/external/hamcrest/src/org/hamcrest/core/ |
IsInstanceOf.java | 5 import org.hamcrest.Description; 31 public void describeTo(Description description) { 32 description.appendText("an instance of ")
|
IsSame.java | 5 import org.hamcrest.Description; 25 public void describeTo(Description description) { 26 description.appendText("same(") .appendValue(object) .appendText(")");
|
AllOf.java | 5 import org.hamcrest.Description; 31 public void describeTo(Description description) { 32 description.appendList("(", " and ", ")", matchers);
|
AnyOf.java | 5 import org.hamcrest.Description; 32 public void describeTo(Description description) { 33 description.appendList("(", " or ", ")", matchers);
|
Is.java | 8 import org.hamcrest.Description; 29 public void describeTo(Description description) { 30 description.appendText("is ").appendDescriptionOf(matcher);
|
IsAnything.java | 5 import org.hamcrest.Description; 16 private final String description; field in class:IsAnything 22 public IsAnything(String description) { 23 this.description = description; 30 public void describeTo(Description description) { 31 description.appendText(this.description); 45 * @param description A meaningful string used when describing itself [all...] |
IsNot.java | 6 import org.hamcrest.Description; 26 public void describeTo(Description description) { 27 description.appendText("not ").appendDescriptionOf(matcher);
|
IsNull.java | 6 import org.hamcrest.Description; 19 public void describeTo(Description description) { 20 description.appendText("null");
|
/external/mockito/src/org/mockito/internal/matchers/ |
CompareTo.java | 8 import org.hamcrest.Description; 29 public void describeTo(Description description) { 30 description.appendText(getName() + "(" + wanted + ")");
|
Find.java | 11 import org.hamcrest.Description; 27 public void describeTo(Description description) { 28 description.appendText("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
InstanceOf.java | 10 import org.hamcrest.Description; 27 public void describeTo(Description description) { 28 description.appendText("isA(" + clazz.getName() + ")");
|
Matches.java | 10 import org.hamcrest.Description; 27 public void describeTo(Description description) { 28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
Not.java | 10 import org.hamcrest.Description; 28 public void describeTo(Description description) { 29 description.appendText("not("); 30 first.describeTo(description); 31 description.appendText(")");
|
/external/mockito/src/org/mockito/internal/matchers/apachecommons/ |
ReflectionEquals.java | 10 import org.hamcrest.Description; 27 public void describeTo(Description description) { 28 description.appendText("refEq(" + wanted + ")");
|
/external/mockito/src/org/mockito/internal/runners/util/ |
FrameworkUsageValidator.java | 7 import org.junit.runner.Description;
22 public void testFinished(Description description) throws Exception {
23 super.testFinished(description);
27 notifier.fireTestFailure(new Failure(description, t));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
CompoundButtonCheckedMatcher.java | 4 import org.hamcrest.Description; 20 @Override public void describeTo(Description description) { 21 description.appendText("to be [" + (expected ? "checked" : "unchecked") + "]");
|
/external/junit/src/org/junit/experimental/results/ |
ResultMatchers.java | 4 import org.hamcrest.Description; 29 public void describeTo(Description description) { 30 description.appendText("has " + count + " failures"); 49 public void describeTo(Description description) { 50 description.appendText("has single failure containing " + string); 65 public void describeTo(Description description) { 66 description.appendText("has failure containing " + string) [all...] |
/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/ |
SuiteAssignmentPrinter.java | 21 import org.junit.runner.Description; 55 public void testStarted(Description description) throws Exception { 61 public void testFinished(Description description) throws Exception { 83 description.getClassName(), description.getMethodName(), assignmentSuite, 98 public void testIgnored(Description description) throws Exception {
|
/external/clang/test/SemaTemplate/ |
instantiate-init.cpp | 89 struct Description { 94 const Data<T> Description<T>::data[] = {{ 1 }}; // expected-error{{cannot initialize a member subobject of type 'int *' with an rvalue of type 'int'}} 97 const Data<float*> Description<float*>::data[]; 100 integral_c<1> ic1 = array_lengthof(Description<int>::data); 101 (void)sizeof(array_lengthof(Description<float>::data)); 104 Description<int*>::data // expected-note{{in instantiation of static data member 'PR7985::Description<int *>::data' requested here}} 107 array_lengthof(Description<float*>::data); // expected-error{{no matching function for call to 'array_lengthof'}}
|
/external/junit/src/org/junit/runner/notification/ |
RunNotifier.java | 9 import org.junit.runner.Description; 16 * move {@link #fireTestRunStarted(Description)} and {@link #fireTestRunFinished(Result)} 44 fireTestFailure(new Failure(Description.TEST_MECHANISM, e)); 55 public void fireTestRunStarted(final Description description) { 59 each.testRunStarted(description); 78 * @param description the description of the atomic test (generally a class and method name) 81 public void fireTestStarted(final Description description) throws StoppedByUserException [all...] |
/external/junit/src/org/junit/internal/ |
AssumptionViolatedException.java | 3 import org.hamcrest.Description; 30 public void describeTo(Description description) { 32 description.appendText("got: "); 33 description.appendValue(fValue); 34 description.appendText(", expected: "); 35 description.appendDescriptionOf(fMatcher); 37 description.appendText("failed assumption: " + fValue);
|
/external/junit/src/org/junit/internal/matchers/ |
CombinableMatcher.java | 6 import org.hamcrest.Description; 21 public void describeTo(Description description) { 22 description.appendDescriptionOf(fMatcher);
|