Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 1b394057654cf64a0dd58a042274cf3c2c97256d
Ticket: 44e92d896eb31b8c6a6bca99f0a381bd4d4a1751
reworked textDisp.test : font agnostic
User & Date: bll 2017-07-09 15:16:46
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Attached find a new textDisp.test.
    
    Many of the tests have been rebuilt to be font agnostic so that they will work on all platforms, and should also work with a different fixed width font.
    
    Tests involving scroll positioning have not been rebuilt as yet.
    
    The original textDisp.test has many values hard-coded.
    
    In some cases the resulting hard-coded values were determined by using the return values from the test, resulting in an invalid self-referential test.
    
    In some cases, tests were updated and "fixed" by plugging in the return values from the test, again resulting in invalid self-referential tests.
    
    In some cases, the assumption was that the differences were due to font differences between the machines, and marked as such, where in fact the code or the test was buggy.
    
    Any test still marked with the 'textfonts' constraint is suspect.
    
    Test 24.11.1 works on Mac OS X, appears to be buggy on Linux and Windows.
    Test 27.10 fails on all platforms (there is plenty of room for the numeric 
    alignment on the first line, but the calculation for space needed is incorrect).
    Test 27.11 has not been rebuilt, as I don't know what it is supposed to 
    be testing.
    
    Test 27.5 has differences between windows and Linux/Mac OS X and has been
    left marked with 'textfonts' for the time being.
    
  5. foundin changed to: "revised_text"
  6. is_private changed to: "0"
  7. login: "bll"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "bll"
  13. subsystem changed to: "18. [text]"
  14. title changed to: "reworked textDisp.test : font agnostic"
  15. type changed to: "Patch"