1
/*******************************************************************************
2
* Copyright (c) 2005 Contributors.
4
* This program and the accompanying materials are made available
5
* under the terms of the Eclipse Public License v1.0
6
* which accompanies this distribution and is available at
7
* http://eclipse.org/legal/epl-v10.html
10
* Alexandre Vasseur initial implementation
11
*******************************************************************************/
14
import junit.framework.TestCase;
15
import org.aspectj.lang.annotation.Aspect;
16
import org.aspectj.lang.annotation.Around;
17
import org.aspectj.lang.annotation.Before;
18
import org.aspectj.lang.ProceedingJoinPoint;
21
* @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
23
public class AroundInlineMungerTest2 extends TestCase {
25
public static void main(String[] args) {
26
TestHelper.runAndThrowOnFailure(suite());
29
public static junit.framework.Test suite() {
30
return new junit.framework.TestSuite(AroundInlineMungerTest2.class);
33
public void testAccessNonPublicFromAroundAdvice() {
35
assertEquals(3, AroundInlineMungerTestAspects2.Open.aroundCount);
36
assertEquals(6, AroundInlineMungerTestAspects2.Open.beforeCount);
39
public void target() {}