Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Ajc170Tests.java 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*******************************************************************************
  2. * Copyright (c) 2008 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.ajc170;
  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 Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. public void testSanity1() {
  20. runTest("sanity 1");
  21. }
  22. public void testMissingImpl_363979() {
  23. runTest("missing impl");
  24. }
  25. public void testMissingImpl_363979_2() {
  26. runTest("missing impl 2");
  27. }
  28. public void testStackOverflow_364380() {
  29. runTest("stackoverflow");
  30. }
  31. // ---
  32. public static Test suite() {
  33. return XMLBasedAjcTestCase.loadSuite(Ajc170Tests.class);
  34. }
  35. @Override
  36. protected File getSpecFile() {
  37. return new File("../tests/src/org/aspectj/systemtest/ajc170/ajc170.xml");
  38. }
  39. }