~ubuntu-branches/ubuntu/natty/aspectj/natty

« back to all changes in this revision

Viewing changes to org.aspectj/modules/weaver5/java5-testsrc/org/aspectj/matcher/tools/ReflectionWorldAdvancedPointcutExpressionTests.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2009-10-04 16:37:23 UTC
  • mfrom: (1.1.3 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091004163723-ck4y7j7fhjxskkie
Tags: 1.6.6+dfsg-1
* New upstream release.
  - Update 02_use_gjdoc.diff patch
* Update my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* *******************************************************************
 
2
 * Copyright (c) 2008 Contributors
 
3
 * All rights reserved. 
 
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 
 
8
 *  
 
9
 * Contributors: 
 
10
 * Andy Clement
 
11
 * ******************************************************************/
 
12
package org.aspectj.matcher.tools;
 
13
 
 
14
import org.aspectj.weaver.World;
 
15
import org.aspectj.weaver.reflect.ReflectionWorld;
 
16
 
 
17
/**
 
18
 * Run all the pointcut parsing/matching tests against a ReflectionWorld.
 
19
 * 
 
20
 * @author Andy Clement
 
21
 */
 
22
public class ReflectionWorldAdvancedPointcutExpressionTests extends CommonAdvancedPointcutExpressionTests {
 
23
 
 
24
        protected World getWorld() {
 
25
                World w = new ReflectionWorld(false, getClass().getClassLoader());
 
26
                w.setBehaveInJava5Way(true);
 
27
                return w;
 
28
        }
 
29
 
 
30
}