<div>While building Teiid 7.5 Final from source in windows, I found couple of tests failed on Windows:</div>
<div><br>1.<br><strong>testHasCorrectExtension(org.teiid.rhq.plugin.util.TestDeploymentUtils)<br></strong>>> assertFalse(DeploymentUtils.hasCorrectExtension("My.VDB", null)); FAILS, because the expression <br>
new File(extension).equals(new File(expectedExtension)) on line 49 in org.teiid.rhq.plugin.util.DeploymentUtils.hasCorrectExtension(...) returns TRUE on windows for the strings '.VDB" and '.vdb'</div>
<div> </div>
<div>2.<br><strong>testRelativeSchemas(org.teiid.query.metadata.TestTransformationMetadata)<br></strong>>> assertEquals(1, tm.getXMLSchemas(tm.getGroupID("x1.doc")).size()); FAILS, because the variable <br>
'parentPath' in line 826 for function getXMLSchemas(...) in org.teiid.query.metadata.TransformationMetadata should be modified to using '/' instead of '\' to take of windows platform as well using:<br>
if (File.separatorChar != '/') {<br> parentPath = parentPath.replace(File.separatorChar, '/');<br>}</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Sanjay</div>