當前位置: 首頁>>代碼示例>>C++>>正文


C++ EMB_UNIT_TESTFIXTURES函數代碼示例

本文整理匯總了C++中EMB_UNIT_TESTFIXTURES函數的典型用法代碼示例。如果您正苦於以下問題:C++ EMB_UNIT_TESTFIXTURES函數的具體用法?C++ EMB_UNIT_TESTFIXTURES怎麽用?C++ EMB_UNIT_TESTFIXTURES使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了EMB_UNIT_TESTFIXTURES函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: COMInternalTest_seq3_comcallback_instance

/*create the test suite with all the test cases*/
TestRef COMInternalTest_seq3_comcallback_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_comcallback_instance",test_comcallback_instance)
	};
	EMB_UNIT_TESTCALLER(COMInternalTest,"COMInternalTest_sequence3",NULL,NULL,fixtures);
	
	return (TestRef)&COMInternalTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:comcallback_instance.c

示例2: InterruptsTest_seq4_callback2_instance

/*create the test suite with all the test cases*/
TestRef InterruptsTest_seq4_callback2_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_callback2_instance",test_callback2_instance)
	};
	EMB_UNIT_TESTCALLER(InterruptsTest,"InterruptsTest_sequence4",NULL,NULL,fixtures);
	
	return (TestRef)&InterruptsTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:callback2_instance.c

示例3: HookTest_seq4_t1_instance

/*create the test suite with all the test cases*/
TestRef HookTest_seq4_t1_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_t1_instance",test_t1_instance)
	};
	EMB_UNIT_TESTCALLER(HookTest,"HookTest_sequence4",NULL,NULL,fixtures);
	
	return (TestRef)&HookTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:task1_instance.c

示例4: InterruptProcessingTest_seq6_error_instance17

/*create the test suite with all the test cases*/
TestRef InterruptProcessingTest_seq6_error_instance17(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_error_instance17",test_error_instance17)
	};
	EMB_UNIT_TESTCALLER(InterruptProcessingTest,"InterruptProcessingTest_sequence6",NULL,NULL,fixtures);
	
	return (TestRef)&InterruptProcessingTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:error_instance17.c

示例5: HookTest_seq5_posttask_instance1

/*create the test suite with all the test cases*/
TestRef HookTest_seq5_posttask_instance1(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_posttask_instance1",test_posttask_instance1)
	};
	EMB_UNIT_TESTCALLER(HookTest,"HookTest_sequence5",NULL,NULL,fixtures);

	return (TestRef)&HookTest;
}
開發者ID:TrampolineRTOS,項目名稱:trampoline,代碼行數:10,代碼來源:posttask_instance1.c

示例6: EventMechanismTest_seq5_t5_instance

/*create the test suite with all the test cases*/
TestRef EventMechanismTest_seq5_t5_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_t5_instance",test_t5_instance)
	};
	EMB_UNIT_TESTCALLER(EventMechanismTest,"EventMechanismTest_sequence5",NULL,NULL,fixtures);
	
	return (TestRef)&EventMechanismTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:task5_instance.c

示例7: TaskManagementTest_seq9_t3_instance2

/*create the test suite with all the test cases*/
TestRef TaskManagementTest_seq9_t3_instance2(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_t3_instance2",test_t3_instance2)
	};
	EMB_UNIT_TESTCALLER(TaskManagementTest,"TaskManagementTest_sequence9",NULL,NULL,fixtures);
	
	return (TestRef)&TaskManagementTest;
}
開發者ID:TrampolineRTOS,項目名稱:trampoline,代碼行數:10,代碼來源:task3_instance2.c

示例8: AutosarTPTest_seq2_protection_instance1

/*create the test suite with all the test cases*/
TestRef AutosarTPTest_seq2_protection_instance1(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_protection_instance1",test_protection_instance1)
	};
	EMB_UNIT_TESTCALLER(AutosarTPTest,"AutosarTPTest_sequence2",NULL,NULL,fixtures);
	
	return (TestRef)&AutosarTPTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:protection_instance1.c

示例9: ResourceManagementTest_seq5_isr1_instance

/*create the test suite with all the test cases*/
TestRef ResourceManagementTest_seq5_isr1_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_isr1_instance",test_isr1_instance)
	};
	EMB_UNIT_TESTCALLER(ResourceManagementTest,"ResourceManagementTest_sequence5",NULL,NULL,fixtures);
	
	return (TestRef)&ResourceManagementTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:isr1_instance.c

示例10: InterruptProcessingTest_seq5_isr1_instance2

/*create the test suite with all the test cases*/
TestRef InterruptProcessingTest_seq5_isr1_instance2(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_isr1_instance2",test_isr1_instance2)
	};
	EMB_UNIT_TESTCALLER(InterruptProcessingTest,"InterruptProcessingTest_sequence5",NULL,NULL,fixtures);

	return (TestRef)&InterruptProcessingTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:isr1_instance2.c

示例11: AutosarTPTest_seq3_t2_instance

/*create the test suite with all the test cases*/
TestRef AutosarTPTest_seq3_t2_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_t2_instance",test_t2_instance)
	};
	EMB_UNIT_TESTCALLER(AutosarTPTest,"AutosarTPTest_sequence3",NULL,NULL,fixtures);
	
	return (TestRef)&AutosarTPTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:task2_instance.c

示例12: AlarmsTest_seq8_t2_instance

/*create the test suite with all the test cases*/
TestRef AlarmsTest_seq8_t2_instance(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_t2_instance",test_t2_instance)
	};
	EMB_UNIT_TESTCALLER(AlarmsTest,"AlarmsTest_sequence8",NULL,NULL,fixtures);

	return (TestRef)&AlarmsTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:task2_instance.c

示例13: AlarmsTest_seq4_callback_instance2

/*create the test suite with all the test cases*/
TestRef AlarmsTest_seq4_callback_instance2(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_callback_instance2",test_callback_instance2)
	};
	EMB_UNIT_TESTCALLER(AlarmsTest,"AlarmsTest_sequence4",NULL,NULL,fixtures);
	
	return (TestRef)&AlarmsTest;
}
開發者ID:TrampolineRTOS,項目名稱:trampoline,代碼行數:10,代碼來源:callback_instance2.c

示例14: AutosarSTTest_seq2_error_instance6

/*create the test suite with all the test cases*/
TestRef AutosarSTTest_seq2_error_instance6(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_error_instance6",test_error_instance6)
	};
	EMB_UNIT_TESTCALLER(AutosarSTTest,"AutosarSTTest_sequence2",NULL,NULL,fixtures);
	
	return (TestRef)&AutosarSTTest;
}
開發者ID:1984c,項目名稱:trampoline,代碼行數:10,代碼來源:error_instance6.c

示例15: AutosarSTTest_seq7_t2_instance1

/*create the test suite with all the test cases*/
TestRef AutosarSTTest_seq7_t2_instance1(void)
{
	EMB_UNIT_TESTFIXTURES(fixtures) {
		new_TestFixture("test_t2_instance1",test_t2_instance1)
	};
	EMB_UNIT_TESTCALLER(AutosarSTTest,"AutosarSTTest_sequence7",NULL,NULL,fixtures);
	
	return (TestRef)&AutosarSTTest;
}
開發者ID:TrampolineRTOS,項目名稱:trampoline,代碼行數:10,代碼來源:task2_instance1.c


注:本文中的EMB_UNIT_TESTFIXTURES函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。