language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/ContextLoaderUtils.java | @@ -16,20 +16,24 @@
package org.springframework.test.context;
-import static org.springframework.beans.BeanUtils.*;
-import static org.springframework.core.annotation.AnnotationUtils.*;
+import static org.springframework.beans.BeanUtils.instantiateClass;
+import static org.springframework.core.annotation.Annotatio... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,9 +23,11 @@
import java.util.SortedSet;... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/SmartContextLoader.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,8 +29,7 @@
* context that it loads (se... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/TestContext.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,9 +20,11 @@
import org.apache.commons... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/TestContextManager.java | @@ -104,15 +104,14 @@ public TestContextManager(Class<?> testClass) {
}
/**
- * Constructs a new {@code TestContextManager} for the specified {@link Class test class}
- * and automatically {@link #registerTestExecutionListeners registers} the
+ * Constructs a new {@code TestContextManager} for the specified {@... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/TestExecutionListener.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,29 +17,24 @@
package org.springframewor... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/TestExecutionListeners.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,9 +26,10 @@
/**
* {@code TestExecutio... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/support/AbstractGenericContextLoader.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,10 +16,13 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/support/DirtiesContextTestExecutionListener.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@
import org.springframework.c... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/web/AbstractGenericWebContextLoader.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@
import org.springframework.m... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/web/ServletTestExecutionListener.java | @@ -69,6 +69,7 @@ public class ServletTestExecutionListener extends AbstractTestExecutionListener
* @see TestExecutionListener#prepareTestInstance(TestContext)
* @see #setUpRequestContextIfNecessary(TestContext)
*/
+ @SuppressWarnings("javadoc")
public void prepareTestInstance(TestContext testContext) throws... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/web/WebMergedContextConfiguration.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,6 +21,7 @@
import org.springframework.c... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/ContextCacheTests.java | @@ -0,0 +1,329 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/ContextHierarchyDirtiesContextTests.java | @@ -0,0 +1,212 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/ContextLoaderUtilsTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,13 +16,16 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/MergedContextConfigurationTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -76,7 +76,7 @@ public void hashCodeWithEmpty... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/SpringRunnerContextCacheTests.java | @@ -44,7 +44,7 @@
* @author Sam Brannen
* @author Juergen Hoeller
* @since 2.5
- * @see TestContextCacheKeyTests
+ * @see ContextCacheTests
*/
@RunWith(OrderedMethodsSpringJUnit4ClassRunner.class)
@TestExecutionListeners({ DependencyInjectionTestExecutionListener.class, DirtiesContextTestExecutionListener.cla... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/TestContextCacheKeyTests.java | @@ -1,102 +0,0 @@
-/*
- * Copyright 2002-2012 the original author or authors.
- *
- * 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
-... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/ClassHierarchyWithMergedConfigLevelOneTests.java | @@ -0,0 +1,96 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/ClassHierarchyWithMergedConfigLevelTwoTests.java | @@ -0,0 +1,62 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/ClassHierarchyWithOverriddenConfigLevelTwoTests.java | @@ -0,0 +1,73 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/DirtiesContextWithContextHierarchyTests.java | @@ -0,0 +1,149 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/SingleTestClassWithSingleLevelContextHierarchyTests.java | @@ -0,0 +1,63 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/SingleTestClassWithTwoLevelContextHierarchyAndMixedConfigTypesTests.java | @@ -0,0 +1,79 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/SingleTestClassWithTwoLevelContextHierarchyTests.java | @@ -0,0 +1,93 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelOneWithBareContextConfigurationInSubclassTests.java | @@ -0,0 +1,72 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelOneWithBareContextConfigurationInSuperclassTests.java | @@ -0,0 +1,71 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelOneWithSingleLevelContextHierarchyTests.java | @@ -0,0 +1,72 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithBareContextConfigurationInSubclassTests.java | @@ -0,0 +1,78 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithBareContextConfigurationInSuperclassTests.java | @@ -0,0 +1,79 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithSingleLevelContextHierarchyAndMixedConfigTypesTests.java | @@ -0,0 +1,62 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithSingleLevelContextHierarchyTests.java | @@ -0,0 +1,78 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/web/ControllerIntegrationTests.java | @@ -0,0 +1,102 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ *
+ ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/web/DispatcherWacRootWacEarTests.java | @@ -0,0 +1,88 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ *
+ *... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/web/EarTests.java | @@ -0,0 +1,65 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ *
+ *... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/hierarchies/web/RootWacEarTests.java | @@ -0,0 +1,76 @@
+/*
+ * Copyright 2002-2013 the original author or authors.
+ *
+ * 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
+ *
+ *... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/junit4/PropertiesBasedSpringJUnit4ClassRunnerAppCtxTests.java | @@ -33,21 +33,21 @@
/**
* <p>
* JUnit 4 based test class, which verifies the expected functionality of
- * {@link SpringJUnit4ClassRunner} in conjunction with support for application
- * contexts loaded from Java {@link Properties} files. Specifically, the
- * {@link ContextConfiguration#loader() loaderClass} and
... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/junit4/spr8849/Spr8849Tests.java | @@ -38,6 +38,7 @@
* @author Sam Brannen
* @since 3.2
*/
+@SuppressWarnings("javadoc")
@RunWith(Suite.class)
@SuiteClasses({ TestClass1.class, TestClass2.class })
public class Spr8849Tests { | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/java/org/springframework/test/context/testng/AnnotationConfigTransactionalTestNGSpringContextTests.java | @@ -43,10 +43,11 @@
/**
* Integration tests that verify support for
- * {@link import org.springframework.context.annotation.Configuration @Configuration}
- * classes with TestNG-based tests.
+ * {@link org.springframework.context.annotation.Configuration @Configuration} classes
+ * with TestNG-based tests.
*
- ... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/resources/org/springframework/test/context/hierarchies/standard/SingleTestClassWithTwoLevelContextHierarchyAndMixedConfigTypesTests-ChildConfig.xml | @@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:c="http://www.springframework.org/schema/c" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sch... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/resources/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithSingleLevelContextHierarchyAndMixedConfigTypesTests-context.xml | @@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:c="http://www.springframework.org/schema/c" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sch... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/test/resources/org/springframework/test/context/hierarchies/web/DispatcherWacRootWacEarTests-context.xml | @@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:c="http://www.springframework.org/schema/c" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sch... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | src/dist/changelog.txt | @@ -41,6 +41,8 @@ Changes in version 3.2.2 (2013-03-11)
* MappingJackson(2)JsonView allows subclasses to access the ObjectMapper and to override content writing (SPR-7619)
* Log4jWebConfigurer supports resolving placeholders against ServletContext init-parameters as well (SPR-10284)
* consistent use of LinkedHashMap... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | build.gradle | @@ -13,7 +13,6 @@ configure(allprojects) { project ->
version = qualifyVersionIfNecessary(version)
ext.aspectjVersion = "1.7.2"
- ext.easymockVersion = "2.5.2"
ext.hsqldbVersion = "1.8.0.10"
ext.junitVersion = "4.11"
ext.slf4jVersion = "1.6.1"
@@ -69,13 +68,6 @@ configure(allprojects) { project ->
... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/framework/adapter/ThrowsAdviceInterceptorTests.java | @@ -16,11 +16,6 @@
package org.springframework.aop.framework.adapter;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-
import java.io.FileNotFoundException;
import java.io.IOException;
impo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/interceptor/CustomizableTraceInterceptorTests.java | @@ -16,18 +16,13 @@
package org.springframework.aop.interceptor;
-import static org.junit.Assert.*;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Matchers.anyString;
-import static org.mockito.Matchers.eq;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.times;
... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/interceptor/DebugInterceptorTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,18 +16,13 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/interceptor/PerformanceMonitorInterceptorTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,16 +16,13 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/interceptor/SimpleTraceInterceptorTests.java | @@ -16,18 +16,13 @@
package org.springframework.aop.interceptor;
-import static org.junit.Assert.fail;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Matchers.anyString;
-import static org.mockito.Matchers.eq;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.time... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/scope/DefaultScopedObjectTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,11 +16,11 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-aop/src/test/java/org/springframework/aop/support/DelegatingIntroductionInterceptorTests.java | @@ -16,14 +16,6 @@
package org.springframework.aop.support;
-import static org.hamcrest.Matchers.instanceOf;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertSame;
-import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.B... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java | @@ -16,24 +16,6 @@
package org.springframework.beans.factory;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.Matchers.containsString;
-import static org.hamcrest.Matchers.equalTo;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-beans/src/test/java/org/springframework/beans/factory/config/CustomScopeConfigurerTests.java | @@ -16,16 +16,16 @@
package org.springframework.beans.factory.config;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-
import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.support.Defaul... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-beans/src/test/java/org/springframework/beans/factory/config/ObjectFactoryCreatingFactoryBeanTests.java | @@ -16,14 +16,6 @@
package org.springframework.beans.factory.config;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertSame;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-beans/src/test/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBeanTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,10 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-beans/src/test/java/org/springframework/beans/factory/parsing/FailFastProblemReporterTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,15 +16,13 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-beans/src/test/java/org/springframework/beans/factory/wiring/BeanConfigurerSupportTests.java | @@ -16,16 +16,15 @@
package org.springframework.beans.factory.wiring;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
import junit.framework.TestCase;
import org.springframework.beans.factory.BeanFactory;
import org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context-support/src/test/java/org/springframework/scheduling/quartz/QuartzSupportTests.java | @@ -16,15 +16,6 @@
package org.springframework.scheduling.quartz;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotSame;
-import static org.junit.Assert.assertSame;
-import static org.junit.Assert.assertTrue;
-import static org.mock... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/aspectj/AfterAdviceBindingTests.java | @@ -16,18 +16,17 @@
package org.springframework.aop.aspectj;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import org.junit.Before;
import org.junit.Test;
import org.springframework.aop.aspectj.AdviceBindingTestAspect.AdviceBind... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/aspectj/AfterReturningAdviceBindingTests.java | @@ -16,19 +16,17 @@
package org.springframework.aop.aspectj;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.verifyZeroInteractions;
-
import org.junit.Before;
import org.junit.Test;
import org.spr... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/aspectj/AfterThrowingAdviceBindingTests.java | @@ -16,14 +16,13 @@
package org.springframework.aop.aspectj;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import org.junit.Before;
import org.junit.Test;
import org.springframework.aop.aspectj.AfterThrowingAdviceBindingTestAspect.AfterThrowingAdviceBindingCollaborator;
-... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceBindingTests.java | @@ -16,20 +16,19 @@
package org.springframework.aop.aspectj;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import org.aspectj.lang.ProceedingJoinPoint;
import org.junit.Before;
import org.junit.Test;
import org.springframework.... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/aspectj/BeforeAdviceBindingTests.java | @@ -16,18 +16,17 @@
package org.springframework.aop.aspectj;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import org.junit.Before;
import org.junit.Test;
import org.springframework.aop.aspectj.AdviceBindingTestAspect.AdviceBind... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/config/MethodLocatingFactoryBeanTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,19 +16,15 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/aop/framework/JdkDynamicProxyTests.java | @@ -16,21 +16,19 @@
package org.springframework.aop.framework;
-import static org.junit.Assert.*;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-
import java.io.Serializable;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/context/access/ContextBeanFactoryReferenceTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,13 +16,12 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/context/annotation/EnableLoadTimeWeavingTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,18 +16,16 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/context/event/ApplicationContextEventTests.java | @@ -20,16 +20,8 @@
import java.util.Set;
import org.aopalliance.intercept.MethodInvocation;
-import static org.junit.Assert.*;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Matchers.isA;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import org.junit... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/context/event/EventPublicationInterceptorTests.java | @@ -16,21 +16,21 @@
package org.springframework.context.event;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-
import org.junit.Before;
import org.junit.Test;
import org.springframework.aop.framework.ProxyFactory;
import org.springframework.beans.BeansException;
-import o... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/ejb/access/LocalSlsbInvokerInterceptorTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,11 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/ejb/access/LocalStatelessSessionProxyFactoryBeanTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,12 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/ejb/access/SimpleRemoteSlsbInvokerInterceptorTests.java | @@ -16,12 +16,6 @@
package org.springframework.ejb.access;
-import static org.junit.Assert.*;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-
import java.rmi.ConnectException;
import java.... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/ejb/access/SimpleRemoteStatelessSessionProxyFactoryBeanTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,12 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/jndi/JndiObjectFactoryBeanTests.java | @@ -16,12 +16,6 @@
package org.springframework.jndi;
-import static org.junit.Assert.*;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-
import javax.naming.Context;
import javax.naming.Nam... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/jndi/JndiTemplateTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,16 +16,14 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptFactoryTests.java | @@ -16,17 +16,13 @@
package org.springframework.scripting.bsh;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-
import java.util.Arrays;
import java.util.Collection;
import junit.framework.TestCase;
import org.springframework.aop.support.AopUtils;
import org.springfr... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/scripting/groovy/GroovyScriptFactoryTests.java | @@ -16,16 +16,16 @@
package org.springframework.scripting.groovy;
+import groovy.lang.DelegatingMetaClass;
+import groovy.lang.GroovyObject;
+
import java.io.FileNotFoundException;
import java.util.Arrays;
import java.util.Map;
-import groovy.lang.DelegatingMetaClass;
-import groovy.lang.GroovyObject;
import... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/scripting/support/RefreshableScriptTargetSourceTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,11 +16,12 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/scripting/support/ResourceScriptSourceTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,9 +16,6 @@
package org.springframewor... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-context/src/test/java/org/springframework/scripting/support/ScriptFactoryPostProcessorTests.java | @@ -16,11 +16,8 @@
package org.springframework.scripting.support;
-import static org.mockito.Mockito.mock;
-
import org.junit.Before;
import org.junit.Test;
-
import org.springframework.beans.FatalBeanException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.con... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-core/src/test/java/org/springframework/util/StreamUtilsTests.java | @@ -16,14 +16,6 @@
package org.springframework.util;
-import static org.hamcrest.Matchers.equalTo;
-import static org.junit.Assert.assertThat;
-import static org.mockito.Mockito.inOrder;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.never;
-import static org.mockito.Mockito.spy;
-impo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-core/src/test/java/org/springframework/util/xml/AbstractStaxXMLReaderTestCase.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,12 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-core/src/test/java/org/springframework/util/xml/StaxEventXMLReaderTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,11 +16,9 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-core/src/test/java/org/springframework/util/xml/StaxStreamXMLReaderTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,23 +18,22 @@
import java.io.InputStre... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/AbstractRowMapperTests.java | @@ -16,12 +16,6 @@
package org.springframework.jdbc.core;
-import static org.junit.Assert.assertEquals;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Matchers.anyString;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import java.math.BigDecimal;
im... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateQueryTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,14 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,26 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/RowMapperTests.java | @@ -16,11 +16,6 @@
package org.springframework.jdbc.core;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Matchers.anyString;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.s... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/StatementCreatorUtilsTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,10 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplateTests.java | @@ -27,13 +27,13 @@
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
+
import javax.sql.DataSource;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
-
import org.springframework.dao.DataAccessException;
import org.sprin... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterQueryTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,13 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/CallMetaDataContextTests.java | @@ -1,11 +1,5 @@
package org.springframework.jdbc.core.simple;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import java.sql.Connection;
imp... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcCallTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,14 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcInsertTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,10 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcTemplateTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,15 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/TableMetaDataContextTests.java | @@ -16,12 +16,6 @@
package org.springframework.jdbc.core.simple;
-import static org.junit.Assert.*;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.atLeastOnce;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import java.sql.Connection;
import... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/support/JdbcBeanDefinitionReaderTests.java | @@ -16,20 +16,18 @@
package org.springframework.jdbc.core.support;
-import static org.junit.Assert.assertEquals;
-import static org.mockito.BDDMockito.given;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
import java.sql.Connection;
import java.sql.ResultSet;
import java.s... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/support/JdbcDaoSupportTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,9 +16,6 @@
package org.springframewor... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/support/LobSupportTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,12 +16,6 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 05765d752062f37b202e7dfd20593c995dc47df0.json | Replace EasyMock with Mockito
Issue: SPR-10126 | spring-jdbc/src/test/java/org/springframework/jdbc/core/support/SqlLobValueTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,14 +15,6 @@
*/
package org.springfram... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.