glib/gio/tests
Руслан Ижбулатов 19608e36d2 Straighten up the GFileType vs symlinks on Windows situation
On Windows NTFS symlinks are implemented as reparse points,
which are special kinds of files *or directories*. A directory
symlink should link to a directory. A file symlink should link
to a file. Mismatching (such as a file symlink pointing to a
directory) produces symlinks that simply do not function.

Therefore GFileType file vs directory vs symlink distinction is
too simplistic to correctly represent a NTFS filesystem object type.

Since we can't turn back time and choose a better way of representing
file types, make GFileType reflect the file vs directory type on
Windows, meaning that all FS objects are either files or
directories (or shortcuts, which are also files), but never symlinks.

A test for symlinkiness will have to be made via GFileInfo - it
tracks symlinkiness separately from file/directory/whatever.
2018-10-10 08:20:44 +00:00
..
cert-tests Add certificate chain construction test 2015-08-29 08:43:29 -05:00
de/LC_MESSAGES meson add missing gio/tests subdirectory/file 2017-07-13 19:03:39 -04:00
desktop-files Remove unnecessary +x permissions 2018-09-23 17:01:04 +01:00
gdbus-object-manager-example Meson: Fix missing files when installing tests 2018-09-21 08:45:02 -04:00
modules Meson: Fix missing files when installing tests 2018-09-21 08:45:02 -04:00
schema-tests Don't skip invalid enum values in schemas 2017-10-11 10:22:23 +01:00
services
thumbnails tests: Add tests for the thumbnail verification code in GIO 2013-10-24 13:55:33 -04:00
x-content Add tests for x-content type sniffing 2014-01-01 17:59:20 -05:00
.gitignore gtlsbackend: add support for setting the default TLS database 2018-09-03 13:55:57 +10:00
actions.c Allow property actions to invert booleans 2015-06-10 21:59:28 -04:00
appinfo-test2.desktop
appinfo-test-actions.desktop
appinfo-test-gnome.desktop
appinfo-test-notgnome.desktop
appinfo-test.c Fix up the appinfo test 2013-11-23 22:21:29 -05:00
appinfo-test.desktop gdesktopappinfo: Add g_desktop_app_info_get_locale_string() 2018-01-08 16:28:34 +01:00
appinfo.c gdesktopappinfo: add get_string_list() function 2018-10-01 20:03:55 +01:00
appmonitor.c tests: Add temporary working directory for appmonitor test 2017-08-23 11:26:57 +01:00
apps.c apps test: add new "monitor" subcommand 2014-09-09 14:11:38 -04:00
async-close-output-stream.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
async-splice-output-stream.c
autoptr.c tests: Add many autoptr tests 2015-02-23 10:40:40 -05:00
basic-application.c Avoid a compiler warning 2014-01-01 22:01:15 -05:00
buffered-input-stream.c
buffered-output-stream.c Update tests for new truncate behavior 2013-12-15 21:07:12 -05:00
cancellable.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
contenttype.c gio: Show icons based on file's mime type on OS X 2017-11-03 12:04:33 +00:00
contexts.c GContextSpecificGroup: add testcase 2016-04-26 15:20:16 +02:00
converter-stream.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
credentials.c gcredentials: add NetBSD support 2014-06-28 14:06:36 -04:00
data-input-stream.c tests: data-input-stream: fix -Wduplicated-branches 2018-02-16 17:38:26 +00:00
data-output-stream.c Use G_GNUC_FALLTHROUGH where appropriate 2018-09-04 20:24:25 +02:00
dbus-appinfo.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
dbus-launch.c Replace all instances of ssize_t with gssize 2017-10-11 12:56:11 +01:00
de.po
defaultvalue.c gio: tests: rename generated giotypefunc.c to giotypefuncs.inc 2017-07-13 19:03:39 -04:00
desktop-app-info.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
echo-server.c
enums.xml.template
file.c tests: Fix leak when checking for du binary 2018-06-29 12:13:32 +01:00
fileattributematcher.c Fix various const-correctness issues 2018-04-26 15:19:17 +01:00
filter-cat.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
filter-streams.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
g-file-info-filesystem-readonly.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
g-file-info.c Straighten up the GFileType vs symlinks on Windows situation 2018-10-10 08:20:44 +00:00
g-file.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
g-icon.c Fix g_icon_to_string() regression (doc inconsistency). 2018-09-13 13:16:40 +02:00
gapplication-example-actions.c
gapplication-example-cmdline2.c
gapplication-example-cmdline3.c
gapplication-example-cmdline4.c Bug-790839 GApplication command line --help enhancements 2018-01-03 11:08:37 +00:00
gapplication-example-cmdline.c
gapplication-example-dbushooks.c
gapplication-example-open.c
gapplication.c tests: Set both environment variable and locale when running tests 2018-06-09 02:40:01 +08:00
gdbus-addresses.c g_dbus_is_supported_address(): set error if returning FALSE 2018-06-13 11:01:56 +01:00
gdbus-auth.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-bz627724.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-close-pending.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-connection-flush-helper.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-connection-flush.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-connection-loss.c gdbus-connection-loss: Fix leak in test 2018-07-05 13:13:59 +01:00
gdbus-connection-slow.c all: Remove trailing newlines from g_message()/g_warning()/g_error()s 2018-04-27 16:46:19 +01:00
gdbus-connection.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-daemon.c
gdbus-error.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-example-export.c Drop trailing semi-colon from G_DEFINE_ macro 2017-04-10 10:38:31 +01:00
gdbus-example-objectmanager-client.c
gdbus-example-objectmanager-server.c
gdbus-example-own-name.c
gdbus-example-peer.c glib: Don’t use time(NULL) to get current time 2018-07-09 13:28:02 +02:00
gdbus-example-proxy-subclass.c Drop trailing semi-colon from G_DEFINE_ macro 2017-04-10 10:38:31 +01:00
gdbus-example-server.c
gdbus-example-subtree.c
gdbus-example-unix-fd-client.c glib: Don’t use time(NULL) to get current time 2018-07-09 13:28:02 +02:00
gdbus-example-watch-name.c
gdbus-example-watch-proxy.c
gdbus-exit-on-close.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-export.c tests: Use Unicode typography in gdbus-export test 2018-07-05 13:14:22 +01:00
gdbus-introspection.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-message.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-names.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-non-socket.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-overflow.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-peer-object-manager.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
gdbus-peer.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
gdbus-proxy-threads.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-proxy-well-known-name.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-proxy.c gdbus-proxy: Fix erroneous timeout during following tests 2017-10-26 12:01:05 +01:00
gdbus-serialization.c Enable GIO tests on Windows 2018-09-12 15:42:11 +00:00
gdbus-sessionbus.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-sessionbus.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-test-codegen.c gdbus-test-codegen: Cast to void* to printf "%p" 2018-01-01 17:23:23 +00:00
gdbus-test-fixture.c
gdbus-tests.c Enable GIO tests on Windows 2018-09-12 15:42:11 +00:00
gdbus-tests.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gdbus-testserver.c
gdbus-threading.c gdbus-threading test: Allow even longer for test_method_calls_in_thread 2018-01-09 13:10:38 +00:00
gdbus-unix-addresses.c Fix failing tests when G_MESSAGES_DEBUG is set (again) 2018-08-16 15:55:51 -04:00
gengiotypefuncs.py gengiotypefuncs.py: Read and parse files in binary mode 2018-05-22 14:34:17 +05:30
gio-du.c win32: Replace usage of __wgetmainargs() 2015-07-23 04:22:59 -04:00
giomodule.c giomodule test: fix again 2014-01-13 16:12:31 -05:00
glistmodel.c tests: Test g_list_model_get_object() 2018-09-05 11:36:13 +01:00
gmenumodel.c gmenumodel test: Wait for the expected events to happen 2017-12-18 18:56:35 +00:00
gnotification-server.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gnotification-server.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gnotification.c tests: fix gnotification tests broken due to the recent icon name fallback changes 2018-08-19 20:04:41 +02:00
gschema-compile.c Fix various const-correctness issues 2018-04-26 15:19:17 +01:00
gsettings.c gvdb: Fix error handling in gvdb_table_new() 2018-08-13 15:38:34 +01:00
gsubprocess-testprog.c Consistently save errno immediately after the operation setting it 2017-08-03 10:21:13 +01:00
gsubprocess.c tests, subprocess: units for cancelled communications 2018-08-27 17:08:47 +02:00
gtesttlsbackend.c gtlsbackend: add support for setting the default TLS database 2018-09-03 13:55:57 +10:00
gtesttlsbackend.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gtlsconsoleinteraction.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gtlsconsoleinteraction.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
httpd.c Avoid setting unused variables (-Wself-assign) 2017-09-11 22:14:18 +01:00
inet-address.c Fix gio/tests/inet-address on OS X 2016-07-11 17:42:41 -04:00
io-stream.c tests: add GSimpleIOStream async close tests 2015-02-17 16:27:46 -05:00
live-g-file.c fileinfo: make UNIX_IS_MOUNTPOINT be TRUE for / 2018-06-07 06:38:23 +01:00
live-g-file.txt
Makefile.am gtlsbackend: add support for setting the default TLS database 2018-09-03 13:55:57 +10:00
memory-input-stream.c
memory-output-stream.c Expand the truncate tests 2013-12-15 21:07:12 -05:00
meson.build Meson: Bump dependency to 0.48.0 2018-09-27 16:01:41 -04:00
mimeapps.c tests: use mimeapps.list over defaults.list 2014-04-15 11:36:39 -04:00
monitor.c tests: Use g_idle_add to call g_main_loop_quit 2018-06-07 00:38:07 +08:00
mount-operation.c Add support for TCRYPT volumes to GMountOperation 2018-06-21 15:32:04 +02:00
network-address.c tests: Drop a slightly suspect GResolver test 2018-04-13 17:42:58 +01:00
network-monitor-race.c network-monitor-race test: Have the subprocess inherit stdout and stderr 2018-09-13 11:44:16 +01:00
network-monitor.c tests/network-monitor: Always use the dummy proxy resolver 2018-04-10 10:35:45 +01:00
org.gtk.schemasourcecheck.gschema.xml
org.gtk.test.dbusappinfo.desktop
org.gtk.test.gschema.override.orig Add a test for per-desktop overrides 2018-06-22 22:02:31 +03:00
org.gtk.test.gschema.xml.orig Add a test for per-desktop overrides 2018-06-22 22:02:31 +03:00
permission.c
pollable.c Fix various const-correctness issues 2018-04-26 15:19:17 +01:00
proxy-test.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
proxy.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
readwrite.c Enable GIO tests on Windows 2018-09-12 15:42:11 +00:00
resolver.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
resourceplugin.c
resources.c gvdb: Fix error handling in gvdb_table_new() 2018-08-13 15:38:34 +01:00
send-data.c all: Remove trailing newlines from g_message()/g_warning()/g_error()s 2018-04-27 16:46:19 +01:00
simple-async-result.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
simple-proxy.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
sleepy-stream.c Use G_GNUC_FALLTHROUGH where appropriate 2018-09-04 20:24:25 +02:00
socket-address.c gsocketconnectable: Add a to_string() virtual method 2015-10-13 15:42:14 +01:00
socket-client.c all: Remove trailing newlines from g_message()/g_warning()/g_error()s 2018-04-27 16:46:19 +01:00
socket-common.c
socket-listener.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
socket-server.c
socket-service.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
socket.c tests: Skip GSocket tests if setting up a server fails 2018-04-13 16:14:46 +01:00
srvtarget.c
stream-rw_all.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
task.c tests: Add return ordering tests for GTask 2018-10-02 09:59:13 +01:00
test1.txt
test2.gresource.xml
test2.txt
test3.gresource.xml
test3.txt
test4.gresource.xml
test-codegen.xml codegen: fix array out-param annotations 2017-11-28 14:28:49 +00:00
test-io-stream.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
test-io-stream.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
test-pipe-unix.c docs: Drop unnecessary <!-- -->s from gtk-doc comments 2017-11-29 17:50:27 +00:00
test-pipe-unix.h gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
test.gresource.xml glib-compile-resources: correct resource compiler dependency for generated files 2016-06-04 08:24:22 -04:00
testenum.h
testfilemonitor.c tests: Make testfilemonitor test work with kqueue 2018-06-17 11:26:32 +08:00
thumbnail-verification.c Fix the thumbnail-verification Test 2015-04-22 18:56:50 +08:00
tls-certificate.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
tls-database.c gtlsbackend: add support for setting the default TLS database 2018-09-03 13:55:57 +10:00
tls-interaction.c gio/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
trash.c Fix trashing on overlayfs 2018-08-13 17:41:59 +01:00
unix-fd.c
unix-mounts.c gunixmounts: Stop considering cifs/nfs as system file systems 2018-06-20 12:16:34 +01:00
unix-streams.c tests: Various minor leak fixes in the GIO tests 2018-06-29 12:13:32 +01:00
vfs.c vfs: Fix return value of get_supported_uri_schemes() 2016-06-28 15:57:49 +02:00
volumemonitor.c
win32-streams.c Fix tests to compile again - add missing headers to W32, call correct process-id-getting function 2014-08-02 12:41:14 +00:00