mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:39:37 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			103 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Dart
		
	
	
	
	
	
//
 | 
						|
// AUTO-GENERATED FILE, DO NOT MODIFY!
 | 
						|
//
 | 
						|
// @dart=2.12
 | 
						|
 | 
						|
// ignore_for_file: unused_element, unused_import
 | 
						|
// ignore_for_file: always_put_required_named_parameters_first
 | 
						|
// ignore_for_file: constant_identifier_names
 | 
						|
// ignore_for_file: lines_longer_than_80_chars
 | 
						|
 | 
						|
import 'package:openapi/api.dart';
 | 
						|
import 'package:test/test.dart';
 | 
						|
 | 
						|
 | 
						|
/// tests for AssetApi
 | 
						|
void main() {
 | 
						|
  // final instance = AssetApi();
 | 
						|
 | 
						|
  group('tests for AssetApi', () {
 | 
						|
    // 
 | 
						|
    //
 | 
						|
    // Check duplicated asset before uploading - for Web upload used
 | 
						|
    //
 | 
						|
    //Future<CheckDuplicateAssetResponseDto> checkDuplicateAsset(CheckDuplicateAssetDto checkDuplicateAssetDto) async
 | 
						|
    test('test checkDuplicateAsset', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future deleteAsset(DeleteAssetDto deleteAssetDto) async
 | 
						|
    test('test deleteAsset', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<Object> downloadFile(String aid, String did, { bool isThumb, bool isWeb }) async
 | 
						|
    test('test downloadFile', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // 
 | 
						|
    //
 | 
						|
    // Get all AssetEntity belong to the user
 | 
						|
    //
 | 
						|
    //Future<List<AssetResponseDto>> getAllAssets() async
 | 
						|
    test('test getAllAssets', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // 
 | 
						|
    //
 | 
						|
    // Get a single asset's information
 | 
						|
    //
 | 
						|
    //Future<AssetResponseDto> getAssetById(String assetId) async
 | 
						|
    test('test getAssetById', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<List<Object>> getAssetSearchTerms() async
 | 
						|
    test('test getAssetSearchTerms', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<Object> getAssetThumbnail(String assetId) async
 | 
						|
    test('test getAssetThumbnail', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
 | 
						|
    test('test getCuratedLocations', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
 | 
						|
    test('test getCuratedObjects', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // 
 | 
						|
    //
 | 
						|
    // Get all asset of a device that are in the database, ID only.
 | 
						|
    //
 | 
						|
    //Future<List<String>> getUserAssetsByDeviceId(String deviceId) async
 | 
						|
    test('test getUserAssetsByDeviceId', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) async
 | 
						|
    test('test searchAsset', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<Object> serveFile(String aid, String did, { bool isThumb, bool isWeb }) async
 | 
						|
    test('test serveFile', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    //Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData) async
 | 
						|
    test('test uploadFile', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
  });
 | 
						|
}
 |