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.

Ajc160Tests.java 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 org.aspectj.testing.XMLBasedAjcTestCase;
  14. import junit.framework.Test;
  15. /**
  16. * These are tests for AspectJ1.6 - they do not require a 1.6 VM.
  17. */
  18. public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. public void testIncorrectlyMarkingFieldTransient_pr168063() { runTest("incorrectly marking field transient");}
  20. public void testInheritedAnnotations_pr169706() { runTest("inherited annotations");}
  21. public void testGenericFieldNPE_pr165885() { runTest("generic field npe");}
  22. public void testIncorrectOptimizationOfIstore_pr166084() { runTest("incorrect optimization of istore"); }
  23. public void testDualParameterizationsNotAllowed_pr165631() { runTest("dual parameterizations not allowed"); }
  24. public void testSuppressWarnings1_pr166238() {
  25. runTest("Suppress warnings1");
  26. }
  27. public void testSuppressWarnings2_pr166238() {
  28. runTest("Suppress warnings2");
  29. }
  30. /////////////////////////////////////////
  31. public static Test suite() {
  32. return XMLBasedAjcTestCase.loadSuite(Ajc160Tests.class);
  33. }
  34. protected File getSpecFile() {
  35. return new File("../tests/src/org/aspectj/systemtest/ajc160/ajc160.xml");
  36. }
  37. }