Exemplo n.º 1
0
void COMErrorHook(StatusType error){
	
	com_error_instance++;
	switch (com_error_instance)
	{
		case 1:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance1());
			break;
		case 2:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance2());
			break;
		case 3:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance3());
			break;
		case 4:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance4());
			break;
		case 5:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance5());
			break;
		default:
			stdimpl_print("instance error\n");
			break;
	}
	
	
}
Exemplo n.º 2
0
void COMErrorHook(StatusType error){
	
	com_error_instance++;
	switch (com_error_instance)
	{
		case 1:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance1());
			break;
		case 2:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance2());
			break;
		case 3:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance3());
			break;
		case 4:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance4());
			break;
		case 5:
			TestRunner_runTest(COMInternalTest_seq1_comerror_instance5());
			break;
		default:
			addFailure("instance error\n", __LINE__, __FILE__);
			break;
	}
	
	
}