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.

Ajc1612Tests.java 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /*******************************************************************************
  2. * Copyright (c) 2008 Contributors
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available 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. * Andy Clement - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.systemtest.ajc1612;
  12. import java.io.File;
  13. import junit.framework.Test;
  14. import org.aspectj.testing.XMLBasedAjcTestCase;
  15. /**
  16. * @author Andy Clement
  17. */
  18. public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. // public void testAnnoCopying_345515() {
  20. // runTest("anno copying");
  21. // }
  22. public void testDuplicateMethods_349398() {
  23. runTest("duplicate methods");
  24. }
  25. public void testBindingInts_347684() {
  26. runTest("binding ints");
  27. }
  28. public void testBindingInts_347684_2() {
  29. runTest("binding ints - 2");
  30. }
  31. public void testBindingInts_347684_3() {
  32. runTest("binding ints - 3");
  33. }
  34. public void testBindingInts_347684_4() {
  35. runTest("binding ints - 4");
  36. }
  37. public void testBindingInts_347684_5() {
  38. runTest("binding ints - 5");
  39. }
  40. public void testBindingInts_347684_6() {
  41. runTest("binding ints - 6");
  42. }
  43. public void testIncorrectAnnos_345172() {
  44. runTest("incorrect annos");
  45. }
  46. public void testIncorrectAnnos_345172_2() {
  47. runTest("incorrect annos 2");
  48. }
  49. public void testIncorrectAnnos_345172_3() {
  50. runTest("incorrect annos 3");
  51. }
  52. public void testSyntheticMethods_327867() {
  53. runTest("synthetic methods");
  54. }
  55. // public void testSignedJarLtw_328099() {
  56. // runTest("signed jar ltw");
  57. // }
  58. public void testVerifyError_315398() {
  59. runTest("verifyerror");
  60. }
  61. public void testVerifyError_315398_2() {
  62. runTest("verifyerror - 2");
  63. }
  64. public void testRawTypePointcut_327134() {
  65. runTest("rawtype pointcut");
  66. }
  67. public void testRawTypeWarning_335810() {
  68. runTest("rawtype warning");
  69. }
  70. // public void testDecpGenerics_344005() {
  71. // runTest("decp generics");
  72. // }
  73. public void testIllegalAccessError_343051() {
  74. runTest("illegalaccesserror");
  75. }
  76. public void testItitNpe_339974() {
  77. runTest("itit npe");
  78. }
  79. // public void testNoImportError_342605() {
  80. // runTest("noimporterror");
  81. // }
  82. public void testClashingLocalTypes_342323() {
  83. runTest("clashing local types");
  84. }
  85. public void testITIT_338175() {
  86. runTest("itit");
  87. }
  88. public void testThrowsClause_292239() {
  89. runTest("throws clause");
  90. }
  91. public void testThrowsClause_292239_2() {
  92. runTest("throws clause - 2");
  93. }
  94. // ---
  95. public static Test suite() {
  96. return XMLBasedAjcTestCase.loadSuite(Ajc1612Tests.class);
  97. }
  98. @Override
  99. protected File getSpecFile() {
  100. return new File("../tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml");
  101. }
  102. }