소스 검색

Regenerated test code.

Markus Mühlbrandt 10 년 전
부모
커밋
2a9a8723e0
1개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 5
      test-plugins/org.yakindu.sct.generator.c.test/gtests/StatemachineKeywords/StatemachineKeywords.cc

+ 3 - 5
test-plugins/org.yakindu.sct.generator.c.test/gtests/StatemachineKeywords/StatemachineKeywords.cc

@@ -13,7 +13,6 @@
 #include "StatechartKeywords.h"
 #include "StatechartKeywords.h"
 #include "StatechartKeywordsRequired.h"
 #include "StatechartKeywordsRequired.h"
 
 
-
 StatechartKeywords handle;
 StatechartKeywords handle;
 
 
 TEST(StatemachineTest, statemachineKeywords) {
 TEST(StatemachineTest, statemachineKeywords) {
@@ -22,12 +21,11 @@ TEST(StatemachineTest, statemachineKeywords) {
 	EXPECT_TRUE(statechartKeywords_isStateActive(&handle, StatechartKeywords_main_region_Timer));
 	EXPECT_TRUE(statechartKeywords_isStateActive(&handle, StatechartKeywords_main_region_Timer));
 }
 }
 
 
-		
-void statemachineKeywords_setTimer(const sc_eventid evid, const sc_integer time_ms, const sc_boolean periodic){
+void statechartKeywords_setTimer(StatechartKeywords* handle, const sc_eventid evid, const sc_integer time_ms, const sc_boolean periodic){
 	// Mockup
 	// Mockup
-	statemachineKeywords_raiseTimeEvent(&handle, evid);
+	statechartKeywords_raiseTimeEvent(handle, evid);
 }
 }
 
 
-void statemachineKeywords_unsetTimer(const sc_eventid evid){
+void statechartKeywords_unsetTimer(StatechartKeywords* handle, const sc_eventid evid){
 	// Mockup
 	// Mockup
 }		
 }