| 110 | EAutomationTestFlags::EditorContext | EAutomationTestFlags::ProductFilter) |
| 111 | |
| 112 | bool FMjReplayInitialState::RunTest(const FString& Parameters) |
| 113 | { |
| 114 | FReplayTestSession S; |
| 115 | if (!S.Init()) |
| 116 | { |
| 117 | AddError(TEXT("Failed to spawn AMjReplayManager")); |
| 118 | return false; |
| 119 | } |
| 120 | |
| 121 | TestFalse(TEXT("bIsRecording should be false initially"), S.Replay->bIsRecording); |
| 122 | TestFalse(TEXT("bIsReplaying should be false initially"), S.Replay->bIsReplaying); |
| 123 | TestEqual(TEXT("Live session should be empty initially"), S.GetLiveFrames().Num(), 0); |
| 124 | |
| 125 | S.Cleanup(); |
| 126 | return true; |
| 127 | } |
| 128 | |
| 129 | // ============================================================================ |
| 130 | // URLab.Replay.StartStopRecording |
nothing calls this directly
no test coverage detected