MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / SetParam

Method SetParam

tests/gtest/gtest.h:14305–14307  ·  view source on GitHub ↗

Sets parameter value. The caller is responsible for making sure the value remains alive and unchanged throughout the current test.

Source from the content-addressed store, hash-verified

14303 // Sets parameter value. The caller is responsible for making sure the value
14304 // remains alive and unchanged throughout the current test.
14305 static void SetParam(const ParamType* parameter) {
14306 parameter_ = parameter;
14307 }
14308
14309 // Static value used for accessing parameter during a test lifetime.
14310 static const ParamType* parameter_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected