maven-scm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subhash Gopalakrishnan <subh...@teamprise.com>
Subject Question on ScmTckTestCase
Date Wed, 13 May 2009 18:43:58 GMT
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

Mime
View raw message