Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/processor/LanguageRegistrationTest.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 78c3d3d8d86e |
children | 1c0f490984d5 |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
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 java.io.*; | 25 import com.oracle.truffle.api.CallTarget; |
26 | 26 import com.oracle.truffle.api.TruffleLanguage; |
27 import com.oracle.truffle.api.*; | 27 import com.oracle.truffle.api.debug.DebugSupportProvider; |
28 import com.oracle.truffle.api.debug.*; | 28 import com.oracle.truffle.api.dsl.test.ExpectError; |
29 import com.oracle.truffle.api.dsl.test.*; | 29 import com.oracle.truffle.api.instrument.ToolSupportProvider; |
30 import com.oracle.truffle.api.instrument.*; | |
31 import com.oracle.truffle.api.nodes.Node; | 30 import com.oracle.truffle.api.nodes.Node; |
32 import com.oracle.truffle.api.source.*; | 31 import com.oracle.truffle.api.source.Source; |
32 import java.io.IOException; | |
33 | 33 |
34 public class LanguageRegistrationTest { | 34 public class LanguageRegistrationTest { |
35 | 35 |
36 @ExpectError("Registered language class must be public") | 36 @ExpectError("Registered language class must be public") |
37 @TruffleLanguage.Registration(name = "myLang", version = "0", mimeType = "text/x-my") | 37 @TruffleLanguage.Registration(name = "myLang", version = "0", mimeType = "text/x-my") |