mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
36 lines
879 B
C++
Executable File
36 lines
879 B
C++
Executable File
#pragma once
|
|
//////////////////////////////////////////////////////////////////////
|
|
// filename: C_InterfaceTestFixture.h
|
|
//
|
|
// purpose: Run example animations for regression testing
|
|
// on "C" interface
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
#include "TestOptions.h"
|
|
#include "MiniCppUnit.hxx"
|
|
|
|
class C_InterfaceTestFixture : public TestFixture<C_InterfaceTestFixture> {
|
|
public:
|
|
TEST_FIXTURE(C_InterfaceTestFixture) {
|
|
// enable/disable individual tests here
|
|
TEST_CASE(spineboyTestCase);
|
|
TEST_CASE(raptorTestCase);
|
|
TEST_CASE(goblinsTestCase);
|
|
}
|
|
|
|
public:
|
|
virtual void setUp();
|
|
|
|
virtual void tearDown();
|
|
|
|
void spineboyTestCase();
|
|
|
|
void raptorTestCase();
|
|
|
|
void goblinsTestCase();
|
|
};
|
|
|
|
#if defined(gForceAllTests) || defined(gCInterfaceTestFixture)
|
|
|
|
REGISTER_FIXTURE(C_InterfaceTestFixture);
|
|
#endif |