asset_api_test.dart 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. //Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
  28. test('test deleteAsset', () async {
  29. // TODO
  30. });
  31. //Future<Object> downloadFile(String assetId, { bool isThumb, bool isWeb }) async
  32. test('test downloadFile', () async {
  33. // TODO
  34. });
  35. //Future<Object> downloadLibrary({ num skip }) async
  36. test('test downloadLibrary', () async {
  37. // TODO
  38. });
  39. // Get all AssetEntity belong to the user
  40. //
  41. //Future<List<AssetResponseDto>> getAllAssets({ String ifNoneMatch }) async
  42. test('test getAllAssets', () async {
  43. // TODO
  44. });
  45. // Get a single asset's information
  46. //
  47. //Future<AssetResponseDto> getAssetById(String assetId) async
  48. test('test getAssetById', () async {
  49. // TODO
  50. });
  51. //Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
  52. test('test getAssetByTimeBucket', () async {
  53. // TODO
  54. });
  55. //Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
  56. test('test getAssetCountByTimeBucket', () async {
  57. // TODO
  58. });
  59. //Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
  60. test('test getAssetCountByUserId', () async {
  61. // TODO
  62. });
  63. //Future<List<String>> getAssetSearchTerms() async
  64. test('test getAssetSearchTerms', () async {
  65. // TODO
  66. });
  67. //Future<Object> getAssetThumbnail(String assetId, { ThumbnailFormat format }) async
  68. test('test getAssetThumbnail', () async {
  69. // TODO
  70. });
  71. //Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
  72. test('test getCuratedLocations', () async {
  73. // TODO
  74. });
  75. //Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
  76. test('test getCuratedObjects', () async {
  77. // TODO
  78. });
  79. // Get all asset of a device that are in the database, ID only.
  80. //
  81. //Future<List<String>> getUserAssetsByDeviceId(String deviceId) async
  82. test('test getUserAssetsByDeviceId', () async {
  83. // TODO
  84. });
  85. //Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) async
  86. test('test searchAsset', () async {
  87. // TODO
  88. });
  89. //Future<Object> serveFile(String assetId, { bool isThumb, bool isWeb }) async
  90. test('test serveFile', () async {
  91. // TODO
  92. });
  93. // Update an asset
  94. //
  95. //Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async
  96. test('test updateAsset', () async {
  97. // TODO
  98. });
  99. //Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData) async
  100. test('test uploadFile', () async {
  101. // TODO
  102. });
  103. });
  104. }