stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.IO;
|
||||
|
||||
namespace StellaOps.TestKit.Tests;
|
||||
|
||||
public sealed partial class DeterminismManifestTests
|
||||
{
|
||||
private static readonly string DeterminismRoot = Path.Combine(
|
||||
Path.GetTempPath(),
|
||||
"stellaops-tests",
|
||||
"testkit",
|
||||
"determinism-manifest");
|
||||
|
||||
private static string GetFilePath(string fileName)
|
||||
{
|
||||
Directory.CreateDirectory(DeterminismRoot);
|
||||
return Path.Combine(DeterminismRoot, fileName);
|
||||
}
|
||||
|
||||
private static string GetMissingFilePath(string fileName)
|
||||
{
|
||||
var path = GetFilePath(fileName);
|
||||
if (File.Exists(path))
|
||||
{
|
||||
File.Delete(path);
|
||||
}
|
||||
|
||||
return path;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user