mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
add test fixtures
This commit is contained in:
parent
f6dab65ac7
commit
3d61ea9368
5
test/fixtures/java/classLiteral.java
vendored
Normal file
5
test/fixtures/java/classLiteral.java
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
class Dino {
|
||||
void normalError() {
|
||||
error(TestException.class);
|
||||
}
|
||||
}
|
6
test/fixtures/java/corpus/classBody.java
vendored
Normal file
6
test/fixtures/java/corpus/classBody.java
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
class Dino {
|
||||
public void dispose() {
|
||||
Test.flat(new Function<Integer>() {
|
||||
});
|
||||
}
|
||||
}
|
6
test/fixtures/java/corpus/tryWithResourcesStatement.java
vendored
Normal file
6
test/fixtures/java/corpus/tryWithResourcesStatement.java
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
class Dino {
|
||||
void hi() {
|
||||
try (CustomAnalyzer analyzer = new CustomAnalyzer()){
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user