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.

AnnotationValueMatchingTests.java 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* *******************************************************************
  2. * Copyright (c) 2008 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. * Andy Clement
  11. * ******************************************************************/
  12. package org.aspectj.systemtest.ajc160;
  13. import org.aspectj.testing.XMLBasedAjcTestCase;
  14. import junit.framework.Test;
  15. /**
  16. * Parameter value matching
  17. *
  18. */
  19. public class AnnotationValueMatchingTests extends XMLBasedAjcTestCase {
  20. public void testParsing() { runTest("parsing"); }
  21. public void testBroken1() { runTest("broken - 1"); }
  22. public void testParsingAllAnnotationValueKinds() { runTest("allkinds"); }
  23. public void testSimpleCase() { runTest("simple"); }
  24. public void testReferencingEnums1() { runTest("enum references - 1"); }
  25. public void testReferencingEnums2() { runTest("enum references - 2"); }
  26. public void testReferencingEnums3() { runTest("enum references - 3"); }
  27. public void testIntValueMatching() { runTest("int value matching");}
  28. public void testFloatValueMatching() { runTest("float value matching");}
  29. public void testDoubleValueMatching() { runTest("double value matching");}
  30. public void testByteValueMatching() { runTest("byte value matching");}
  31. public void testLongValueMatching() { runTest("long value matching");}
  32. public void testBooleanValueMatching() { runTest("boolean value matching");}
  33. public void testShortValueMatching() { runTest("short value matching");}
  34. public void testCharValueMatching() { runTest("char value matching");}
  35. public void testStringValueMatching() { runTest("string value matching");}
  36. public void testExampleOne() { runTest("example one");}
  37. public void testError_InvalidValueTypes() { runTest("error case");}
  38. public void testErrorOne_NonExistingValue() { runTest("error - non existing value");}
  39. /////////////////////////////////////////
  40. public static Test suite() {
  41. return XMLBasedAjcTestCase.loadSuite(AnnotationValueMatchingTests.class);
  42. }
  43. protected java.net.URL getSpecFile() {
  44. return getClassResource("annotationValueMatching.xml");
  45. }
  46. }