feat(runtime): expose dormant placement receipts
This commit is contained in:
parent
4c02ac4259
commit
270f5154b9
9 changed files with 223 additions and 4 deletions
|
|
@ -4,6 +4,34 @@ namespace AcDream.App.Tests.Runtime;
|
|||
|
||||
public sealed class RuntimePhysicsOwnershipTests
|
||||
{
|
||||
[Fact]
|
||||
public void PlacementProjectionChannelRemainsDormantInProductionHosts()
|
||||
{
|
||||
string root = FindRepositoryRoot();
|
||||
foreach (string relative in new[]
|
||||
{
|
||||
Path.Combine("src", "AcDream.App"),
|
||||
Path.Combine("src", "AcDream.Headless"),
|
||||
})
|
||||
{
|
||||
foreach (string file in Directory.EnumerateFiles(
|
||||
Path.Combine(root, relative),
|
||||
"*.cs",
|
||||
SearchOption.AllDirectories))
|
||||
{
|
||||
string source = File.ReadAllText(file);
|
||||
Assert.DoesNotContain(
|
||||
".Placements.",
|
||||
source,
|
||||
StringComparison.Ordinal);
|
||||
Assert.DoesNotContain(
|
||||
"RuntimePlacementProjectionChannel",
|
||||
source,
|
||||
StringComparison.Ordinal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ProductionAppBorrowsTheRuntimePhysicsWorld()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue