[Xapian-tickets] [Xapian] #3: Test coverage---- ''Original:'' Redo machinery in InMemory backend to allow multierrhandler1 to work. for Xapian::ErrorHandler (was: Get multierrhandler1 working again)
Xapian
nobody at xapian.org
Wed Jun 16 05:55:11 BST 2010
#3: Test coverage---- ''Original:'' Redo machinery in InMemory backend to
allow multierrhandler1 to work. for Xapian::ErrorHandler
-------------------------+--------------------------------------------------
Reporter: olly | Owner: olly
Type: enhancement | Status: assigned
Priority: lowest | Milestone:
Component: Test Suite | Version: SVN trunk
Severity: minor | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
-------------------------+--------------------------------------------------
Old description:
> Redo machinery in InMemory backend to allow multierrhandler1 to work.
> Probably leave until user database backends are possible, then do it
> by subclassing InMemory...
New description:
We used to have hooks in the library to allow the testsuite to make
various cases in the inmemory backend fail to allow testing
{{{Xapian::ErrorHandler}}}.
We don't really want these hooks in release builds, so they were removed.
But it's hard to test many cases without something like this.
Probably leave until user database backends are possible, then we can take
a "mock" approach to this problem by subclassing from an existing backend.
--
Comment(by olly):
Description rewritten.
--
Ticket URL: <http://trac.xapian.org/ticket/3#comment:5>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list