combine-mode strings: rework, add coverage tests
authorAndrew Chadwick <andrewc-git@piffle.org>
Thu, 27 Feb 2014 13:28:23 +0000 (13:28 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Thu, 27 Feb 2014 13:28:23 +0000 (13:28 +0000)
commite015efbcdbf316ad128ede60463c9f8af3109a80
tree7bc2054a79ad4e672f5ff79beda0b24a0db0a24a
parenta5eadadaa195cd41494688fb423cf337f39e14f4
combine-mode strings: rework, add coverage tests

Rework the way the layer combining modes' UI strings are stored in order
to make not having a UI string non-fatal at runtime. This is handy during
development of new modes.

Add a coverage test to spot missing strings.
lib/tiledsurface.py
tests/test_compositeops.py