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.

Test.java 683B

1234567891011121314151617181920212223242526
  1. /* Copyright (c) 2002 Contributors.
  2. *
  3. * This program and the accompanying materials are made available
  4. * 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. * PARC initial implementation
  10. */
  11. package org.aspectj.weaver.test;
  12. import junit.framework.TestCase;
  13. public class Test extends TestCase {
  14. public static void main(String[] args) {
  15. foo()
  16. .
  17. foo();
  18. }
  19. public static Test foo() {
  20. new Exception().printStackTrace();
  21. return new Test();
  22. }
  23. public void testNothingForAntJUnit() {}
  24. }