Description
ChannelsProvider gère l'état des canaux et n'a aucun test.
Fichier à tester
lib/features/channels/providers/channels_provider.dart (596 lignes)
Cas de test à couvrir
Gestion des canaux
- Création d'un canal via JOIN
- Suppression d'un canal via PART
- Sélection de canal actif
- Parsing NAMES et liste d'utilisateurs
Gestion des utilisateurs
- Ajout d'utilisateur sur JOIN
- Suppression sur PART/QUIT
- Mise à jour des modes via MODE
- Tri des utilisateurs par privilège
Gestion du topic
- Mise à jour via TOPIC
- Topic avec auteur et timestamp
Away status
- away-notify handling
- Mise à jour du statut utilisateur
Structure des tests
test/features/channels/providers/
└── channels_provider_test.dart
Couverture cible
70% sur channels_provider.dart
Effort estimé
2 jours
Référence
docs/CODE_REVIEW.md - Section 5.2
Description
ChannelsProvidergère l'état des canaux et n'a aucun test.Fichier à tester
lib/features/channels/providers/channels_provider.dart(596 lignes)Cas de test à couvrir
Gestion des canaux
Gestion des utilisateurs
Gestion du topic
Away status
Structure des tests
Couverture cible
70% sur channels_provider.dart
Effort estimé
2 jours
Référence
docs/CODE_REVIEW.md - Section 5.2