a89c7894cf
Backend: - FastAPI avec PostgreSQL et Redis - Authentification JWT complète - API REST pour musique, playlists, recherche - Streaming audio via yt-dlp - SQLAlchemy 2.0 async Frontend: - Flutter avec thème néon cyberpunk - State management Riverpod - Layout adaptatif desktop/mobile - Lecteur audio avec mini-player Infrastructure: - Docker Compose (PostgreSQL + Redis) - Scripts d'installation automatisés - Scripts de build pour exécutables Fichiers ajoutés: - BUILD_CLIENT_*.bat/sh: Scripts de compilation - BUILD_CLIENT_README.md: Documentation compilation - CHECK_FLUTTER.sh: Vérificateur d'environnement - requirements.txt mis à jour pour Python 3.13 - Modèles SQLAlchemy corrigés (metadata -> extra_metadata) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
29 lines
692 B
Dart
29 lines
692 B
Dart
/// Search Provider Tests
|
|
library;
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:spotify_le_2/presentation/providers/search_provider.dart';
|
|
|
|
void main() {
|
|
group('SearchNotifier', () {
|
|
// TODO: Setup mock MusicApiService
|
|
|
|
test('initial state is empty', () {
|
|
// TODO: Implement test
|
|
});
|
|
|
|
test('search updates state with results', () {
|
|
// TODO: Implement test with mocked API
|
|
});
|
|
|
|
test('search debounces input', () async {
|
|
// TODO: Test that debounce timer works correctly
|
|
});
|
|
|
|
test('clear resets state', () {
|
|
// TODO: Test clear functionality
|
|
});
|
|
});
|
|
}
|