// -----------------------------------------------------------------------------
//  Use unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char** argv)
{
  int err = EXIT_SUCCESS;


#if !REMOVE_TEST_FILES
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif


  DREAM3D_REGISTER_TEST( testCase1() )
  DREAM3D_REGISTER_TEST( testCase2() )
  DREAM3D_REGISTER_TEST( testCase3() )
  DREAM3D_REGISTER_TEST( testCase4() )
  DREAM3D_REGISTER_TEST( testCase5() )
  DREAM3D_REGISTER_TEST( testCase6() )

#if REMOVE_TEST_FILES
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif


  PRINT_TEST_SUMMARY();
  return err;
}
예제 #2
0
// -----------------------------------------------------------------------------
//  Use unit test framework
// -----------------------------------------------------------------------------
  int main(int argc, char** argv)
  {
    int err = EXIT_SUCCESS;

    QDir dir(UnitTest::DataArrayTest::TestDir);
    dir.mkpath(".");

#if !REMOVE_TEST_FILES
    DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif
    DREAM3D_REGISTER_TEST( TestCopyData() )
    DREAM3D_REGISTER_TEST( TestTypeStrings() )
    DREAM3D_REGISTER_TEST( TestArrayCreation() )
    DREAM3D_REGISTER_TEST( TestDataArray() )
    DREAM3D_REGISTER_TEST( TestEraseElements() )
    DREAM3D_REGISTER_TEST( TestcopyTuples() )
    DREAM3D_REGISTER_TEST( TestDeepCopyArray() )
    DREAM3D_REGISTER_TEST( TestNeighborList() )

#if REMOVE_TEST_FILES
    DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif


    PRINT_TEST_SUMMARY();
    return err;
  }
예제 #3
0
// -----------------------------------------------------------------------------
//  Use test framework
// -----------------------------------------------------------------------------
int main(int argc, char** argv)
{

  int err = EXIT_SUCCESS;

#if !REMOVE_TEST_FILES
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif
  DREAM3D_REGISTER_TEST( TestErrorMessage() )

#if REMOVE_TEST_FILES
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif
  PRINT_TEST_SUMMARY();
  return err;
}
// -----------------------------------------------------------------------------
//  Use Boost unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char **argv)
{
  int err = EXIT_SUCCESS;

  MXA_REGISTER_TEST( MXALoggerTest_EntryPoint() );
  MXA_REGISTER_TEST( RemoveTestFiles() );
  PRINT_TEST_SUMMARY();
  return err;
}
예제 #5
0
// -----------------------------------------------------------------------------
//  Use unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char** argv)
{
  int err = EXIT_SUCCESS;

  DREAM3D_REGISTER_TEST( Test2PhaseMatrixPrecipitate() )
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
  PRINT_TEST_SUMMARY();

  return err;
}
예제 #6
0
// -----------------------------------------------------------------------------
//  Use unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char** argv)
{
  int err = EXIT_SUCCESS;

  DREAM3D_REGISTER_TEST( QH5UtilitiesTest() )
  DREAM3D_REGISTER_TEST( TestOpenSameFile2x() )
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
  PRINT_TEST_SUMMARY();

  return err;
}
// -----------------------------------------------------------------------------
//  Use Boost unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char **argv) {

  int err = EXIT_SUCCESS;

  MXA_REGISTER_TEST( WriteDatasetTest() );
  MXA_REGISTER_TEST( ReadDatasetTest() );
  MXA_REGISTER_TEST( TestDataWrapper() );
  MXA_REGISTER_TEST( RemoveTestFiles() );
  PRINT_TEST_SUMMARY();
  return err;
}
예제 #8
0
// -----------------------------------------------------------------------------
//  Use Boost unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char **argv)
{
    int err = EXIT_SUCCESS;
    DREAM3D_REGISTER_TEST( TestTempDir() );
    DREAM3D_REGISTER_TEST( MakeDirectoriesTest() )
    DREAM3D_REGISTER_TEST( FilesTest() )
    DREAM3D_REGISTER_TEST( FileNameTest() )
    DREAM3D_REGISTER_TEST( AbsolutePathTest() )
    DREAM3D_REGISTER_TEST( DirListTest() )
    DREAM3D_REGISTER_TEST( RemoveDirectoriesTest() )
    DREAM3D_REGISTER_TEST( RemoveTestFiles() )
    DREAM3D_REGISTER_TEST( FileNameExtensionTest() )
    PRINT_TEST_SUMMARY();
    return err;
}