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.

Ajc195Tests.java 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*******************************************************************************
  2. * Copyright (c) 2019 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. package org.aspectj.systemtest.ajc195;
  9. import org.aspectj.testing.XMLBasedAjcTestCase;
  10. import junit.framework.Test;
  11. /**
  12. * @author Andy Clement
  13. */
  14. public class Ajc195Tests extends XMLBasedAjcTestCase {
  15. public void testAvoidWeavingSwitchInfrastructure() {
  16. runTest("avoid weaving switch infrastructure");
  17. }
  18. public void testFinallyBlocksAndUnlinkingAndExceptions() {
  19. runTest("around finally blocks and unlinking");
  20. }
  21. // ---
  22. public static Test suite() {
  23. return XMLBasedAjcTestCase.loadSuite(Ajc195Tests.class);
  24. }
  25. @Override
  26. protected java.net.URL getSpecFile() {
  27. return getClassResource("ajc195.xml");
  28. }
  29. }