TestAppPatcher constructor
TestAppPatcher(
- String appDir, {
- String? testsDirRelative,
- String? testEntryRelativePath,
})
Implementation
TestAppPatcher(
String appDir, {
String? testsDirRelative,
String? testEntryRelativePath,
}) : appDir = p.normalize(p.absolute(appDir)),
_explicitTestEntry = testEntryRelativePath {
_dependencyConfigurator = AppDependencyConfigurator(
appDir: this.appDir,
testsDirRelative: testsDirRelative,
);
if (testEntryRelativePath != null) {
TestEntryValidator.validateRelativePath(testEntryRelativePath);
}
}