Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Ajc180Tests.java 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*******************************************************************************
  2. * Copyright (c) 2013-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.ajc180;
  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 Ajc180Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. public void testPercflowLtw_432178() {
  20. runTest("percflow ltw");
  21. }
  22. public void testStackmapframe_431976() {
  23. runTest("stackmapframe");
  24. }
  25. public void testThisJoinPointNotInitialized_431976() {
  26. runTest("thisJoinPoint not initialized");
  27. }
  28. public void testNullAnnotationMatching_431541() {
  29. runTest("NullAnnotationMatching exception");
  30. }
  31. public void testAnnosWith18Flags_415957() {
  32. runTest("annotations with 1.8 flags");
  33. }
  34. public void testJava8Code() throws Exception {
  35. runTest("first advised java 8 code");
  36. }
  37. // ---
  38. public static Test suite() {
  39. return XMLBasedAjcTestCase.loadSuite(Ajc180Tests.class);
  40. }
  41. @Override
  42. protected java.net.URL getSpecFile() {
  43. return getClassResource("ajc180.xml");
  44. }
  45. }