File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ object UtTestsDialogProcessor {
162162 isCanceled = { indicator.isCanceled })
163163
164164 for (srcClass in model.srcClasses) {
165- val methods = ReadAction .nonBlocking<List <ExecutableId >> {
165+ val ( methods, className) = ReadAction .nonBlocking<Pair < List <ExecutableId >, String? >> {
166166 val canonicalName = srcClass.canonicalName
167167 val clazz = classLoader.loadClass(canonicalName).kotlin
168168 psi2KClass[srcClass] = clazz
@@ -180,10 +180,9 @@ object UtTestsDialogProcessor {
180180 clazz.allNestedClasses.flatMap {
181181 findMethodsInClassMatchingSelected(it, srcMethods)
182182 }
183- })
183+ }) to srcClass.name
184184 }.executeSynchronously()
185185
186- val className = srcClass.name
187186 if (methods.isEmpty()) {
188187 logger.error { " No methods matching selected found in class $className ." }
189188 continue
You can’t perform that action at this time.
0 commit comments