Searched refs:assertion (Results 1 – 4 of 4) sorted by relevance
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | Assertions.java | 58 private final TraceAssertion<T> assertion; field in Assertions.NamedAssertion 61 public NamedAssertion(TraceAssertion<T> assertion, String name) { in NamedAssertion() argument 62 this.assertion = assertion; in NamedAssertion() 72 return this.assertion.apply(t); in apply() 84 public CompoundAssertion(TraceAssertion<T> assertion, String name) { in CompoundAssertion() argument 85 super(assertion, name); in CompoundAssertion() 87 add(assertion, name); in CompoundAssertion() 90 public void add(TraceAssertion<T> assertion, String name) { in add() argument 91 this.assertions.add(new NamedAssertion<>(assertion, name)); in add()
|
D | AssertionsChecker.java | 42 public void add(Assertions.TraceAssertion<T> assertion, String name) { in add() argument 43 mAssertions.add(new CompoundAssertion<>(assertion, name)); in add() 46 public void append(Assertions.TraceAssertion<T> assertion, String name) { in append() argument 48 lastAssertion.add(assertion, name); in append() 209 for (NamedAssertion<T> assertion : mAssertions) { in assertEntry() 210 Result result = assertion.apply(entry); in assertEntry() 221 .flatMap(assertion -> entries.stream().map(assertion).filter(Result::failed)) in assertAll()
|
D | WmTraceSubject.java | 45 Assertions.TraceAssertion<WindowManagerTrace.Entry> assertion, String name) { in addAssertion() argument 47 mChecker.add(assertion, name); in addAssertion() 49 mChecker.append(assertion, name); in addAssertion()
|
D | LayersTraceSubject.java | 50 private void addAssertion(Assertions.TraceAssertion<Entry> assertion, String name) { in addAssertion() argument 52 mChecker.add(assertion, name); in addAssertion() 54 mChecker.append(assertion, name); in addAssertion()
|