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 @@ -161,7 +161,7 @@ object UtTestsDialogProcessor {
161
161
)
162
162
163
163
for (srcClass in model.srcClasses) {
164
- val methods = ReadAction .nonBlocking<List <UtMethod <* >>> {
164
+ val ( methods, className) = ReadAction .nonBlocking<Pair < List <UtMethod <* >>, String? >> {
165
165
val canonicalName = srcClass.canonicalName
166
166
val clazz = classLoader.loadClass(canonicalName).kotlin
167
167
psi2KClass[srcClass] = clazz
@@ -179,10 +179,9 @@ object UtTestsDialogProcessor {
179
179
clazz.allNestedClasses.flatMap {
180
180
findMethodsInClassMatchingSelected(it, srcMethods)
181
181
}
182
- })
182
+ }) to srcClass.name
183
183
}.executeSynchronously()
184
184
185
- val className = srcClass.name
186
185
if (methods.isEmpty()) {
187
186
logger.error { " No methods matching selected found in class $className ." }
188
187
continue
You can’t perform that action at this time.
0 commit comments