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ů.

LTWTests.java 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*******************************************************************************
  2. * Copyright (c) 2005 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Matthew Webster initial implementation
  11. *******************************************************************************/
  12. package org.aspectj.systemtest.ajc150.ltw;
  13. import java.io.File;
  14. import junit.framework.Test;
  15. import org.aspectj.testing.XMLBasedAjcTestCase;
  16. public class LTWTests extends org.aspectj.testing.XMLBasedAjcTestCase {
  17. public static Test suite() {
  18. return XMLBasedAjcTestCase.loadSuite(LTWTests.class);
  19. }
  20. protected File getSpecFile() {
  21. return new File("../tests/src/org/aspectj/systemtest/ajc150/ltw/ltw.xml");
  22. }
  23. public void test001(){
  24. runTest("Ensure 1st aspect is rewoven when weaving 2nd aspect");
  25. }
  26. public void testOutxmlFile (){
  27. runTest("Ensure valid aop.xml file is generated");
  28. }
  29. public void testOutxmlJar (){
  30. runTest("Ensure valid aop.xml is generated for -outjar");
  31. }
  32. }