mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
Enrich the JodaTimeSupportTest with expression type checking
This commit is contained in:
parent
2921123f61
commit
423d0b02ee
@ -50,14 +50,21 @@ public class JodaTimeSupportTest extends AbstractTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() throws SecurityException, NoSuchFieldException {
|
||||
public void test() throws IllegalAccessException, NoSuchFieldException {
|
||||
start(QJodaTimeSupportTest_JodaTimeSupport.class, QJodaTimeSupportTest_JodaTimeSupport.jodaTimeSupport);
|
||||
match(DateTimePath.class, "dateMidnight");
|
||||
matchType(DateMidnight.class, "dateMidnight");
|
||||
match(DateTimePath.class, "dateTime");
|
||||
matchType(DateTime.class, "dateTime");
|
||||
match(DateTimePath.class, "instant");
|
||||
matchType(Instant.class, "instant");
|
||||
match(DatePath.class, "localDate");
|
||||
matchType(LocalDate.class, "localDate");
|
||||
match(DateTimePath.class, "localDateTime");
|
||||
matchType(LocalDateTime.class, "localDateTime");
|
||||
match(TimePath.class, "localTime");
|
||||
matchType(LocalTime.class, "localTime");
|
||||
match(ComparablePath.class, "partial");
|
||||
matchType(Partial.class, "partial");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user