Patrick Thomson
c623d2906b
Assignment error in Java try/catch blocks ( #235 )
...
As @tclem pointed out, the TryStatement token was being consumed too
early. We also ran into errors within the `catches` clause where we
required a block but were asking for an expression.
2019-09-06 12:23:55 -04:00
Rob Rix
05d2683012
Merge branch 'master' into test-java-assignment-part-2
2018-07-26 09:23:09 -04:00
Ayman Nadeem
8fdab3f08e
test class literal
2018-07-24 18:31:09 -04:00
Ayman Nadeem
c07120fcca
add wildcard
2018-07-24 18:24:50 -04:00
Ayman Nadeem
41e5165195
test while
2018-07-24 18:23:08 -04:00
Ayman Nadeem
7a7c9ba222
test variable declaration
2018-07-24 18:20:57 -04:00
Ayman Nadeem
632bf50506
test update expression
2018-07-24 18:18:59 -04:00
Ayman Nadeem
cc2cf50b98
test throws, trycatches and type argument
2018-07-24 18:17:42 -04:00
Ayman Nadeem
448999e68d
test try with resources statement
2018-07-24 18:12:47 -04:00
Ayman Nadeem
9fc621c9f4
test switch statement
2018-07-24 17:54:43 -04:00
Ayman Nadeem
794dbf82d4
test strings
2018-07-24 17:51:32 -04:00
Ayman Nadeem
562beec816
test spread parameter
2018-07-24 17:47:52 -04:00
Ayman Nadeem
32d6af0e9d
test scoped identifiers
2018-07-24 17:45:09 -04:00
Ayman Nadeem
6e82ab5410
llama expression
2018-07-24 17:31:50 -04:00
Ayman Nadeem
f524368c0b
interface declaration tests
2018-07-24 17:06:07 -04:00
Ayman Nadeem
533b72930b
test integers
2018-07-24 17:01:12 -04:00
Ayman Nadeem
9d2e734a77
Import statement
2018-07-24 16:56:38 -04:00
Ayman Nadeem
2e3755fdd8
test if statements
2018-07-24 16:53:08 -04:00
Ayman Nadeem
7d4ff71cff
test For loop
2018-07-24 16:51:48 -04:00
Ayman Nadeem
c5e5f0b97f
test float
2018-07-24 15:29:54 -04:00
Ayman Nadeem
a905e30e47
test field access
2018-07-24 12:53:35 -04:00
Ayman Nadeem
876ab5d11d
test EnumDeclaration
2018-07-24 12:43:13 -04:00
Ayman Nadeem
c0c2e2033b
test DoWhile
2018-07-24 12:42:44 -04:00
Ayman Nadeem
465a66ceca
test dims
2018-07-24 12:04:09 -04:00
Ayman Nadeem
31f44bdee6
test continue statement
2018-07-24 11:57:51 -04:00
Ayman Nadeem
5a98bb68a5
test array access
2018-07-23 18:36:46 -04:00
Ayman Nadeem
6237546e10
test AssertStatement
2018-07-23 18:36:37 -04:00
Ayman Nadeem
5aabbddb8f
test binary expressions
2018-07-23 18:36:27 -04:00
Ayman Nadeem
52f0457979
test boolean
2018-07-23 18:36:10 -04:00
Ayman Nadeem
55dac7c93d
test char
2018-07-23 18:35:52 -04:00
Ayman Nadeem
d18c4a0d1c
classBody
2018-07-23 18:35:42 -04:00
Ayman Nadeem
e212840918
add comment tests
2018-07-23 18:32:13 -04:00
Ayman Nadeem
f09f2ce26a
add tests for normalInterfaceDeclaration and assertStatements in stringLiteral
2018-07-23 09:26:02 -04:00
Ayman Nadeem
01c5872a54
assertStatement fixture
2018-07-18 15:39:17 -04:00
Ayman Nadeem
3d61ea9368
add test fixtures
2018-07-17 15:51:24 -04:00
Ayman Nadeem
5329894a48
test lambda
2018-07-12 12:30:39 -04:00
Ayman Nadeem
290f5f0a6d
add memberAccess test
2018-06-27 17:26:58 -04:00
Ayman Nadeem
1fbe1ad77d
add scopedIdentifier test
2018-06-27 17:26:38 -04:00
Ayman Nadeem
2880d01e5b
type arg test
2018-06-27 17:26:12 -04:00
Ayman Nadeem
81ce713c20
methodReference test
2018-06-27 17:18:36 -04:00
Ayman Nadeem
89a6be151d
array access test
2018-06-06 11:31:22 -07:00
Ayman Nadeem
0913be8189
spread parameter test
2018-06-06 11:30:37 -07:00
Ayman Nadeem
4680c86cd4
wildcard + bounds test
2018-06-06 11:14:35 -07:00
Ayman Nadeem
e2f6b1eff1
add test for enum declaration with modifier
2018-06-06 11:09:15 -07:00
Ayman Nadeem
cf63da3cbf
add field access test
2018-06-06 11:06:16 -07:00
Ayman Nadeem
e9b5bdf7da
text fixtures
2018-06-01 14:09:56 -07:00
Ayman Nadeem
465dd0fcb4
move test fixtures to newly created corpus directory
2018-06-01 13:41:12 -07:00
Ayman Nadeem
f018922911
add tests
2018-04-27 15:50:39 -07:00