refactor(app): compose live presentation startup
This commit is contained in:
parent
aa6ffa5176
commit
88f32dc4e2
23 changed files with 1767 additions and 626 deletions
|
|
@ -158,6 +158,12 @@ public sealed class GameWindowLiveEntityCompositionTests
|
|||
|
||||
string source = File.ReadAllText(Path.Combine(
|
||||
FindRepoRoot(), "src", "AcDream.App", "Rendering", "GameWindow.cs"));
|
||||
string livePresentation = File.ReadAllText(Path.Combine(
|
||||
FindRepoRoot(),
|
||||
"src",
|
||||
"AcDream.App",
|
||||
"Composition",
|
||||
"LivePresentationComposition.cs"));
|
||||
Assert.DoesNotContain(
|
||||
"new LiveEntityAnimationRuntimeView<LiveEntityAnimationState>(() =>",
|
||||
source,
|
||||
|
|
@ -166,7 +172,7 @@ public sealed class GameWindowLiveEntityCompositionTests
|
|||
"new LiveEntityRemoteMotionRuntimeView<RemoteMotion>(() =>",
|
||||
source,
|
||||
StringComparison.Ordinal);
|
||||
Assert.Contains("new AcDream.App.Physics.DatProjectileSetupResolver", source);
|
||||
Assert.Contains("new DatProjectileSetupResolver", livePresentation);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue