aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc160/NewFeatures.java
blob: 03c8d4f503ace33d46d4f46010e742b2abd6b18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2006 IBM 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Andy Clement - initial API and implementation
 *******************************************************************************/
package org.aspectj.systemtest.ajc160;

import java.io.File;

import junit.framework.Test;

import org.aspectj.testing.XMLBasedAjcTestCase;

public class NewFeatures extends org.aspectj.testing.XMLBasedAjcTestCase {

  // Supporting -Xset:weaveJavaPackages=true and -Xset:weaveJavaxPackages=true
  public void testWeaveJavaxClassesNo() { runTest("weave javax classes - no");}
  public void testWeaveJavaxClassesYes() { runTest("weave javax classes - yes");}

  /////////////////////////////////////////
  public static Test suite() {
    return XMLBasedAjcTestCase.loadSuite(NewFeatures.class);
  }

  protected File getSpecFile() {
    return getClassResource("newfeatures-tests.xml");
  }

  
}