aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc160/NewFeatures.java
blob: eca60d46f54c0f2bf4da2a23f7ae81f4cdb3f750 (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
/*******************************************************************************
 * Copyright (c) 2006 IBM
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
 *
 * Contributors:
 *    Andy Clement - initial API and implementation
 *******************************************************************************/
package org.aspectj.systemtest.ajc160;

import org.aspectj.testing.XMLBasedAjcTestCase;

import junit.framework.Test;

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 java.net.URL getSpecFile() {
    return getClassResource("newfeatures-tests.xml");
  }


}