コード例 #1
0
void COMErrorHook(StatusType error){
	
	com_error_instance++;
	switch (com_error_instance)
	{
		case 1:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance1());
			break;
		case 2:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance2());
			break;
		case 3:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance3());
			break;
		case 4:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance4());
			break;
		case 5:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance5());
			break;
		default:
			addFailure("instance error\n", __LINE__, __FILE__);
			break;
	}
}
コード例 #2
0
ファイル: com_internal_s2.c プロジェクト: 1984c/trampoline
void COMErrorHook(StatusType error){
	
	com_error_instance++;
	switch (com_error_instance)
	{
		case 1:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance1());
			break;
		case 2:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance2());
			break;
		case 3:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance3());
			break;
		case 4:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance4());
			break;
		case 5:
			TestRunner_runTest(COMInternalTest_seq2_comerror_instance5());
			break;
		default:
			stdimpl_print("instance error\n");
			break;
	}
}