[testng-dev] TestNG 6.8.5, 6.8.6 XmlClass equals() is inconsistent with hashCode()
I found that comparison by class index was removed from XmlClass.equals() but hashCode() still uses class index. I know that testng doesn't support multiple similar classes in one <test> so this bug doesn't contradict the expected behavior. But I made some experiments with testng and was wondered after I got a Set with 2 equal XmlClasses. My xml config had 2 similar classes in one test. The classes were equal according to equals() method but after I put them into Set it contained both classes. I think this issue should be fixed to prevent hard to find bugs in future.