ahinchman1 / TornadoFX-Suite

Automated user-interaction testing for TornadoFX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stage{1}@BUG: Provide more flexible function access levels (public/private/protected)

ahinchman1 opened this issue · comments

java.lang.ClassCastException: kastree.ast.Node$Modifier$AnnotationSet cannot be cast to kastree.ast.Node$Modifier$Lit
at com.github.hd.tornadofxsuite.controller.ClassScanner.captureFunction(ClassScanner.kt:69)
at com.github.hd.tornadofxsuite.controller.ClassScanner.parseAST(ClassScanner.kt:34)
at com.github.hd.tornadofxsuite.controller.FXTestGenerator.readFiles(FXTestGenerator.kt:48)
at com.github.hd.tornadofxsuite.controller.FXTestGenerator.fileOutputRead(FXTestGenerator.kt:37)
at com.github.hd.tornadofxsuite.controller.FXTestGenerator.access$fileOutputRead(FXTestGenerator.kt:15)

Bug solved, but will need to edit the current data objects BareBreakDown, ClassProperties to be able to detect access levels.

This is the current detection levels:
screen shot 2018-09-23 at 4 37 33 pm