Lines Matching defs:TestContext
52 type TestContext struct { struct
53 *Context
54 preArch, preDeps, postDeps, finalDeps []RegisterMutatorFunc
55 NameResolver *NameResolver
56 config Config
59 func (ctx *TestContext) PreArchMutators(f RegisterMutatorFunc) {
63 func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) {
68 func (ctx *TestContext) PreDepsMutators(f RegisterMutatorFunc) {
72 func (ctx *TestContext) PostDepsMutators(f RegisterMutatorFunc) {
76 func (ctx *TestContext) FinalDepsMutators(f RegisterMutatorFunc) {
80 func (ctx *TestContext) Register(config Config) {
92 …ctx *TestContext) ParseFileList(rootDir string, filePaths []string) (deps []string, errs []error) {
98 func (ctx *TestContext) ParseBlueprintsFiles(rootDir string) (deps []string, errs []error) {
104 func (ctx *TestContext) RegisterModuleType(name string, factory ModuleFactory) {
108 func (ctx *TestContext) RegisterSingletonType(name string, factory SingletonFactory) {
112 func (ctx *TestContext) ModuleForTests(name, variant string) TestingModule {
135 func (ctx *TestContext) ModuleVariantsForTests(name string) []string {
146 func (ctx *TestContext) SingletonForTests(name string) TestingSingleton {