| 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',
|
| },
|
|
|