Lines Matching refs:fixture
210 func FixtureCustomPreparer(mutator func(fixture Fixture)) FixturePreparer {
211 return newSimpleFixturePreparer(func(f *fixture) {
218 return newSimpleFixturePreparer(func(f *fixture) {
225 return newSimpleFixturePreparer(func(f *fixture) {
232 return newSimpleFixturePreparer(func(f *fixture) {
243 return newSimpleFixturePreparer(func(f *fixture) {
347 var PrepareForDebug_DO_NOT_SUBMIT = newSimpleFixturePreparer(func(fixture *fixture) {
348 fixture.debug = true
485 function func(fixture *fixture)
492 func newSimpleFixturePreparer(preparer func(fixture *fixture)) FixturePreparer { argument
620 fixture *fixture member
634 fixture := &fixture{
645 preparer.function(fixture)
648 return fixture
664 return GroupFixturePreparers(b.self, newSimpleFixturePreparer(func(fixture *fixture) {
665 fixture.errorHandler = errorHandler
671 fixture := b.self.Fixture(t)
672 return fixture.RunTest()
683 fixture := b.self.Fixture(t).(*fixture)
686 fixture.mockFS = nil
689 fixture.config = config
692 ctx := fixture.ctx
699 return fixture.RunTest()
702 type fixture struct { struct
725 func (f *fixture) Config() Config { argument
729 func (f *fixture) Context() *TestContext { argument
733 func (f *fixture) MockFS() MockFS { argument
737 func (f *fixture) RunTest() *TestResult { argument
778 fixture: f,
789 func (f *fixture) outputDebugState() { argument
865 return newFixturePreparer(r.fixture.preparers)