| 180 | } |
| 181 | |
| 182 | void TearDown() override |
| 183 | { |
| 184 | dmGraphics::DeleteProgram(m_GraphicsContext, m_FontProgram); |
| 185 | dmGraphics::DeleteProgram(m_GraphicsContext, m_ComputeProgram); |
| 186 | dmRender::DeleteMaterial(m_Context, m_FontMaterial); |
| 187 | dmRender::DeleteComputeProgram(m_Context, m_Compute); |
| 188 | |
| 189 | dmRender::DeleteRenderContext(m_Context, 0); |
| 190 | dmRender::DeleteFontMap(m_SystemFontMap); |
| 191 | |
| 192 | FontDestroy(m_Font); |
| 193 | DestroyGlyphBank(m_GlyphBank); |
| 194 | |
| 195 | dmGraphics::CloseWindow(m_GraphicsContext); |
| 196 | dmGraphics::DeleteContext(m_GraphicsContext); |
| 197 | dmPlatform::CloseWindow(m_Window); |
| 198 | dmPlatform::DeleteWindow(m_Window); |
| 199 | |
| 200 | dmScript::Finalize(m_ScriptContext); |
| 201 | dmScript::DeleteContext(m_ScriptContext); |
| 202 | } |
| 203 | }; |
| 204 | |
| 205 | TEST_F(dmRenderScriptTest, TestNewDelete) |
nothing calls this directly
no test coverage detected