Luke Ingram ec395f00e1
[all] Updates documentation. (#2805)
- All links to forum posts have been updated.
- All links to Spine documentation have been updated to be accurate. This includes the Editor docs and specific Runtimes docs.
- Removes the doc link to the out-of-date spine-cocos2d-objc runtime and replaces it with spine-sdl.
- Links to external frameworks and tools have been corrected.
2025-04-08 04:53:39 +02:00

58 lines
1.5 KiB
C++
Executable File

//////////////////////////////////////////////////////////////////////
// filename: MemoryTestFixture.h
//
// purpose: Reproduce Memory Error/Leak Bugs to help debug
// and for regression testing
/////////////////////////////////////////////////////////////////////
#pragma once
#include "MiniCppUnit.hxx"
#include "TestOptions.h"
class MemoryTestFixture : public TestFixture<MemoryTestFixture> {
public:
TEST_FIXTURE(MemoryTestFixture) {
// Comment out here to disable individual test cases
TEST_CASE(reproduceIssue_776);
TEST_CASE(reproduceIssue_777);
TEST_CASE(reproduceIssue_Loop);
TEST_CASE(triangulator);
TEST_CASE(skeletonClipper);
initialize();
}
virtual ~MemoryTestFixture();
//////////////////////////////////////////////////////////////////////////
// Test Cases
//////////////////////////////////////////////////////////////////////////
public:
void reproduceIssue_776();
void reproduceIssue_777();
void reproduceIssue_Loop(); // https://esotericsoftware.com/forum/d/7451-spine-c-35-animation-jerking
void triangulator();
void skeletonClipper();
//////////////////////////////////////////////////////////////////////////
// test fixture setup
//////////////////////////////////////////////////////////////////////////
void initialize();
void finalize();
public:
virtual void setUp();
virtual void tearDown();
};
#if defined(gForceAllTests) || defined(gMemoryTestFixture)
REGISTER_FIXTURE(MemoryTestFixture);
#endif