NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Classes | Namespaces | Functions
niftkMultiViewerWidgetTest.cxx File Reference
Include dependency graph for niftkMultiViewerWidgetTest.cxx:

Classes

class  niftk::MultiViewerWidgetTestClassPrivate
 

Namespaces

 niftk
 

Functions

static void ShiftArgs (int &argc, char *argv[], int steps=1)
 
int niftkMultiViewerWidgetTest (int argc, char *argv[])
 

Function Documentation

int niftkMultiViewerWidgetTest ( int  argc,
char *  argv[] 
)

We used the arguments to initialise the test. No arguments is passed to the Qt test, so that all the test functions are executed.

static void ShiftArgs ( int argc,
char *  argv[],
int  steps = 1 
)
static

We exploit that there must be a NULL pointer after the arguments. (Guaranteed by the standard.)