Lines Matching defs:VerifyingConsumer
100 struct VerifyingConsumer { struct
101 std::vector<DirectoryWatcher::Event> ExpectedInitial;
102 const std::vector<DirectoryWatcher::Event> ExpectedInitialCopy;
103 std::vector<DirectoryWatcher::Event> ExpectedNonInitial;
104 const std::vector<DirectoryWatcher::Event> ExpectedNonInitialCopy;
105 std::vector<DirectoryWatcher::Event> OptionalNonInitial;
106 std::vector<DirectoryWatcher::Event> UnexpectedInitial;
107 std::vector<DirectoryWatcher::Event> UnexpectedNonInitial;
108 std::mutex Mtx;
109 std::condition_variable ResultIsReady;
111 VerifyingConsumer( in VerifyingConsumer() argument
120 void consume(DirectoryWatcher::Event E, bool IsInitial) { in consume()
127 void consumeInitial(DirectoryWatcher::Event E) { in consumeInitial()
141 void consumeNonInitial(DirectoryWatcher::Event E) { in consumeNonInitial()
163 void consume(llvm::ArrayRef<DirectoryWatcher::Event> Es, bool IsInitial) { in consume()
169 llvm::Optional<bool> result() const { in result()
180 bool blockUntilResult() { in blockUntilResult()
191 void printUnmetExpectations(llvm::raw_ostream &OS) { in printUnmetExpectations()