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.

Ajc187Tests.java 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*******************************************************************************
  2. * Copyright (c) 2014 Contributors
  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.ajc187;
  12. import java.io.File;
  13. import org.aspectj.testing.XMLBasedAjcTestCase;
  14. import junit.framework.Test;
  15. /**
  16. * @author Andy Clement
  17. */
  18. public class Ajc187Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. public void testCompileError_476245() throws Exception {
  20. runTest("compile error");
  21. }
  22. public void testMissingJoinpoint_307147() throws Exception {
  23. runTest("missing joinpoint");
  24. }
  25. public void testMissingJoinpoint_307147_2() throws Exception {
  26. runTest("missing joinpoint 2");
  27. }
  28. public void testInfiniteLoop_475152() throws Exception {
  29. runTest("infinite loop");
  30. }
  31. public void testAnnoConversion_474165() throws Exception {
  32. runTest("anno conversion");
  33. }
  34. public void testLambda_470633() throws Exception {
  35. runTest("lambda");
  36. }
  37. // public void testBrokenJava_469889() throws Exception {
  38. // runTest("broken java");
  39. // }
  40. // ---
  41. public static Test suite() {
  42. return XMLBasedAjcTestCase.loadSuite(Ajc187Tests.class);
  43. }
  44. @Override
  45. protected File getSpecFile() {
  46. return getClassResource("ajc187.xml");
  47. }
  48. }