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.

AjdocTests.java 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. * Wes Isberg initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.tools.ajdoc;
  13. import java.io.File;
  14. import org.aspectj.util.FileUtil;
  15. import junit.framework.Test;
  16. import junit.framework.TestCase;
  17. import junit.framework.TestSuite;
  18. public class AjdocTests {//extends TestCase {
  19. public static File ASPECTJRT_PATH;
  20. static {
  21. String[] paths = { "sp:aspectjrt.path", "sp:aspectjrt.jar",
  22. "../lib/test/aspectjrt.jar", "../aj-build/jars/aspectj5rt-all.jar",
  23. "../aj-build/jars/runtime.jar",
  24. "../runtime/bin"};
  25. ASPECTJRT_PATH = FileUtil.getBestFile(paths);
  26. }
  27. //
  28. // public static Test suite() {
  29. // TestSuite suite = new TestSuite(AjdocTests.class.getName());
  30. // //$JUnit-BEGIN$
  31. // suite.addTestSuite(DeclareFormsTest.class);
  32. // suite.addTestSuite(SpacewarTestCase.class);
  33. // suite.addTestSuite(PatternsTestCase.class);
  34. // suite.addTestSuite(CoverageTestCase.class);
  35. // suite.addTestSuite(ITDTest.class);
  36. // suite.addTestSuite(FullyQualifiedArgumentTest.class);
  37. // suite.addTestSuite(EnumTest.class);
  38. // suite.addTestSuite(PointcutVisibilityTest.class);
  39. // suite.addTestSuite(ExecutionTestCase.class);
  40. // suite.addTestSuite(BugTest.class);
  41. // //$JUnit-END$
  42. // return suite;
  43. // }
  44. }