vcsBlackBoxTest
Milian Wolff
mail at milianw.de
Thu Jun 9 13:19:28 UTC 2011
Hey there Fabian!
I'm currently looking at failing unit tests in KDevelop and want to setup a
nightly build&test farm.
One of the tests that currently fails is vcsBlackBoxTest, which you wrote. Can
you please explain what it is supposed to do and maybe even look at the
failing tests (see below). Furthermore I see that you std::cin.read on errors,
this is really bad ;-)
Anyhow, if you think this test should just be removed, tell me so.
PASS : VcsBlackBoxTest::initTestCase()
PASS : VcsBlackBoxTest::testInit()
FAIL! : VcsBlackBoxTest::testAddRevert() Compared values are not the same
Actual (vcs->isVersionControlled(i->url())): 1
Expected (expectedVersionControlledStatus): 0
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testAddRevert() Compared values are not the same
Actual (vcs->isVersionControlled(i->url())): 1
Expected (expectedVersionControlledStatus): 0
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testAddRevert() Compared values are not the same
Actual (vcs->isVersionControlled(i->url())): 1
Expected (expectedVersionControlledStatus): 0
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testAddRevert() Compared values are not the same
Actual (vcs->isVersionControlled(i->url())): 1
Expected (expectedVersionControlledStatus): 0
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testAddRevert() Compared values are not the same
Actual (vcs->isVersionControlled(i->url())): 1
Expected (expectedVersionControlledStatus): 0
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testAddRevert() Compared values are not the same
Actual (vcs->isVersionControlled(i->url())): 1
Expected (expectedVersionControlledStatus): 0
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testAddRevert() '2 ==
resultsWithoutTrailingSlash.size() || 3 == resultsWithoutTrailingSlash.size()'
returned FALSE. ()
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(469)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(91)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() 'j' returned FALSE. ()
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(73)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() 'j' returned FALSE. ()
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(73)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() 'j' returned FALSE. ()
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(73)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (filecontents.readAll()): No, foo()! It's bar()!
Expected (contents): It's foo!
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(100)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (filecontents.readAll()): text
Expected (contents): It's foo!
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(100)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
FAIL! : VcsBlackBoxTest::testCommitModifyRevert() Compared values are not the
same
Actual (vcs->isVersionControlled(i->url())): 0
Expected (expectedVersionControlledStatus): 1
Loc:
[/home/milian/projects/kde4/kdevplatform/vcs/tests/vcsBlackBoxTest.cpp(253)]
PASS : VcsBlackBoxTest::testSharedOps()
PASS : VcsBlackBoxTest::cleanupTestCase()
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110609/b23749ec/attachment.sig>
More information about the KDevelop-devel
mailing list