Commit 3ad9fc4e authored by Karl Palmen's avatar Karl Palmen
Browse files

Rename within CSGObjectTest re #12827



Signed-off-by: default avatarKarl Palmen <karl.palmen@stfc.ac.uk>
parent da846d25
......@@ -57,7 +57,7 @@ public:
};
}
class ObjectTest : public CxxTest::TestSuite {
class CSGObjectTest : public CxxTest::TestSuite {
public:
void testDefaultObjectHasEmptyMaterial() {
......@@ -1516,16 +1516,16 @@ private:
// -----------------------------------------------------------------------------
// Performance tests
// -----------------------------------------------------------------------------
class ObjectTestPerformance : public CxxTest::TestSuite {
class CSGObjectTestPerformance : public CxxTest::TestSuite {
public:
// This pair of boilerplate methods prevent the suite being created statically
// This means the constructor isn't called when running other tests
static ObjectTestPerformance *createSuite() {
return new ObjectTestPerformance();
static CSGObjectTestPerformance *createSuite() {
return new CSGObjectTestPerformance();
}
static void destroySuite(ObjectTestPerformance *suite) { delete suite; }
static void destroySuite(CSGObjectTestPerformance *suite) { delete suite; }
ObjectTestPerformance()
CSGObjectTestPerformance()
: rng(200000), solid(ComponentCreationHelper::createSphere(0.1)),
shell(ComponentCreationHelper::createHollowShell(0.009, 0.01)) {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment