Fix class name for test suite descriptor.
Issue #KT-36725 Fixed Issue #KT-36716 Fixed Issue #KT-36726 Fixed
This commit is contained in:
@@ -17,7 +17,7 @@ class KotlinMppTestLogger {
|
||||
xml.event(type: testEventType) {
|
||||
test(id: testDescriptor.id, parentId: testDescriptor.parent?.id ?: '') {
|
||||
if (testDescriptor) {
|
||||
descriptor(name: testDescriptor.displayName ?: '', className: testDescriptor.classDisplayName ?: '')
|
||||
descriptor(name: testDescriptor.displayName ?: '', className: testDescriptor.className ?: '')
|
||||
}
|
||||
if (testEvent) {
|
||||
def message = escapeCdata(testEvent.message)
|
||||
|
||||
+1
@@ -432,6 +432,7 @@ internal open class TCServiceMessagesClient(
|
||||
|
||||
descriptor = object : DefaultTestSuiteDescriptor(id, fullName) {
|
||||
override fun getDisplayName(): String = fullNameWithoutRoot
|
||||
override fun getClassName(): String? = fullNameWithoutRoot
|
||||
override fun getOwnerBuildOperationId(): Any? = rootOperationId
|
||||
override fun getParent(): TestDescriptorInternal = reportingParent.descriptor
|
||||
override fun toString(): String = displayName
|
||||
|
||||
Reference in New Issue
Block a user