path: root/test-tree-magic.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-09test: Call g_type_init() with older glibBastien Nocera1-0/+3
Only call g_type_init() when compiling against an older glib.
2012-01-17Fix compile-time warningBastien Nocera1-0/+3
2011-12-04Fix FSF address in license notice.Ville Skyttä1-2/+2
2008-07-202008-07-19 Bastien Nocera <>Bastien Nocera1-0/+45
* Fail if the tree test failed * Move some types from nautilus, not fully implemented yet * test-tree-magic.c (handle_one_line), (type_to_path), (print_matchlet), (main): Add some debug functionality * tests/tree-list: Add a test for VCDs
2008-07-182008-07-18 Bastien Nocera <>Bastien Nocera1-0/+641
* .cvsignore: upd * shared-mime-info-spec.xml: Update the spec to contain "content-types" or "tree magic", to detect an "x-content/" mime-type from a directory structure, patch from Matthias Clasen <> * update-mime-database.c (process_freedesktop_node), (cmp_tree_magic), (tree_match_new), (tree_match_free), (build_tree_matches), (tree_magic_free), (tree_magic_new), (write_tree_magic_children), (write_tree_magic), (add_type), (write_types), (write_header), (write_types_cache), (write_cache), (main): Add support for writing the tree-magic file, as per the spec update above, patch from Matthias Clasen <> * Add one single tree-magic item, for testing * check for GIO, build the tree magic test if it's available * use test-tree-magic if it's there * test-tree-magic.c: automated testing for tree magic, based on GIO code by Matthias Clasen <> * tests/tree-list: A few tests