BufferedOutput class
Test-friendly output that captures everything into an in-memory buffer.
- Implemented types
Constructors
- BufferedOutput({int verbosity = 1})
Properties
- content → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbosity → int
-
Verbosity threshold. Methods below honor this; if the level required
exceeds verbosity, the call is a no-op.
final
Methods
-
comment(
String text, {int level = 2}) → void -
override
-
debug(
String text) → void -
override
-
error(
String text) → void -
override
-
info(
String text, {int level = 1}) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
success(
String text, {int level = 1}) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
warning(
String text, {int level = 1}) → void -
override
-
writeln(
String text, {int level = 1}) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited