Commit graph

4 commits

Author SHA1 Message Date
Bastien Nocera
e48b3cc061 printers: Port tests to GTest 2016-06-10 17:10:35 +02:00
Marek Kasik
a1134fdf51 printers: Fix canonicalization test
Function canonicalize_device_name() has been changed recently,
it takes a GList of strings as its first parameter now.

https://bugzilla.gnome.org/show_bug.cgi?id=753733
2015-08-18 11:33:45 +02:00
Marek Kasik
7b21b22eef printers: Make PpPrintDevice a regular class
Create class PpPrintDevice with properties taken
from the original PpPrintDevice structure.

https://bugzilla.gnome.org/show_bug.cgi?id=749830
2015-07-30 16:28:06 +02:00
Marek Kasik
4b64a64124 printers: Add test for canonicalize_device_name()
Add a test which tests function canonicalize_device_name() which
canonicalize name of printer model so it doesn't contain
unwanted strings/characters.
Test data are in canonicalization-test.txt file.

https://bugzilla.gnome.org/show_bug.cgi?id=695564
2014-07-31 11:44:17 +02:00