Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(996)

Unified Diff: tools/variations/unittest_data/expected_output.h

Issue 1209743002: Generate a static struct from fieldtrial_testing_config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codegen_nested_structs
Patch Set: add another unittest Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/variations/fieldtrial_util_unittest.py ('k') | tools/variations/unittest_data/expected_output.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/variations/unittest_data/expected_output.h
diff --git a/tools/variations/unittest_data/expected_output.h b/tools/variations/unittest_data/expected_output.h
new file mode 100644
index 0000000000000000000000000000000000000000..0fc4ee5f5738949b5c429c459bd47a2df45ee554
--- /dev/null
+++ b/tools/variations/unittest_data/expected_output.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
Alexei Svitkine (slow) 2015/07/09 19:48:27 This test will fail in 2016, since the year seems
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN
+// fieldtrial_testing_config_schema.json
+// test_config.json
+// DO NOT EDIT.
+
+#ifndef TEST_OUPUT_H_
+#define TEST_OUPUT_H_
+
+#include <cstddef>
+
+
+struct FieldTrialGroupParams {
+ const char* const key;
+ const char* const value;
+};
+
+struct FieldTrialTestingGroup {
+ const char* const study;
+ const char* const group_name;
+ const FieldTrialGroupParams * params;
+ const size_t params_size;
+};
+
+struct FieldTrialTestingConfig {
+ const FieldTrialTestingGroup * groups;
+ const size_t groups_size;
+};
+
+
+extern const FieldTrialTestingConfig kFieldTrialConfig;
+
+#endif // TEST_OUPUT_H_
« no previous file with comments | « tools/variations/fieldtrial_util_unittest.py ('k') | tools/variations/unittest_data/expected_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698