Thanks for your reply.
I solved the problem, but sincerly I don't know how. I've repeated every step I made yesterday and now it works.
I report these steps here.
I wrote a class in the TestHeader.h and the source in the TestSource.cpp. This 'default' test works in the right way.
Then, I wanted to add a new test suite in a different file.
I wrote a new header file, that I called Test2.h and a new source file, that I called Test2.cpp.
here the complete code of the two files:
| Code: |
//HEADER FILE
/*
* Test2.h
*
* Created on: 26-mar-2010
* Author: Ricky
*/
#ifndef TEST2_H_
#define TEST2_H_
#include "TestSuite.h"
class CTest2 : public CxxTest::TestSuite
{
public:
CTest2(const TDesC8& aSuiteName):CxxTest::TestSuite(aSuiteName){}
private:
void setUp();
void tearDown();
public:
void testDummyTest();
};
#endif /* TEST2_H_ */
|
| Code: |
//SOURCE FILE
/*
* Test2.cpp
*
* Created on: 26-mar-2010
* Author: Ricky
*/
#include "Test2.h"
#include "TestDriver.h"
#include "Logger"
void CTest2::setUp()
{
}
void CTest2::tearDown()
{
}
void CTest2::testDummyTest()
{
TS_ASSERT(ETrue);
}
|
Then, I edited the perl script by adding:
and I edited the ExtraTestBuildTasks.bldmake by adding
| Code: |
$(INCDIR)\Test2.cpp
|
Yesterday, After these steps, I saw the errors. But today it works...
I don't know why, it work. Anyway, thanks for your availability.
-Ricky