PlasticApiMock.cs 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using Codice.Client.BaseCommands;
  5. using Codice.Client.BaseCommands.Acl;
  6. using Codice.Client.BaseCommands.BranchExplorer.ExplorerTree;
  7. using Codice.Client.BaseCommands.BranchExplorer.Layout;
  8. using Codice.Client.Commands;
  9. using Codice.Client.Commands.CheckIn;
  10. using Codice.Client.Commands.Tree;
  11. using Codice.Client.Commands.WkTree;
  12. using Codice.Client.Commands.Xlinks;
  13. using Codice.Client.Common;
  14. using Codice.Client.Common.Xlinks;
  15. using Codice.Client.GameUI.Update;
  16. using Codice.Client.IssueTracker;
  17. using Codice.CM.Common;
  18. using Codice.CM.Common.Merge;
  19. using Codice.CM.Common.Replication;
  20. using Codice.CM.Common.Serialization;
  21. using Codice.CM.Common.Tree;
  22. using PlasticGui;
  23. using PlasticGui.SwitcherWindow.Workspaces;
  24. using PlasticGui.WorkspaceWindow.BranchExplorer;
  25. using PlasticGui.WorkspaceWindow.Diff;
  26. namespace Unity.PlasticSCM.Tests.Editor.Mock
  27. {
  28. internal class PlasticApiMock : IPlasticAPI
  29. {
  30. internal void SetupGetWorkspaceTreeNode(string path, WorkspaceTreeNode wkTreeNode)
  31. {
  32. mWorkspaceTreeNodes.Add(path, wkTreeNode);
  33. }
  34. internal void SetupGetWorkingBranch(BranchInfo workingBranch)
  35. {
  36. mWorkingBranch = workingBranch;
  37. }
  38. WkAddResult IPlasticAPI.Add(string[] paths, AddOptions options, out IList checkouts)
  39. {
  40. throw new NotImplementedException();
  41. }
  42. void IPlasticAPI.AddLockRule(RepositorySpec repSpec, string newRule, bool bDryRun)
  43. {
  44. throw new NotImplementedException();
  45. }
  46. void IPlasticAPI.ApplyLabelToWorkspace(WorkspaceInfo wkInfo, RepositorySpec repSpec, MarkerInfo labelInfo)
  47. {
  48. throw new NotImplementedException();
  49. }
  50. DiffInfo IPlasticAPI.BuildDiffInfoForDiffWithPrevious(string revspec2, string symbolicName2, string defaultPath2, string fileExt, WorkspaceInfo currentWk)
  51. {
  52. throw new NotImplementedException();
  53. }
  54. OutOfDateItems IPlasticAPI.CalculateOutOfDateItems(WorkspaceInfo wkInfo)
  55. {
  56. throw new NotImplementedException();
  57. }
  58. EnumRevisionType IPlasticAPI.ChangeRevisionType(string path, EnumRevisionType type)
  59. {
  60. throw new NotImplementedException();
  61. }
  62. bool IPlasticAPI.CheckAttributeExists(RepositorySpec repSpec, string attributeName)
  63. {
  64. throw new NotImplementedException();
  65. }
  66. bool IPlasticAPI.CheckBranchExists(RepositorySpec repSpec, BranchInfo brInfo)
  67. {
  68. throw new NotImplementedException();
  69. }
  70. void IPlasticAPI.CheckCredentials(string server, SEIDWorkingMode mode, string user, string password)
  71. {
  72. throw new NotImplementedException();
  73. }
  74. bool IPlasticAPI.CheckLabelExists(RepositorySpec repSpec, MarkerInfo mkInfo)
  75. {
  76. throw new NotImplementedException();
  77. }
  78. void IPlasticAPI.Checkout(string[] paths)
  79. {
  80. throw new NotImplementedException();
  81. }
  82. void IPlasticAPI.Checkout(string[] paths, CheckoutModifiers options)
  83. {
  84. throw new NotImplementedException();
  85. }
  86. bool IPlasticAPI.CheckRepositoryExists(string repServer, string repName)
  87. {
  88. throw new NotImplementedException();
  89. }
  90. bool IPlasticAPI.CheckServerConnection(string repServer)
  91. {
  92. throw new NotImplementedException();
  93. }
  94. AttributeInfo IPlasticAPI.CreateAttribute(RepositorySpec repSpec, string attributeName, string attributeComment)
  95. {
  96. throw new NotImplementedException();
  97. }
  98. ICheckinOperation IPlasticAPI.CreateCheckInOperation()
  99. {
  100. throw new NotImplementedException();
  101. }
  102. BranchInfo IPlasticAPI.CreateChildBranch(WorkspaceInfo wkInfo, BranchInfo branchInfo, string title)
  103. {
  104. throw new NotImplementedException();
  105. }
  106. BranchInfo IPlasticAPI.CreateChildBranch(RepositorySpec repSpec, BranchInfo parentBranchInfo, string name, string comment)
  107. {
  108. throw new NotImplementedException();
  109. }
  110. BranchInfo IPlasticAPI.CreateChildBranchFromChangeset(RepositorySpec repSpec, BranchInfo parentBranchInfo, long changeset, string name)
  111. {
  112. throw new NotImplementedException();
  113. }
  114. BranchInfo IPlasticAPI.CreateChildBranchFromChangeset(RepositorySpec repSpec, BranchInfo parentBranchInfo, long changeset, string name, string comment)
  115. {
  116. throw new NotImplementedException();
  117. }
  118. void IPlasticAPI.CreateComment(RepositorySpec repSpec, long reviewId, CodeReviewCommentInfo comment)
  119. {
  120. throw new NotImplementedException();
  121. }
  122. RepositoryInfo IPlasticAPI.CreateRepository(string repServer, string repName)
  123. {
  124. throw new NotImplementedException();
  125. }
  126. ReviewInfo IPlasticAPI.CreateReview(RepositorySpec repSpec, ReviewInfo reviewInfo)
  127. {
  128. throw new NotImplementedException();
  129. }
  130. WorkspaceInfo IPlasticAPI.CreateWorkspace(string wkPath, string wkName, string repName)
  131. {
  132. throw new NotImplementedException();
  133. }
  134. void IPlasticAPI.DeleteAttributeFromObject(RepositorySpec repSpec, AttributeRealizationInfo attribute)
  135. {
  136. throw new NotImplementedException();
  137. }
  138. void IPlasticAPI.DeleteBranch(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo branchInfo)
  139. {
  140. throw new NotImplementedException();
  141. }
  142. bool IPlasticAPI.DeleteChangeset(RepositorySpec repSpec, ChangesetInfo changesetInfo)
  143. {
  144. throw new NotImplementedException();
  145. }
  146. void IPlasticAPI.DeleteComment(RepositorySpec repSpec, long commentId)
  147. {
  148. throw new NotImplementedException();
  149. }
  150. void IPlasticAPI.DeleteControlled(string path, DeleteModifiers options)
  151. {
  152. throw new NotImplementedException();
  153. }
  154. void IPlasticAPI.DeleteLabel(RepositorySpec repSpec, MarkerInfo labelInfo)
  155. {
  156. throw new NotImplementedException();
  157. }
  158. void IPlasticAPI.DeleteReview(RepositorySpec repSpec, ReviewInfo reviewInfo)
  159. {
  160. throw new NotImplementedException();
  161. }
  162. IList IPlasticAPI.DoGetAllRepositories(string server, bool bFilterDeleted)
  163. {
  164. throw new NotImplementedException();
  165. }
  166. IList IPlasticAPI.FindAttributeTypes(RepositorySpec repSpec)
  167. {
  168. throw new NotImplementedException();
  169. }
  170. HashSet<Guid> IPlasticAPI.FindGuids(RepositorySpec repSpec, WorkspaceInfo wkInfo, string condition, ObjectType objectType)
  171. {
  172. throw new NotImplementedException();
  173. }
  174. QueryResult IPlasticAPI.FindQuery(WorkspaceInfo wkInfo, string query)
  175. {
  176. throw new NotImplementedException();
  177. }
  178. QueryResult IPlasticAPI.FindQuery(RepositoryInfo repInfo, string query)
  179. {
  180. throw new NotImplementedException();
  181. }
  182. QueryResult IPlasticAPI.FindQuery(RepositorySpec repSpec, string query)
  183. {
  184. throw new NotImplementedException();
  185. }
  186. DiffInfo IPlasticAPI.GetAddedDiffInfo(WorkspaceInfo wkInfo, MountPoint mount, DiffViewEntry entry, WorkspaceInfo currentWk)
  187. {
  188. throw new NotImplementedException();
  189. }
  190. IList IPlasticAPI.GetAllRepositories(bool bFilterDeleted)
  191. {
  192. throw new NotImplementedException();
  193. }
  194. IList IPlasticAPI.GetAllRepositories(string server, bool bFilterDeleted)
  195. {
  196. throw new NotImplementedException();
  197. }
  198. IList IPlasticAPI.GetAllRepositories(string server, bool bFilterDeleted, ServerProfile profile)
  199. {
  200. throw new NotImplementedException();
  201. }
  202. List<WorkspaceGuiEntry> IPlasticAPI.GetAllWorkspaces()
  203. {
  204. throw new NotImplementedException();
  205. }
  206. WorkspaceInfo[] IPlasticAPI.GetAllWorkspacesArray()
  207. {
  208. throw new NotImplementedException();
  209. }
  210. List<AnnotatedLine> IPlasticAPI.GetAnnotations(RepositorySpec repSpec, RevisionInfo revInfo, string localPath, string comparisonMethod, string encoding)
  211. {
  212. throw new NotImplementedException();
  213. }
  214. AttributeInfo IPlasticAPI.GetAttribute(string server, RepId repId, string attributeName)
  215. {
  216. throw new NotImplementedException();
  217. }
  218. long IPlasticAPI.GetAttributeIdForRepository(RepositorySpec repSpec, string attributeName)
  219. {
  220. throw new NotImplementedException();
  221. }
  222. AttributeRealizationInfo[] IPlasticAPI.GetAttributeRealizations(RepositorySpec repSpec, long objId)
  223. {
  224. throw new NotImplementedException();
  225. }
  226. List<ClientDiff> IPlasticAPI.GetBranchDifferences(RepositorySpec repSpec, BranchInfo brInfo)
  227. {
  228. throw new NotImplementedException();
  229. }
  230. BrExLayout IPlasticAPI.GetBranchExplorerLayout(WorkspaceInfo wkInfo, RepositorySpec repSpec, FilterCollection filters, DisplayOptions options, out BrExTree explorerTree)
  231. {
  232. throw new NotImplementedException();
  233. }
  234. BrExLayout IPlasticAPI.GetBranchExplorerLayout(WorkspaceInfo wkInfo, RepositoryExplainMergeData explainMergeData, DisplayOptions displayOptions, out BrExTree explorerTree)
  235. {
  236. throw new NotImplementedException();
  237. }
  238. BrExLayout IPlasticAPI.GetBranchExplorerLayout(RepositorySpec repSpec, BrExTree explorerTree, DisplayOptions options)
  239. {
  240. throw new NotImplementedException();
  241. }
  242. BranchInfo IPlasticAPI.GetBranchInfo(RepositorySpec repSpec, string fullBranchName)
  243. {
  244. throw new NotImplementedException();
  245. }
  246. BranchInfo IPlasticAPI.GetBranchInfo(RepositorySpec repSpec, Guid brId)
  247. {
  248. throw new NotImplementedException();
  249. }
  250. List<BranchInfo> IPlasticAPI.GetBranchInfos(RepositorySpec repSpec, List<long> ids)
  251. {
  252. throw new NotImplementedException();
  253. }
  254. Difference IPlasticAPI.GetChangedForMovedDifference(Difference diff)
  255. {
  256. throw new NotImplementedException();
  257. }
  258. TreeChangedNode IPlasticAPI.GetChangedNodeForPath(WorkspaceInfo wkInfo, string path)
  259. {
  260. throw new NotImplementedException();
  261. }
  262. IList<ChangeInfo> IPlasticAPI.GetChanges(WorkspaceInfo wkInfo, List<string> basePaths, WorkspaceStatusOptions options)
  263. {
  264. throw new NotImplementedException();
  265. }
  266. List<ClientDiff> IPlasticAPI.GetChangesetDifferences(RepositorySpec repSpec, ChangesetInfo csetInfo)
  267. {
  268. throw new NotImplementedException();
  269. }
  270. List<ClientDiff> IPlasticAPI.GetChangesetDifferences(MountPointWithPath mount, ChangesetInfo csetInfo)
  271. {
  272. throw new NotImplementedException();
  273. }
  274. Guid IPlasticAPI.GetChangesetGuid(RepositorySpec repSpec, long changesetId)
  275. {
  276. throw new NotImplementedException();
  277. }
  278. ChangesetInfo IPlasticAPI.GetChangesetInfo(RepositorySpec repSpec, Guid csetId)
  279. {
  280. throw new NotImplementedException();
  281. }
  282. ChangesetInfo IPlasticAPI.GetChangesetInfoFromId(WorkspaceInfo wkInfo, long csId)
  283. {
  284. throw new NotImplementedException();
  285. }
  286. ChangesetInfo IPlasticAPI.GetChangesetInfoFromId(RepositorySpec repSpec, long csId)
  287. {
  288. throw new NotImplementedException();
  289. }
  290. ChangesetInfo IPlasticAPI.GetChangesetInfoFromId(RepositoryInfo repInfo, long csId)
  291. {
  292. throw new NotImplementedException();
  293. }
  294. List<ClientDiff> IPlasticAPI.GetChangesetsDifferences(RepositorySpec repSpec, ChangesetInfo sourceCsetInfo, ChangesetInfo destinationCsetInfo)
  295. {
  296. throw new NotImplementedException();
  297. }
  298. long IPlasticAPI.GetCurrentChangesetOnWorkspace(WorkspaceInfo wkInfo)
  299. {
  300. throw new NotImplementedException();
  301. }
  302. DiffInfo IPlasticAPI.GetDiffInfo(string revSpec, string symbolicName, string defaultPath, string fileExtension, WorkspaceInfo currrentWk)
  303. {
  304. throw new NotImplementedException();
  305. }
  306. DiffInfo IPlasticAPI.GetDiffInfo(string revspec1, string revspec2, string symbolicName1, string symbolicName2, string defaultPath1, string defaultPath2, string fileExtension, WorkspaceInfo currrentWk)
  307. {
  308. throw new NotImplementedException();
  309. }
  310. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, ChangeInfo changeInfo)
  311. {
  312. throw new NotImplementedException();
  313. }
  314. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, ChangeInfo changeInfo, ChangeInfo changedForMoved)
  315. {
  316. throw new NotImplementedException();
  317. }
  318. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, MountPoint mount, Difference diff)
  319. {
  320. throw new NotImplementedException();
  321. }
  322. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, RepositorySpec repSpec, RevisionInfo leftRev, RevisionInfo rightRev, string leftDefaultPath, string rightDefaultPath)
  323. {
  324. throw new NotImplementedException();
  325. }
  326. List<RepObjectInfo> IPlasticAPI.GetHistory(RepositorySpec repSpec, long itemId)
  327. {
  328. throw new NotImplementedException();
  329. }
  330. HumanReadableXlinkDataGenerator IPlasticAPI.GetHumanReadableXlinkDataGenerator()
  331. {
  332. throw new NotImplementedException();
  333. }
  334. IDictionary<MountPoint, PendingMergeLink> IPlasticAPI.GetInProgressMergeLinks(WorkspaceInfo wkInfo)
  335. {
  336. throw new NotImplementedException();
  337. }
  338. LicenseData IPlasticAPI.GetLicenseData(string server)
  339. {
  340. throw new NotImplementedException();
  341. }
  342. long IPlasticAPI.GetLoadedChangeset(WorkspaceInfo wkInfo)
  343. {
  344. throw new NotImplementedException();
  345. }
  346. long IPlasticAPI.GetLoadedRevisionId(WorkspaceInfo wkInfo, RepositorySpec repSpec, long itemId)
  347. {
  348. throw new NotImplementedException();
  349. }
  350. LockRule IPlasticAPI.GetLockRule(RepositorySpec repSpec)
  351. {
  352. throw new NotImplementedException();
  353. }
  354. BranchInfo IPlasticAPI.GetMainBranch(RepositorySpec repSpec)
  355. {
  356. throw new NotImplementedException();
  357. }
  358. MarkerInfo IPlasticAPI.GetMarkerInfo(RepositorySpec repSpec, long markerId)
  359. {
  360. throw new NotImplementedException();
  361. }
  362. Guid IPlasticAPI.GetObjectGuid(RepositorySpec repSpec, long objectId)
  363. {
  364. throw new NotImplementedException();
  365. }
  366. long IPlasticAPI.GetParentChangeset(RepositorySpec repSpec, long changesetId)
  367. {
  368. throw new NotImplementedException();
  369. }
  370. RevisionInfo IPlasticAPI.GetParentRevision(RepositorySpec repSpec, RevisionInfo revInfo)
  371. {
  372. throw new NotImplementedException();
  373. }
  374. IDictionary<MountPoint, IList<PendingMergeLink>> IPlasticAPI.GetPendingMergeLinks(WorkspaceInfo wkInfo)
  375. {
  376. throw new NotImplementedException();
  377. }
  378. IList<ReplicationSourceInfo> IPlasticAPI.GetReplicationSources(RepositorySpec repSpec, RepObjectInfo repObject)
  379. {
  380. throw new NotImplementedException();
  381. }
  382. RepositoryInfo IPlasticAPI.GetRepositoryInfo(RepositorySpec repSpec)
  383. {
  384. throw new NotImplementedException();
  385. }
  386. RepositorySpec IPlasticAPI.GetRepositorySpec(WorkspaceInfo wkInfo)
  387. {
  388. throw new NotImplementedException();
  389. }
  390. IList IPlasticAPI.GetReviewComments(RepositorySpec repSpec, long reviewId)
  391. {
  392. throw new NotImplementedException();
  393. }
  394. IList IPlasticAPI.GetReviewCommentsFromReviewIds(RepositorySpec repSpec, List<long> reviewIds)
  395. {
  396. throw new NotImplementedException();
  397. }
  398. RevisionInfo IPlasticAPI.GetRevisionAtChangeset(RepositorySpec repSpec, long itemId, long changesetId)
  399. {
  400. throw new NotImplementedException();
  401. }
  402. ChildItem[] IPlasticAPI.GetRevisionChildren(RepositorySpec repSpec, RevisionInfo revInfo)
  403. {
  404. throw new NotImplementedException();
  405. }
  406. void IPlasticAPI.GetRevisionDataToFile(RepositorySpec repSpec, HistoryRevision revision, string tmpFile)
  407. {
  408. throw new NotImplementedException();
  409. }
  410. void IPlasticAPI.GetRevisionDataToFile(RepositorySpec repSpec, RevisionInfo revInfo, string tmpFile)
  411. {
  412. throw new NotImplementedException();
  413. }
  414. RevisionInfo IPlasticAPI.GetRevisionInfo(RepositorySpec repSpec, long revisionId)
  415. {
  416. throw new NotImplementedException();
  417. }
  418. RepositoryInfo IPlasticAPI.GetRootRepositoryInfo(string clientPath)
  419. {
  420. throw new NotImplementedException();
  421. }
  422. SEID IPlasticAPI.GetSeidFromName(string server, string name, bool isGroup)
  423. {
  424. throw new NotImplementedException();
  425. }
  426. SelectorInformation IPlasticAPI.GetSelectorUserInformation(WorkspaceInfo wkInfo)
  427. {
  428. throw new NotImplementedException();
  429. }
  430. WebadminAddress IPlasticAPI.GetServerWebPortAndProtocol(string server)
  431. {
  432. throw new NotImplementedException();
  433. }
  434. ReplicationLogEntryInfo[] IPlasticAPI.GetSortedReplicationLogsFromBranch(RepositorySpec repSpec, BranchInfo branchInfo)
  435. {
  436. throw new NotImplementedException();
  437. }
  438. ReplicationLogEntryInfo[] IPlasticAPI.GetSortedReplicationLogsFromRepository(RepositorySpec repSpec)
  439. {
  440. throw new NotImplementedException();
  441. }
  442. TreeContent IPlasticAPI.GetTreeContent(RepositorySpec repSpec, long changesetId)
  443. {
  444. throw new NotImplementedException();
  445. }
  446. string IPlasticAPI.GetUserName(SEID owner)
  447. {
  448. throw new NotImplementedException();
  449. }
  450. string IPlasticAPI.GetUserName(string server, SEID owner)
  451. {
  452. throw new NotImplementedException();
  453. }
  454. IList IPlasticAPI.GetValuesForAttribute(string server, RepId repId, string attributeName)
  455. {
  456. throw new NotImplementedException();
  457. }
  458. BranchInfo IPlasticAPI.GetWorkingBranch(WorkspaceInfo wkInfo)
  459. {
  460. return mWorkingBranch;
  461. }
  462. BranchInfo IPlasticAPI.GetCheckoutBranch(WorkspaceInfo wkInfo)
  463. {
  464. return mWorkingBranch;
  465. }
  466. long IPlasticAPI.GetWorkingChangeset(RepositorySpec repSpec, WorkspaceInfo wkInfo)
  467. {
  468. throw new NotImplementedException();
  469. }
  470. SEIDWorkingMode IPlasticAPI.GetWorkingMode(string server)
  471. {
  472. throw new NotImplementedException();
  473. }
  474. WorkspaceInfo IPlasticAPI.GetWorkspaceFromPath(string wkPath)
  475. {
  476. throw new NotImplementedException();
  477. }
  478. WorkspaceTreeNode IPlasticAPI.GetWorkspaceTree(WorkspaceInfo wkInfo, string path)
  479. {
  480. throw new NotImplementedException();
  481. }
  482. WorkspaceTreeNode IPlasticAPI.GetWorkspaceTreeNode(string path)
  483. {
  484. if (!mWorkspaceTreeNodes.ContainsKey(path))
  485. return null;
  486. return mWorkspaceTreeNodes[path];
  487. }
  488. List<ClientXlink> IPlasticAPI.GetXLinksInChangesetTree(RepositorySpec repSpec, long changesetId)
  489. {
  490. throw new NotImplementedException();
  491. }
  492. string IPlasticAPI.GetXlinkTypeString(Xlink xlink)
  493. {
  494. throw new NotImplementedException();
  495. }
  496. bool IPlasticAPI.HasWorkspaceMergeChanges(WorkspaceInfo wkInfo)
  497. {
  498. throw new NotImplementedException();
  499. }
  500. bool IPlasticAPI.IsBranchEmpty(RepositorySpec repSpec, long branchId)
  501. {
  502. throw new NotImplementedException();
  503. }
  504. bool IPlasticAPI.IsCopied(string path, out bool bReplaced)
  505. {
  506. throw new NotImplementedException();
  507. }
  508. bool IPlasticAPI.IsFsReaderWatchLimitReached(WorkspaceInfo wkInfo)
  509. {
  510. throw new NotImplementedException();
  511. }
  512. bool IPlasticAPI.IsGluonWorkspace(WorkspaceInfo wkInfo)
  513. {
  514. throw new NotImplementedException();
  515. }
  516. bool IPlasticAPI.IsIncomingChangesInProgress(WorkspaceInfo wkInfo)
  517. {
  518. throw new NotImplementedException();
  519. }
  520. bool IPlasticAPI.IsMovedChangedDifference(Difference diff)
  521. {
  522. throw new NotImplementedException();
  523. }
  524. bool IPlasticAPI.IsOnChangedTree(WorkspaceInfo wkInfo, string path)
  525. {
  526. throw new NotImplementedException();
  527. }
  528. bool IPlasticAPI.IsReadOnlyFilesPreferenceEnabled()
  529. {
  530. throw new NotImplementedException();
  531. }
  532. bool IPlasticAPI.IsStackTraceEnabled()
  533. {
  534. throw new NotImplementedException();
  535. }
  536. bool IPlasticAPI.IsWorkingChangesetDeleted(WorkspaceInfo wkInfo)
  537. {
  538. throw new NotImplementedException();
  539. }
  540. void IPlasticAPI.LaunchDifferences(DiffInfo diffInfo, IToolLauncher xDiffLauncher)
  541. {
  542. throw new NotImplementedException();
  543. }
  544. List<PlasticTask> IPlasticAPI.LoadTasks(IPlasticIssueTrackerExtension extension, List<string> taskIds)
  545. {
  546. throw new NotImplementedException();
  547. }
  548. void IPlasticAPI.MarkTaskAsOpen(IPlasticIssueTrackerExtension extension, List<string> taskIds, string assignee)
  549. {
  550. throw new NotImplementedException();
  551. }
  552. BranchInfo IPlasticAPI.MkBranch(RepositorySpec repSpec, string fullBranchName, long changeset, string comment)
  553. {
  554. throw new NotImplementedException();
  555. }
  556. MarkerInfo IPlasticAPI.MkLabel(RepositorySpec repSpec, string labelName, long changeset, string comment)
  557. {
  558. throw new NotImplementedException();
  559. }
  560. IList IPlasticAPI.MkLabelInAllXlinkedRepositories(IList<ClientXlink> targetXlinks, string labelName, string comment)
  561. {
  562. throw new NotImplementedException();
  563. }
  564. void IPlasticAPI.Move(string source, string destination, MoveModifiers options)
  565. {
  566. throw new NotImplementedException();
  567. }
  568. void IPlasticAPI.MoveChangeset(RepositorySpec repSpec, ChangesetInfo csetInfo, BranchInfo dstBrInfo)
  569. {
  570. throw new NotImplementedException();
  571. }
  572. List<ErrorMessage> IPlasticAPI.PartialUpdate(WorkspaceInfo wkInfo, List<string> paths)
  573. {
  574. throw new NotImplementedException();
  575. }
  576. void IPlasticAPI.PerformUpdateMerge(WorkspaceInfo wkInfo, MergeSource mergeSource, MergeResult mergeResult, ICmdNotifier notifier)
  577. {
  578. throw new NotImplementedException();
  579. }
  580. void IPlasticAPI.RemoveRepository(RepositoryInfo repInfo)
  581. {
  582. throw new NotImplementedException();
  583. }
  584. void IPlasticAPI.RemoveWorkspace(WorkspaceInfo wkInfo)
  585. {
  586. throw new NotImplementedException();
  587. }
  588. BranchInfo IPlasticAPI.RenameBranch(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo branchInfo, string newName)
  589. {
  590. throw new NotImplementedException();
  591. }
  592. MarkerInfo IPlasticAPI.RenameLabel(WorkspaceInfo wkInfo, RepositorySpec repSpec, MarkerInfo labelInfo, string newName)
  593. {
  594. throw new NotImplementedException();
  595. }
  596. RepositoryInfo IPlasticAPI.RenameRepository(RepositoryInfo repInfo, string newName)
  597. {
  598. throw new NotImplementedException();
  599. }
  600. WorkspaceInfo IPlasticAPI.RenameWorkspace(WorkspaceInfo wkInfo, string newName)
  601. {
  602. throw new NotImplementedException();
  603. }
  604. void IPlasticAPI.RevertToClientDiffRevisions(WorkspaceInfo wkInfo, ClientDiffInfo clientDiff, WorkspaceTreeNode wkNode, string workspacePath)
  605. {
  606. throw new NotImplementedException();
  607. }
  608. void IPlasticAPI.RevertToThisRevision(WorkspaceInfo wkInfo, RepositorySpec repSpec, HistoryRevision revision, string path)
  609. {
  610. throw new NotImplementedException();
  611. }
  612. List<ChangeInfo> IPlasticAPI.SearchMatches(WorkspaceInfo wkInfo, string path, double allowedChangesPerUnit)
  613. {
  614. throw new NotImplementedException();
  615. }
  616. IList IPlasticAPI.SelectiveUpdate(WorkspaceInfo wkInfo, UpdateFlags flags, IList dirs, IList files)
  617. {
  618. throw new NotImplementedException();
  619. }
  620. void IPlasticAPI.SetAsGluonWorkspace(WorkspaceInfo wkInfo)
  621. {
  622. throw new NotImplementedException();
  623. }
  624. void IPlasticAPI.SetAttribute(RepositorySpec repSpec, long attId, long objId, string attributeValue)
  625. {
  626. throw new NotImplementedException();
  627. }
  628. void IPlasticAPI.SetReadonlyFilesPreference(bool value)
  629. {
  630. throw new NotImplementedException();
  631. }
  632. void IPlasticAPI.SetSelector(WorkspaceInfo wkInfo, string selector, SetSelectorFlags flags)
  633. {
  634. throw new NotImplementedException();
  635. }
  636. CheckinResult IPlasticAPI.ShelveChanges(string[] paths, string comment)
  637. {
  638. throw new NotImplementedException();
  639. }
  640. IUpdateResult IPlasticAPI.SwitchToBranch(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo brInfo, IContinueWithPendingChangesQuestioner questioner, ICmdNotifier notifier)
  641. {
  642. throw new NotImplementedException();
  643. }
  644. void IPlasticAPI.SwitchToBranch(WorkspaceInfo wkInfo, BranchInfo branchInfo)
  645. {
  646. throw new NotImplementedException();
  647. }
  648. IUpdateResult IPlasticAPI.SwitchToChangeset(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo brInfo, ChangesetInfo csInfo, IContinueWithPendingChangesQuestioner questioner, ICmdNotifier notifier)
  649. {
  650. throw new NotImplementedException();
  651. }
  652. IUpdateResult IPlasticAPI.SwitchToLabel(WorkspaceInfo wkInfo, RepositorySpec repSpec, MarkerInfo labelInfo, IContinueWithPendingChangesQuestioner questioner, ICmdNotifier notifier)
  653. {
  654. throw new NotImplementedException();
  655. }
  656. string IPlasticAPI.SwitchWorkspaceSelector(WorkspaceInfo wkInfo, SwitchToSelectorEntry[] entries)
  657. {
  658. throw new NotImplementedException();
  659. }
  660. void IPlasticAPI.UndeleteClientDiff(ClientDiffInfo diff, string restorePath)
  661. {
  662. throw new NotImplementedException();
  663. }
  664. void IPlasticAPI.UndeleteRepository(RepositoryInfo repInfo)
  665. {
  666. throw new NotImplementedException();
  667. }
  668. void IPlasticAPI.UndeleteRevision(RepositorySpec repSpec, RemovedRealizationInfo removed, string restorePath)
  669. {
  670. throw new NotImplementedException();
  671. }
  672. void IPlasticAPI.UndoCheckout(WorkspaceInfo wkInfo, string[] paths, ICmdNotifier notifier)
  673. {
  674. throw new NotImplementedException();
  675. }
  676. void IPlasticAPI.UndoCheckout(WorkspaceInfo wkInfo, IList<string> paths, IList<string> skippedLocks, bool bHandleDeletedChangeset)
  677. {
  678. throw new NotImplementedException();
  679. }
  680. void IPlasticAPI.UndoShelvedChanges(WorkspaceInfo wkInfo, string[] paths)
  681. {
  682. throw new NotImplementedException();
  683. }
  684. List<string> IPlasticAPI.UndoUnchanged(WorkspaceInfo wkInfo, IList paths)
  685. {
  686. throw new NotImplementedException();
  687. }
  688. IUpdateResult IPlasticAPI.Update(string path, UpdateFlags flags, IRunMergeDuringUpdate mergeController, ICmdNotifier notifier)
  689. {
  690. throw new NotImplementedException();
  691. }
  692. void IPlasticAPI.UpdateBranchHead(RepositorySpec repSpec, long branchId, long changesetId)
  693. {
  694. throw new NotImplementedException();
  695. }
  696. void IPlasticAPI.UpdateCheckoutBranch(WorkspaceInfo wkInfo, BranchInfo branchInfo)
  697. {
  698. throw new NotImplementedException();
  699. }
  700. ReviewCommentInfo IPlasticAPI.UpdateComment(RepositorySpec repSpec, ReviewCommentInfo editedComment)
  701. {
  702. throw new NotImplementedException();
  703. }
  704. void IPlasticAPI.UpdateObjectComment(RepositorySpec repSpec, RepObjectInfo repObject, string newComment)
  705. {
  706. throw new NotImplementedException();
  707. }
  708. ReviewInfo IPlasticAPI.UpdateReview(RepositorySpec repSpec, ReviewInfo reviewInfo)
  709. {
  710. throw new NotImplementedException();
  711. }
  712. IUpdateResult IPlasticAPI.UpdateToLatest(WorkspaceInfo wkInfo, UpdateFlags flags, IRunMergeDuringUpdate mergeController, ICmdNotifier notifier)
  713. {
  714. throw new NotImplementedException();
  715. }
  716. SecurityMember[] IPlasticAPI.GetUsers(string server, string serverSideFilter)
  717. {
  718. throw new NotImplementedException();
  719. }
  720. SecurityMember[] IPlasticAPI.GetGroups(string server, string serverSideFilter)
  721. {
  722. throw new NotImplementedException();
  723. }
  724. SecurityMember[] IPlasticAPI.GetSecurityMembers(string server, string serverSideFilter)
  725. {
  726. throw new NotImplementedException();
  727. }
  728. SecurityMember IPlasticAPI.GetSecurityMemberFromName(string server, string name)
  729. {
  730. throw new NotImplementedException();
  731. }
  732. WorkspaceInfo IPlasticAPI.CreateDynamicWorkspace(string wkPath, string wkName, string repName)
  733. {
  734. throw new NotImplementedException();
  735. }
  736. RepositoryServerInfo IPlasticAPI.GetRepositoryServerInfo(string server)
  737. {
  738. throw new NotImplementedException();
  739. }
  740. void IPlasticAPI.UpdateSecuredPath(RepositorySpec repSpec, SecuredPathInfo secPathInfo, long[] newBrIds, AclParams aclParams)
  741. {
  742. throw new NotImplementedException();
  743. }
  744. SecuredPathInfo IPlasticAPI.CreateSecuredPath(RepositorySpec repSpec, string path, string tag, long[] brIds, AclParams aclParams)
  745. {
  746. throw new NotImplementedException();
  747. }
  748. void IPlasticAPI.DeleteSecuredPath(RepositorySpec repSpec, SecuredPathInfo secPathInfo)
  749. {
  750. throw new NotImplementedException();
  751. }
  752. void IPlasticAPI.CalculateAcl(string server, ObjectInfo obj, out AclInfo aclInfo, out AclEntry[] calculatedPermissions, out bool bIsOwner)
  753. {
  754. throw new NotImplementedException();
  755. }
  756. SEID IPlasticAPI.GetOwner(string server, ObjectInfo obj)
  757. {
  758. throw new NotImplementedException();
  759. }
  760. IList<SecuredPathInfo> IPlasticAPI.GetSecuredPaths(string server, RepId repId, string path, string tag, LongArray brIds)
  761. {
  762. throw new NotImplementedException();
  763. }
  764. void IPlasticAPI.SetPermissions(string server, ObjectInfo obj, SEID seid, Permissions granted, Permissions denied, Permissions overrideGranted, Permissions overrideDenied)
  765. {
  766. throw new NotImplementedException();
  767. }
  768. void IPlasticAPI.RemovePermissions(string server, ObjectInfo obj, SEID seid)
  769. {
  770. throw new NotImplementedException();
  771. }
  772. IList<SecuredPathInfo> IPlasticAPI.GetAllSecuredPaths(RepositorySpec repSpec)
  773. {
  774. throw new NotImplementedException();
  775. }
  776. IList<SecuredPathInfo> IPlasticAPI.GetSecuredPaths(RepositorySpec repSpec, string path)
  777. {
  778. throw new NotImplementedException();
  779. }
  780. void IPlasticAPI.DownloadFileFromPath(List<ConfiguredPath> filePaths, WorkspaceInfo wkInfo, UpdateProgress updateProgress)
  781. {
  782. throw new NotImplementedException();
  783. }
  784. void IPlasticAPI.SaveToken(string server, string user, string token)
  785. {
  786. throw new NotImplementedException();
  787. }
  788. void IPlasticAPI.SaveProfile(
  789. string server, SEIDWorkingMode workingMode, string user, string password)
  790. {
  791. throw new NotImplementedException();
  792. }
  793. ReviewInfo IPlasticAPI.GetReview(RepositorySpec repSpec, long reviewId)
  794. {
  795. throw new NotImplementedException();
  796. }
  797. BranchInfo mWorkingBranch;
  798. Dictionary<string, WorkspaceTreeNode> mWorkspaceTreeNodes =
  799. new Dictionary<string, WorkspaceTreeNode>();
  800. }
  801. }