aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-13test/core: remove unused variableMarc André Tanner1-1/+0
2020-05-13test/core: instruct memory sanitizer to track memory originMarc André Tanner1-1/+1
2020-05-13test/core: fix memory leak in array testMarc André Tanner1-0/+1
2020-05-13test/core: update ccan tap moduleMarc André Tanner1-2/+2
Syncs to last upstream change d1a951b82386391b82e48b32403891f85e253565 of the tap module.
2020-05-11test/core: fix compilation with gcc 10Marc André Tanner2-1/+3
Newer gcc rejects multiple definitions of global variables. Fix #21
2020-02-25Revert "test/vis: use C.UTF-8 locale"Marc André Tanner1-1/+1
Apparently the C.UTF-8 locale is not yet supported by upstrem glibc. As a result this breaks the tests on distributions such as Arch Linux which use unmodified glibc. This reverts commit 92ee4fc43fd750246bbc1529082c0c0c8d9f233e. Fix #20
2020-02-22test/vim: add info about skipped testsMarc André Tanner1-0/+1
2020-02-22test/util: fix compilation with old libtermkey versionsMarc André Tanner1-2/+1
2020-02-22Merge branch 'vis-interop-tests' of https://github.com/x1ddos/vis-testMarc André Tanner8-0/+20
2020-02-21test/vis: add a couple lua-vis interop testsalex8-0/+20
The tests assert that the entire file text is written to disk even if mutated in a vis.events.FILE_SAVE_PRE hooks.
2020-02-21vis: allow tests to have an optional lua scriptalex1-0/+9
The script named after <test-name>.lua, if exists, is run just before loading and executing <test-name>.keys. This allows tests to inject Lua code in the running vis instance to help augment the test environment. For instance, a test could listen to vis.events.FILE_SAVE_PRE events and mutate file text.
2020-02-17test/core: avoid compiler warning about zero length format stringMarc André Tanner1-2/+2
2020-02-13test/util: list all enum values to fix compiler warningMarc André Tanner1-5/+8
2020-02-13test/sam: add test for anchor behavior involving new linesMarc André Tanner2-0/+2
2020-02-13test/vim: skip tests if vim is not availableMarc André Tanner1-3/+7
2020-02-13test/vis: use C.UTF-8 localeMarc André Tanner1-1/+1
2020-02-13Fix compiler warningsMarc André Tanner2-1/+6
2018-05-22test/vim: remove case related testsMarc André Tanner2-2/+0
They were bogus. All vim related test cases should be considered as deprecated, they should eventually be migrated/rewritten to only depend on vis.
2018-05-16Merge branch 'check-shadow-permissions' of https://github.com/paride/vis-testMarc André Tanner1-1/+1
2018-05-16Merge branch 'test-cleanup' of https://github.com/paride/vis-testMarc André Tanner2-0/+2
2018-05-15test/vim: remove tests for obsolete featuresMarc André Tanner5-7/+8
Adjust to removed/changed functionality.
2018-05-03Check that /etc/shadow is actually not readableParide Legovini1-1/+1
In some chrooted build enviroments the build/test process runs with UID=0. In these cases the "Opening file without sufficient permissions" test fails, as /etc/shadow is readable. Let's perform it only if it is actually not readable.
2018-04-15make clean: actually cleanup everythingParide Legovini2-0/+2
Fixes: #13.
2018-04-15Explicitly add ISC licenseMarc André Tanner1-0/+13
Close #14
2018-03-29test/vis: delete test depending on external sed(1) invocationMarc André Tanner3-5/+0
2018-02-19test/sam: add regression test to delete empty lines using x g/^$/ dMarc André Tanner2-0/+18
2018-01-26test/vis: adapt verbatim insertion test to new <C-v><C-m> behaviourMarc André Tanner1-2/+1
2017-07-13test/lua: adapt tests to changes in Lua APIMarc André Tanner2-51/+51
2017-07-09test/vis: add more tests for selection operationsMarc André Tanner36-0/+295
2017-07-08test/sam: add simple search replace unicode regression testMarc André Tanner2-0/+6
2017-07-08test/vis: add tests for set operations on selectionsMarc André Tanner73-2/+295
Also rename some files and adjust to new mark key bindings.
2017-06-19test/vis: adapt to new trim selection key bindingMarc André Tanner1-1/+1
2017-04-09test/core: tweak used CFLAGSMarc André Tanner1-5/+5
2017-04-08test: update tests to for new line ending handlingMarc André Tanner3-6/+2
2017-04-08test/core: add a few tests for iterator find functionsMarc André Tanner1-0/+43
2017-04-06test: terminate tests via command line argument not lua codeMarc André Tanner4-5/+3
Executing a vis:command("qall!") or similar from a Lua WIN_OPEN event handler is a bad idea.
2017-04-06test: fail test with error on bad return codeChristian Hesse2-2/+4
Close #10
2017-03-22test/vis: adapt test to new shift right behaviorMarc André Tanner1-2/+2
2017-03-15test/lua: update READMEMarc André Tanner1-10/+7
2017-03-05test/lua: fix luacheck warningsMarc André Tanner4-7/+7
2017-03-04test/lua: convert tests to busted infrastructureMarc André Tanner32-457/+198
2017-03-04test/vis: tweak word motion testsMarc André Tanner24-45/+113
Add more tests for: - starting position on a space/tab - single letter words - special symbols
2017-03-04Merge branch 'prev-start-of-word' of https://github.com/erf/vis-test into wordMarc André Tanner24-11/+187
2017-03-03test/lua: add infrastructure for busted based unit testsMarc André Tanner5-19/+134
2017-03-01test/lua: do not load visrc but only vis.luaMarc André Tanner1-1/+1
Since vis.lua now loads a standard set of plugins, we do not need to include the visrc.lua file which might contain user specific changes.
2017-02-26test/vis: added tests for w, W, e, E, ge, gEErlend Fagerheim24-11/+187
2017-02-25test/vis: update tests for new pseudo key namingMarc André Tanner1-1/+1
2017-02-25test/vis: cleanup motion testsMarc André Tanner35-97/+335
2017-02-24test/vis: added a few motion testsErlend Fagerheim14-0/+77
2017-02-23test: fix travis macOS test failuresMarc André Tanner5-2/+9
The vim version installed on the Travis macOS VMs does not seem to correctly handle ; when already on a matching position. Move the affected test to test/vis. Also fix white space related issues in sed invocation.