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.

PureJavaTests.java 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992
  1. /* *******************************************************************
  2. * Copyright (c) 2004 IBM Corporation
  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. * ******************************************************************/
  10. package org.aspectj.systemtest.purejava;
  11. import java.io.File;
  12. import junit.framework.Test;
  13. import org.aspectj.testing.XMLBasedAjcTestCase;
  14. public class PureJavaTests extends org.aspectj.testing.XMLBasedAjcTestCase {
  15. public static Test suite() {
  16. return XMLBasedAjcTestCase.loadSuite(PureJavaTests.class);
  17. }
  18. protected File getSpecFile() {
  19. return new File("../tests/src/org/aspectj/systemtest/pureJava/pureJava.xml");
  20. }
  21. public void test001(){
  22. runTest("unicodes and literals");
  23. }
  24. public void test002(){
  25. runTest("For Statement");
  26. }
  27. public void test003(){
  28. runTest("correct super call lookup for method().name()");
  29. }
  30. public void test004(){
  31. runTest("combined logic expression (handling coericions vs. parens)");
  32. }
  33. public void test005(){
  34. runTest("comment after class closes (with no new line at end)");
  35. }
  36. public void test006(){
  37. runTest("multi-dimensional array initializers");
  38. }
  39. public void test007(){
  40. runTest("probelm with the generated names of exceptions");
  41. }
  42. public void test008(){
  43. runTest("checks if the class field can be used on all of the primitive types");
  44. }
  45. public void test009(){
  46. runTest("Doesn't parse an array-returning method that throws an exception");
  47. }
  48. public void test010(){
  49. runTest("check that nested constructions of local classes work");
  50. }
  51. public void test011(){
  52. runTest("Make sure anonymous classes can have non-nullary constructors");
  53. }
  54. public void test012(){
  55. runTest("Full names are dropped from inner interfaces");
  56. }
  57. public void test013(){
  58. runTest("Making sure full names stay on static inner classes");
  59. }
  60. public void test014(){
  61. runTest("Not binding constructor when using more than one compilation");
  62. }
  63. public void test015(){
  64. runTest("return;;; is not really legal");
  65. }
  66. public void test016(){
  67. runTest("ajc treating Throwable as checked, issuing error if not found");
  68. }
  69. public void test017(){
  70. runTest("package protected classes becoming public");
  71. }
  72. public void test018(){
  73. runTest("IOException on windows if nul used as identifier");
  74. }
  75. public void test019(){
  76. runTest("NullPointerException (not compiler error) when extending non-static inner class");
  77. }
  78. public void test020(){
  79. runTest("compiler flags final static variable as indefinite in member assignment.");
  80. }
  81. public void test021(){
  82. runTest("confirm no IOException on windows if nul used as identifier");
  83. }
  84. public void test022(){
  85. runTest("final constructor parameter causes incorrect compiler error");
  86. }
  87. public void test023(){
  88. runTest("Error expected for field of type void");
  89. }
  90. public void test024(){
  91. runTest("Error expected for constructor in interfaces");
  92. }
  93. public void test025(){
  94. runTest("class name for identifier as String should provoke error");
  95. }
  96. public void test026(){
  97. runTest("cyclic interface inheritance not detected if no classes implement the interfaces");
  98. }
  99. public void test027(){
  100. runTest("cyclic class inheritance");
  101. }
  102. public void test028(){
  103. runTest("type and package name conflicts are resolved happily (1a)");
  104. }
  105. public void test029(){
  106. runTest("(fails in USEJAVAC) type and package name conflicts are resolved happily (1b)");
  107. }
  108. public void test030(){
  109. runTest("type and package name conflicts caught as errors (1)");
  110. }
  111. public void test031(){
  112. runTest("flow analysis where final variable set in another constructor");
  113. }
  114. public void test032(){
  115. runTest("Can construct inner classes using qualified expressions");
  116. }
  117. public void test033(){
  118. runTest("subclass unable to access protected static methods using type-qualified references");
  119. }
  120. public void test034(){
  121. runTest("Undefined inner class constructor");
  122. }
  123. public void test035(){
  124. runTest("classes that are package prefixes are illegal");
  125. }
  126. public void test036(){
  127. runTest("valid type expressions for introduced type testing");
  128. }
  129. public void test037(){
  130. runTest("PR591 compiler error expected when directly calling unimplemented abstract method using super");
  131. }
  132. public void test038(){
  133. runTest("suggested by Jacks 15.28-qualified-namestr tests");
  134. }
  135. public void test039(){
  136. runTest("suggested by jacks 3.7-15 all comments must be closed");
  137. }
  138. public void test040(){
  139. runTest("package class access not enforced outside of package");
  140. }
  141. public void test041(){
  142. runTest("expecting CE for ambiguous reference");
  143. }
  144. public void test042(){
  145. runTest("try without catch or finally");
  146. }
  147. public void test043(){
  148. runTest("invalid floating-point constant");
  149. }
  150. public void test044(){
  151. runTest("concrete aspect unable to access abstract package-private method in parent for overriding");
  152. }
  153. public void test045(){
  154. runTest("super reference used to disambiguate names of different but compatible types");
  155. }
  156. public void test046(){
  157. runTest("anonymous explicit inner constructors");
  158. }
  159. public void test047(){
  160. runTest("Overruning the lineStarts buffer, DO NOT EDIT THIS FILE!!!!");
  161. }
  162. public void test048(){
  163. runTest("no CE for unambiguous type reference");
  164. }
  165. public void test049(){
  166. runTest("CE for ambiguous type reference (imports)");
  167. }
  168. public void test050(){
  169. runTest("CE for ambiguous type reference (two type declarations)");
  170. }
  171. public void test051(){
  172. runTest("CE for ambiguous type reference (two inner types)");
  173. }
  174. public void test052(){
  175. runTest("final assignment in loop");
  176. }
  177. public void test053(){
  178. runTest("private super access in inners");
  179. }
  180. public void test054(){
  181. runTest("nested interface does not require new qualifier (8)");
  182. }
  183. public void test055(){
  184. runTest("nested interface does not require new qualifier (9)");
  185. }
  186. public void test056(){
  187. runTest("nested interface does not require new qualifier (10)");
  188. }
  189. public void test057(){
  190. runTest("nested interface does not require new qualifier (14)");
  191. }
  192. public void test058(){
  193. runTest("nested interface does not require new qualifier (15)");
  194. }
  195. public void test059(){
  196. runTest("nested interface does not require new qualifier (16)");
  197. }
  198. public void test060(){
  199. runTest("check that constructor name's match the enclosing type");
  200. }
  201. public void test061(){
  202. runTest("errors for not applicable or accessible methods");
  203. }
  204. public void test062(){
  205. runTest("import statement within class body crashes compiler");
  206. }
  207. public void test063(){
  208. runTest("Accessing instance fields and instance methods statically.");
  209. }
  210. public void test064(){
  211. runTest("Crashes when a cast is within another cast");
  212. }
  213. public void test065(){
  214. runTest("Crashes when a cast of the form )int) appears");
  215. }
  216. public void test066(){
  217. runTest("Crashes when the closing brace is reversed");
  218. }
  219. public void test067(){
  220. runTest("Crashes when a method name is missing in a call -- e.g. 'System.out.();'");
  221. }
  222. public void test068(){
  223. runTest("Crashes when a bad r-value appears.");
  224. }
  225. public void test069(){
  226. runTest("Two underscores as a variables causes a crash");
  227. }
  228. public void test070(){
  229. runTest("Crashes when assigning to a final static in an intializer and declaration");
  230. }
  231. public void test071(){
  232. runTest("Crashes when two dots appear instead of one");
  233. }
  234. public void test072(){
  235. runTest("Crashes when there're stray dots");
  236. }
  237. public void test073(){
  238. runTest("Stray characters cause a crash");
  239. }
  240. public void test074(){
  241. runTest("Colon instead of a semi-colon causes a crash");
  242. }
  243. public void test075(){
  244. runTest("type error in initializer caught by ajc, not javac");
  245. }
  246. public void test076(){
  247. runTest("Circular inheritance with classes causes a stack overflow.");
  248. }
  249. public void test077(){
  250. runTest("Missing ;");
  251. }
  252. public void test078(){
  253. runTest("cast expressions should not allow casts between ifaces and array types");
  254. }
  255. public void test079(){
  256. runTest("parsing errors for various bad forms of NewArrayExprs.");
  257. }
  258. public void test080(){
  259. runTest("good error for bad field and inner class references");
  260. }
  261. public void test081(){
  262. runTest("Implementing a non-interface used to crash the compiler.");
  263. }
  264. public void test082(){
  265. runTest("error of no return statement detected not by ajc but by javac (line 4)");
  266. }
  267. public void test083(){
  268. runTest("class and interface extension");
  269. }
  270. public void test084(){
  271. runTest("types in throws clauses");
  272. }
  273. public void test085(){
  274. runTest("bad switch syntax");
  275. }
  276. public void test086(){
  277. runTest("Referencing various things from static contexts");
  278. }
  279. public void test087(){
  280. runTest("Some expressions are illegal expression statements");
  281. }
  282. public void test088(){
  283. runTest("illegal forward reference");
  284. }
  285. public void test089(){
  286. runTest("protected accessibility");
  287. }
  288. public void test090(){
  289. runTest("parse-time illegal modifiers");
  290. }
  291. public void test091(){
  292. runTest("check-time illegal modifiers");
  293. }
  294. public void test092(){
  295. runTest("illegal synchronized stmts");
  296. }
  297. public void test093(){
  298. runTest("modifiers on interface members");
  299. }
  300. public void test094(){
  301. runTest("good errors (and not too many) for missing members");
  302. }
  303. public void test095(){
  304. runTest("expecting compile failures with subclass narrowing scope of superclass methods or accessing private superclass variables");
  305. }
  306. public void test096(){
  307. runTest("inner classes may not have static non-constant members");
  308. }
  309. public void test097(){
  310. runTest("flow analysis with local types");
  311. }
  312. public void test098(){
  313. runTest("PR584 Can construct inner classes using qualified expressions");
  314. }
  315. public void test099(){
  316. runTest("incrementing objects, arrays - 2");
  317. }
  318. public void test100(){
  319. runTest("incrementing objects, arrays CE");
  320. }
  321. public void test101(){
  322. runTest("incrementing objects, arrays - 3");
  323. }
  324. public void test102(){
  325. runTest("incrementing objects, arrays");
  326. }
  327. public void test103(){
  328. runTest("no circularity errors simply because of inners (1)");
  329. }
  330. public void test104(){
  331. runTest("no circularity errors simply because of inners (2)");
  332. }
  333. public void test105(){
  334. runTest("should have circular inheritance errors (1)");
  335. }
  336. public void test106(){
  337. runTest("should have circular inheritance errors (2)");
  338. }
  339. public void test107(){
  340. runTest("interface using preceding subinterface in its definition");
  341. }
  342. public void test108(){
  343. runTest("Parent interface using public inner interface of child in same file");
  344. }
  345. public void test109(){
  346. runTest("a type is not allowed to extend or implement its own innner type");
  347. }
  348. public void test110(){
  349. runTest("try requires block JLS 14.19");
  350. }
  351. public void test111(){
  352. runTest("loop expressions not declarations");
  353. }
  354. public void test112(){
  355. runTest("no error when public class is in file of a different name");
  356. }
  357. public void test113(){
  358. runTest("local variables must be final to be accessed from inner class");
  359. }
  360. public void test114(){
  361. runTest("final local variables may be accessed from inner class");
  362. }
  363. public void test115(){
  364. runTest("missing package identifier");
  365. }
  366. public void test116(){
  367. runTest("CE for ambiguous type reference (two files in package)");
  368. }
  369. public void test117(){
  370. runTest("initializer can throw so long as all constructors declare so");
  371. }
  372. public void test118(){
  373. runTest("interfaces may not contain initializers (bug found by jacks)");
  374. }
  375. public void test119(){
  376. runTest("initializers must be able to complete normally (found by jacks)");
  377. }
  378. public void test120(){
  379. runTest("more tests of super alone");
  380. }
  381. public void test121(){
  382. runTest("subclass access to enclosing super class private members");
  383. }
  384. public void test122(){
  385. runTest("various tests of switch bounds");
  386. }
  387. public void test123(){
  388. runTest("VerifyError if nested sync returning result");
  389. }
  390. public void test124(){
  391. runTest("assert flow");
  392. }
  393. public void test125(){
  394. runTest("assert flow - 2");
  395. }
  396. public void test126(){
  397. runTest("assert typing");
  398. }
  399. public void test127(){
  400. runTest("assert coverage tests [requires 1.4]");
  401. }
  402. public void test128(){
  403. runTest("assert coverage tests in one package [requires 1.4]");
  404. }
  405. public void test129(){
  406. runTest("compiling asserts in methods");
  407. }
  408. public void test130(){
  409. runTest("import of a class in the default package");
  410. }
  411. public void test131(){
  412. runTest("Referencing static interfaces with import statements");
  413. }
  414. public void test132(){
  415. runTest("Referencing static interfaces with import statements stars");
  416. }
  417. public void test133(){
  418. runTest("Referencing static interfaces with import statements stars 2");
  419. }
  420. public void test134(){
  421. runTest("Referencing static interfaces with import statements stars 3");
  422. }
  423. public void test135(){
  424. runTest("Referencing interfaces with import statements");
  425. }
  426. public void test136(){
  427. runTest("Referencing interfaces with import statements stars");
  428. }
  429. public void test137(){
  430. runTest("Referencing interfaces with import statements stars 2");
  431. }
  432. public void test138(){
  433. runTest("Referencing interfaces with import statements stars 3");
  434. }
  435. public void test139(){
  436. runTest("import any inner from interface implementor");
  437. }
  438. public void test140(){
  439. runTest("equals method on quoted strings");
  440. }
  441. public void test141(){
  442. runTest("anonymous inner class");
  443. }
  444. public void test142(){
  445. runTest("parsing of parenthesized 'this' (in returns)");
  446. }
  447. public void test143(){
  448. runTest("Strings are folded and interned correctly");
  449. }
  450. public void test144(){
  451. runTest("Cast binds tighter than equality tests");
  452. }
  453. public void test145(){
  454. runTest("Boundary base values can be parsed");
  455. }
  456. public void test146(){
  457. runTest("State is passed correctly across nested annonymous inners");
  458. }
  459. public void test147(){
  460. runTest("?: expressions should typecheck in interesting ways");
  461. }
  462. public void test148(){
  463. runTest("cast expressions should allow casts to/from interfaces at compile-time.");
  464. }
  465. public void test149(){
  466. runTest("various anonymous inner classes plus super types tests");
  467. }
  468. public void test150(){
  469. runTest("Various comment syntaxes should be handled.");
  470. }
  471. public void test151(){
  472. runTest("Abstract inner classes across package boundaries");
  473. }
  474. public void test152(){
  475. runTest("inner classes accessing outers and some more inner class names");
  476. }
  477. public void test153(){
  478. runTest("remember to cast folded values down to the proper types.");
  479. }
  480. public void test154(){
  481. runTest("inner classes can be built using protected constructors in super");
  482. }
  483. public void test155(){
  484. runTest("The current AspectJ compiler cannot parse qualified superclass constructor invocations");
  485. }
  486. public void test156(){
  487. runTest("More thourough test of static members using full names");
  488. }
  489. public void test157(){
  490. runTest("More thourough test of static members using imports");
  491. }
  492. public void test158(){
  493. runTest("Looking in class Java for java.lang.String WITH separate compilation");
  494. }
  495. public void test159(){
  496. runTest("Looking in class Java for java.lang.String WITHOUT separate compilation");
  497. }
  498. public void test160(){
  499. runTest("Looking in class Java for java.lang.String WITH separate compilation with packages");
  500. }
  501. public void test161(){
  502. runTest("Looking in class Java for java.lang.String WITHOUT separate compilation with packages");
  503. }
  504. public void test162(){
  505. runTest("Testing ternary operations.");
  506. }
  507. public void test163(){
  508. runTest("Lifting locals in switch statements.");
  509. }
  510. public void test164(){
  511. runTest("Getting confused when looking up method signatures");
  512. }
  513. public void test165(){
  514. runTest("Not recognizing the chars '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7'");
  515. }
  516. public void test166(){
  517. runTest("Test chars '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7' with a case statement");
  518. }
  519. public void test167(){
  520. runTest("Checking character values with all the unicode chars.");
  521. }
  522. public void test168(){
  523. runTest("Trouble finding methods with the same name and different parameter types");
  524. }
  525. public void test169(){
  526. runTest("Binding non-public static inner classes of interfaces in other packages");
  527. }
  528. public void test170(){
  529. runTest("Not recognizing the octal chars '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7'");
  530. }
  531. public void test171(){
  532. runTest("Members with the same name as their package cause confusion with fully-qualified names.");
  533. }
  534. public void test172(){
  535. runTest("Fully-qual'ed names with same start as variable names");
  536. }
  537. public void test173(){
  538. runTest("Fully qualifying inner classes within annonymous classes causes problems.");
  539. }
  540. public void test174(){
  541. runTest("Calls to methods in outer annonymous classes are being qual's incorrectly with 'this'");
  542. }
  543. public void test175(){
  544. runTest("Reading inner classes from source and bytecode (1) -- was failing");
  545. }
  546. public void test176(){
  547. runTest("Reading inner classes from source and bytecode (2)");
  548. }
  549. public void test177(){
  550. runTest("Reading inner classes from source and bytecode (3)");
  551. }
  552. public void test178(){
  553. runTest("Not lifting types correctly with bytes and shorts with ternary ops");
  554. }
  555. public void test179(){
  556. runTest("Not looking up methods inside of anonymous declarations correctly.");
  557. }
  558. public void test180(){
  559. runTest("Resolving extended classes with array parameters");
  560. }
  561. public void test181(){
  562. runTest("Assignments as second arguments in ternary operators.");
  563. }
  564. public void test182(){
  565. runTest("Conflicting inner classes with interfaces.");
  566. }
  567. public void test183(){
  568. runTest("confusions of casts and parens");
  569. }
  570. public void test184(){
  571. runTest("default constructors seen by inner classes subtyping outers");
  572. }
  573. public void test185(){
  574. runTest("folding fields set to anonymous instances containing self-references");
  575. }
  576. public void test186(){
  577. runTest("finally at the end of a method that needs to return");
  578. }
  579. public void test187(){
  580. runTest("overriding methods from object in interfaces and multiple-inheritance");
  581. }
  582. public void test188(){
  583. runTest("private fields in an outer class accessed by an inner which also extends the outer");
  584. }
  585. public void test189(){
  586. runTest("breaking out of a labeled block inside of an if");
  587. }
  588. public void test190(){
  589. runTest("abstractifying a method and getting it back through super");
  590. }
  591. public void test191(){
  592. runTest("Packages and static classes with the same name produce compile errors.");
  593. }
  594. public void test192(){
  595. runTest("Inner types must generate classfiles with only Public/Default access flags.");
  596. }
  597. public void test193(){
  598. runTest("Default constructors have same access as their enclosing type");
  599. }
  600. public void test194(){
  601. runTest("Returning primitive values matching method return type (minimal)");
  602. }
  603. public void test195(){
  604. runTest("Flow analysis and if(true)");
  605. }
  606. public void test196(){
  607. runTest("packages and generated inner types (for I.class)");
  608. }
  609. public void test197(){
  610. runTest("A.this exprs match by exact type matching");
  611. }
  612. public void test198(){
  613. runTest("Implicit this for new inner instance must be avaliable");
  614. }
  615. public void test199(){
  616. runTest("Inners can reference protected fields of their outer's super.");
  617. }
  618. public void test200(){
  619. runTest("Primitives that special case for a constant arm should work");
  620. }
  621. public void test201(){
  622. runTest("Parenthesized true and false don't parse");
  623. }
  624. public void test202(){
  625. runTest("Field sets to public fields of private fields of enclosing types");
  626. }
  627. public void test203(){
  628. runTest("Constant values should be stored with the correct type of their fields");
  629. }
  630. public void test204(){
  631. runTest("Local variables in initializers should not be treated as blank final fields");
  632. }
  633. public void test205(){
  634. runTest("Binops aren't allowed as update stmts in for loops");
  635. }
  636. public void test206(){
  637. runTest("Can't avoid doing division in case of div by zero");
  638. }
  639. public void test207(){
  640. runTest("Testing frames w/greater than FF locals and 7F incs (i.e., WIDE instruction)");
  641. }
  642. public void test208(){
  643. runTest("correct numeric literals");
  644. }
  645. public void test209(){
  646. runTest("invalid numeric literals");
  647. }
  648. public void test210(){
  649. runTest("inner types can't have the same simple name as an enclosing type");
  650. }
  651. public void test211(){
  652. runTest("test the unops and binops with various values");
  653. }
  654. public void test212(){
  655. runTest("test + and += for strings and variously typed values");
  656. }
  657. public void test213(){
  658. runTest("test try/catch/finally statements");
  659. }
  660. public void test214(){
  661. runTest("local types can be bound in the signatures of other local types");
  662. }
  663. public void test215(){
  664. runTest("type and package name conflicts are resolved happily (2)");
  665. }
  666. public void test216(){
  667. runTest("try statements work sorta like scoped items for exception flow control");
  668. }
  669. public void test217(){
  670. runTest("qualified this must work exactly, not based on subtypes");
  671. }
  672. public void test218(){
  673. runTest("nested finally blocks have interesting frame location problems");
  674. }
  675. public void test219(){
  676. runTest("nested synchronized blocks have interesting frame location problems");
  677. }
  678. public void test220(){
  679. runTest("anonymous inner classes with inner types");
  680. }
  681. public void test221(){
  682. runTest("qualified super call expr");
  683. }
  684. public void test222(){
  685. runTest("interfaces with non-explicitly static inner classes");
  686. }
  687. public void test223(){
  688. runTest("Operands work correctly");
  689. }
  690. public void test224(){
  691. runTest("simple tests of throws and for stmt typing");
  692. }
  693. public void test225(){
  694. runTest("test for not folding circular constants");
  695. }
  696. public void test226(){
  697. runTest("continue targets must be continuable");
  698. }
  699. public void test227(){
  700. runTest("qualified this to non-inner should be caught");
  701. }
  702. public void test228(){
  703. runTest("Cannot bind a name.");
  704. }
  705. public void test229(){
  706. runTest("interface declaration not permitted in local method scope");
  707. }
  708. public void test230(){
  709. runTest("Locals inside other locals, ordering of processing [eh]");
  710. }
  711. public void test231(){
  712. runTest("asserts");
  713. }
  714. public void test232(){
  715. runTest("non-constant static final fields marked as final in .class");
  716. }
  717. public void test233(){
  718. runTest("handle multiple nested inner classes");
  719. }
  720. public void test234(){
  721. runTest("advice on a static method");
  722. }
  723. public void test235(){
  724. runTest("inner constructor syntax causes compile error");
  725. }
  726. public void test236(){
  727. runTest("widening of method parameters to match javac");
  728. }
  729. public void test237(){
  730. runTest("parenthesized string literals matching primitive type names");
  731. }
  732. public void test238(){
  733. runTest("simple type coercions tests");
  734. }
  735. public void test239(){
  736. runTest("order of type declarations shouldn't matter");
  737. }
  738. public void test240(){
  739. runTest("Scanner non recognizing strictfp.");
  740. }
  741. public void test241(){
  742. runTest("Crashes when a lot of zeros are in front of a double variable [!!! purejava]");
  743. }
  744. }