reduce path in test project for nuget restore
This commit is contained in:
Родитель
883d9fec87
Коммит
1aec05196e
|
@ -328,4 +328,4 @@ ASALocalRun/
|
|||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
.mfractor/
|
||||
**/TestDataFiles/*
|
||||
**/tst/*
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="TestDataFiles\" />
|
||||
<Folder Include="Files\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -248,7 +248,7 @@ namespace CollectSFData.DataFile.Tests
|
|||
throw new NotImplementedException();
|
||||
string tempPath = TestUtilities.TempDir;
|
||||
string outputFile = $"{tempPath}/txetltest.json";
|
||||
string[] inputFiles = Directory.GetFiles("", $"{TestUtilities.TestDataFilesDir}/fabric_counters*.blg", SearchOption.AllDirectories);
|
||||
string[] inputFiles = Directory.GetFiles("", $"{TestUtilities.TestDir}/fabric_counters*.blg", SearchOption.AllDirectories);
|
||||
string inputFile = inputFiles[0];
|
||||
string logFile = $"{tempPath}\\etl.log";
|
||||
Assert.IsTrue(File.Exists(inputFile));
|
||||
|
@ -283,7 +283,7 @@ namespace CollectSFData.DataFile.Tests
|
|||
string manifestPath = $"{TestUtilities.SolutionDir}/manifests";
|
||||
string tempPath = TestUtilities.TempDir;
|
||||
string outputFile = $"{tempPath}/txetltest.json";
|
||||
string[] inputFiles = Directory.GetFiles("", $"{TestUtilities.TestDataFilesDir}/fabric_traces_*.etl", SearchOption.AllDirectories);
|
||||
string[] inputFiles = Directory.GetFiles("", $"{TestUtilities.TestDir}/fabric_traces_*.etl", SearchOption.AllDirectories);
|
||||
string inputFile = inputFiles[0];
|
||||
string logFile = $"{tempPath}\\etl.log";
|
||||
Assert.IsTrue(Directory.Exists(manifestPath));
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace CollectSFDataDllTest.Utilities
|
|||
public static string SolutionDir => $"{WorkingDir}\\..\\..\\..\\..\\..\\..";
|
||||
public static string TempDir => $"{WorkingDir}\\..\\..\\Temp";
|
||||
public static string TestConfigurationsDir => $"{WorkingDir}\\..\\..\\..\\..\\TestConfigurations";
|
||||
public static string TestDataFilesDir => $"{WorkingDir}\\..\\..\\..\\..\\TestDataFiles";
|
||||
public static string TestDir => $"{WorkingDir}\\..\\..\\..\\..\\Tst";
|
||||
public static TestProperties TestProperties { get; set; }
|
||||
public static string TestPropertiesFile => $"{Environment.GetEnvironmentVariable("LOCALAPPDATA")}\\collectsfdata\\collectSfDataDllTestProperties.json";
|
||||
public static string TestPropertiesSetupScript => $"{ScriptsDir}\\setup-test-env.ps1";
|
||||
|
|
Загрузка…
Ссылка в новой задаче