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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 java.lang.reflect.Method;
  14. import java.net.URL;
  15. import java.net.URLClassLoader;
  16. import junit.framework.Test;
  17. import org.aspectj.testing.XMLBasedAjcTestCase;
  18. /**
  19. * @author Andy Clement
  20. */
  21. public class Ajc187Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  22. public void testAnnoConversion_474165() throws Exception {
  23. runTest("anno conversion");
  24. }
  25. public void testLambda_470633() throws Exception {
  26. runTest("lambda");
  27. }
  28. // public void testBrokenJava_469889() throws Exception {
  29. // runTest("broken java");
  30. // }
  31. // ---
  32. public static Test suite() {
  33. return XMLBasedAjcTestCase.loadSuite(Ajc187Tests.class);
  34. }
  35. @Override
  36. protected File getSpecFile() {
  37. return getClassResource("ajc187.xml");
  38. }
  39. }