search_result_lines: improve interface

Bug #604749 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
Fix Released
Wishlist
Eike

Bug Description

Improve the way how the pattern are specified.
Improve the way how the patterns are specified.
 * Let search_result_lines accept a list of strings to specify the patterns.
 * Retain the ability to specify the Patterns as Line objects.
 * Change general format of lines: 'label string: 1 2 3 hello world 4 5'
      * Label string always ends with colon ':'
      * Numbers and strings can be mixed
 * Change matching algorithm
     * Every field has its own conversion and matching algorithm.
        * Strings are matched exactly and need not to be converted
        * Numbers are converted to doubles and then compared. They must match up to a tolerance.
     * Matching and conversion algorithms for each field are automatically selected when template is
       created from a string.
     * When explicitly creating a Line object, all details can be explicitly specified:
          * expected value
          * conversion function
          * matching function
          * tolerance

- Let search_result_lines accept a list of strings to specify the patterns.
- Retain the ability to specify the Patterns as Line objects.

- Change general format of lines: 'label string: 1 2 3 hello world 4 5'
     - Label string always ends with colon ':'
     - Numbers and strings can be mixed

- Change matching algorithm
    - Every field has its own conversion and matching algorithm.
       - Strings are matched exactly and need not to be converted
       - Numbers are converted to doubles and then compared. They must match up to a tolerance.
    - Matching and conversion algorithms for each field are automatically selected when template is
      created from a string.
    - When explicitly creating a Line object, all details can be explicitly specified:
         - expected value
         - conversion function
         - matching function
         - tolerance

Eike (eike-welk)
Changed in freeode:
importance: Undecided → Wishlist
status: New → Confirmed
assignee: nobody → Eike (eike-welk)
milestone: none → 0.4.1
importance: Wishlist → Low
Eike (eike-welk)
Changed in freeode:
status: Confirmed → Fix Committed
Eike (eike-welk)
Changed in freeode:
importance: Low → Wishlist
status: Fix Committed → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.