Home
last modified time | relevance | path

Searched refs:Description (Results 1 – 25 of 885) sorted by relevance

12345678910>>...36

/external/chromium_org/testing/android/junit/javatests/src/org/chromium/testing/local/
DGtestFilterTest.java9 import org.junit.runner.Description;
30 Description.createTestDescription("TestClass", "testMethod"))); in testNoFilter()
32 Description.createTestDescription("TestClass", "otherTestMethod"))); in testNoFilter()
34 Description.createTestDescription("OtherTestClass", "testMethod"))); in testNoFilter()
41 Description.createTestDescription("TestClass", "testMethod"))); in testPositiveFilterExplicit()
43 Description.createTestDescription("TestClass", "otherTestMethod"))); in testPositiveFilterExplicit()
45 Description.createTestDescription("OtherTestClass", "testMethod"))); in testPositiveFilterExplicit()
52 Description.createTestDescription("TestClass", "testMethod"))); in testPositiveFilterClassRegex()
54 Description.createTestDescription("TestClass", "otherTestMethod"))); in testPositiveFilterClassRegex()
56 Description.createTestDescription("OtherTestClass", "testMethod"))); in testPositiveFilterClassRegex()
[all …]
DGtestLoggerTest.java9 import org.junit.runner.Description;
32 Description.createTestDescription(GtestLoggerTest.class, "testTestStarted")); in testTestStarted()
43 Description.createTestDescription(GtestLoggerTest.class, "testTestFinishedPassed"), in testTestFinishedPassed()
56 Description.createTestDescription(GtestLoggerTest.class, "testTestFinishedPassed"), in testTestFinishedFailed()
69 Description.createSuiteDescription(GtestLoggerTest.class), 456); in testTestCaseStarted()
80 Description.createSuiteDescription(GtestLoggerTest.class), 456, 123); in testTestCaseFinished()
102 loggerUnderTest.testRunFinished(1234, new HashSet<Description>(), 4321); in testTestRunFinishedNoFailures()
115 Set<Description> failures = new TreeSet<Description>(new DescriptionComparator()); in testTestRunFinishedWithFailures()
116 failures.add(Description.createTestDescription( in testTestRunFinishedWithFailures()
118 failures.add(Description.createTestDescription( in testTestRunFinishedWithFailures()
[all …]
DRunnerFilterTest.java9 import org.junit.runner.Description;
32 Description.createTestDescription(RunnerFilterTest.class, "testNoFilter"))); in testNoFilter()
39 Description.createTestDescription(RunnerFilterTest.class, "testFilterHit"))); in testFilterHit()
46 Description.createTestDescription(RunnerFilterTest.class, "testFilterMiss"))); in testFilterMiss()
53 Description.createTestDescription("FakeTestClass", "fakeTestMethod"))); in testClassNotFound()
/external/junit/src/org/junit/runner/
DDescription.java28 public class Description implements Serializable { class
38 public static Description createSuiteDescription(String name, Annotation... annotations) { in createSuiteDescription()
41 return new Description(name, annotations); in createSuiteDescription()
52 …public static Description createTestDescription(Class<?> clazz, String name, Annotation... annotat… in createTestDescription()
53 return new Description(String.format("%s(%s)", name, clazz.getName()), annotations); in createTestDescription()
64 public static Description createTestDescription(Class<?> clazz, String name) { in createTestDescription()
73 public static Description createSuiteDescription(Class<?> testClass) { in createSuiteDescription()
74 return new Description(testClass.getName(), testClass.getAnnotations()); in createSuiteDescription()
80 public static final Description EMPTY= new Description("No Tests");
87 public static final Description TEST_MECHANISM= new Description("Test mechanism");
[all …]
/external/llvm/test/tools/llvm-readobj/ARM/
Dattributes.s68 @ CHECK: Description: ARM v7
74 @ CHECK: Description: Application
80 @ CHECK: Description: Not Permitted
86 @ CHECK: Description: Thumb-2
92 @ CHECK: Description: VFPv3
98 @ CHECK: Description: Not Permitted
104 @ CHECK: Description: NEONv1
110 @ CHECK: Description: Linux Application
116 @ CHECK: Description: v6
122 @ CHECK: Description: Absolute
[all …]
/external/junit/src/org/junit/runner/manipulation/
DSorter.java5 import org.junit.runner.Description;
13 public class Sorter implements Comparator<Description> {
17 public static Sorter NULL= new Sorter(new Comparator<Description>() {
18 public int compare(Description o1, Description o2) {
21 private final Comparator<Description> fComparator;
28 public Sorter(Comparator<Description> comparator) { in Sorter()
43 public int compare(Description o1, Description o2) { in compare()
DFilter.java3 import org.junit.runner.Description;
21 public boolean shouldRun(Description description) {
45 public static Filter matchMethodDescription(final Description desiredDescription) { in matchMethodDescription()
48 public boolean shouldRun(Description description) { in matchMethodDescription()
53 for (Description each : description.getChildren()) in matchMethodDescription()
71 public abstract boolean shouldRun(Description description);
103 public boolean shouldRun(Description description) {
/external/junit/src/org/junit/experimental/max/
DMaxCore.java13 import org.junit.runner.Description;
97 List<Description> leaves= findLeaves(request); in sortRequest()
102 private Request constructLeafRequest(List<Description> leaves) { in constructLeafRequest()
104 for (Description each : leaves) in constructLeafRequest()
118 private Runner buildRunner(Description each) {
136 private Class<?> getMalformedTestClass(Description each) {
149 public List<Description> sortedLeavesForTest(Request request) {
153 private List<Description> findLeaves(Request request) {
154 List<Description> results= new ArrayList<Description>();
159 private void findLeaves(Description parent, Description description, List<Description> results) {
[all …]
DMaxHistory.java14 import org.junit.runner.Description;
80 Long getFailureTimestamp(Description key) { in getFailureTimestamp()
84 void putTestFailureTimestamp(Description key, long end) { in putTestFailureTimestamp()
88 boolean isNewTest(Description key) { in isNewTest()
92 Long getTestDuration(Description key) { in getTestDuration()
96 void putTestDuration(Description description, long duration) { in putTestDuration()
103 private Map<Description, Long> starts= new HashMap<Description, Long>();
106 public void testStarted(Description description) throws Exception { in testStarted()
112 public void testFinished(Description description) throws Exception { in testFinished()
129 private class TestComparator implements Comparator<Description> {
[all …]
/external/junit/src/org/junit/experimental/categories/
DCategories.java12 import org.junit.runner.Description;
101 public boolean shouldRun(Description description) { in shouldRun()
104 for (Description each : description.getChildren()) in shouldRun()
110 private boolean hasCorrectCategoryAnnotation(Description description) { in hasCorrectCategoryAnnotation()
123 private List<Class<?>> categories(Description description) { in categories()
130 private Description parentDescription(Description description) { in parentDescription()
134 return Description.createSuiteDescription(testClass); in parentDescription()
137 private Class<?>[] directCategories(Description description) { in directCategories()
169 …private void assertNoCategorizedDescendentsOfUncategorizeableParents(Description description) thro… in assertNoCategorizedDescendentsOfUncategorizeableParents()
172 for (Description each : description.getChildren()) in assertNoCategorizedDescendentsOfUncategorizeableParents()
[all …]
/external/junit/src/junit/framework/
DJUnit4TestAdapter.java7 import org.junit.runner.Description;
52 public Description getDescription() { in getDescription()
53 Description description= fRunner.getDescription(); in getDescription()
57 private Description removeIgnored(Description description) { in removeIgnored()
59 return Description.EMPTY; in removeIgnored()
60 Description result = description.childlessCopy(); in removeIgnored()
61 for (Description each : description.getChildren()) { in removeIgnored()
62 Description child= removeIgnored(each); in removeIgnored()
69 private boolean isIgnored(Description description) { in isIgnored()
DJUnit4TestAdapterCache.java11 import org.junit.runner.Description;
16 public class JUnit4TestAdapterCache extends HashMap<Description, Test> {
24 public Test asTest(Description description) { in asTest()
34 Test createTest(Description description) { in createTest()
39 for (Description child : description.getChildren()) in createTest()
55 public void testFinished(Description description) in getNotifier()
61 public void testStarted(Description description) in getNotifier()
69 public List<Test> asTestList(Description description) { in asTestList()
74 for (Description child : description.getChildren()) { in asTestList()
/external/hamcrest/src/org/hamcrest/
DDescription.java9 public interface Description { interface
14 Description appendText(String text); in appendText()
19 Description appendDescriptionOf(SelfDescribing value); in appendDescriptionOf()
24 Description appendValue(Object value); in appendValue()
29 <T> Description appendValueList(String start, String separator, String end, in appendValueList()
35 <T> Description appendValueList(String start, String separator, String end, in appendValueList()
42 Description appendList(String start, String separator, String end, in appendList()
DBaseDescription.java14 public abstract class BaseDescription implements Description {
15 public Description appendText(String text) { in appendText()
20 public Description appendDescriptionOf(SelfDescribing value) { in appendDescriptionOf()
25 public Description appendValue(Object value) { in appendValue()
56 … public <T> Description appendValueList(String start, String separator, String end, T... values) { in appendValueList()
60 …public <T> Description appendValueList(String start, String separator, String end, Iterable<T> val… in appendValueList()
64 …private <T> Description appendValueList(String start, String separator, String end, Iterator<T> va… in appendValueList()
68 …public Description appendList(String start, String separator, String end, Iterable<? extends SelfD… in appendList()
72 …private Description appendList(String start, String separator, String end, Iterator<? extends Self… in appendList()
/external/junit/src/org/junit/rules/
DTestWatcher.java4 import org.junit.runner.Description;
41 public Statement apply(final Statement base, final Description description) { in apply()
66 protected void succeeded(Description description) {
75 protected void failed(Throwable e, Description description) {
83 protected void starting(Description description) {
92 protected void finished(Description description) {
/external/junit/src/org/junit/internal/runners/
DErrorReportingRunner.java7 import org.junit.runner.Description;
24 public Description getDescription() { in getDescription()
25 Description description= Description.createSuiteDescription(fTestClass); in getDescription()
49 private Description describeCause(Throwable child) { in describeCause()
50 return Description.createTestDescription(fTestClass, in describeCause()
55 Description description= describeCause(child); in runCause()
DJUnit38ClassRunner.java11 import org.junit.runner.Description;
44 private Description asDescription(Test test) { in asDescription()
49 return Description.createTestDescription(getEffectiveClass(test), getName(test)); in asDescription()
91 public Description getDescription() { in getDescription()
95 private static Description makeDescription(Test test) { in makeDescription()
98 return Description.createTestDescription(tc.getClass(), tc.getName()); in makeDescription()
102 Description description= Description.createSuiteDescription(name); in makeDescription()
105 Description made= makeDescription(ts.testAt(i)); in makeDescription()
117 return Description.createSuiteDescription(test.getClass()); in makeDescription()
/external/chromium_org/testing/android/junit/java/src/org/chromium/testing/local/
DGtestLogger.java7 import org.junit.runner.Description;
27 public void testStarted(Description test) { in testStarted()
44 public void testFinished(Description test, boolean passed, long elapsedTimeMillis) { in testFinished()
58 public void testCaseStarted(Description test, int testCount) { in testCaseStarted()
67 public void testCaseFinished(Description test, int testCount, in testCaseFinished()
88 public void testRunFinished(int passedTestCount, Set<Description> failedTests, in testRunFinished()
100 for (Description d : failedTests) { in testRunFinished()
DGtestListener.java7 import org.junit.runner.Description;
19 private Set<Description> mFailedTests;
33 public void testRunStarted(Description d) throws Exception { in testRunStarted()
37 mFailedTests = new HashSet<Description>(); in testRunStarted()
52 public void testStarted(Description d) throws Exception { in testStarted()
61 public void testFinished(Description d) throws Exception { in testFinished()
/external/junit/src/org/junit/runner/notification/
DRunListener.java4 import org.junit.runner.Description;
40 public void testRunStarted(Description description) throws Exception { in testRunStarted()
55 public void testStarted(Description description) throws Exception { in testStarted()
62 public void testFinished(Description description) throws Exception { in testFinished()
89 public void testIgnored(Description description) throws Exception { in testIgnored()
/external/clang/lib/Basic/
DLangOptions.cpp20 #define LANGOPT(Name, Bits, Default, Description) Name = Default; in LangOptions() argument
21 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default); in LangOptions() argument
28 #define LANGOPT(Name, Bits, Default, Description) in resetNonModularOptions() argument
29 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default; in resetNonModularOptions() argument
30 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ in resetNonModularOptions() argument
/external/clang/test/SemaTemplate/
Dinstantiate-init.cpp89 struct Description { struct
94 …const Data<T> Description<T>::data[] = {{ 1 }}; // expected-error{{cannot initialize a member subo…
97 const Data<float*> Description<float*>::data[];
100 integral_c<1> ic1 = array_lengthof(Description<int>::data); in test()
101 (void)sizeof(array_lengthof(Description<float>::data)); in test()
104Description<int*>::data // expected-note{{in instantiation of static data member 'PR7985::Descript… in test() argument
107 …array_lengthof(Description<float*>::data); // expected-error{{no matching function for call to 'ar… in test()
/external/clang/include/clang/Basic/
DLangOptions.h39 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits; argument
40 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) argument
47 #define LANGOPT(Name, Bits, Default, Description) argument
48 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ argument
97 #define LANGOPT(Name, Bits, Default, Description) argument
98 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ argument
/external/llvm/test/MC/ARM/
Ddirective-arch-armv8a.s23 @ CHECK-ATTR: Description: ARM v8
27 @ CHECK-ATTR: Description: Application
31 @ CHECK-ATTR: Description: Permitted
35 @ CHECK-ATTR: Description: Thumb-2
39 @ CHECK-ATTR: Description: Permitted
43 @ CHECK-ATTR: Description: TrustZone + Virtualization Extensions
Ddirective-arch-armv8-a.s23 @ CHECK-ATTR: Description: ARM v8
27 @ CHECK-ATTR: Description: Application
31 @ CHECK-ATTR: Description: Permitted
35 @ CHECK-ATTR: Description: Thumb-2
39 @ CHECK-ATTR: Description: Permitted
43 @ CHECK-ATTR: Description: TrustZone + Virtualization Extensions

12345678910>>...36