Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
3ad9fc4e
Commit
3ad9fc4e
authored
Nov 22, 2017
by
Karl Palmen
Browse files
Rename within CSGObjectTest re #12827
Signed-off-by:
Karl Palmen
<
karl.palmen@stfc.ac.uk
>
parent
da846d25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Geometry/test/CSGObjectTest.h
View file @
3ad9fc4e
...
...
@@ -57,7 +57,7 @@ public:
};
}
class
ObjectTest
:
public
CxxTest
::
TestSuite
{
class
CSG
ObjectTest
:
public
CxxTest
::
TestSuite
{
public:
void
testDefaultObjectHasEmptyMaterial
()
{
...
...
@@ -1516,16 +1516,16 @@ private:
// -----------------------------------------------------------------------------
// Performance tests
// -----------------------------------------------------------------------------
class
ObjectTestPerformance
:
public
CxxTest
::
TestSuite
{
class
CSG
ObjectTestPerformance
:
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
CSG
ObjectTestPerformance
*
createSuite
()
{
return
new
CSG
ObjectTestPerformance
();
}
static
void
destroySuite
(
ObjectTestPerformance
*
suite
)
{
delete
suite
;
}
static
void
destroySuite
(
CSG
ObjectTestPerformance
*
suite
)
{
delete
suite
;
}
ObjectTestPerformance
()
CSG
ObjectTestPerformance
()
:
rng
(
200000
),
solid
(
ComponentCreationHelper
::
createSphere
(
0.1
)),
shell
(
ComponentCreationHelper
::
createHollowShell
(
0.009
,
0.01
))
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment