Exemplo n.º 1
0
 public void OneTimeSetUp()
 {
     _testFolderName = "Test_Folder" + Guid.NewGuid();
     _factory        = EnvironmentCheck.FactoryForEnvironment();
     _filesApi       = _factory.Api <IFilesApi>();
     _foldersApi     = _factory.Api <IFoldersApi>();
 }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
 public void SetUp()
 {
     _factory = EnvironmentCheck.FactoryForEnvironment();
 }
 public void SetUp()
 {
     _factory              = EnvironmentCheck.FactoryForEnvironment();
     _foldersApi           = _factory.Api <IFoldersApi>();
     _foldersApiExtensions = new FoldersApiExtensions(_foldersApi);
 }