mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Tests: extract scripts testdata for light classes in ide to separate test
For compiled scripts there is AbstractIdeCompiledLightClassTest For now there is a difference in light classes constructed from source and from compiled class (missing baseClass and constructor parameter for script class) But it doesn't affect users because calling script class from Java isn't supported yet testData for AbstractIdeLightClassTest and AbstractIdeLightClassForScriptTest can be merged when the difference will be fixed
This commit is contained in:
5
compiler/testData/asJava/script/ide/HelloWorld.java
vendored
Normal file
5
compiler/testData/asJava/script/ide/HelloWorld.java
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
public class HelloWorld {
|
||||
public static final void main(java.lang.String[] p) { /* compiled code */ }
|
||||
|
||||
public HelloWorld() { /* compiled code */ }
|
||||
}
|
||||
Reference in New Issue
Block a user