Commit 3f83fd54 authored by David Doria's avatar David Doria
Browse files

ENH: added Test prefix to most of the Common tests

parent 8d8e5d65
SET(KIT Common)
CREATE_TEST_SOURCELIST(Tests ${KIT}CxxTests.cxx
ObjectFactory.cxx
TestObjectFactory.cxx
otherArrays.cxx
otherTimerLog.cxx
otherLookupTable.cxx
......@@ -25,7 +25,7 @@ CREATE_TEST_SOURCELIST(Tests ${KIT}CxxTests.cxx
TestUnicodeStringArrayAPI.cxx
TestVariantComparison.cxx
TestWeakPointer.cxx
SystemInformation.cxx
TestSystemInformation.cxx
EXTRA_INCLUDE vtkTestDriver.h
)
......@@ -81,17 +81,17 @@ ENDIF(CYGWIN)
IF(VTK_USE_N_WAY_ARRAYS)
CREATE_TEST_SOURCELIST(ArrayTests ArrayCxxTests.cxx
ArrayAPI.cxx
ArrayAPIConvenience.cxx
ArrayAPIDense.cxx
ArrayAPISparse.cxx
ArrayBool.cxx
ArrayInterpolationDense.cxx
ArrayNullValues.cxx
ArrayExtents.cxx
ArrayUserTypes.cxx
ArrayVariants.cxx
SparseArrayValidation.cxx
TestArrayAPI.cxx
TestArrayAPIConvenience.cxx
TestArrayAPIDense.cxx
TestArrayAPISparse.cxx
TestArrayBool.cxx
TestArrayInterpolationDense.cxx
TestArrayNullValues.cxx
TestArrayExtents.cxx
TestArrayUserTypes.cxx
TestArrayVariants.cxx
TestSparseArrayValidation.cxx
EXTRA_INCLUDE vtkTestDriver.h
)
......@@ -107,9 +107,9 @@ IF(VTK_USE_N_WAY_ARRAYS)
ENDFOREACH(test)
IF(VTK_USE_BOOST)
ADD_EXECUTABLE(ArrayCasting ArrayCasting.cxx)
TARGET_LINK_LIBRARIES(ArrayCasting vtkCommon)
ADD_TEST(Array-ArrayCasting ${CXX_TEST_PATH}/ArrayCasting)
ADD_EXECUTABLE(TestArrayCasting TestArrayCasting.cxx)
TARGET_LINK_LIBRARIES(TestArrayCasting vtkCommon)
ADD_TEST(Array-TestArrayCasting ${CXX_TEST_PATH}/TestArrayCasting)
ENDIF()
ENDIF(VTK_USE_N_WAY_ARRAYS)
......
......@@ -37,7 +37,7 @@
} \
}
int ArrayAPI(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayAPI(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -111,4 +111,3 @@ int ArrayAPI(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -36,7 +36,7 @@
} \
}
int ArrayAPIConvenience(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayAPIConvenience(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -75,4 +75,3 @@ int ArrayAPIConvenience(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -36,7 +36,7 @@
} \
}
int ArrayAPIDense(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayAPIDense(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -165,4 +165,3 @@ int ArrayAPIDense(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -31,7 +31,7 @@
throw vtkstd::runtime_error("Expression failed: " #expression); \
}
int ArrayAPISparse(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayAPISparse(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -161,4 +161,3 @@ int ArrayAPISparse(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -37,7 +37,7 @@
} \
}
int ArrayBool(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayBool(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -73,4 +73,3 @@ int ArrayBool(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -37,7 +37,7 @@
} \
}
int ArrayExtents(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayExtents(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -79,4 +79,3 @@ int ArrayExtents(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -32,7 +32,7 @@ void test_expression(const bool expression, const vtkstd::string& message)
throw vtkstd::runtime_error(message);
}
int ArrayInterpolationDense(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayInterpolationDense(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -82,4 +82,3 @@ int ArrayInterpolationDense(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -58,7 +58,7 @@ void VerifyType(const T& DefaultNull, const T& AlternateNull)
}
}
int ArrayNullValues(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayNullValues(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -81,4 +81,3 @@ int ArrayNullValues(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -72,7 +72,7 @@ inline vtkVariant vtkVariantCreate<UserType>(const UserType& value)
return vtkVariant(value.Value);
}
int ArrayUserTypes(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayUserTypes(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -113,4 +113,3 @@ int ArrayUserTypes(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -36,7 +36,7 @@
} \
}
int ArrayVariants(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestArrayVariants(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -75,4 +75,3 @@ int ArrayVariants(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -102,7 +102,7 @@ void TestNewPoints(vtkPoints* v, const char* expectedClassName)
}
int ObjectFactory(int, char *[])
int TestObjectFactory(int, char *[])
{
vtkOutputWindow::GetInstance()->PromptUserOff();
vtkGenericWarningMacro("Test Generic Warning");
......
......@@ -32,7 +32,7 @@
throw vtkstd::runtime_error("Expression failed: " #expression); \
}
int SparseArrayValidation(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
int TestSparseArrayValidation(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
{
try
{
......@@ -68,4 +68,3 @@ int SparseArrayValidation(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
return 1;
}
}
......@@ -64,7 +64,7 @@ void vtkSystemInformationPrintFile(const char* name, ostream& os)
}
}
int SystemInformation(int,char *[])
int TestSystemInformation(int,char *[])
{
const char* files[] =
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment