summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@oath.com>2018-06-08 15:00:36 +0000
committerGeir Storli <geirst@oath.com>2018-06-08 15:00:36 +0000
commit8170cbe91308e4789f2a35f00d79af900beb0b20 (patch)
treede4b18d28d46fa6b682be7358cf7bb0e18d50e14
parent063244d49b36a30c5f6666fd16e22e159493d7c8 (diff)
Improve naming of test functions.
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/derived/AttributeListTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/derived/AttributeListTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/derived/AttributeListTestCase.java
index 3704c9b9166..bd762c64c00 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/derived/AttributeListTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/derived/AttributeListTestCase.java
@@ -70,7 +70,7 @@ public class AttributeListTestCase extends SearchDefinitionTestCase {
}
@Test
- public void array_of_struct_field_is_derived_into_array_attributes() throws IOException, ParseException {
+ public void fields_in_array_of_struct_are_derived_into_array_attributes() throws IOException, ParseException {
Search search = SearchBuilder.buildFromFile("src/test/derived/array_of_struct_attribute/test.sd");
Iterator<Attribute> attributes = new AttributeFields(search).attributeIterator();
@@ -80,7 +80,7 @@ public class AttributeListTestCase extends SearchDefinitionTestCase {
}
@Test
- public void map_of_struct_fields_are_derived_into_array_attributes() throws IOException, ParseException {
+ public void fields_in_map_of_struct_are_derived_into_array_attributes() throws IOException, ParseException {
Search search = SearchBuilder.buildFromFile("src/test/derived/map_of_struct_attribute/test.sd");
Iterator<Attribute> attributes = new AttributeFields(search).attributeIterator();
@@ -115,7 +115,7 @@ public class AttributeListTestCase extends SearchDefinitionTestCase {
}
@Test
- public void map_of_primitive_fields_are_derived_into_array_attributes() throws IOException, ParseException {
+ public void fields_in_map_of_primitive_are_derived_into_array_attributes() throws IOException, ParseException {
Search search = SearchBuilder.buildFromFile("src/test/derived/map_attribute/test.sd");
Iterator<Attribute> attributes = new AttributeFields(search).attributeIterator();