reactivated ThrowsAdviceInterceptorTests

This commit is contained in:
Juergen Hoeller 2009-05-05 21:49:23 +00:00
parent c356d99621
commit b2319fa38b
1 changed files with 8 additions and 18 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2005 the original author or authors.
* Copyright 2002-2009 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,21 @@
package org.springframework.aop.framework.adapter;
import static org.easymock.EasyMock.createMock;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.replay;
import static org.easymock.EasyMock.verify;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Method;
import java.rmi.RemoteException;
import javax.transaction.TransactionRolledbackException;
import org.aopalliance.intercept.MethodInvocation;
import org.junit.Ignore;
import static org.easymock.EasyMock.*;
import static org.junit.Assert.*;
import org.junit.Test;
import org.springframework.aop.ThrowsAdvice;
import test.aop.MethodCounter;
import org.springframework.aop.ThrowsAdvice;
/**
* Unit tests for {@link ThrowsAdviceInterceptor}
*
* @author Rod Johnson
* @author Chris Beams
*/
@ -52,7 +43,6 @@ public final class ThrowsAdviceInterceptorTests {
}
@Test
@Ignore
public void testNotInvoked() throws Throwable {
MyThrowsHandler th = new MyThrowsHandler();
ThrowsAdviceInterceptor ti = new ThrowsAdviceInterceptor(th);