Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/processor/TruffleProcessorTest.java @ 21494:f5b49d881909
Truffle-DSL: move internal @ExpectError annotation from public API to the test package only; share expect error handling between new processors.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 26 May 2015 20:04:08 +0200 |
parents | c2b006c5e15f |
children | 31fc2fce38f3 |
comparison
equal
deleted
inserted
replaced
21493:99e3f4c5c853 | 21494:f5b49d881909 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.truffle.api.dsl.test.processor; | 23 package com.oracle.truffle.api.dsl.test.processor; |
24 | 24 |
25 import com.oracle.truffle.api.dsl.ExpectError; | |
26 import com.oracle.truffle.api.nodes.Node; | |
27 import com.oracle.truffle.dsl.processor.verify.VerifyTruffleProcessor; | |
28 import java.util.Locale; | |
29 import java.util.ServiceLoader; | |
30 import javax.annotation.processing.Processor; | |
31 import javax.tools.Diagnostic; | |
32 import javax.tools.JavaFileObject; | |
33 import static org.junit.Assert.*; | 25 import static org.junit.Assert.*; |
34 import org.junit.Test; | 26 |
27 import java.util.*; | |
28 | |
29 import javax.annotation.processing.*; | |
30 import javax.tools.*; | |
31 | |
32 import org.junit.*; | |
33 | |
34 import com.oracle.truffle.api.dsl.test.*; | |
35 import com.oracle.truffle.api.nodes.*; | |
36 import com.oracle.truffle.dsl.processor.verify.*; | |
35 | 37 |
36 /** | 38 /** |
37 * Verify errors emitted by the processor. | 39 * Verify errors emitted by the processor. |
38 */ | 40 */ |
39 public class TruffleProcessorTest { | 41 public class TruffleProcessorTest { |