Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetMethodsConversionTest (Change getFields method and add test after fixing converter) #74

Open
agadfs opened this issue Dec 19, 2024 · 0 comments

Comments

@agadfs
Copy link

agadfs commented Dec 19, 2024


Change getName() from both to toString() at:

public void testGetFields() {
		
		Assert.assertEquals(
				this.classFile_CFParse_Original.getFields().get(0).getName(),
				this.classFile_CFParse_Converted.getFields().get(0).getName());
	}

Add this test back after having fixed the converter

public void testGetMethods() {
		
		/*
		int fieldCount = this.classFile_CFParse_Original.getMethods().length();
		for (int i = 0; i < fieldCount; i++) {
			Assert.assertEquals(
					this.classFile_CFParse_Original.getMethods().get(i)
							.toString(),
					this.classFile_CFParse_Converted.getMethods().get(i)
							.toString());
		}
		*/
	}

@agadfs agadfs changed the title GetMethodsConversionTest GetMethodsConversionTest (Change getFields method) Dec 19, 2024
@agadfs agadfs changed the title GetMethodsConversionTest (Change getFields method) GetMethodsConversionTest (Change getFields method and add test after fixing converter) Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant