diff options
Diffstat (limited to 'toolkit/components/glean/pytest/metrics_test_output_cpp')
-rw-r--r-- | toolkit/components/glean/pytest/metrics_test_output_cpp | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/toolkit/components/glean/pytest/metrics_test_output_cpp b/toolkit/components/glean/pytest/metrics_test_output_cpp new file mode 100644 index 0000000000..73cfc76bc3 --- /dev/null +++ b/toolkit/components/glean/pytest/metrics_test_output_cpp @@ -0,0 +1,130 @@ +// -*- mode: C++ -*- + +// AUTOGENERATED BY glean_parser. DO NOT EDIT. + +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef mozilla_Metrics_h +#define mozilla_Metrics_h + +#include "mozilla/glean/bindings/MetricTypes.h" + +namespace mozilla::glean { + +enum class NoExtraKeys {}; + + +namespace test { + /** + * generated from test.boolean_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::BooleanMetric boolean_metric(1); + + /** + * generated from test.counter_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::CounterMetric counter_metric(4); + + /** + * generated from test.string_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::StringMetric string_metric(7); + + /** + * generated from test.string_list_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::StringListMetric string_list_metric(10); + + /** + * generated from test.timespan_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::TimespanMetric timespan_metric(11); + + /** + * generated from test.timing_distribution_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::TimingDistributionMetric timing_distribution_metric(12); + + /** + * generated from test.memory_distribution_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::MemoryDistributionMetric memory_distribution_metric(13); + +} +namespace test_nested { + /** + * generated from test.nested.uuid_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::UuidMetric uuid_metric(14); + + /** + * generated from test.nested.datetime_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::DatetimeMetric datetime_metric(15); + + /** + * generated from test.nested.event_metric + */ + /** + * A multi-line + * description + */ + constexpr impl::EventMetric<uint32_t> event_metric(16); + + /** + * generated from test.nested.event_metric_with_extra + */ + enum class EventMetricWithExtraKeys : int32_t { + AnExtraKey, + AnotherExtraKey, + }; + + /** + * A multi-line + * description + */ + constexpr impl::EventMetric<EventMetricWithExtraKeys> event_metric_with_extra(17); + +} + +} // namespace mozilla::glean + +#endif // mozilla_Metrics_h |