44 const std::string testShader =
45 "<Material name=\"SmoothPlastic\" number_of_properties=\"1\" number_of_vertex_shaders=\"0\" "
46 "number_of_fragment_shaders=\"0\">"
47 "<Property name=\"ShinyProperty\">"
48 "<Member name=\"DiffuseColor\" number_of_elements=\"3\" type=\"Double\" value=\"1.0 0.0 0.0\"/>"
52 const std::size_t shaderCount = shaderRepo->GetShaders().size();
54 std::stringstream testShaderStream(testShader);
55 const std::string testShaderName =
"SmoothPlastic";
56 int id = shaderRepo->LoadShader(testShaderStream, testShaderName);
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
Management class for vtkShader XML descriptions.
#define MITK_TEST_CONDITION(COND, MSG)
int mitkShaderRepositoryTest(int, char *[])
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.