Rename ComputeSharp.Dynamic to ComputeSharp.Dxc

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-17 03:10:38 +02:00
1 親 c7bbec8df0
コミット 862ea5a51b
24ファイル変更
+37 -37

検索条件に一致するファイルはありません

@@ -6,10 +6,10 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ComputeSharp.Tests.NativeLibrariesResolver;
[TestClass]
public class DynamicNativeLibrariesResolverTests : NativeLibrariesResolverTestsBase
public class DxcNativeLibrariesResolverTests : NativeLibrariesResolverTestsBase
{
/// <inheritdoc/>
protected override string SampleProjectName => "ComputeSharp.Dynamic.NuGet";
protected override string SampleProjectName => "ComputeSharp.Dxc.NuGet";
/// <summary>
/// Performs static initialization for the assembly before any unit tests are run.
@@ -18,7 +18,7 @@ public class DynamicNativeLibrariesResolverTests : NativeLibrariesResolverTestsB
[ClassInitialize]
public static void InitializeDynamicDependencies(TestContext _)
{
string path = Path.GetDirectoryName(typeof(DynamicNativeLibrariesResolverTests).Assembly.Location)!;
string path = Path.GetDirectoryName(typeof(DxcNativeLibrariesResolverTests).Assembly.Location)!;
while (Path.GetFileName(path) is not "ComputeSharp")
{
@@ -27,10 +27,10 @@ public class DynamicNativeLibrariesResolverTests : NativeLibrariesResolverTestsB
string coreProjectPath = Path.Combine(path, "src", "ComputeSharp.Core", "ComputeSharp.Core.csproj");
string projectPath = Path.Combine(path, "src", "ComputeSharp", "ComputeSharp.csproj");
string dynamicProjectPath = Path.Combine(path, "src", "ComputeSharp.Dynamic", "ComputeSharp.Dynamic.csproj");
string dxcProjectPath = Path.Combine(path, "src", "ComputeSharp.Dxc", "ComputeSharp.Dxc.csproj");
Process.Start("dotnet", $"pack {coreProjectPath} -c Release").WaitForExit();
Process.Start("dotnet", $"pack {projectPath} -c Release").WaitForExit();
Process.Start("dotnet", $"pack {dynamicProjectPath} -c Release").WaitForExit();
Process.Start("dotnet", $"pack {dxcProjectPath} -c Release").WaitForExit();
}
}
+1 -1
ファイルの表示
@@ -18,7 +18,7 @@ public class NativeLibrariesResolverTests : NativeLibrariesResolverTestsBase
[ClassInitialize]
public static void InitializeDynamicDependencies(TestContext _)
{
string path = Path.GetDirectoryName(typeof(DynamicNativeLibrariesResolverTests).Assembly.Location)!;
string path = Path.GetDirectoryName(typeof(DxcNativeLibrariesResolverTests).Assembly.Location)!;
while (Path.GetFileName(path) is not "ComputeSharp")
{