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

LoadtimeModuleTests.java 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package org.aspectj.loadtime;
  2. /*******************************************************************************
  3. * Copyright (c) 2005 Contributors.
  4. * All rights reserved.
  5. * This program and the accompanying materials are made available
  6. * under the terms of the Eclipse Public License v1.0
  7. * which accompanies this distribution and is available at
  8. * http://eclipse.org/legal/epl-v10.html
  9. *
  10. * Contributors:
  11. * Alexandre Vasseur initial implementation
  12. *******************************************************************************/
  13. import junit.framework.Test;
  14. import junit.framework.TestCase;
  15. import junit.framework.TestSuite;
  16. import junit.textui.TestRunner;
  17. import org.aspectj.weaver.loadtime.AjTest;
  18. import org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptorTest;
  19. import org.aspectj.weaver.loadtime.WeavingContextTest;
  20. import org.aspectj.weaver.loadtime.WeavingURLClassLoaderTest;
  21. import org.aspectj.weaver.loadtime.test.DocumentParserTest;
  22. /**
  23. * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
  24. */
  25. public class LoadtimeModuleTests extends TestCase {
  26. public static Test suite() {
  27. TestSuite suite = new TestSuite(LoadtimeModuleTests.class.getName());
  28. suite.addTestSuite(DocumentParserTest.class);
  29. suite.addTestSuite(AjTest.class);
  30. suite.addTestSuite(ClassLoaderWeavingAdaptorTest.class);
  31. // suite.addTestSuite(JRockitAgentTest.class);
  32. suite.addTestSuite(WeavingContextTest.class);
  33. suite.addTestSuite(WeavingURLClassLoaderTest.class);
  34. return suite;
  35. }
  36. public static void main(String args[]) throws Throwable {
  37. TestRunner.run(suite());
  38. }
  39. }