From 3fb3fa4e1da0899d1803f82fb7b56a17ef498f01 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 16 Dec 2016 11:36:09 +0100 Subject: [PATCH] Remove unused test resources, fixes #71 --- src/test/resources/org/jline/emtpy-config | 0 .../resources/org/jline/internal/config-bad | 7 -- src/test/resources/org/jline/internal/config1 | 10 -- src/test/resources/org/jline/internal/config2 | 98 ------------------- .../resources/org/jline/internal/jlinerc1 | 1 - .../resources/org/jline/internal/jlinerc2 | 1 - 6 files changed, 117 deletions(-) delete mode 100644 src/test/resources/org/jline/emtpy-config delete mode 100644 src/test/resources/org/jline/internal/config-bad delete mode 100644 src/test/resources/org/jline/internal/config1 delete mode 100644 src/test/resources/org/jline/internal/config2 delete mode 100644 src/test/resources/org/jline/internal/jlinerc1 delete mode 100644 src/test/resources/org/jline/internal/jlinerc2 diff --git a/src/test/resources/org/jline/emtpy-config b/src/test/resources/org/jline/emtpy-config deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/test/resources/org/jline/internal/config-bad b/src/test/resources/org/jline/internal/config-bad deleted file mode 100644 index 54979f32d..000000000 --- a/src/test/resources/org/jline/internal/config-bad +++ /dev/null @@ -1,7 +0,0 @@ -# Don't bomb on unsupported operations -"\C-fake": some-fake-operation - -"\C-bad: nothing - -"\C-xq": "\eb\"\ef\"" - diff --git a/src/test/resources/org/jline/internal/config1 b/src/test/resources/org/jline/internal/config1 deleted file mode 100644 index 6c27352b7..000000000 --- a/src/test/resources/org/jline/internal/config1 +++ /dev/null @@ -1,10 +0,0 @@ -Control-u: universal-argument -Meta-Rubout: backward-kill-word -Control-o: "> output" -"\C-u": universal-argument -"\C-x\C-r": re-read-init-file -"\e[11~": "Function Key \u2671" -$if Bash -# Quote the current or previous word -"\C-xq": "\eb\"\ef\"" -$endif diff --git a/src/test/resources/org/jline/internal/config2 b/src/test/resources/org/jline/internal/config2 deleted file mode 100644 index 093c2c589..000000000 --- a/src/test/resources/org/jline/internal/config2 +++ /dev/null @@ -1,98 +0,0 @@ - -# This file controls the behaviour of line input editing for -# programs that use the Gnu Readline library. Existing programs -# include FTP, Bash, and Gdb. -# -# You can re-read the inputrc file with C-x C-r. -# Lines beginning with '#' are comments. -# -# First, include any systemwide bindings and variable assignments from -# /etc/Inputrc -$include /etc/Inputrc - -# -# Set various bindings for emacs mode. - -set editing-mode emacs - -$if mode=emacs - -Meta-Control-h: backward-kill-word Text after the function name is ignored - -# -# Arrow keys in keypad mode -# -#"\M-OD": backward-char -#"\M-OC": forward-char -#"\M-OA": previous-history -#"\M-OB": next-history -# -# Arrow keys in ANSI mode -# -"\M-[D": backward-char -"\M-[C": forward-char -"\M-[A": previous-history -"\M-[B": next-history -# -# Arrow keys in 8 bit keypad mode -# -#"\M-\C-OD": backward-char -#"\M-\C-OC": forward-char -#"\M-\C-OA": previous-history -#"\M-\C-OB": next-history -# -# Arrow keys in 8 bit ANSI mode -# -#"\M-\C-[D": backward-char -#"\M-\C-[C": forward-char -#"\M-\C-[A": previous-history -#"\M-\C-[B": next-history - -C-q: quoted-insert - -$endif - -# An old-style binding. This happens to be the default. -TAB: complete - -# Macros that are convenient for shell interaction -$if Bash -# edit the path -"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f" -# prepare to type a quoted word -- insert open and close double quotes -# and move to just after the open quote -"\C-x\"": "\"\"\C-b" -# insert a backslash (testing backslash escapes in sequences and macros) -"\C-x\\": "\\" -# Quote the current or previous word -"\C-xq": "\eb\"\ef\"" -# Add a binding to refresh the line, which is unbound -"\C-xr": redraw-current-line -# Edit variable on current line. -"\M-\C-v": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y=" -$endif - -# use a visible bell if one is available -set bell-style visible - -# don't strip characters to 7 bits when reading -set input-meta on - -# allow iso-latin1 characters to be inserted rather than converted to -# prefix-meta sequences -set convert-meta off - -# display characters with the eighth bit set directly rather than -# as meta-prefixed characters -set output-meta on - -# if there are more than 150 possible completions for a word, ask the -# user if he wants to see all of them -set completion-query-items 150 - -# For FTP -$if Ftp -"\C-xg": "get \M-?" -"\C-xt": "put \M-?" -"\M-.": yank-last-arg -$endif \ No newline at end of file diff --git a/src/test/resources/org/jline/internal/jlinerc1 b/src/test/resources/org/jline/internal/jlinerc1 deleted file mode 100644 index 1c6a1a9e8..000000000 --- a/src/test/resources/org/jline/internal/jlinerc1 +++ /dev/null @@ -1 +0,0 @@ -a=b \ No newline at end of file diff --git a/src/test/resources/org/jline/internal/jlinerc2 b/src/test/resources/org/jline/internal/jlinerc2 deleted file mode 100644 index afc85e46b..000000000 --- a/src/test/resources/org/jline/internal/jlinerc2 +++ /dev/null @@ -1 +0,0 @@ -c=d \ No newline at end of file