protected void OneTimeSetUp()
        {
            Factory = new MockOperationFactory();
            OperationFactory.Instance = Factory;

            Window = EditorWindow.GetWindow <TWindow>();
            Window.Show();
        }
示例#2
0
 public MockSearchOperation(MockOperationFactory factory, IEnumerable <PackageInfo> packages) : base(factory)
 {
     Packages = packages;
 }
 public MockAddOperation(MockOperationFactory factory, PackageInfo packageInfo = null) : base(factory)
 {
     PackageInfo = packageInfo;
 }
 protected MockOperation(MockOperationFactory factory)
 {
     RequireNetwork = false;
     Factory        = factory;
 }
示例#5
0
 protected MockOperation(MockOperationFactory factory)
 {
     Factory = factory;
 }
示例#6
0
 public MockListOperation(MockOperationFactory factory) : base(factory)
 {
 }
 public void OneTimeSetup()
 {
     Factory = new MockOperationFactory();
     OperationFactory.Instance = Factory;
 }
示例#8
0
 public MockRemoveOperation(MockOperationFactory factory) : base(factory)
 {
 }