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

Function TEST_F

engine/platform/src/test/test_platform.cpp:76–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74};
75
76TEST_F(dmPlatformTest, DoubleOpenWindow)
77{
78 WindowCreateParams params;
79 WindowCreateParamsInitialize(&params);
80 params.m_Title = APP_TITLE;
81 params.m_Width = WIDTH;
82 params.m_Height = HEIGHT;
83 params.m_Fullscreen = false;
84 params.m_PrintDeviceInfo = false;
85 params.m_ContextAlphabits = 8;
86
87 ASSERT_EQ(WINDOW_RESULT_WINDOW_ALREADY_OPENED, WindowOpen(m_Window, &params));
88}
89
90TEST_F(dmPlatformTest, CloseWindow)
91{

Callers

nothing calls this directly

Calls 8

WindowOpenFunction · 0.85
WindowCloseFunction · 0.85
dmLogSetLevelFunction · 0.85
WindowGetStateParamFunction · 0.85
WindowSetSizeFunction · 0.85
WindowGetWidthFunction · 0.85
WindowGetHeightFunction · 0.85

Tested by

no test coverage detected