Test-time reflected event checker

Server UI components work with new system
Events for loading and unloading TorchSessions
Commands report information again.
Catch, log, and rethrow errors that occur in Torch-handled SE events
This commit is contained in:
Westin Miller
2017-08-24 20:24:07 -07:00
parent 4b2fee7614
commit 140000df55
19 changed files with 230 additions and 73 deletions

View File

@@ -77,7 +77,7 @@ namespace Torch.Tests
return;
Assert.True(ReflectedManager.Process(field.Field));
if (field.Field.IsStatic)
Assert.NotNull(field.Field.GetValue(null));
((Func<ReflectedEventReplacer>)field.Field.GetValue(null)).Invoke();
}
#endregion