-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #24 NumberToNumberConverter did not perform a check for same-ty…
…pe conversions, now it does. NumberToNumberConverterTest failed to spot the error because it did not test through the beanmapper. Removed these test in favor of higher level tests that map through beanmapper
- Loading branch information
1 parent
023bb34
commit 7313002
Showing
8 changed files
with
60 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
src/test/java/io/beanmapper/core/converter/impl/NumberToNumberConverterTest.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
src/test/java/io/beanmapper/testmodel/numbers/ClassWithInteger.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package io.beanmapper.testmodel.numbers; | ||
|
||
public class ClassWithInteger { | ||
public Integer number; | ||
} |
5 changes: 5 additions & 0 deletions
5
src/test/java/io/beanmapper/testmodel/numbers/ClassWithLong.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package io.beanmapper.testmodel.numbers; | ||
|
||
public class ClassWithLong { | ||
public Long number; | ||
} |
6 changes: 6 additions & 0 deletions
6
src/test/java/io/beanmapper/testmodel/numbers/SourceWithDouble.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package io.beanmapper.testmodel.numbers; | ||
|
||
public class SourceWithDouble { | ||
|
||
public Double number; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/test/java/io/beanmapper/testmodel/numbers/TargetWithDouble.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package io.beanmapper.testmodel.numbers; | ||
|
||
public class TargetWithDouble { | ||
|
||
public Double number; | ||
|
||
} |