Home | History | Annotate | Download | only in tests

Lines Matching full:path

49   uri = "file:///some/native/path/to/an/icon.png";
53 g_assert_cmpstr (data, ==, "/some/native/path/to/an/icon.png");
62 uri = "file:///some/native/path/to/an/icon with spaces.png";
66 g_assert_cmpstr (data, ==, "/some/native/path/to/an/icon with spaces.png");
75 uri = "sftp:///some/non-native/path/to/an/icon.png";
79 g_assert_cmpstr (data, ==, "sftp:///some/non-native/path/to/an/icon.png");
89 uri = "sftp:///some/non-native/path/to/an/icon with spaces.png";
93 g_assert_cmpstr (data, ==, "sftp:///some/non-native/path/to/an/icon%20with%20spaces.png");
121 icon = g_icon_new_for_string ("/path/to/somewhere.png", &error);
123 location = g_file_new_for_commandline_arg ("/path/to/somewhere.png");
130 icon = g_icon_new_for_string ("/path/to/somewhere with whitespace.png", &error);
133 g_assert_cmpstr (data, ==, "/path/to/somewhere with whitespace.png");
135 location = g_file_new_for_commandline_arg ("/path/to/somewhere with whitespace.png");
140 location = g_file_new_for_commandline_arg ("/path/to/somewhere%20with%20whitespace.png");
147 icon = g_icon_new_for_string ("sftp:///path/to/somewhere.png", &error);
150 g_assert_cmpstr (data, ==, "sftp:///path/to/somewhere.png");
152 location = g_file_new_for_commandline_arg ("sftp:///path/to/somewhere.png");
160 icon = g_icon_new_for_string ("sftp:///path/to/somewhere with whitespace.png", &error);
163 g_assert_cmpstr (data, ==, "sftp:///path/to/somewhere%20with%20whitespace.png");
165 location = g_file_new_for_commandline_arg ("sftp:///path/to/somewhere with whitespace.png");
170 location = g_file_new_for_commandline_arg ("sftp:///path/to/somewhere%20with%20whitespace.png");
215 location = g_file_new_for_uri ("file:///some/path/somewhere.png");