class Log::EntriesChecker
inherits Reference
¶
DSL for Log.capture
Class methods¶
Methods¶
#check(level : Severity, message : String, file = __FILE__, line = __LINE__) : self
¶
(level : Severity, message : String, file = __FILE__, line = __LINE__) : self
Validates that at some point the indicated entry was emitted
#check(level : Severity, pattern : Regex, file = __FILE__, line = __LINE__) : self
¶
(level : Severity, pattern : Regex, file = __FILE__, line = __LINE__) : self
Validates that at some point the indicated entry was emitted
#empty(file = __FILE__, line = __LINE__)
¶
(file = __FILE__, line = __LINE__)
Validates that there are no outstanding entries
#next(level : Severity, message : String, file = __FILE__, line = __LINE__) : self
¶
(level : Severity, message : String, file = __FILE__, line = __LINE__) : self
Validates that the indicated entry was the next one to be emitted
#next(level : Severity, pattern : Regex, file = __FILE__, line = __LINE__) : self
¶
(level : Severity, pattern : Regex, file = __FILE__, line = __LINE__) : self
Validates that the indicated entry was the next one to be emitted