X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.core%2Fsrc%2Ftest%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Ftest%2Fcontext%2FAbstractInternalSpringTestCase.java;h=15fa4deadabb3d7390ee2da59d0bedcab790e338;hb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;hp=cded892ef3903305df8b45bb60686175bdd01544;hpb=9db6be2103ce521f8fd6d715c0f97b273a878928;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/test/context/AbstractInternalSpringTestCase.java b/runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/test/context/AbstractInternalSpringTestCase.java index cded892ef..15fa4dead 100644 --- a/runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/test/context/AbstractInternalSpringTestCase.java +++ b/runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/test/context/AbstractInternalSpringTestCase.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2010 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.argeo.slc.core.test.context; import java.util.Map; @@ -12,8 +28,8 @@ import org.springframework.beans.factory.ListableBeanFactory; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; -/** Helper for tests using a Spring application co,text. */ -abstract class AbstractInternalSpringTestCase extends TestCase { +/** Helper for tests using a Spring application context. */ +public abstract class AbstractInternalSpringTestCase extends TestCase { protected final Log log = LogFactory.getLog(getClass()); private ConfigurableApplicationContext context;