eclipse / transformer

Eclipse Transformer provides tools and runtime components that transform Java binaries, such as individual class files and complete JARs and WARs, mapping changes to Java packages, type names, and related resource names.

Home Page:https://projects.eclipse.org/projects/technology.transformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Review of TestTransformClass changes

tbitonti opened this issue · comments

Additional review is needed of these test changes:

Ref:

/org.eclipse.transformer/src/test/java/transformer/test/TestTransformClass.java

	// TODO:
	//
	// Previously, only [5] direct replacements were made.
	//
	// With the direct string update modifications, [14] direct replacements
	// are now made:

	// TODO: The text substitution changes impacted this test.
	//
	// Prior expected value:
	// "jakarta.servlet.Servlet=MyServlet,jakarta.servlet.Listener=MyListener",

	Assertions.assertEquals(
		"transformer.test.data1.Servlet=MyServlet,javax.servlet.Listener=MyListener",
		transformedValue,
		"Value of [ SAMPLE_STRING ]");

	// TODO: The text substitution changes impacted this test.
	//
	// Prior expected value:
	// "jakarta.servlet.Servlet=MyServlet,jakarta.servlet.Listener=MyListener",

	Assertions.assertEquals(
		"transformer.test.data1.Servlet=MyServlet,javax.servlet.Listener=MyListener",
		transformedAnnoValue2,
		"Value of [ Sample_Annotation.value2 ]");

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

This issue has been automatically closed due to inactivity. If you can reproduce this or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.