22 MITK_TEST_BEGIN(
"KinectController");
24 mitk::KinectController::Pointer kinectController = mitk::KinectController::New();
28 MITK_TEST_CONDITION_REQUIRED(kinectController.IsNotNull(),
"Testing initialzation!");
29 MITK_TEST_CONDITION_REQUIRED(kinectController->GetCaptureHeight()== 480 ,
"Testing initialization of CaptureHeight");
30 MITK_TEST_CONDITION_REQUIRED(kinectController->GetCaptureWidth()== 640 ,
"Testing initialization of CaptureWidth");
31 MITK_TEST_CONDITION_REQUIRED(kinectController->OpenCameraConnection(),
"Testing opening of camera connection!");
32 MITK_TEST_CONDITION_REQUIRED(kinectController->UpdateCamera(),
"Testing UpdateCamera()");
33 MITK_TEST_CONDITION_REQUIRED(kinectController->CloseCameraConnection(),
"Testing closing of camera connection!");
35 catch(std::exception &e)
37 MITK_INFO << e.what();