TestAppPatcher constructor

TestAppPatcher(
  1. String appDir, {
  2. String? testsDirRelative,
  3. 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);
  }
}