This commit is contained in:
Stephane Nicoll
2015-02-13 14:56:13 +01:00
parent 5efdb85876
commit e8e39e4bcf
2 changed files with 5 additions and 5 deletions

View File

@@ -388,7 +388,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
}
@Test
public void incremenalBuildAnnotationRemoved() throws Exception {
public void incrementalBuildAnnotationRemoved() throws Exception {
TestProject project = new TestProject(this.temporaryFolder, FooProperties.class,
BarProperties.class);
ConfigurationMetadata metadata = project.fullBuild();
@@ -403,7 +403,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
}
@Test
public void incremenalBuildTypeRenamed() throws Exception {
public void incrementalBuildTypeRenamed() throws Exception {
TestProject project = new TestProject(this.temporaryFolder, FooProperties.class,
BarProperties.class);
ConfigurationMetadata metadata = project.fullBuild();

View File

@@ -39,7 +39,7 @@ public class ConfigurationMetadataMatchers {
}
public static ContainsItemMatcher containsGroup(String name, String type) {
return new ContainsItemMatcher(ItemType.GROUP, name).ofDataType(type);
return new ContainsItemMatcher(ItemType.GROUP, name).ofType(type);
}
public static ContainsItemMatcher containsProperty(String name) {
@@ -51,7 +51,7 @@ public class ConfigurationMetadataMatchers {
}
public static ContainsItemMatcher containsProperty(String name, String type) {
return new ContainsItemMatcher(ItemType.PROPERTY, name).ofDataType(type);
return new ContainsItemMatcher(ItemType.PROPERTY, name).ofType(type);
}
public static class ContainsItemMatcher extends BaseMatcher<ConfigurationMetadata> {
@@ -154,7 +154,7 @@ public class ConfigurationMetadataMatchers {
this.sourceType, this.description, this.defaultValue, this.deprecated);
}
public ContainsItemMatcher ofDataType(String dataType) {
public ContainsItemMatcher ofType(String dataType) {
return new ContainsItemMatcher(this.itemType, this.name, dataType,
this.sourceType, this.description, this.defaultValue, this.deprecated);
}