Blame view

test/DD_Client/CSlimFixtures/CSlimTools.hh 669 Bytes
fbe3c2bb   Benjamin Renard   First commit
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
/**
 * CSlimTools.hh
 *
 *  Created on: 17 oct. 2012
 *      Author: AKKA IS
 */

#ifndef CSLIMTOOLS_HH_
#define CSLIMTOOLS_HH_

#include <string>

/**
 * Tool Box to write CSlim test
 */
class CSlimTools {
public:
	CSlimTools();
	virtual ~CSlimTools();
	/**
	 * return the int i in char *
	 * the address return is a static address
	 */
	static char *intToString(int i);
	static char *traitReturnSystem(int status);
	static char *compareLine(std::string lineLeft, std::string lineRight, double epsilon, int lineNumber, double& maxEpsilon);
	static char *compareFile(std::string fileNameLeft, std::string fileNameRight, double epsilon);
};

#endif /* CSLIMTOOLS_HH_ */