Cosimo Lupo
3b9ced71e0
move all test data inside the inlined ufoLib/test modules, and install them
...
Since the test suite is inlined, it makes sense to also have the test data installed alongside the test modules.
So all the content of the two top-level folders Data and TestData is now placed inside Lib/ufoLib/test/testadata.
The MANIFEST.in has been adjusted accordingly.
The `install_package_data` in setup.py ensures the package data specified in the manifest is installed with the package.
This way anyone who installs ufoLib (even the wheel from PyPI) can run the test suite with `pytest --pyargs ufoLib`.
2016-10-17 19:41:13 +01:00
Adrien Tétar
fab99c30e5
plistlib: reimplement as shim
2016-03-01 12:43:04 +01:00
Adrien Tétar
67414f21ff
pointPen: add adapter pens
...
and annihilate remaining robofab dependency
2015-12-13 20:48:01 +01:00
Adrien Tétar
0b60503f4f
test: fix a test on Windows
2015-11-08 11:49:06 +01:00
Adrien Tétar
ae7ad468c0
stop importing robofab in the test suite
2015-11-08 11:33:29 +01:00
Denis Jacquerye
31d358af40
test_UFOConversion, test_UFO{1,2,3}: use plistlib load and dump
2015-11-06 15:06:51 +00:00
Denis Jacquerye
9c0c7e5177
ufoLib.test.test_UFO1, test_UFO2, test_UFO3: absolute import, unicode_literals, explicit bytes, use io.open
2015-11-06 15:06:50 +00:00
Adrien Tétar
337ef3202b
ufoLib meta: automated 2to3 conversion
2015-11-05 09:30:43 +00:00
Tal Leming
e05354fe33
Duplicate records are now allowed.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@551 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:38:32 +00:00
Tal Leming
1dcbf6c73e
The last table is no longer required to be 0xFFFF.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@550 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:34:28 +00:00
Tal Leming
6f7a70d13f
Found an error in a test and a couple of typos in the code.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@508 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-06 18:47:56 +00:00
Tal Leming
b8e639ac31
Added a method for copying a file or directory from a UFOReader. This should (I'll find out tomorrow) be helpful for dealing with /data and /images in save as operations in higher level objects.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@426 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-19 02:18:56 +00:00
Tal Leming
cc6c5d2d3d
The gasp records can now be an empty list.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@415 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-18 13:15:04 +00:00
Tal Leming
91b7ba0e72
Make it possible to rename the default layer.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@386 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 17:50:53 +00:00
Tal Leming
2d17dfc09e
Don't support in-place down conversion. It's too lossy. The way to do it is to write a UFO with the lower format to a temporary location, use shutil to remove the old UFO, then use shutil to move the new UFO. This will remove any unknown data (ie .svn directories) but this would likely happen in an in-place down conversion anyway.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@384 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 13:30:11 +00:00
Tal Leming
aaab0ed06d
Test cases for an edge case.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@383 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-05 20:48:36 +00:00
Tal Leming
d3325920cc
Reworked the getGlyphSet method.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@382 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-05 19:53:22 +00:00
Tal Leming
1ef1e295c9
Kerning prefixes are no longer part of fontnfo.plist.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@361 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 14:43:17 +00:00
Tal Leming
0f29e91393
Layer level guides are gone.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@360 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 14:12:52 +00:00
Tal Leming
2d25bf65dc
Make the layer contents writing a caller requirement rather than something that silently happens. This makes it easier for everyone to manage layer order.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@355 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 20:41:24 +00:00
Tal Leming
22b52a3f48
Write layerinfo.plist tests.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@315 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 16:17:53 +00:00
Tal Leming
b504d01a34
Tests and fixes.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@314 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 15:29:10 +00:00
Tal Leming
69f40c7c71
Oops.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@302 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 18:09:08 +00:00
Tal Leming
b4782ab182
public.default is more appropriate than public.foreground.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@297 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 16:18:42 +00:00
Tal Leming
8ccc875640
Tests and fixes.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@296 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 15:28:42 +00:00
Tal Leming
18ae91f6f8
More UFOReader tests.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@295 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 11:42:18 +00:00
Tal Leming
5574c2bc18
UFOReader tests and changes as a result of the tests.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@294 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-26 22:16:08 +00:00
Tal Leming
91a707b433
Airplane stuff. Lots of work. Very tired. It can write a partial UFO 3 now. Very tired.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@290 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-19 01:40:21 +00:00
Tal Leming
2fd7dbbc17
Imports and test case splitting.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@288 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-18 12:16:25 +00:00