From f7a67eb68ff98ee3df126293162842ddf8ff7794 Mon Sep 17 00:00:00 2001 From: tsantalis Date: Tue, 2 Jul 2024 15:35:17 -0400 Subject: [PATCH] Fix failing tests --- ...unit5-NodeTestTask-throwableCollector.json | 23 +++++++++---- ...k-GenericConversionService-converters.json | 34 +++++++++++++++---- .../resources/attribute/training-expected.txt | 8 ++--- 3 files changed, 49 insertions(+), 16 deletions(-) diff --git a/src/main/resources/oracle/attribute/training/junit5-NodeTestTask-throwableCollector.json b/src/main/resources/oracle/attribute/training/junit5-NodeTestTask-throwableCollector.json index 543c55f169f..8f684b2c8ef 100644 --- a/src/main/resources/oracle/attribute/training/junit5-NodeTestTask-throwableCollector.json +++ b/src/main/resources/oracle/attribute/training/junit5-NodeTestTask-throwableCollector.json @@ -18,6 +18,17 @@ "elementNameAfter": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(private)throwableCollector:ThrowableCollector(51)", "comment": "Remove Attribute Modifier final in attribute private throwableCollector : ThrowableCollector from class org.junit.platform.engine.support.hierarchical.NodeTestTask" }, + { + "parentCommitId": "c1d682aee5da5738fc3be071df45330c005f4cf1", + "commitId": "137f831bba9d0f45085d64fad47947cbc91a30e9", + "commitTime": 1530994538, + "changeType": "initializer removed", + "elementFileBefore": "junit-platform-engine/src/main/java/org/junit/platform/engine/support/hierarchical/NodeTestTask.java", + "elementNameBefore": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(final)(private)throwableCollector:ThrowableCollector(34)", + "elementFileAfter": "junit-platform-engine/src/main/java/org/junit/platform/engine/support/hierarchical/NodeTestTask.java", + "elementNameAfter": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(private)throwableCollector:ThrowableCollector(51)", + "comment": "initializer removed" + }, { "parentCommitId": "3dedce4fd9abfa4162a2c55b16c970057fb69abe", "commitId": "c1d682aee5da5738fc3be071df45330c005f4cf1", @@ -41,15 +52,15 @@ "comment": "Change Attribute Type executionErrors : List to throwableCollector : ThrowableCollector in class org.junit.platform.engine.support.hierarchical.NodeTestTask" }, { - "parentCommitId": "c1d682aee5da5738fc3be071df45330c005f4cf1", - "commitId": "137f831bba9d0f45085d64fad47947cbc91a30e9", + "parentCommitId": "3dedce4fd9abfa4162a2c55b16c970057fb69abe", + "commitId": "c1d682aee5da5738fc3be071df45330c005f4cf1", "commitTime": 1530994538, - "changeType": "initializer removed", + "changeType": "initializer change", "elementFileBefore": "junit-platform-engine/src/main/java/org/junit/platform/engine/support/hierarchical/NodeTestTask.java", - "elementNameBefore": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(final)(private)throwableCollector:ThrowableCollector(34)", + "elementNameBefore": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(final)(private)executionErrors:List(39)", "elementFileAfter": "junit-platform-engine/src/main/java/org/junit/platform/engine/support/hierarchical/NodeTestTask.java", - "elementNameAfter": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(private)throwableCollector:ThrowableCollector(51)", - "comment": "initializer removed" + "elementNameAfter": "junit-platform-engine/src/main/java/org.junit.platform.engine.support.hierarchical.NodeTestTask@(final)(private)throwableCollector:ThrowableCollector(34)", + "comment": "initializer change" }, { "parentCommitId": "948841c03c646c98866d0121bc3c89ad4ddbf277", diff --git a/src/main/resources/oracle/attribute/training/spring-framework-GenericConversionService-converters.json b/src/main/resources/oracle/attribute/training/spring-framework-GenericConversionService-converters.json index fabcdd7a5d3..d0e60e3338f 100644 --- a/src/main/resources/oracle/attribute/training/spring-framework-GenericConversionService-converters.json +++ b/src/main/resources/oracle/attribute/training/spring-framework-GenericConversionService-converters.json @@ -62,6 +62,17 @@ "elementNameAfter": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)converters:Map,Map,MatchableConverters>>(54)", "comment": "Rename Attribute sourceTypeConverters : Map,Map,GenericConverter>> to converters : Map,Map,MatchableConverters>> in class org.springframework.core.convert.support.GenericConversionService" }, + { + "parentCommitId": "2e4fa28ca6ffeb9f6a50b4f642065fc5741854ac", + "commitId": "0a78287a8f0c0e80481fdaa586e9341d95f0a79e", + "commitTime": 1257293327, + "changeType": "initializer change", + "elementFileBefore": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java", + "elementNameBefore": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map,Map,GenericConverter>>(54)", + "elementFileAfter": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java", + "elementNameAfter": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)converters:Map,Map,MatchableConverters>>(54)", + "comment": "initializer change" + }, { "parentCommitId": "471fbf7ebfcc8085db37d31a9f92e5966665ccde", "commitId": "913bc03a3b65d1aabf89dd4fe58310416dee495e", @@ -106,6 +117,17 @@ "elementNameAfter": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map>(61)", "comment": "Change Attribute Type sourceTypeConverters : Map> to sourceTypeConverters : Map> in class org.springframework.core.convert.support.GenericConversionService" }, + { + "parentCommitId": "10c30f0315b41cd3168a7d6c8b984a12f49c62b1", + "commitId": "33c19b8b14b534ba423c9cee51c90536daa6e119", + "commitTime": 1253215447, + "changeType": "initializer change", + "elementFileBefore": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java", + "elementNameBefore": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map>(59)", + "elementFileAfter": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java", + "elementNameAfter": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map>(61)", + "comment": "initializer change" + }, { "parentCommitId": "e9823b57b4ff5a8a0b82e56b5720a96b5e5bbbd3", "commitId": "45a0cadf8e7fc5cc082c11ef03f77dc017af64c4", @@ -129,14 +151,14 @@ "comment": "Rename Class org.springframework.core.convert.support.GenericTypeConverter renamed to org.springframework.core.convert.support.GenericConversionService" }, { - "parentCommitId": "10c30f0315b41cd3168a7d6c8b984a12f49c62b1", - "commitId": "33c19b8b14b534ba423c9cee51c90536daa6e119", - "commitTime": 1253215447, + "parentCommitId": "e9823b57b4ff5a8a0b82e56b5720a96b5e5bbbd3", + "commitId": "45a0cadf8e7fc5cc082c11ef03f77dc017af64c4", + "commitTime": 1249778809, "changeType": "initializer change", - "elementFileBefore": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java", - "elementNameBefore": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map>(59)", + "elementFileBefore": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericTypeConverter.java", + "elementNameBefore": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericTypeConverter@(final)(private)sourceTypeConverters:Map(53)", "elementFileAfter": "org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java", - "elementNameAfter": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map>(61)", + "elementNameAfter": "org.springframework.core/src/main/java/org.springframework.core.convert.support.GenericConversionService@(final)(private)sourceTypeConverters:Map>(57)", "comment": "initializer change" }, { diff --git a/src/test/resources/attribute/training-expected.txt b/src/test/resources/attribute/training-expected.txt index 093310a7c6b..f9375cef466 100644 --- a/src/test/resources/attribute/training-expected.txt +++ b/src/test/resources/attribute/training-expected.txt @@ -291,7 +291,7 @@ junit5-DefaultLauncher-logger.json, 11, 0, 0 junit5-DefaultLauncher-testEngines.json, 9, 0, 0 junit5-NodeTestTask-context.json, 1, 0, 0 junit5-NodeTestTask-skipResult.json, 1, 0, 0 -junit5-NodeTestTask-throwableCollector.json, 5, 0, 0 +junit5-NodeTestTask-throwableCollector.json, 6, 0, 0 junit5-NodeTestTask-throwableCollectorFactory.json, 1, 0, 0 junit5-TestFactoryTestDescriptor-executableInvoker.json, 3, 0, 0 junit5-TestMethodTestDescriptor-executableInvoker.json, 4, 0, 0 @@ -350,9 +350,9 @@ spring-framework-ConstructorResolver-beanFactory.json, 3, 0, 0 spring-framework-ConstructorResolver-logger.json, 5, 0, 0 spring-framework-GenericConversionService-NO_MATCH.json, 4, 0, 0 spring-framework-GenericConversionService-converterCache.json, 5, 0, 0 -spring-framework-GenericConversionService-converters.json, 16, 0, 0 +spring-framework-GenericConversionService-converters.json, 18, 0, 0 spring-framework-ServletHttpHandlerAdapter-WRITE_ERROR_ATTRIBUTE_NAME.json, 1, 0, 0 spring-framework-ServletHttpHandlerAdapter-httpHandler.json, 2, 0, 0 -spring-framework-ServletHttpHandlerAdapter-logger.json, 7, 0, 0 -spring-framework-TypeConverterDelegate-logger.json, 3, 0, 0 +spring-framework-ServletHttpHandlerAdapter-logger.json, 8, 0, 0 +spring-framework-TypeConverterDelegate-logger.json, 2, 0, 0 spring-framework-TypeConverterDelegate-propertyEditorRegistry.json, 2, 0, 0 \ No newline at end of file