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

1234567891011121314151617181920212223242526272829303132333435
  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 java.io.File;
  13. import junit.framework.Test;
  14. import org.aspectj.testing.XMLBasedAjcTestCase;
  15. public class NewFeatures extends org.aspectj.testing.XMLBasedAjcTestCase {
  16. // Supporting -Xset:weaveJavaPackages=true and -Xset:weaveJavaxPackages=true
  17. public void testWeaveJavaxClassesNo() { runTest("weave javax classes - no");}
  18. public void testWeaveJavaxClassesYes() { runTest("weave javax classes - yes");}
  19. /////////////////////////////////////////
  20. public static Test suite() {
  21. return XMLBasedAjcTestCase.loadSuite(NewFeatures.class);
  22. }
  23. protected File getSpecFile() {
  24. return getClassResource("newfeatures-tests.xml");
  25. }
  26. }