You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NewFeatures.java 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. /*******************************************************************************
  2. * Copyright (c) 2006 IBM
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * Andy Clement - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.systemtest.ajc160;
  12. import org.aspectj.testing.XMLBasedAjcTestCase;
  13. import junit.framework.Test;
  14. public class NewFeatures extends org.aspectj.testing.XMLBasedAjcTestCase {
  15. // Supporting -Xset:weaveJavaPackages=true and -Xset:weaveJavaxPackages=true
  16. public void testWeaveJavaxClassesNo() { runTest("weave javax classes - no");}
  17. public void testWeaveJavaxClassesYes() { runTest("weave javax classes - yes");}
  18. /////////////////////////////////////////
  19. public static Test suite() {
  20. return XMLBasedAjcTestCase.loadSuite(NewFeatures.class);
  21. }
  22. protected java.net.URL getSpecFile() {
  23. return getClassResource("newfeatures-tests.xml");
  24. }
  25. }