MCPcopy Create free account
hub / github.com/MITK/MITK / MakeTestConfig

Function MakeTestConfig

Modules/RESTAPI/test/mitkSecurityMiddlewareTest.cpp:36–46  ·  view source on GitHub ↗

Build a minimal enabled RestServerConfig for integration tests. */

Source from the content-addressed store, hash-verified

34
35 /** Build a minimal enabled RestServerConfig for integration tests. */
36 mitk::RestServerConfig MakeTestConfig()
37 {
38 mitk::RestServerConfig cfg;
39 cfg.enabled = true;
40 cfg.host = "127.0.0.1";
41 cfg.port = kTestPort;
42 cfg.rateLimitEnabled = false;
43 cfg.requireAuth = false;
44 cfg.clientAccessMode = mitk::ClientAccessMode::AllowAll;
45 return cfg;
46 }
47}
48
49class mitkSecurityMiddlewareTestSuite : public mitk::TestFixture

Calls

no outgoing calls

Tested by

no test coverage detected