/[escript]/trunk/weipa/test/EscriptDatasetTestCase.cpp
ViewVC logotype

Diff of /trunk/weipa/test/EscriptDatasetTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6811 by aellery, Wed May 1 07:03:46 2019 UTC revision 6812 by aellery, Fri May 3 00:36:47 2019 UTC
# Line 45  using namespace std; Line 45  using namespace std;
45  TestSuite* EscriptDatasetTestCase::suite()  TestSuite* EscriptDatasetTestCase::suite()
46  {  {
47      TestSuite *testSuite = new TestSuite("EscriptDatasetTestCase");      TestSuite *testSuite = new TestSuite("EscriptDatasetTestCase");
 #if ESYS_HAVE_SILO  
48      testSuite->addTest(new TestCaller<EscriptDatasetTestCase>(      testSuite->addTest(new TestCaller<EscriptDatasetTestCase>(
49                  "testBase",&EscriptDatasetTestCase::testBase));                  "testBase",&EscriptDatasetTestCase::testBase));
 #endif  
50  #if USE_DUDLEY  #if USE_DUDLEY
51      testSuite->addTest(new TestCaller<EscriptDatasetTestCase>(      testSuite->addTest(new TestCaller<EscriptDatasetTestCase>(
52                  "testDudley",&EscriptDatasetTestCase::testDudley));                  "testDudley",&EscriptDatasetTestCase::testDudley));
# Line 68  TestSuite* EscriptDatasetTestCase::suite Line 66  TestSuite* EscriptDatasetTestCase::suite
66      return testSuite;      return testSuite;
67  }  }
68    
 #if ESYS_HAVE_SILO  
69  void EscriptDatasetTestCase::testBase()  void EscriptDatasetTestCase::testBase()
70  {  {
71      cout << endl;      cout << endl;
# Line 90  void EscriptDatasetTestCase::testBase() Line 87  void EscriptDatasetTestCase::testBase()
87      cout << "\tTest getMeshVariables without data." << endl;      cout << "\tTest getMeshVariables without data." << endl;
88      CPPUNIT_ASSERT(dataset->getMeshVariables().size() == 0);      CPPUNIT_ASSERT(dataset->getMeshVariables().size() == 0);
89  }  }
 #endif  
90    
91  #if USE_DUDLEY  #if USE_DUDLEY
92  void EscriptDatasetTestCase::testDudley()  void EscriptDatasetTestCase::testDudley()

Legend:
Removed from v.6811  
changed lines
  Added in v.6812

  ViewVC Help
Powered by ViewVC 1.1.26