// Creates Environment for unittests. Uses test specific defaults unlike the // production CreateEnvironment. // Supports test only interface TimeController for testing with simulated time. // TODO: bugs.webrtc.org/437878267 - Remove `FieldTrialsView*` variant when // tests are refactored not to rely on it. struct CreateTestEnvironmentOptions {
std::variant<absl::string_view, const FieldTrialsView * absl_nullable,
absl_nonnull std::unique_ptr<FieldTrialsView>,
FieldTrials>
field_trials;
std::variant<Clock * absl_nullable, //
TimeController * absl_nonnull>
time;
RtcEventLog* event_log = nullptr;
};
Environment CreateTestEnvironment(CreateTestEnvironmentOptions o = {});
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.