Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/vm/GlobalSymbolTest.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | d045a505c2b3 |
children | dcb70d90c11d |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
22 */ | 22 */ |
23 package com.oracle.truffle.api.test.vm; | 23 package com.oracle.truffle.api.test.vm; |
24 | 24 |
25 import com.oracle.truffle.api.source.Source; | 25 import com.oracle.truffle.api.source.Source; |
26 import static com.oracle.truffle.api.test.vm.ImplicitExplicitExportTest.L3; | 26 import static com.oracle.truffle.api.test.vm.ImplicitExplicitExportTest.L3; |
27 import com.oracle.truffle.api.vm.*; | 27 import com.oracle.truffle.api.vm.TruffleVM; |
28 import java.io.*; | 28 import java.io.IOException; |
29 import java.util.concurrent.Executors; | 29 import java.util.concurrent.Executors; |
30 import org.junit.*; | 30 import static org.junit.Assert.assertEquals; |
31 import static org.junit.Assert.*; | 31 import static org.junit.Assert.assertNotNull; |
32 import org.junit.Test; | |
32 | 33 |
33 public class GlobalSymbolTest { | 34 public class GlobalSymbolTest { |
34 @Test | 35 @Test |
35 public void globalSymbolFoundByLanguage() throws IOException { | 36 public void globalSymbolFoundByLanguage() throws IOException { |
36 TruffleVM vm = TruffleVM.newVM().globalSymbol("ahoj", "42").executor(Executors.newSingleThreadExecutor()).build(); | 37 TruffleVM vm = TruffleVM.newVM().globalSymbol("ahoj", "42").executor(Executors.newSingleThreadExecutor()).build(); |