You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Subhash Gopalakrishnan <su...@teamprise.com> on 2009/05/13 20:43:58 UTC

Question on ScmTckTestCase

I am trying to write some TCK test cases for a new provider and I keep
hitting an error at ScmTestCase.assertFile(). As far as I can see, this
method asserts that the contents of a file equals the file's name (?). And
ScmTckTestCase is using this method in setUp() to assert on '/pom.xml' whose
content will definitely not match the filename.
Is my understanding wrong? What should I do to get rid of this error?

junit.framework.ComparisonFailure: The file doesn't contain the expected
contents. File: C:\Temp\pom.xml expected:<[/pom.xml]> but was:<[<project
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd
">.. </project>]>

Thanks,
Subhash