Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs to add some bean definitions at test-context.xml #147

Closed
2 tasks done
btshimizukza opened this issue Jul 30, 2015 · 0 comments
Closed
2 tasks done

Needs to add some bean definitions at test-context.xml #147

btshimizukza opened this issue Jul 30, 2015 · 0 comments
Assignees
Milestone

Comments

@btshimizukza
Copy link
Member

Description

If test-context.xml is used, ApplicationContext does not initialized.

e.g.)

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:test-context.xml")
public class SysRepositoryTest {
    // ...
}

Possible Solutions

We needs to add following definitions at least.

  • bean definition of <property-placeholder>
  • bean definition of ExceptionLogger

Affects Version/s

  • 5.0.0.RELEASE - 5.0.1.RELEASE
  • 1.0.1.RELEASE - 1.0.3.RELEASE

Fix Version/s

  • 5.1.0
  • 5.0.2

Issue Links

@btshimizukza btshimizukza added this to the 5.0.2 milestone Jul 30, 2015
kazuki43zoo added a commit that referenced this issue Jul 31, 2015
* bean definition of <property-placeholder>
* bean definition of ExceptionLogger
making added a commit that referenced this issue Aug 1, 2015
…context.xml

#147: Add some bean definitions at test-context.xml
kazuki43zoo added a commit that referenced this issue Aug 6, 2015
* bean definition of <property-placeholder>
* bean definition of ExceptionLogger

(cherry picked from commit 0ea89bd)
making added a commit that referenced this issue Aug 7, 2015
…context.xml

[5.0.x] #147: Add some bean definitions at test-context.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant