parent
7dd8dc62a5
commit
779deb0fa7
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2013 the original author or authors.
|
* Copyright 2002-2017 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -74,19 +74,19 @@ public class AroundAdviceBindingTests {
|
||||||
@Test
|
@Test
|
||||||
public void testOneObjectArgBoundToTarget() {
|
public void testOneObjectArgBoundToTarget() {
|
||||||
testBeanProxy.getAge();
|
testBeanProxy.getAge();
|
||||||
verify(mockCollaborator).oneObjectArg(this.testBeanTarget);;
|
verify(mockCollaborator).oneObjectArg(this.testBeanTarget);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testOneIntAndOneObjectArgs() {
|
public void testOneIntAndOneObjectArgs() {
|
||||||
testBeanProxy.setAge(5);
|
testBeanProxy.setAge(5);
|
||||||
verify(mockCollaborator).oneIntAndOneObject(5, this.testBeanProxy);;
|
verify(mockCollaborator).oneIntAndOneObject(5, this.testBeanProxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testJustJoinPoint() {
|
public void testJustJoinPoint() {
|
||||||
testBeanProxy.getAge();
|
testBeanProxy.getAge();
|
||||||
verify(mockCollaborator).justJoinPoint("getAge");;
|
verify(mockCollaborator).justJoinPoint("getAge");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -470,8 +470,8 @@ public abstract class TransactionSynchronizationManager {
|
||||||
public static void clear() {
|
public static void clear() {
|
||||||
synchronizations.remove();
|
synchronizations.remove();
|
||||||
currentTransactionName.remove();
|
currentTransactionName.remove();
|
||||||
currentTransactionReadOnly.remove();;
|
currentTransactionReadOnly.remove();
|
||||||
currentTransactionIsolationLevel.remove();;
|
currentTransactionIsolationLevel.remove();
|
||||||
actualTransactionActive.remove();
|
actualTransactionActive.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -328,7 +328,7 @@ public class WebAsyncManagerTests {
|
||||||
Exception exception = new Exception();
|
Exception exception = new Exception();
|
||||||
|
|
||||||
DeferredResultProcessingInterceptor interceptor = mock(DeferredResultProcessingInterceptor.class);
|
DeferredResultProcessingInterceptor interceptor = mock(DeferredResultProcessingInterceptor.class);
|
||||||
willThrow(exception).given(interceptor).postProcess(this.asyncWebRequest, deferredResult, 25);;
|
willThrow(exception).given(interceptor).postProcess(this.asyncWebRequest, deferredResult, 25);
|
||||||
|
|
||||||
setupDefaultAsyncScenario();
|
setupDefaultAsyncScenario();
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ public abstract class AbstractXlsView extends AbstractView {
|
||||||
response.setContentType(getContentType());
|
response.setContentType(getContentType());
|
||||||
|
|
||||||
// Flush byte array to servlet output stream.
|
// Flush byte array to servlet output stream.
|
||||||
renderWorkbook(workbook, response);;
|
renderWorkbook(workbook, response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue