diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-07 14:26:07 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-07 14:26:07 +0100 |
commit | fd7f5084f27e91e08fdbfbca15a282c03721b850 (patch) | |
tree | 7011cadfd74a3326160a585d1ace7383ccdbe743 /eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging | |
parent | 39838994aefae9921a5e64cd71a7f28f770c2561 (diff) | |
download | EAAF-Components-fd7f5084f27e91e08fdbfbca15a282c03721b850.tar.gz EAAF-Components-fd7f5084f27e91e08fdbfbca15a282c03721b850.tar.bz2 EAAF-Components-fd7f5084f27e91e08fdbfbca15a282c03721b850.zip |
update jUnit tests to fix problem with execution order
Diffstat (limited to 'eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging')
-rw-r--r-- | eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging/EaafUtilsMessageSourceTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging/EaafUtilsMessageSourceTest.java b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging/EaafUtilsMessageSourceTest.java index 53ea54dc..125dcb09 100644 --- a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging/EaafUtilsMessageSourceTest.java +++ b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/impl/logging/EaafUtilsMessageSourceTest.java @@ -2,19 +2,21 @@ package at.gv.egiz.eaaf.core.impl.logging; import java.util.List; -import at.gv.egiz.eaaf.core.api.logging.IMessageSourceLocation; - import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.io.Resource; import org.springframework.core.io.ResourceLoader; +import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import at.gv.egiz.eaaf.core.api.logging.IMessageSourceLocation; + @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration("/spring/test_eaaf_pvp_not_lazy.beans.xml") +@DirtiesContext public class EaafUtilsMessageSourceTest { @Autowired |