Commit dfdd7df5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a383199e
...@@ -212,9 +212,15 @@ func _NewChan(name string) _Chan { ...@@ -212,9 +212,15 @@ func _NewChan(name string) _Chan {
// _testing_TB is alias for testing.TB that is non-public when embedded into a struct. // _testing_TB is alias for testing.TB that is non-public when embedded into a struct.
type _testing_TB = testing.TB type _testing_TB = testing.TB
// T is similar to testing.T and is passed by Verify to tested function. // T is similar to testing.T and represents tracetest test environment.
// //
// See top-level package documentation for details. // It is passed by Verify and Run to tested function.
//
// Besides testing.TB it provides
//
// .RxEvent -- to where events should be synchronously delivered by the test
// .SetEventRouter -- to tell T to which stream an event should go
// .Expect -- to assert expectation of an event on a stream
type T struct { type T struct {
_testing_TB _testing_TB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment