Skip to content

Instantly share code, notes, and snippets.

@MiLk
Created November 27, 2011 11:24
Show Gist options
  • Save MiLk/1397442 to your computer and use it in GitHub Desktop.
Save MiLk/1397442 to your computer and use it in GitHub Desktop.
Resultat test_cree_tache()
{
return getDiagnostic(cree_tache_cat1(),cree_tache_cat2(),cree_tache_cat3());
}
bool cree_tache_cat1()
{
printf("parametres :\n");
printf("caract :\n");
printf("duree :\n");
printf("Debut du test\n");
cree_tache();
printf("Fin du test\n");
}
bool cree_tache_cat2()
{
printf("parametres :\n");
printf("caract :\n");
printf("duree :\n");
printf("Debut du test\n");
cree_tache();
printf("Fin du test\n");
}
bool cree_tache_cat3()
{
printf("parametres :\n");
printf("caract :\n");
printf("duree :\n");
printf("Debut du test\n");
cree_tache();
printf("Fin du test\n");
}
Resultat test_cree_liste()
{
return getDiagnostic(cree_liste_cat1(),cree_liste_cat2(),cree_liste_cat3());
}
bool cree_liste_cat1()
{
printf("parametres :\n");
printf("tache :\n");
printf("Debut du test\n");
cree_liste();
printf("Fin du test\n");
}
bool cree_liste_cat2()
{
printf("parametres :\n");
printf("tache :\n");
printf("Debut du test\n");
cree_liste();
printf("Fin du test\n");
}
bool cree_liste_cat3()
{
printf("parametres :\n");
printf("tache :\n");
printf("Debut du test\n");
cree_liste();
printf("Fin du test\n");
}
Resultat test_affiche_list()
{
return getDiagnostic(affiche_list_cat1(),affiche_list_cat2(),affiche_list_cat3());
}
bool affiche_list_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
affiche_list();
printf("Fin du test\n");
}
bool affiche_list_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
affiche_list();
printf("Fin du test\n");
}
bool affiche_list_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
affiche_list();
printf("Fin du test\n");
}
Resultat test_ajoute_tache()
{
return getDiagnostic(ajoute_tache_cat1(),ajoute_tache_cat2(),ajoute_tache_cat3());
}
bool ajoute_tache_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
ajoute_tache();
printf("Fin du test\n");
}
bool ajoute_tache_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
ajoute_tache();
printf("Fin du test\n");
}
bool ajoute_tache_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
ajoute_tache();
printf("Fin du test\n");
}
Resultat test_annule_tache()
{
return getDiagnostic(annule_tache_cat1(),annule_tache_cat2(),annule_tache_cat3());
}
bool annule_tache_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("caract :\n");
printf("Debut du test\n");
annule_tache();
printf("Fin du test\n");
}
bool annule_tache_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("caract :\n");
printf("Debut du test\n");
annule_tache();
printf("Fin du test\n");
}
bool annule_tache_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("caract :\n");
printf("Debut du test\n");
annule_tache();
printf("Fin du test\n");
}
Resultat test_execute_tache_FIFO()
{
return getDiagnostic(execute_tache_FIFO_cat1(),execute_tache_FIFO_cat2(),execute_tache_FIFO_cat3());
}
bool execute_tache_FIFO_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
execute_tache_FIFO();
printf("Fin du test\n");
}
bool execute_tache_FIFO_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
execute_tache_FIFO();
printf("Fin du test\n");
}
bool execute_tache_FIFO_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
execute_tache_FIFO();
printf("Fin du test\n");
}
Resultat test_depile_tache()
{
return getDiagnostic(depile_tache_cat1(),depile_tache_cat2(),depile_tache_cat3());
}
bool depile_tache_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
depile_tache();
printf("Fin du test\n");
}
bool depile_tache_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
depile_tache();
printf("Fin du test\n");
}
bool depile_tache_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
depile_tache();
printf("Fin du test\n");
}
Resultat test_execute_tache_LIFO()
{
return getDiagnostic(execute_tache_LIFO_cat1(),execute_tache_LIFO_cat2(),execute_tache_LIFO_cat3());
}
bool execute_tache_LIFO_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
execute_tache_LIFO();
printf("Fin du test\n");
}
bool execute_tache_LIFO_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
execute_tache_LIFO();
printf("Fin du test\n");
}
bool execute_tache_LIFO_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
execute_tache_LIFO();
printf("Fin du test\n");
}
Resultat test_load_data()
{
return getDiagnostic(load_data_cat1(),load_data_cat2(),load_data_cat3());
}
bool load_data_cat1()
{
printf("parametres :\n");
printf("nom_fichier :\n");
printf("Debut du test\n");
load_data();
printf("Fin du test\n");
}
bool load_data_cat2()
{
printf("parametres :\n");
printf("nom_fichier :\n");
printf("Debut du test\n");
load_data();
printf("Fin du test\n");
}
bool load_data_cat3()
{
printf("parametres :\n");
printf("nom_fichier :\n");
printf("Debut du test\n");
load_data();
printf("Fin du test\n");
}
Resultat test_load_data2()
{
return getDiagnostic(load_data2_cat1(),load_data2_cat2(),load_data2_cat3());
}
bool load_data2_cat1()
{
printf("parametres :\n");
printf("nom_fichier :\n");
printf("Debut du test\n");
load_data2();
printf("Fin du test\n");
}
bool load_data2_cat2()
{
printf("parametres :\n");
printf("nom_fichier :\n");
printf("Debut du test\n");
load_data2();
printf("Fin du test\n");
}
bool load_data2_cat3()
{
printf("parametres :\n");
printf("nom_fichier :\n");
printf("Debut du test\n");
load_data2();
printf("Fin du test\n");
}
Resultat test_insere_tache()
{
return getDiagnostic(insere_tache_cat1(),insere_tache_cat2(),insere_tache_cat3());
}
bool insere_tache_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
insere_tache();
printf("Fin du test\n");
}
bool insere_tache_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
insere_tache();
printf("Fin du test\n");
}
bool insere_tache_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
insere_tache();
printf("Fin du test\n");
}
Resultat test_insere_tache_priorite()
{
return getDiagnostic(insere_tache_priorite_cat1(),insere_tache_priorite_cat2(),insere_tache_priorite_cat3());
}
bool insere_tache_priorite_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
insere_tache_priorite();
printf("Fin du test\n");
}
bool insere_tache_priorite_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
insere_tache_priorite();
printf("Fin du test\n");
}
bool insere_tache_priorite_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("ptache :\n");
printf("Debut du test\n");
insere_tache_priorite();
printf("Fin du test\n");
}
Resultat test_fusion_liste()
{
return getDiagnostic(fusion_liste_cat1(),fusion_liste_cat2(),fusion_liste_cat3());
}
bool fusion_liste_cat1()
{
printf("parametres :\n");
printf("list_task1 :\n");
printf("list_task2 :\n");
printf("Debut du test\n");
fusion_liste();
printf("Fin du test\n");
}
bool fusion_liste_cat2()
{
printf("parametres :\n");
printf("list_task1 :\n");
printf("list_task2 :\n");
printf("Debut du test\n");
fusion_liste();
printf("Fin du test\n");
}
bool fusion_liste_cat3()
{
printf("parametres :\n");
printf("list_task1 :\n");
printf("list_task2 :\n");
printf("Debut du test\n");
fusion_liste();
printf("Fin du test\n");
}
Resultat test_MAJ_priorite()
{
return getDiagnostic(MAJ_priorite_cat1(),MAJ_priorite_cat2(),MAJ_priorite_cat3());
}
bool MAJ_priorite_cat1()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
MAJ_priorite();
printf("Fin du test\n");
}
bool MAJ_priorite_cat2()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
MAJ_priorite();
printf("Fin du test\n");
}
bool MAJ_priorite_cat3()
{
printf("parametres :\n");
printf("list_task :\n");
printf("Debut du test\n");
MAJ_priorite();
printf("Fin du test\n");
}
Resultat test_cree_tache();
bool cree_tache_cat1();
bool cree_tache_cat2();
bool cree_tache_cat3();
Resultat test_cree_liste();
bool cree_liste_cat1();
bool cree_liste_cat2();
bool cree_liste_cat3();
Resultat test_affiche_list();
bool affiche_list_cat1();
bool affiche_list_cat2();
bool affiche_list_cat3();
Resultat test_ajoute_tache();
bool ajoute_tache_cat1();
bool ajoute_tache_cat2();
bool ajoute_tache_cat3();
Resultat test_annule_tache();
bool annule_tache_cat1();
bool annule_tache_cat2();
bool annule_tache_cat3();
Resultat test_execute_tache_FIFO();
bool execute_tache_FIFO_cat1();
bool execute_tache_FIFO_cat2();
bool execute_tache_FIFO_cat3();
Resultat test_depile_tache();
bool depile_tache_cat1();
bool depile_tache_cat2();
bool depile_tache_cat3();
Resultat test_execute_tache_LIFO();
bool execute_tache_LIFO_cat1();
bool execute_tache_LIFO_cat2();
bool execute_tache_LIFO_cat3();
Resultat test_load_data();
bool load_data_cat1();
bool load_data_cat2();
bool load_data_cat3();
Resultat test_load_data2();
bool load_data2_cat1();
bool load_data2_cat2();
bool load_data2_cat3();
Resultat test_insere_tache();
bool insere_tache_cat1();
bool insere_tache_cat2();
bool insere_tache_cat3();
Resultat test_insere_tache_priorite();
bool insere_tache_priorite_cat1();
bool insere_tache_priorite_cat2();
bool insere_tache_priorite_cat3();
Resultat test_fusion_liste();
bool fusion_liste_cat1();
bool fusion_liste_cat2();
bool fusion_liste_cat3();
Resultat test_MAJ_priorite();
bool MAJ_priorite_cat1();
bool MAJ_priorite_cat2();
bool MAJ_priorite_cat3();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment