Skip to content

Commit

Permalink
#376: Adjust the assertion of test case for the 3.2.x line
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki43zoo committed Mar 20, 2015
1 parent e2282a2 commit a0ef41a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<settings>
<setting name="autoMappingBehavior" value="NONE"/>
<setting name="cacheEnabled" value="false"/>
<setting name="proxyFactory" value="CGLIB"/>
<setting name="proxyFactory" value="JAVASSIST"/>
<setting name="lazyLoadingEnabled" value="true"/>
<setting name="aggressiveLazyLoading" value="false"/>
<setting name="multipleResultSetsEnabled" value="false"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void shouldSuccessfullyLoadMinimalXMLConfigFile() throws Exception {
assertNotNull(config);
assertThat(config.getAutoMappingBehavior(), is(AutoMappingBehavior.PARTIAL));
assertThat(config.isCacheEnabled(), is(true));
assertThat(config.getProxyFactory(), is(instanceOf(JavassistProxyFactory.class)));
assertThat(config.getProxyFactory(), is(instanceOf(CglibProxyFactory.class)));
assertThat(config.isLazyLoadingEnabled(), is(false));
assertThat(config.isAggressiveLazyLoading(), is(true));
assertThat(config.isMultipleResultSetsEnabled(), is(true));
Expand Down Expand Up @@ -145,7 +145,7 @@ public void shouldSuccessfullyLoadXMLConfigFile() throws Exception {

assertThat(config.getAutoMappingBehavior(), is(AutoMappingBehavior.NONE));
assertThat(config.isCacheEnabled(), is(false));
assertThat(config.getProxyFactory(), is(instanceOf(CglibProxyFactory.class)));
assertThat(config.getProxyFactory(), is(instanceOf(JavassistProxyFactory.class)));
assertThat(config.isLazyLoadingEnabled(), is(true));
assertThat(config.isAggressiveLazyLoading(), is(false));
assertThat(config.isMultipleResultSetsEnabled(), is(false));
Expand Down

0 comments on commit a0ef41a

Please sign in to comment.