Exemplo n.º 1
0
void TracerTest::runAllTests(cute::suite &s) {
	s.push_back(CUTE_SMEMFUN(TracerTest, CheckMacrosCompile));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestExplicitlyEnabled));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestLowerBoundZero));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestEnableAllFirstLevel));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestEnableAllSecondLevel));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestEnableAllThirdLevel));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestEnableAllAboveUpperBound));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestEnableAllBelowLowerBound));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestEnableAllSecondAndBelowDisabled));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestNotAllAboveLowerBound));
	s.push_back(CUTE_SMEMFUN(TracerTest, TracerTestBug248));
}
void SystemBaseTest::runAllTests(cute::suite &s) {
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, DoSingleSelectTest));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, GetProcessEnvironmentTest));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, allocFreeTests));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, MicroSleepTest));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, TimeTest));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, SnPrintf_ReturnsBytesOfContentWrittenWithoutTerminatingZero));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, SnPrintf_ReturnsBytesRequiredWithoutTerminatingZero));
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, SnPrintf_WritesTerminatingZeroEvenWhenTruncatingBuffer));
#if !defined(WIN32)
	s.push_back(CUTE_SMEMFUN(SystemBaseTest, LockFileTest));
#endif
}
Exemplo n.º 3
0
/**
 * define all test for encoder and decoder package.
 * @param s cute::suite obj
 * @return cute::suite obj
 */
cute::suite encoderDecoderTests(cute::suite s) {
	s.clear();
	s.push_back(CUTE(imageResamplerTest));
	return s;
}
// builds up a suite of testcases, add a line for each testmethod
void AnyImplsTest::runAllTests(cute::suite &s) {
	StartTrace(AnyImplsTest.suite);
	s.push_back(CUTE_SMEMFUN(AnyImplsTest, ThisToHexTest));
}
Exemplo n.º 5
0
		static void testOperators()
		{
			s->push_back(CUTE(testArithematicOperators));
			s->push_back(CUTE(testLogicOperators));
		}
Exemplo n.º 6
0
		static void testBegin(cute::suite *s) {
			Vector3f_Test::s = s;
			s->push_back(CUTE(testConstructor));
			s->push_back(CUTE(testRotation));
			testOperators();
		}
void AnythingConstructorsTest::runAllTests(cute::suite &s) {
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, DefaultConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, IntConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, LongConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, FloatConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, DoubleConstr0Test));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, DoubleConstr1Test));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, CharStarConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, CharStarLongConstr0Test));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, CharStarLongConstr1Test));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, CharStarLongConstr2Test));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, CharStarLongConstr3Test));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, StringConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, VoidStarLenConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, EmptyVoidStarLenConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, IFAObjectStarConstrTest));
	s.push_back(CUTE_SMEMFUN(AnythingConstructorsTest, AnythingConstrTest));
}
Exemplo n.º 8
0
/**
 * define all test for container package.
 * @param s cute::suite obj
 * @return cute::suite obj
 */
cute::suite containerTests(cute::suite s) {
	s.clear();
	return s;
}