MCPcopy Create free account
hub / github.com/defold/defold / TEST_F

Function TEST_F

engine/script/src/test/test_script_timer.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66
67TEST_F(ScriptTimerTest, TestCreateDeleteWorld)
68{
69 dmScript::HTimerWorld timer_world = dmScript::NewTimerWorld();
70 ASSERT_NE(0x0, (uintptr_t)timer_world);
71 ASSERT_EQ(0u, GetAliveTimers(timer_world));
72 dmScript::DeleteTimerWorld(timer_world);
73}
74
75TEST_F(ScriptTimerTest, TestCreateDeleteTimer)
76{

Callers

nothing calls this directly

Calls 15

NewTimerWorldFunction · 0.85
GetAliveTimersFunction · 0.85
DeleteTimerWorldFunction · 0.85
CancelTimerFunction · 0.85
AddTimerFunction · 0.85
KillTimersFunction · 0.85
UpdateTimersFunction · 0.85
lua_gettopFunction · 0.85
NewScriptWorldFunction · 0.85
RegisterUserTypeFunction · 0.85
CreateScriptInstanceFunction · 0.85
SetInstanceFunction · 0.85

Tested by

no test coverage detected