summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-07-24Merge gio document loader and saver into document loader and savermbkma2-2/+2
Backport from: https://gitlab.gnome.org/GNOME/gedit/-/commit/4bd74a1f47a3fa41385ffae3bb78aeb5afabb564 See: https://bugzilla.gnome.org/show_bug.cgi?id=617215
2020-06-18Remove unused macrosrbuj1-1/+0
2019-08-24document-loader: remove unused variablesPablo Barciela1-2/+0
Fixes cppcheck warnings: [tests/document-loader.c:44]: (style) Unused variable: document [tests/document-loader.c:45]: (style) Unused variable: uri
2019-08-23smart-converter: Fix memory leaksPablo Barciela1-0/+5
Fixes clang analyzer warnings: smart-converter.c:108:8: warning: Potential leak of memory pointed to by 'out' if (!care_about_error) ^~~~~~~~~~~~~~~~ smart-converter.c:337:7: warning: Potential leak of memory pointed to by 'aux' aux2 = do_test (aux, NULL, encs, aux_len, &guessed); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smart-converter.c:339:12: warning: Potential leak of memory pointed to by 'aux2' g_assert (guessed == pluma_encoding_get_from_charset ("UTF-16")); ^~~~~~~
2019-07-06Remove trailing whitespacesLaurent Napias5-6/+6
2016-07-21tests: define ACCESSPERMS if not definedmonsta1-0/+5
taken from https://git.gnome.org/browse/gedit/commit/?id=de9e9716037a567bda012edda8d6f92f3cdd0ea2 patch pointed out by @pyhalov closes https://github.com/mate-desktop/pluma/issues/189
2015-10-13Adjust the document-output-stream test to the new buffering strategy.Patrick Monnerat1-0/+3
Test was still failing because it checked the document content before closing. This commit forces document flush before this check, making the test successful.
2015-10-08tests/document-output-stream.c: change substring length from 2 to 3 in EOL ↵Patrick Monnerat1-6/+6
tests. CRs always appear at the same modulus 2 offset in test strings, thus bug https://github.com/mate-desktop/pluma/issues/100 is never detected. Setting substring lengths to 3 causes the test to detect bug #100, thus failing, as it should yet do.
2015-09-02drop support for win32/osx and checkupdate pluginmonsta1-9/+0
that plugin has never been built in linux anyway due to logic in configure.ac
2015-08-03Fix implicit declarationsinfirit4-0/+5
2014-12-16Revert "Revert "Drop support for glib < 2.36""infirit5-15/+0
This reverts commit 13392e50c61ce3f3d7d04b59677380f935cf3d3c.
2014-12-16Revert "Drop support for glib < 2.36"infirit5-0/+15
This reverts commit 495f56659d607938db00e34c9f84bac24013d999.
2014-05-19Drop support for glib < 2.36infirit5-15/+0
2013-11-04Fix some deprecationsStefano Karapetsas5-0/+10
2013-08-03Make automake happy: INCLUDES -> AM_CPPFLAGSinfirit1-1/+1
2012-03-11update for 1.2 release and fix executable bitsStefano Karapetsas7-0/+0
2011-11-07renaming from gedit to plumaPerberos7-178/+178
2011-11-07initialPerberos7-0/+1684