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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 testItdsParameterizedParameters_pr170467() { runTest("itds and parameterized parameters");}
  20. public void testComplexGenerics_pr168044() { runTest("complex generics - 1");}
  21. public void testIncorrectlyMarkingFieldTransient_pr168063() { runTest("incorrectly marking field transient");}
  22. public void testInheritedAnnotations_pr169706() { runTest("inherited annotations");}
  23. public void testGenericFieldNPE_pr165885() { runTest("generic field npe");}
  24. public void testIncorrectOptimizationOfIstore_pr166084() { runTest("incorrect optimization of istore"); }
  25. public void testDualParameterizationsNotAllowed_pr165631() { runTest("dual parameterizations not allowed"); }
  26. public void testSuppressWarnings1_pr166238() {
  27. runTest("Suppress warnings1");
  28. }
  29. public void testSuppressWarnings2_pr166238() {
  30. runTest("Suppress warnings2");
  31. }
  32. /////////////////////////////////////////
  33. public static Test suite() {
  34. return XMLBasedAjcTestCase.loadSuite(Ajc160Tests.class);
  35. }
  36. protected File getSpecFile() {
  37. return new File("../tests/src/org/aspectj/systemtest/ajc160/ajc160.xml");
  38. }
  39. }