#361 Using more descriptive test name

This commit is contained in:
Gunnar Morling 2014-11-26 23:18:02 +01:00
parent 403995af9a
commit 63ca67786d

View File

@ -29,11 +29,18 @@ import org.mapstruct.ap.test.nullvaluemapping.source.Car;
import org.mapstruct.ap.test.nullvaluemapping.source.Driver; import org.mapstruct.ap.test.nullvaluemapping.source.Driver;
import org.mapstruct.ap.test.nullvaluemapping.target.CarDto; import org.mapstruct.ap.test.nullvaluemapping.target.CarDto;
import org.mapstruct.ap.test.nullvaluemapping.target.DriverAndCarDto; import org.mapstruct.ap.test.nullvaluemapping.target.DriverAndCarDto;
import org.mapstruct.ap.testutil.IssueKey;
import org.mapstruct.ap.testutil.WithClasses; import org.mapstruct.ap.testutil.WithClasses;
import org.mapstruct.ap.testutil.runner.AnnotationProcessorTestRunner; import org.mapstruct.ap.testutil.runner.AnnotationProcessorTestRunner;
import static org.fest.assertions.Assertions.assertThat; import static org.fest.assertions.Assertions.assertThat;
/**
* Tests for the strategies for mapping {@code null} values, given via {@code NullValueMapping} etc.
*
* @author Sjaak Derksen
*/
@IssueKey( "295" )
@WithClasses({ @WithClasses({
Car.class, Car.class,
Driver.class, Driver.class,
@ -45,7 +52,7 @@ import static org.fest.assertions.Assertions.assertThat;
CarMapperSettingOnConfig.class CarMapperSettingOnConfig.class
}) })
@RunWith(AnnotationProcessorTestRunner.class) @RunWith(AnnotationProcessorTestRunner.class)
public class CarMapperTest { public class NullValueMappingTest {
@Test @Test
public void shouldProvideMapperInstance() throws Exception { public void shouldProvideMapperInstance() throws Exception {