Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

JDKVersionTest.java 1007B

12345678910111213141516171819202122232425262728293031
  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://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Mik Kersten initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.tools.ajdoc;
  13. /**
  14. * @author Mik Kersten
  15. */
  16. public class JDKVersionTest extends AjdocTestCase {
  17. // public void testIsUsing1point4() {
  18. // String v = System.getProperty("java.class.version","44.0");
  19. // assertTrue(("49.0".compareTo(v) > 0) && ("48.0".compareTo(v) <= 0));
  20. // assertFalse(Util.isExecutingOnJava5());
  21. // }
  22. public void testNothing() {}
  23. // public void testIsUsing1point5() {
  24. // assertTrue(Util.isExecutingOnJava5());
  25. // }
  26. }