Skip to content

Commit b2319fa

Browse files
committed
reactivated ThrowsAdviceInterceptorTests
1 parent c356d99 commit b2319fa

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

org.springframework.aop/src/test/java/org/springframework/aop/framework/adapter/ThrowsAdviceInterceptorTests.java

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
2-
* Copyright 2002-2005 the original author or authors.
3-
*
2+
* Copyright 2002-2009 the original author or authors.
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -16,30 +16,21 @@
1616

1717
package org.springframework.aop.framework.adapter;
1818

19-
import static org.easymock.EasyMock.createMock;
20-
import static org.easymock.EasyMock.expect;
21-
import static org.easymock.EasyMock.replay;
22-
import static org.easymock.EasyMock.verify;
23-
import static org.junit.Assert.assertEquals;
24-
import static org.junit.Assert.fail;
25-
2619
import java.io.FileNotFoundException;
2720
import java.io.IOException;
2821
import java.lang.reflect.Method;
2922
import java.rmi.RemoteException;
30-
3123
import javax.transaction.TransactionRolledbackException;
3224

3325
import org.aopalliance.intercept.MethodInvocation;
34-
import org.junit.Ignore;
26+
import static org.easymock.EasyMock.*;
27+
import static org.junit.Assert.*;
3528
import org.junit.Test;
36-
import org.springframework.aop.ThrowsAdvice;
37-
3829
import test.aop.MethodCounter;
3930

31+
import org.springframework.aop.ThrowsAdvice;
32+
4033
/**
41-
* Unit tests for {@link ThrowsAdviceInterceptor}
42-
*
4334
* @author Rod Johnson
4435
* @author Chris Beams
4536
*/
@@ -52,7 +43,6 @@ public void testNoHandlerMethods() {
5243
}
5344

5445
@Test
55-
@Ignore
5646
public void testNotInvoked() throws Throwable {
5747
MyThrowsHandler th = new MyThrowsHandler();
5848
ThrowsAdviceInterceptor ti = new ThrowsAdviceInterceptor(th);

0 commit comments

Comments
 (0)