-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConductorPrueba.h
40 lines (32 loc) · 1.03 KB
/
ConductorPrueba.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef CONDUCTOR_PRUEBA_H
#define CONDUCTOR_PRUEBA_H
#include "EstadisticaPrueba.h"
#include "ManejadorImpresionPrueba.h"
#include "ManejadorSalidaPrueba.h"
#include "Prueba.h"
class Prueba;
class ConductorPrueba
{
friend Prueba;
public:
ConductorPrueba();
virtual ~ConductorPrueba();
virtual void correrPrueba(bool paraParseo = false);
protected:
virtual void correrPruebaConcreta()=0;
virtual const char* getNombre()const=0;
virtual void ver(TipoRetorno retorno, TipoRetorno retornoEsperado, const char* comentario = "");
virtual void ver2(TipoRetorno retorno, TipoRetorno retornoEsperado, const char* comentario = "");
virtual void ver3(const char* comentario);
virtual void ver3(const char* comentario, double puntaje);
EstadisticaPrueba& getEstadisticaGlobal();
ManejadorImpresionPrueba getManejadorImpresion();
ManejadorSalidaPrueba getManejadorSalida();
//void inicioPrueba();
//void finPrueba();
void comenzarNuevaPrueba();
private:
EstadisticaPrueba estadisticaGlobal;
unsigned int nroPrueba;
};
#endif