2525 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2626 DEALINGS IN THE SOFTWARE.
2727*/
28-
28+
2929#include < gtest/gtest.h>
3030#include < gmock/gmock.h>
3131
@@ -45,7 +45,7 @@ using namespace SCIRun::Core::Algorithms::Fields;
4545using namespace SCIRun ::TestUtils;
4646using ::testing::NotNull;
4747using ::testing::TestWithParam;
48- using ::testing::Values;
48+ using ::testing::Values;
4949
5050class GetDomainBoundaryTests : public ::testing::Test
5151{
@@ -58,14 +58,14 @@ class GetDomainBoundaryTests : public ::testing::Test
5858 void runTest (bool includeOuterBoundary, bool useRange, int domainValue,
5959 int expectedBoundaryNodes, int expectedBoundaryElements)
6060 {
61- FieldHandle latVol = loadFieldFromFile (TestResources::rootDir () / " latVolWithNormData.fld" );
61+ FieldHandle latVol = loadFieldFromFile (TestResources::rootDir () / " Fields " / " latVolWithNormData.fld" );
6262 ASSERT_TRUE (latVol->vmesh ()->is_latvolmesh ());
6363
6464 GetDomainBoundaryAlgo algo;
6565
6666 // How to set parameters on an algorithm (that come from the GUI)
6767 algo.set (Parameters::AddOuterBoundary, includeOuterBoundary);
68-
68+
6969 // / @todo: this logic matches the wacky module behavior
7070
7171 algo.set (Parameters::UseRange, useRange);
@@ -160,20 +160,20 @@ class GetDomainBoundaryTestsParameterized : public ::testing::TestWithParam < ::
160160 SparseRowMatrixHandle unused_;
161161 GetDomainBoundaryAlgo algo_;
162162 FieldHandle latVol_;
163- GetDomainBoundaryTestsParameterized ()
163+ GetDomainBoundaryTestsParameterized ()
164164 {
165- latVol_ = loadFieldFromFile (TestResources::rootDir () / " latVolWithNormData.fld" );
165+ latVol_ = loadFieldFromFile (TestResources::rootDir () / " Fields " / " latVolWithNormData.fld" );
166166 SCIRun::Core::Logging::Log::get ().setVerbose (true );
167- }
167+ }
168168
169169protected:
170170 virtual void SetUp ()
171171 {
172172 ASSERT_TRUE (latVol_->vmesh ()->is_latvolmesh ());
173-
173+
174174 // How to set parameters on an algorithm (that come from the GUI)
175175 algo_.set (Parameters::AddOuterBoundary, ::std::tr1::get<0 >(GetParam ()));
176-
176+
177177 // / @todo: this logic matches the wacky module behavior
178178 algo_.set (Parameters::UseRange, ::std::tr1::get<1 >(GetParam ()));
179179 if (!::std::tr1::get<1 >(GetParam ()))// /useRange)
@@ -185,7 +185,7 @@ class GetDomainBoundaryTestsParameterized : public ::testing::TestWithParam < ::
185185 }
186186 // algo_.set(Parameters::InnerBoundaryOnly, ::std::tr1::get<3>(GetParam()));
187187 // algo_.set(Parameters::NoInnerBoundary, ::std::tr1::get<4>(GetParam()));
188- // algo_.set(Parameters::DisconnectBoundaries, ::std::tr1::get<5>(GetParam()));
188+ // algo_.set(Parameters::DisconnectBoundaries, ::std::tr1::get<5>(GetParam()));
189189 // ASSERT_TRUE(algo_.runImpl(latVol, unused, boundary));
190190 }
191191 virtual void TearDown ()
@@ -194,7 +194,7 @@ class GetDomainBoundaryTestsParameterized : public ::testing::TestWithParam < ::
194194
195195TEST_P (GetDomainBoundaryTestsParameterized, LatVolBoundry_Parameterized)
196196{
197- // EXPECT_EQ(0, boundary->vmesh()->num_nodes());
197+ // EXPECT_EQ(0, boundary->vmesh()->num_nodes());
198198 boundary_.reset ();
199199 ASSERT_TRUE (algo_.runImpl (latVol_, unused_, boundary_));
200200 ASSERT_THAT (boundary_, NotNull ());
@@ -206,9 +206,9 @@ TEST_P(GetDomainBoundaryTestsParameterized, LatVolBoundry_Parameterized)
206206INSTANTIATE_TEST_CASE_P (
207207 LatVolBoundry_Parameterized,
208208 GetDomainBoundaryTestsParameterized,
209- Combine (Bool(), Bool(), Values(1 ,4 ), Values(1 ,4 ), Values(1 ,4 ))
209+ Combine (Bool(), Bool(), Values(1 ,4 ), Values(1 ,4 ), Values(1 ,4 ))
210210 );
211211#else
212212TEST (DummyTest, CombineIsNotSupportedOnThisPlatform){}
213213
214- #endif
214+ #endif
0 commit comments