MCPcopy Create free account
hub / github.com/apache/singa / CreateTest

Method CreateTest

test/gtest/gtest.h:10357–10360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10355 explicit ParameterizedTestFactory(ParamType parameter) :
10356 parameter_(parameter) {}
10357 virtual Test* CreateTest() {
10358 TestClass::SetParam(&parameter_);
10359 return new TestClass();
10360 }
10361
10362 private:
10363 const ParamType parameter_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected