- class loader is now always created as if classPathInTheSameClassLoader
= false, which was the case of every codegen test except kt2781, which
is extracted into a separate file
- testNoClassObjectForJavaClass() is moved from StdlibTest since it has
a custom createClassLoader() which doesn't work well in a java-interop
case
- get rid of generateClassesInFileGetState
- several similar methods are inlined
- prohibit main(Array<String>) in favor of box(): String
- move all script-related code to ScriptGenTest
- remove unused environment-creating methods
- inline trivial methods & other minor stuff
- initialize environment only once in setUp()
- add comments on why some tests are disabled
- modify and rename some tests
- re-enable now working tests
- extract some tests into files with box()
- remove useless 'throws' declarations and commented code
#KT-2771 In Progress
ClassifierCollector now collects all enum declarations inside non-static
classes. After all declarations are done, it processes these enums: creates
a class object if it's not present, reports errors on each enum if a class
object is not allowed, and puts every enum into this class object otherwise,
recording this fact to trace.