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

Unified Diff: tools/variations/fieldtrial_to_struct_unittest.py

Issue 2319293006: Use Study and Experiment Terminology on the C++ Side For Fieldtrials (Closed)
Patch Set: Created 4 years, 3 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_to_struct.py ('k') | tools/variations/unittest_data/expected_output.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/variations/fieldtrial_to_struct_unittest.py
diff --git a/tools/variations/fieldtrial_to_struct_unittest.py b/tools/variations/fieldtrial_to_struct_unittest.py
index 1c0c3f138f6659311473457f9f23e094647afa1c..999b0be4b0dfe20bbfb83cce2876142014c2b3af 100644
--- a/tools/variations/fieldtrial_to_struct_unittest.py
+++ b/tools/variations/fieldtrial_to_struct_unittest.py
@@ -48,10 +48,10 @@ class FieldTrialToStruct(unittest.TestCase):
expected = {
'elements': {
'kFieldTrialConfig': {
- 'trials': [
+ 'studies': [
{
'name': 'Trial1',
- 'groups': [
+ 'experiments': [
{
'name': 'Group1',
'params': [
@@ -74,7 +74,7 @@ class FieldTrialToStruct(unittest.TestCase):
},
{
'name': 'Trial2',
- 'groups': [{'name': 'OtherGroup'}]
+ 'experiments': [{'name': 'OtherGroup'}]
},
]
}
@@ -131,10 +131,10 @@ class FieldTrialToStruct(unittest.TestCase):
expected = {
'elements': {
'kFieldTrialConfig': {
- 'trials': [
+ 'studies': [
{
'name': 'Trial1',
- 'groups': [
+ 'experiments': [
{
'name': 'Group1',
'params': [
@@ -171,10 +171,10 @@ class FieldTrialToStruct(unittest.TestCase):
expected = {
'elements': {
'kFieldTrialConfig': {
- 'trials': [
+ 'studies': [
{
'name': 'Trial2',
- 'groups': [
+ 'experiments': [
{
'name': 'OtherGroup',
},
« no previous file with comments | « tools/variations/fieldtrial_to_struct.py ('k') | tools/variations/unittest_data/expected_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698