using NUnit.Framework; using System.Collections.Generic; namespace ASC.Files.Tests { public static class DocumentData { public static IEnumerable GetCreateFolderItems() { yield return new TestCaseData("FolderOne"); } public static IEnumerable GetFolderItems() { yield return new TestCaseData(14, true, 0, 0); } public static IEnumerable GetFolderInfoItems() { yield return new TestCaseData(34, "FolderTwo"); } public static IEnumerable GetRenameFolderItems() { yield return new TestCaseData(23, "FoldTest"); } public static IEnumerable GetDeleteFolderItems() { yield return new TestCaseData(1, false, true); } public static IEnumerable GetCreateFileItems() { yield return new TestCaseData("FileOne.docs"); } public static IEnumerable GetFileInfoItems() { yield return new TestCaseData(1, "FileTest.mp3"); } public static IEnumerable GetUpdateFileItems() { yield return new TestCaseData(1, "FileTest.mp3", 3); } public static IEnumerable GetDeleteFileItems() { yield return new TestCaseData(1, false, true); } public static IEnumerable GetMoveBatchItems() { yield return new TestCaseData(" [ { \"folderIds\": [ 1, 2, 3 ] }, { \"fileIds\": [ 1 , 2 ] }, { \"destFolderId\": 4 } ]"); } public static IEnumerable GetCopyBatchItems() { yield return new TestCaseData(" [ { \"folderIds\": [ 6 ] }, { \"fileIds\": [ 4 , 5 ] }, { \"destFolderId\": 5 } ]"); } } }