Skip to content

Commit

Permalink
Standardize Class Names to PascalCase in tests (mapstruct#3773)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhyogyeom authored Dec 1, 2024
1 parent 084cf3a commit f98a742
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Sjaak Derksen
*/
@Mapper
public abstract class AbstractSourceTargetMapperPrivate extends SourceTargetmapperPrivateBase {
public abstract class AbstractSourceTargetMapperPrivate extends SourceTargetMapperPrivateBase {

public static final AbstractSourceTargetMapperPrivate INSTANCE =
Mappers.getMapper( AbstractSourceTargetMapperPrivate.class );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Sjaak Derksen
*/
@Mapper
public abstract class AbstractSourceTargetMapperProtected extends SourceTargetmapperProtectedBase {
public abstract class AbstractSourceTargetMapperProtected extends SourceTargetMapperProtectedBase {

public static final AbstractSourceTargetMapperProtected INSTANCE =
Mappers.getMapper( AbstractSourceTargetMapperProtected.class );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ public void shouldNotBeAbleToAccessDefaultMethodInReferencedInOtherPackage() {

@ProcessorTest
@IssueKey( "206" )
@WithClasses( { AbstractSourceTargetMapperProtected.class, SourceTargetmapperProtectedBase.class } )
@WithClasses( { AbstractSourceTargetMapperProtected.class, SourceTargetMapperProtectedBase.class } )
public void shouldBeAbleToAccessProtectedMethodInBase() { }

@ProcessorTest
@IssueKey("206")
@WithClasses({ AbstractSourceTargetMapperPrivate.class, SourceTargetmapperPrivateBase.class })
@WithClasses({ AbstractSourceTargetMapperPrivate.class, SourceTargetMapperPrivateBase.class })
@ExpectedCompilationOutcome(
value = CompilationResult.SUCCEEDED,
diagnostics = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @author Sjaak Derksen
*/
public class SourceTargetmapperPrivateBase {
public class SourceTargetMapperPrivateBase {

@SuppressWarnings("unused")
private ReferencedTarget sourceToTarget(ReferencedSource source) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author Sjaak Derksen
*/
public class SourceTargetmapperProtectedBase {
public class SourceTargetMapperProtectedBase {

protected ReferencedTarget sourceToTarget( ReferencedSource source ) {
ReferencedTarget target = new ReferencedTarget();
Expand Down

0 comments on commit f98a742

Please sign in to comment.