asset_api_test.dart 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. //
  2. // AUTO-GENERATED FILE, DO NOT MODIFY!
  3. //
  4. // @dart=2.12
  5. // ignore_for_file: unused_element, unused_import
  6. // ignore_for_file: always_put_required_named_parameters_first
  7. // ignore_for_file: constant_identifier_names
  8. // ignore_for_file: lines_longer_than_80_chars
  9. import 'package:openapi/api.dart';
  10. import 'package:test/test.dart';
  11. /// tests for AssetApi
  12. void main() {
  13. // final instance = AssetApi();
  14. group('tests for AssetApi', () {
  15. // Check duplicated asset before uploading - for Web upload used
  16. //
  17. //Future<CheckDuplicateAssetResponseDto> checkDuplicateAsset(CheckDuplicateAssetDto checkDuplicateAssetDto) async
  18. test('test checkDuplicateAsset', () async {
  19. // TODO
  20. });
  21. // Checks if multiple assets exist on the server and returns all existing - used by background backup
  22. //
  23. //Future<CheckExistingAssetsResponseDto> checkExistingAssets(CheckExistingAssetsDto checkExistingAssetsDto) async
  24. test('test checkExistingAssets', () async {
  25. // TODO
  26. });
  27. //
  28. //
  29. //Future<SharedLinkResponseDto> createAssetsSharedLink(CreateAssetsShareLinkDto createAssetsShareLinkDto) async
  30. test('test createAssetsSharedLink', () async {
  31. // TODO
  32. });
  33. //
  34. //
  35. //Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
  36. test('test deleteAsset', () async {
  37. // TODO
  38. });
  39. //
  40. //
  41. //Future<Object> downloadFile(String assetId, { bool isThumb, bool isWeb }) async
  42. test('test downloadFile', () async {
  43. // TODO
  44. });
  45. //
  46. //
  47. //Future<Object> downloadFiles(DownloadFilesDto downloadFilesDto) async
  48. test('test downloadFiles', () async {
  49. // TODO
  50. });
  51. //
  52. //
  53. //Future<Object> downloadLibrary({ num skip }) async
  54. test('test downloadLibrary', () async {
  55. // TODO
  56. });
  57. // Get all AssetEntity belong to the user
  58. //
  59. //Future<List<AssetResponseDto>> getAllAssets({ String ifNoneMatch }) async
  60. test('test getAllAssets', () async {
  61. // TODO
  62. });
  63. // Get a single asset's information
  64. //
  65. //Future<AssetResponseDto> getAssetById(String assetId) async
  66. test('test getAssetById', () async {
  67. // TODO
  68. });
  69. //
  70. //
  71. //Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
  72. test('test getAssetByTimeBucket', () async {
  73. // TODO
  74. });
  75. //
  76. //
  77. //Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
  78. test('test getAssetCountByTimeBucket', () async {
  79. // TODO
  80. });
  81. //
  82. //
  83. //Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
  84. test('test getAssetCountByUserId', () async {
  85. // TODO
  86. });
  87. //
  88. //
  89. //Future<List<String>> getAssetSearchTerms() async
  90. test('test getAssetSearchTerms', () async {
  91. // TODO
  92. });
  93. //
  94. //
  95. //Future<Object> getAssetThumbnail(String assetId, { ThumbnailFormat format }) async
  96. test('test getAssetThumbnail', () async {
  97. // TODO
  98. });
  99. //
  100. //
  101. //Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
  102. test('test getCuratedLocations', () async {
  103. // TODO
  104. });
  105. //
  106. //
  107. //Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
  108. test('test getCuratedObjects', () async {
  109. // TODO
  110. });
  111. // Get all asset of a device that are in the database, ID only.
  112. //
  113. //Future<List<String>> getUserAssetsByDeviceId(String deviceId) async
  114. test('test getUserAssetsByDeviceId', () async {
  115. // TODO
  116. });
  117. //
  118. //
  119. //Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) async
  120. test('test searchAsset', () async {
  121. // TODO
  122. });
  123. //
  124. //
  125. //Future<Object> serveFile(String assetId, { bool isThumb, bool isWeb }) async
  126. test('test serveFile', () async {
  127. // TODO
  128. });
  129. // Update an asset
  130. //
  131. //Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async
  132. test('test updateAsset', () async {
  133. // TODO
  134. });
  135. //
  136. //
  137. //Future<SharedLinkResponseDto> updateAssetsInSharedLink(UpdateAssetsToSharedLinkDto updateAssetsToSharedLinkDto) async
  138. test('test updateAssetsInSharedLink', () async {
  139. // TODO
  140. });
  141. //
  142. //
  143. //Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData) async
  144. test('test uploadFile', () async {
  145. // TODO
  146. });
  147. });
  148. }