示例#1
0
 public ObjectManagerV2Tests(WorkspaceSetupFixture fixture, InstallApplicationSetupFixture installFixture)
 {
     _fixture        = fixture;
     _manager        = new ObjectManagerV2(_fixture.Helper.GetRestUrl(), new UsernamePasswordAuthentication(ConfigHelper.UserName, ConfigHelper.Password));
     _creation       = new DocumentCreationSetupFixture(fixture.Helper);
     _installFixture = installFixture;
     _installFixture.Init(_fixture.WorkspaceId, ApplicationInstallContext.FieldTestPath);
 }
示例#2
0
        public RSAPIObjectManagerTests(WorkspaceSetupFixture fixture, InstallApplicationSetupFixture installFixture)
        {
            _fixture        = fixture;
            _manager        = new RSAPIObjectManager(fixture.Helper);
            _creation       = new DocumentCreationSetupFixture(fixture.Helper);
            _installFixture = installFixture;

            _creation.Create(_fixture.WorkspaceId, 1);
            _installFixture.Init(_fixture.WorkspaceId, ApplicationInstallContext.FieldTestPath);
        }