Skip to content

Commit e812e7b

Browse files
committed
workaround for hidden files
1 parent cfdc1e8 commit e812e7b

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎CppUnit/CppUnit_vs80.vcproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="Windows-1252"?>
22
<VisualStudioProject
33
ProjectType="Visual C++"
4-
Version="8,00"
4+
Version="8.00"
55
Name="CppUnit"
66
ProjectGUID="{138BB448-808A-4FE5-A66D-78D1F8770F59}"
77
Keyword="MFCProj"
@@ -477,6 +477,10 @@
477477
RelativePath=".\include\CppUnit\CppUnitException.h"
478478
>
479479
</File>
480+
<File
481+
RelativePath=".\include\CppUnit\DataDrivenTestCaller.h"
482+
>
483+
</File>
480484
<File
481485
RelativePath=".\include\CppUnit\estring.h"
482486
>

‎CppUnit/include/CppUnit/DataDrivenTestCaller.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,11 @@ class DataDrivenTestCaller: public TestCase
182182
std::vector<std::string>::const_iterator itInEnd = inputFiles.end();
183183
for (; itIn != itInEnd; ++itIn)
184184
{
185+
std::cout << *itIn << std::endl;
185186
Poco::Path inTmp(data, *itIn);
186187
Poco::File inFTmp(inTmp);
187-
pairs.insert(std::make_pair(inTmp.getBaseName(), std::make_pair(inFTmp, Poco::File())));
188+
if (!inTmp.getBaseName().empty())
189+
pairs.insert(std::make_pair(inTmp.getBaseName(), std::make_pair(inFTmp, Poco::File())));
188190
}
189191

190192
std::vector<std::string>::const_iterator itRef = referenceFiles.begin();

0 commit comments

Comments
 (0)