コード例 #1
0
 public void OneTimeSetUp()
 {
     _testFolderName = "Test_Folder" + Guid.NewGuid();
     _factory        = EnvironmentCheck.FactoryForEnvironment();
     _filesApi       = _factory.Api <IFilesApi>();
     _foldersApi     = _factory.Api <IFoldersApi>();
 }
コード例 #2
0
        public void SetUp()
        {
            _factory    = EnvironmentCheck.FactoryForEnvironment();
            _foldersApi = _factory.Api <IFoldersApi>();

            _testFolderId = _foldersApi.GetRootFolder(filter: "Name eq 'SDK_Test_Folder'").Values.SingleOrDefault()?.Id;
            var createFolder = new CreateFolder("/", "SDK_Test_Folder");

            _testFolderId ??= _foldersApi.CreateFolder(createFolder).Id;
        }
コード例 #3
0
 public void SetUp()
 {
     _factory = EnvironmentCheck.FactoryForEnvironment();
 }
コード例 #4
0
 public void SetUp()
 {
     _factory              = EnvironmentCheck.FactoryForEnvironment();
     _foldersApi           = _factory.Api <IFoldersApi>();
     _foldersApiExtensions = new FoldersApiExtensions(_foldersApi);
 }