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.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*******************************************************************************
  2. * Copyright (c) 2010 Lucierna
  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. * Abraham Nevado - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.systemtest.ajc1611;
  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. public void testAddingRemoving() {
  17. runTest("adding and removing");
  18. }
  19. public void testAddingRemoving2() {
  20. runTest("adding and removing - 2");
  21. }
  22. public void testAddingRemoving3() {
  23. runTest("adding and removing - 3");
  24. }
  25. public void testDeclareMinus() {
  26. runTest("declare minus - 1");
  27. }
  28. public void testDeclareMinusItd() {
  29. runTest("declare minus - itd");
  30. }
  31. public void testDeclareMinus2annos() {
  32. runTest("declare minus - 2 annos");
  33. }
  34. public void testDeclareMinusmultifiles() {
  35. runTest("declare minus - multifiles");
  36. }
  37. public void testDeclareMinusmultifiles2() {
  38. runTest("declare minus - multifiles - 2");
  39. }
  40. public void testDeclareMinusmultifiles3() {
  41. runTest("declare minus - multifiles - 3");
  42. }
  43. public void testDeclareMinusWithValues() {
  44. runTest("declare minus - with values");
  45. }
  46. public void testDeclareMinusUnsupported() {
  47. runTest("declare minus - unsupported");
  48. }
  49. public void testBinaryWeaving() {
  50. runTest("binary weaving");
  51. }
  52. public static Test suite() {
  53. return XMLBasedAjcTestCase.loadSuite(NewFeatures.class);
  54. }
  55. protected java.net.URL getSpecFile() {
  56. return getClassResource("newfeatures-tests.xml");
  57. }
  58. }