Exemplo n.º 1
0
 /// <summary>
 /// Called via reflection from CoreShell.TryCreateTestInstance
 /// in test scenarios
 /// </summary>
 public static void Create() {
     // Called via reflection in test cases. Creates instance
     // of the test shell that editor code can access during
     // test run.
     _instance = new TestEditorShell(EditorTestCompositionCatalog.Current, UIThreadHelper.Instance.Thread);
     EditorShell.Current = _instance;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called via reflection from CoreShell.TryCreateTestInstance
 /// in test scenarios
 /// </summary>
 public static void Create()
 {
     // Called via reflection in test cases. Creates instance
     // of the test shell that editor code can access during
     // test run.
     _instance           = new TestEditorShell(EditorTestCompositionCatalog.Current, UIThreadHelper.Instance.Thread);
     EditorShell.Current = _instance;
 }