From 98e8825f47bcbe27beee95ac7838b46de3704f5c Mon Sep 17 00:00:00 2001 From: Andreas Schmid Date: Sun, 14 Jan 2018 18:27:33 +0100 Subject: [PATCH] reformat DataProviderResolverContextTest --- .../resolver/DataProviderResolverContextTest.java | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/core/src/test/java/com/tngtech/junit/dataprovider/resolver/DataProviderResolverContextTest.java b/core/src/test/java/com/tngtech/junit/dataprovider/resolver/DataProviderResolverContextTest.java index f55ce9d4..b694892b 100644 --- a/core/src/test/java/com/tngtech/junit/dataprovider/resolver/DataProviderResolverContextTest.java +++ b/core/src/test/java/com/tngtech/junit/dataprovider/resolver/DataProviderResolverContextTest.java @@ -98,8 +98,7 @@ public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfTest } @Test - public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfResolverClassesIsNull() - { + public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfResolverClassesIsNull() { // Given: expectedException.expect(NullPointerException.class); expectedException.expectMessage("'resolverClasses' must not be null"); @@ -112,8 +111,7 @@ public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfReso } @Test - public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfResolveStrategyIsNull() - { + public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfResolveStrategyIsNull() { // Given: expectedException.expect(NullPointerException.class); expectedException.expectMessage("'resolveStrategy' must not be null"); @@ -139,8 +137,7 @@ public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfLoca } @Test - public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfDataProviderAnnotationClassIsNull() - { + public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfDataProviderAnnotationClassIsNull() { // Given: expectedException.expect(NullPointerException.class); expectedException.expectMessage("'dataProviderAnnotationClass' must not be null"); @@ -153,8 +150,7 @@ public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfData } @Test - public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfDataProviderNameIsNull() - { + public void testDataProviderResolverContextShouldThrowNullPointerExceptionIfDataProviderNameIsNull() { // Given: expectedException.expect(NullPointerException.class); expectedException.expectMessage("'dataProviderName' must not be null"); @@ -216,8 +212,7 @@ public void testUseDataProviderNameConventionShouldReturnTrueIfDatProviderIsUseC final String dataProviderName = DataProviderResolverContext.METHOD_NAME_TO_USE_CONVENTION; DataProviderResolverContext underTest = new DataProviderResolverContext(testMethod, resolverClasses, - resolveStrategy, locations, dataProviderAnnotationClass, - dataProviderName); + resolveStrategy, locations, dataProviderAnnotationClass, dataProviderName); // When: boolean result = underTest.useDataProviderNameConvention();