[Xapian-tickets] [Xapian] #238: No tests of Database::check() (was: No tests of xapian-check)
Xapian
nobody at xapian.org
Sun Jan 15 12:49:06 GMT 2012
#238: No tests of Database::check()
------------------------+---------------------------------------------------
Reporter: richard | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.3.x
Component: Test Suite | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
------------------------+---------------------------------------------------
Changes (by olly):
* milestone: 1.2.x => 1.3.x
Old description:
> The xapian-check utilities has no test cases.
>
> It might also be generally useful to have a C++ API for xapian-check, so
> we
> should consider doing that, which would make writing test cases for this
> functionality a bit easier, though we can just run xapian-check from
> the testsuite programs (like we currently do for xapian-compact).
>
> ----
> ''Original description:''
>
> The xapian-compact and xapian-check utilities have no test cases.
>
> If bug #175 were fixed (so that the xapian-compact functionality was
> available
> in the C++ API) it would be possible to implement such tests as part of
> apitest.
>
> It might also be generally useful to have a C++ API for xapian-check.
>
> Therefore, I'm marking this bug as being blocked by #175, since if we're
> going
> to fix #175 that would be the easiest way to implement tests.
New description:
The Database::check() API (which xapian-check uses) currently has no test
cases.
----
''Original description:''
The xapian-compact and xapian-check utilities have no test cases.
If bug #175 were fixed (so that the xapian-compact functionality was
available
in the C++ API) it would be possible to implement such tests as part of
apitest.
It might also be generally useful to have a C++ API for xapian-check.
Therefore, I'm marking this bug as being blocked by #175, since if we're
going
to fix #175 that would be the easiest way to implement tests.
--
Comment:
I've added an API for checking databases in r16316. There are currently
no tests of this API, but it will at least now be a bit easier to write
such tests.
Updated the summary and description to reflect this change.
--
Ticket URL: <http://trac.xapian.org/ticket/238#comment:8>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list