Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
cac55a2e
Commit
cac55a2e
authored
Sep 11, 2014
by
Hossain Mahmud
Browse files
cleaned up test/modules/pipelineresultimagetest.cpp
parent
b501af81
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/modules/pipelineresultimagetest.cpp
View file @
cac55a2e
...
...
@@ -41,7 +41,7 @@ using namespace campvis;
/**
* Test class for
StringUtils.
* Test class for
creating test images for visual regression test
*/
class
PipelineWriteResultImageTest
:
public
::
testing
::
Test
{
...
...
@@ -61,15 +61,6 @@ protected:
}
std
::
vector
<
std
::
string
>
filelist
=
tgt
::
FileSystem
::
listSubDirectories
(
_basePath
,
true
);
std
::
string
caseNo
=
"1/"
;
//std::string testRunNo = "";
//if (_prevNoCases++ == 0) {
// testRunNo = filelist.size() > 0 ? StringUtils::toString(StringUtils::fromString<int>(filelist[filelist.size()-1])+1) : "1";
// tgt::FileSystem::createDirectoryRecursive(_basePath+testRunNo+"/"+ caseNo);
//}
//else
// testRunNo = filelist[filelist.size()-1];
//
//_basePath += testRunNo+"/"+caseNo;
tgt
::
FileSystem
::
createDirectoryRecursive
(
_basePath
+
caseNo
);
_basePath
+=
caseNo
;
}
...
...
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