Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/instrument/SLInstrumentTestRunner.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | cf19259edf87 |
children | 67f75f61c974 dcb70d90c11d 1c0f490984d5 |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
39 * SOFTWARE. | 39 * SOFTWARE. |
40 */ | 40 */ |
41 package com.oracle.truffle.sl.test.instrument; | 41 package com.oracle.truffle.sl.test.instrument; |
42 | 42 |
43 import java.io.*; | 43 import com.oracle.truffle.api.instrument.ASTProber; |
44 import java.nio.charset.*; | 44 import com.oracle.truffle.api.instrument.Instrument; |
45 import java.nio.file.*; | 45 import com.oracle.truffle.api.instrument.Probe; |
46 import java.nio.file.attribute.*; | 46 import com.oracle.truffle.api.instrument.StandardSyntaxTag; |
47 import java.util.*; | 47 import com.oracle.truffle.api.instrument.impl.DefaultSimpleInstrumentListener; |
48 | |
49 import org.junit.*; | |
50 import org.junit.internal.*; | |
51 import org.junit.runner.*; | |
52 import org.junit.runner.manipulation.*; | |
53 import org.junit.runner.notification.*; | |
54 import org.junit.runners.*; | |
55 import org.junit.runners.model.*; | |
56 | |
57 import com.oracle.truffle.api.instrument.*; | |
58 import com.oracle.truffle.api.instrument.impl.*; | |
59 import com.oracle.truffle.api.source.Source; | 48 import com.oracle.truffle.api.source.Source; |
60 import com.oracle.truffle.api.vm.*; | 49 import com.oracle.truffle.api.vm.TruffleVM; |
61 import com.oracle.truffle.sl.nodes.instrument.*; | 50 import com.oracle.truffle.sl.nodes.instrument.SLStandardASTProber; |
62 import com.oracle.truffle.sl.nodes.local.*; | 51 import com.oracle.truffle.sl.nodes.local.SLWriteLocalVariableNode; |
63 import com.oracle.truffle.sl.test.*; | 52 import com.oracle.truffle.sl.test.SLTestRunner; |
64 import com.oracle.truffle.sl.test.instrument.SLInstrumentTestRunner.InstrumentTestCase; | 53 import com.oracle.truffle.sl.test.instrument.SLInstrumentTestRunner.InstrumentTestCase; |
54 import java.io.BufferedReader; | |
55 import java.io.ByteArrayOutputStream; | |
56 import java.io.FileNotFoundException; | |
57 import java.io.IOException; | |
58 import java.io.PrintWriter; | |
59 import java.io.StringReader; | |
60 import java.nio.charset.Charset; | |
61 import java.nio.file.FileSystems; | |
62 import java.nio.file.FileVisitResult; | |
63 import java.nio.file.Files; | |
64 import java.nio.file.Path; | |
65 import java.nio.file.SimpleFileVisitor; | |
66 import java.nio.file.attribute.BasicFileAttributes; | |
67 import java.util.ArrayList; | |
68 import java.util.List; | |
69 import org.junit.Assert; | |
70 import org.junit.internal.TextListener; | |
71 import org.junit.runner.Description; | |
72 import org.junit.runner.JUnitCore; | |
73 import org.junit.runner.Result; | |
74 import org.junit.runner.manipulation.Filter; | |
75 import org.junit.runner.manipulation.NoTestsRemainException; | |
76 import org.junit.runner.notification.Failure; | |
77 import org.junit.runner.notification.RunNotifier; | |
78 import org.junit.runners.ParentRunner; | |
79 import org.junit.runners.model.InitializationError; | |
65 | 80 |
66 /** | 81 /** |
67 * This class builds and executes the tests for instrumenting SL. Although much of this class is | 82 * This class builds and executes the tests for instrumenting SL. Although much of this class is |
68 * written with future automation in mind, at the moment the tests that are created are hard-coded | 83 * written with future automation in mind, at the moment the tests that are created are hard-coded |
69 * according to the file name of the test. To be automated, an automatic way of generating both the | 84 * according to the file name of the test. To be automated, an automatic way of generating both the |