// Creates field trials from command line flag --force_fieldtrials // and passed field trial string. Field trials in the `s` take priority over // the command line flag. // Crashes if command line flag or the `s` are not a valid field trial string. // // The intention of these functions is to be the default source of field trials // in tests so that tests always use the command line flag. // The behavior of these two functions is identical, they differ only in the // return types for convenience.
FieldTrials CreateTestFieldTrials(absl::string_view s = ""); inline absl_nonnull std::unique_ptr<FieldTrials> CreateTestFieldTrialsPtr(
absl::string_view s = "") { return std::make_unique<FieldTrials>(CreateTestFieldTrials(s));
}
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.