-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
192. Merged PrimitiveInstantiator, StringClassInstantiator, JavaLangC…
…lassInstantiator into JavaTypeInstantiator, which supports java type objects creation.
- Loading branch information
Showing
56 changed files
with
795 additions
and
426 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
22 changes: 22 additions & 0 deletions
22
src/integrationTest/java/pl/pojo/tester/issue192/ConstructorWithZonedDateTime.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,22 @@ | ||
package pl.pojo.tester.issue192; | ||
|
||
|
||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
import java.time.ZonedDateTime; | ||
|
||
@ToString | ||
@EqualsAndHashCode | ||
@Setter | ||
@Getter | ||
class ConstructorWithZonedDateTime { | ||
|
||
private ZonedDateTime zonedDateTime; | ||
|
||
ConstructorWithZonedDateTime(final ZonedDateTime zonedDateTime) { | ||
this.zonedDateTime = zonedDateTime; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/integrationTest/java/pl/pojo/tester/issue192/ConstructorWithZonedDateTimeTest.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,15 @@ | ||
package pl.pojo.tester.issue192; | ||
|
||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static pl.pojo.tester.api.assertion.Assertions.assertPojoMethodsFor; | ||
|
||
class ConstructorWithZonedDateTimeTest { | ||
|
||
@Test | ||
void Should_Create_Instance_That_Have_Zoned_Date_Time_As_Constructor_Parameter() { | ||
assertPojoMethodsFor(ConstructorWithZonedDateTime.class).areWellImplemented(); | ||
} | ||
} | ||
|
2 changes: 1 addition & 1 deletion
2
src/main/java/pl/pojo/tester/api/ClassAndFieldPredicatePair.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
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
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
Oops, something went wrong.