feat(mosstank): add VTank-style automation PoC
This commit is contained in:
parent
f6fe0f2a4f
commit
4e6e9bc9d9
212 changed files with 49462 additions and 416 deletions
|
|
@ -9,6 +9,11 @@ public class PluginLoaderTests
|
|||
{
|
||||
private static string FixturePluginPath()
|
||||
{
|
||||
const string fileName = "AcDream.Core.Tests.Fixtures.HelloPlugin.dll";
|
||||
string colocated = Path.Combine(AppContext.BaseDirectory, fileName);
|
||||
if (File.Exists(colocated))
|
||||
return colocated;
|
||||
|
||||
// walk up from the test bin dir to the repo root, then into the fixture's build output
|
||||
var baseDir = AppContext.BaseDirectory;
|
||||
var configuration = new DirectoryInfo(baseDir).Parent!.Name; // Debug / Release
|
||||
|
|
@ -16,7 +21,7 @@ public class PluginLoaderTests
|
|||
return Path.Combine(
|
||||
repoRoot,
|
||||
"tests", "AcDream.Core.Tests.Fixtures.HelloPlugin", "bin", configuration, "net10.0",
|
||||
"AcDream.Core.Tests.Fixtures.HelloPlugin.dll");
|
||||
fileName);
|
||||
}
|
||||
|
||||
private static string FindRepoRoot(string startDir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue