Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Ajc180Tests.java 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*******************************************************************************
  2. * Copyright (c) 2013 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 testAnnosWith18Flags_415957() {
  20. runTest("annotations with 1.8 flags");
  21. }
  22. public void testJava8Code() throws Exception {
  23. runTest("first advised java 8 code");
  24. }
  25. // ---
  26. public static Test suite() {
  27. return XMLBasedAjcTestCase.loadSuite(Ajc180Tests.class);
  28. }
  29. @Override
  30. protected File getSpecFile() {
  31. return new File("../tests/src/org/aspectj/systemtest/ajc180/ajc180.xml");
  32. }
  33. }