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
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DataSourceJtaTransactionTests.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,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/datasource/DataSourceTransactionManagerTests.java
@@ -16,14 +16,6 @@ package org.springframework.jdbc.datasource; -import static org.junit.Assert.*; -import static org.mockito.BDDMockito.given; -import static org.mockito.BDDMockito.willThrow; -import static org.mockito.Mockito.inOrder; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.ti...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DelegatingDataSourceTest.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/datasource/DriverManagerDataSourceTests.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,14 @@ package org.springframew...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/UserCredentialsDataSourceAdapterTests.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,17 +16,16 @@ package org.springframew...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/DatabasePopulatorTests.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/datasource/lookup/BeanFactoryDataSourceLookupTests.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,15 @@ package org.springframew...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/object/BatchSqlUpdateTests.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. You may obtain a copy of @@ -16,13 +16,6 @@ ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/object/GenericSqlQueryTests.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,11 +17,6 @@ package org.springframework...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jdbc/src/test/java/org/springframework/jdbc/object/GenericStoredProcedureTests.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-jdbc/src/test/java/org/springframework/jdbc/object/SqlQueryTests.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,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/object/SqlUpdateTests.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-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.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,17 +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/support/DataFieldMaxValueIncrementerTests.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/support/DefaultLobHandlerTests.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/support/NativeJdbcExtractorTests.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/support/SQLErrorCodesFactoryTests.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,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/support/rowset/ResultSetWrappingRowSetTests.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-jms/src/test/java/org/springframework/jms/config/JmsNamespaceHandlerTests.java
@@ -16,14 +16,6 @@ package org.springframework.jms.config; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.mockito.BDDM...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/connection/JmsTransactionManagerTests.java
@@ -16,14 +16,6 @@ package org.springframework.jms.connection; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -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-jms/src/test/java/org/springframework/jms/connection/SingleConnectionFactoryTests.java
@@ -16,14 +16,6 @@ package org.springframework.jms.connection; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertSame; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mocki...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/core/JmsTemplate102Tests.java
@@ -16,15 +16,6 @@ package org.springframework.jms.core; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.BDDMockito.willThrow; -import static org.mockito.Mockito.m...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/core/JmsTemplateTests.java
@@ -16,16 +16,6 @@ package org.springframework.jms.core; -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.BDDMockito.wil...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/core/support/JmsGatewaySupportTests.java
@@ -15,9 +15,6 @@ */ package org.springframework.jms.core.support; -import static org.junit.Assert.assertEquals; -import static org.mockito.Mockito.mock; - import java.util.ArrayList; import java.util.List; @@ -26,6 +23,9 @@ import org.junit.Test; import org.springframework.jms.core.JmsTemplate; +import st...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/SimpleMessageListenerContainerTests.java
@@ -16,15 +16,6 @@ package org.springframework.jms.listener; -import static org.junit.Assert.assertFalse; -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.Mockito.moc...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapter102Tests.java
@@ -16,13 +16,6 @@ package org.springframework.jms.listener.adapter; -import static org.junit.Assert.*; -import static org.mockito.BDDMockito.given; -import static org.mockito.BDDMockito.willThrow; -import static org.mockito.Matchers.any; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito....
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapterTests.java
@@ -16,18 +16,6 @@ package org.springframework.jms.listener.adapter; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.j...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/endpoint/DefaultJmsActivationSpecFactoryTests.java
@@ -16,9 +16,6 @@ package org.springframework.jms.listener.endpoint; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; - import javax.jms.Destination; import javax.jms.Session; @@ -28,6 +25,8 @@ import org.springframework.jms.StubQueue; import org.springframework.jms.suppo...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/remoting/JmsInvokerTests.java
@@ -16,12 +16,6 @@ package org.springframework.jms.remoting; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; - import java.io.Serializable; import ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/SimpleMessageConverter102Tests.java
@@ -16,12 +16,6 @@ package org.springframework.jms.support; -import static org.hamcrest.Matchers.equalTo; -import static org.junit.Assert.assertThat; -import static org.mockito.BDDMockito.given; -import static org.mockito.Matchers.any; -import static org.mockito.Mockito.mock; - import java.io.ByteArrayInputStream...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/SimpleMessageConverterTests.java
@@ -16,14 +16,6 @@ package org.springframework.jms.support; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.Matchers.any; -import static org.mockito.Mockito.mock; ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/converter/MappingJackson2MessageConverterTests.java
@@ -16,13 +16,6 @@ package org.springframework.jms.support.converter; -import static org.junit.Assert.assertEquals; -import static org.mockito.BDDMockito.given; -import static org.mockito.Matchers.any; -import static org.mockito.Matchers.isA; -import static org.mockito.Mockito.mock; -import static org.mockito.Mock...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/converter/MappingJacksonMessageConverterTests.java
@@ -16,13 +16,6 @@ package org.springframework.jms.support.converter; -import static org.junit.Assert.assertEquals; -import static org.mockito.BDDMockito.given; -import static org.mockito.Matchers.any; -import static org.mockito.Matchers.isA; -import static org.mockito.Mockito.mock; -import static org.mockito.Mock...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/converter/MarshallingMessageConverterTests.java
@@ -16,13 +16,6 @@ package org.springframework.jms.support.converter; -import static org.junit.Assert.assertEquals; -import static org.mockito.BDDMockito.given; -import static org.mockito.Matchers.eq; -import static org.mockito.Matchers.isA; -import static org.mockito.Mockito.mock; -import static org.mockito.Mocki...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/destination/DynamicDestinationResolverTests.java
@@ -16,9 +16,6 @@ package org.springframework.jms.support.destination; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; - import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Queue; @@ -32,6 +29,8 @@ import org.springframework.jms.StubQueue; import...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/destination/JmsDestinationAccessorTests.java
@@ -16,14 +16,13 @@ package org.springframework.jms.support.destination; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.fail; -import static org.mockito.Mockito.mock; - import javax.jms.ConnectionFactory; import org.junit.Test; +import static org.junit.Assert.*; +import static o...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/destination/JndiDestinationResolverTests.java
@@ -16,20 +16,16 @@ package org.springframework.jms.support.destination; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.moc...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateInterceptorTests.java
@@ -16,18 +16,6 @@ package org.springframework.orm.hibernate3; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.BDDMock...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateJtaTransactionTests.java
@@ -16,20 +16,6 @@ package org.springframework.orm.hibernate3; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMocki...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateTemplateTests.java
@@ -16,20 +16,6 @@ package org.springframework.orm.hibernate3; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotSame; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertSame; -import static org.junit.A...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/LocalSessionFactoryBeanTests.java
@@ -16,13 +16,6 @@ package org.springframework.orm.hibernate3; -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.Mockito.mock; -import static org.mockito.Mockito.veri...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/support/HibernateDaoSupportTests.java
@@ -16,16 +16,16 @@ package org.springframework.orm.hibernate3.support; -import static org.junit.Assert.assertEquals; -import static org.mockito.Mockito.mock; - import java.util.ArrayList; import java.util.List; import org.hibernate.SessionFactory; import org.junit.Test; import org.springframework.orm.hiber...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/support/LobTypeTests.java
@@ -16,11 +16,6 @@ package org.springframework.orm.hibernate3.support; -import static org.junit.Assert.*; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify; - import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/hibernate3/support/OpenSessionInViewTests.java
@@ -16,16 +16,6 @@ package org.springframework.orm.hibernate3.support; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; -import static org.mockito.BDDMockito.given; -import static or...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/ibatis/SqlMapClientTests.java
@@ -16,13 +16,6 @@ package org.springframework.orm.ibatis; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify;...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/ibatis/support/LobTypeHandlerTests.java
@@ -16,13 +16,6 @@ package org.springframework.orm.ibatis.support; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito....
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jdo/JdoInterceptorTests.java
@@ -16,11 +16,6 @@ package org.springframework.orm.jdo; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify; - import java.lang.reflect.AccessibleObject; import java.lang.reflect.Method; @@ -33,6 +...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jdo/JdoTemplateTests.java
@@ -16,13 +16,6 @@ package org.springframework.orm.jdo; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify; - ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jdo/JdoTransactionManagerTests.java
@@ -23,6 +23,7 @@ import java.sql.Savepoint; import java.util.ArrayList; import java.util.List; + import javax.jdo.Constants; import javax.jdo.JDOFatalDataStoreException; import javax.jdo.PersistenceManager; @@ -37,7 +38,6 @@ import org.junit.After; import org.junit.Before; import org.junit.Test; - import org...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jdo/LocalPersistenceManagerFactoryTests.java
@@ -16,11 +16,6 @@ package org.springframework.orm.jdo; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.Mockito.mock; - import java.io.IOException; import java.util.Map; import java.util.Properties; @@ -31,6...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jdo/support/JdoDaoSupportTests.java
@@ -16,9 +16,6 @@ package org.springframework.orm.jdo.support; -import static org.junit.Assert.assertEquals; -import static org.mockito.Mockito.mock; - import java.util.ArrayList; import java.util.List; @@ -27,6 +24,9 @@ import org.junit.Test; import org.springframework.orm.jdo.JdoTemplate; +import static ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jdo/support/OpenPersistenceManagerInViewTests.java
@@ -16,13 +16,6 @@ package org.springframework.orm.jdo.support; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mo...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/AbstractEntityManagerFactoryBeanTests.java
@@ -16,11 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.mockito.Mockito.mock; - import javax.persistence.EntityManagerFactory; import javax.persistence.Persisten...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/DefaultJpaDialectTests.java
@@ -16,11 +16,6 @@ package org.springframework.orm.jpa; -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 javax.persistence.EntityManager; import javax.persistence.EntityTransaction; ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/EntityManagerFactoryBeanSupportTests.java
@@ -16,10 +16,10 @@ package org.springframework.orm.jpa; -import static org.mockito.Mockito.verify; - import org.junit.Test; +import static org.mockito.BDDMockito.*; + /** * @author Rod Johnson * @author Phillip Webb
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/EntityManagerFactoryUtilsTests.java
@@ -16,13 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertNull; -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.Mockito.mock; - ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/JpaInterceptorTests.java
@@ -16,15 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.BDDMockito.wil...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/JpaTemplateTests.java
@@ -16,14 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotSame; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock;...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/JpaTransactionManagerTests.java
@@ -16,17 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import static org.mockito.BDDMockito.give...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBeanTests.java
@@ -16,19 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNotSame; -import static org.junit.Assert.assertNull; -import static org.junit.Asser...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/LocalEntityManagerFactoryBeanTests.java
@@ -16,10 +16,6 @@ package org.springframework.orm.jpa; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertSame; -import static org.mockito.Mockito.verify; - import java.util.Map; import java.util.Properties; @@ -30,6 +26,9 @@ import org.junit.After; import org.junit.Test; ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/support/JpaDaoSupportTests.java
@@ -16,11 +16,6 @@ package org.springframework.orm.jpa.support; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.fail; -import static org.mockito.Mockito.mock; - import java.util.ArrayList; import java.util.List; @@ -30,6 +25,9 @@ imp...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/support/OpenEntityManagerInViewTests.java
@@ -16,17 +16,6 @@ package org.springframework.orm.jpa.support; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; -import static org.mockito.BDDMockito.given; -import static org.mocki...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/support/PersistenceInjectionTests.java
@@ -16,15 +16,6 @@ package org.springframework.orm.jpa.support; -import static org.junit.Assert.assertNotNull; -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.Mockit...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-orm/src/test/java/org/springframework/orm/jpa/support/SharedEntityManagerFactoryTests.java
@@ -16,14 +16,6 @@ package org.springframework.orm.jpa.support; -import static org.junit.Assert.assertFalse; -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.Mockito....
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-oxm/src/test/java/org/springframework/oxm/castor/CastorMarshallerTests.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-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java
@@ -16,19 +16,6 @@ package org.springframework.oxm.jaxb; -import static org.custommonkey.xmlunit.XMLAssert.assertXMLEqual; -import static org.easymock.EasyMock.createMock; -import static org.easymock.EasyMock.createStrictMock; -import static org.easymock.EasyMock.eq; -import static org.easymock.EasyMock.expect; -i...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2UnmarshallerTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 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,6 +17,7 @@ package org.springframework....
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.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. @@ -25,6 +25,7 @@ import java.util.Collections...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-struts/src/test/java/org/springframework/web/struts/StrutsSupportTests.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. @@ -19,23 +19,24 @@ import java.util.HashMap; ...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/DefaultMvcResultTests.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,20 +15,17 @@ */ package org.springfra...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-test/src/test/java/org/springframework/mock/web/MockFilterChainTests.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. You may obtain a copy of the License at @@ -12,...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/jca/cci/CciLocalTransactionTests.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-tx/src/test/java/org/springframework/jca/cci/CciTemplateTests.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-tx/src/test/java/org/springframework/jca/cci/EisOperationTests.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-tx/src/test/java/org/springframework/jca/support/LocalConnectionFactoryBeanTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2006 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,14 @@ package org.springframew...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/transaction/JndiJtaTransactionManagerTests.java
@@ -21,7 +21,6 @@ import javax.transaction.UserTransaction; import junit.framework.TestCase; -import org.easymock.MockControl; import org.springframework.tests.mock.jndi.ExpectedLookupTemplate; import org.springframework.transaction.jta.JtaTransactionManager; @@ -30,6 +29,8 @@ import org.springframework.transa...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/transaction/JtaTransactionManagerTests.java
@@ -27,7 +27,6 @@ import javax.transaction.UserTransaction; import junit.framework.TestCase; -import org.easymock.MockControl; import org.springframework.dao.OptimisticLockingFailureException; import org.springframework.tests.transaction.MockJtaTransaction; @@ -39,36 +38,19 @@ import org.springframework.transa...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractTransactionAspectTests.java
@@ -19,11 +19,10 @@ import java.lang.reflect.Method; import junit.framework.TestCase; -import org.easymock.MockControl; +import org.springframework.dao.OptimisticLockingFailureException; import org.springframework.tests.sample.beans.ITestBean; import org.springframework.tests.sample.beans.TestBean; -import org....
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/transaction/interceptor/BeanFactoryTransactionTests.java
@@ -24,23 +24,24 @@ import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; -import org.easymock.MockControl; import org.springframework.aop.support.AopUtils; import org.springframework.aop.support.StaticMethodMatcherPointcut; import org.springframework.aop.target.H...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/transaction/jta/WebSphereUowTransactionManagerTests.java
@@ -20,11 +20,7 @@ import javax.transaction.Status; import javax.transaction.UserTransaction; -import com.ibm.wsspi.uow.UOWAction; -import com.ibm.wsspi.uow.UOWException; -import com.ibm.wsspi.uow.UOWManager; import junit.framework.TestCase; -import org.easymock.MockControl; import org.springframework.dao.Optim...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-tx/src/test/java/org/springframework/transaction/support/JtaTransactionManagerSerializationTests.java
@@ -16,8 +16,6 @@ package org.springframework.transaction.support; -import static org.easymock.EasyMock.createMock; - import javax.transaction.TransactionManager; import javax.transaction.UserTransaction; @@ -27,15 +25,17 @@ import org.springframework.transaction.jta.JtaTransactionManager; import org.springf...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/http/MockHttpOutputMessage.java
@@ -16,13 +16,13 @@ package org.springframework.http; -import static org.mockito.Mockito.spy; - import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.charset.Charset; +import static org.mockito.BDDMockito.*; + /** * @author Arjen Poutsma */
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/http/converter/FormHttpMessageConverterTests.java
@@ -22,6 +22,7 @@ import java.io.StringReader; import java.nio.charset.Charset; import java.util.List; + import javax.xml.transform.Source; import javax.xml.transform.stream.StreamSource; @@ -32,7 +33,6 @@ import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.junit.Before; import org.junit...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 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. @@ -19,18 +19,20 @@ import javax.xml.transform...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/remoting/jaxrpc/JaxRpcSupportTests.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,7 +20,6 @@ import java.net.URL; import...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/client/DefaultResponseErrorHandlerTests.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,15 +21,13 @@ import org.junit.Before;...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/client/HttpMessageConverterExtractorTests.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-web/src/test/java/org/springframework/web/client/RestTemplateTests.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. @@ -25,11 +25,8 @@ import java.util.Map; impo...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/context/request/ServletRequestAttributesTests.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,15 +17,16 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/context/request/async/DeferredResultTests.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,12 @@ package org.springframew...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequestTests.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,26 +17,18 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTests.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,30 +16,19 @@ package org.springframew...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTimeoutTests.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,17 +16,6 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/filter/CharacterEncodingFilterTests.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-web/src/test/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessorTests.java
@@ -22,10 +22,9 @@ import org.junit.Before; import org.junit.Test; - -import org.springframework.tests.sample.beans.TestBean; import org.springframework.core.MethodParameter; import org.springframework.mock.web.test.MockHttpServletRequest; +import org.springframework.tests.sample.beans.TestBean; import org.sprin...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/method/annotation/ModelFactoryTests.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,6 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-web/src/test/java/org/springframework/web/method/annotation/WebArgumentResolverAdapterTests.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-web/src/test/java/org/springframework/web/multipart/support/ByteArrayMultipartFileEditorTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2006 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. @@ -19,10 +19,11 @@ import java.io.IOException...
true
Other
spring-projects
spring-framework
05765d752062f37b202e7dfd20593c995dc47df0.json
Replace EasyMock with Mockito Issue: SPR-10126
spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/PortletRequestAttributesTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 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