ahinchman1 / TornadoFX-Suite

Automated user-interaction testing for TornadoFX
20 stars 6 forks source link

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

Closed ahinchman1 closed 5 years ago

ahinchman1 commented 6 years ago

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)

ahinchman1 commented 6 years ago

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