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.

Ajc188Tests.java 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*******************************************************************************
  2. * Copyright (c) 2015 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.ajc188;
  12. import java.io.File;
  13. import junit.framework.Test;
  14. import org.aspectj.testing.XMLBasedAjcTestCase;
  15. /**
  16. * @author Andy Clement
  17. */
  18. public class Ajc188Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. public void testAnnotationDiscoveryNpe() throws Exception {
  20. runTest("annotation discovery npe");
  21. }
  22. public void testDefaultMethodsWithXnoInline() throws Exception {
  23. runTest("default methods 1");
  24. }
  25. public void testDefaultMethodsWithoutXnoInline() throws Exception {
  26. runTest("default methods 2");
  27. }
  28. public void testCompileError_478003() throws Exception {
  29. runTest("compile error");
  30. }
  31. // ---
  32. public static Test suite() {
  33. return XMLBasedAjcTestCase.loadSuite(Ajc188Tests.class);
  34. }
  35. @Override
  36. protected File getSpecFile() {
  37. return getClassResource("ajc188.xml");
  38. }
  39. }