]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/test/java/org/argeo/slc/core/test/context/ContextTest.java
Ignore files
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / test / java / org / argeo / slc / core / test / context / ContextTest.java
index 710e6bc551fbf3b68284479b0862aee8af5b63a1..694851c824a879b138327c909617240f718f7e25 100644 (file)
@@ -1,3 +1,18 @@
+/*\r
+ * Copyright (C) 2007-2012 Argeo GmbH\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *         http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
 package org.argeo.slc.core.test.context;\r
 \r
 import java.util.List;\r
@@ -12,11 +27,11 @@ public class ContextTest extends AbstractInternalSpringTestCase {
        public void testComplexContext() {\r
                SimpleTestResult testResult = new SimpleTestResult();\r
                ContextUtils.compareReachedExpected(\r
-                               (ContextAware) getBean("context.c1"), testResult, null);\r
+                               (ContextAware) getBean("context.c1"), testResult);\r
                ContextUtils.compareReachedExpected(\r
-                               (ContextAware) getBean("context.c2"), testResult, null);\r
+                               (ContextAware) getBean("context.c2"), testResult);\r
                ContextUtils.compareReachedExpected(\r
-                               (ContextAware) getBean("context.c3"), testResult, null);\r
+                               (ContextAware) getBean("context.c3"), testResult);\r
 \r
                List<TestResultPart> parts = testResult.getParts();\r
                assertEquals(6, parts.size());\r