diff options
author | Phillip Lord <phillip.lord@russet.org.uk> | 2015-11-24 22:21:20 +0000 |
---|---|---|
committer | Phillip Lord <phillip.lord@russet.org.uk> | 2015-11-24 22:21:20 +0000 |
commit | 6579e5b6bb006c23140ed09d1220022604f317fe (patch) | |
tree | 53384709bb20177102c9d265f1473c2a8a31ed35 /test/data | |
parent | a546a37fcd21c90e1f86ba6262e9388624ade83b (diff) | |
download | emacs-6579e5b6bb006c23140ed09d1220022604f317fe.tar.gz |
Move package test files to new directory.
* test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
* test/data/package: Moved to test/lisp/emacs-lisp/package-resources
Diffstat (limited to 'test/data')
19 files changed, 0 insertions, 300 deletions
diff --git a/test/data/package/archive-contents b/test/data/package/archive-contents deleted file mode 100644 index e2f92304f86..00000000000 --- a/test/data/package/archive-contents +++ /dev/null @@ -1,17 +0,0 @@ -(1 - (simple-single . - [(1 3) - nil "A single-file package with no dependencies" single - ((:url . "http://doodles.au") - (:keywords quote ("frobnicate")))]) - (simple-depend . - [(1 0) - ((simple-single (1 3))) "A single-file package with a dependency." single]) - (simple-two-depend . - [(1 1) - ((simple-depend (1 0)) (simple-single (1 3))) - "A single-file package with two dependencies." single]) - (multi-file . - [(0 2 3) - nil "Example of a multi-file tar package" tar - ((:url . "http://puddles.li"))])) diff --git a/test/data/package/key.pub b/test/data/package/key.pub deleted file mode 100644 index a326d34e54f..00000000000 --- a/test/data/package/key.pub +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.14 (GNU/Linux) - -mQENBFJNB8gBCACfbtpvYrM8V1HM0KFlIwatcEJugHqwOHpr/Z9mrCW0fxyQAW/d -2L+3QVNsN9Tz/K9lLcBUgeR7rhVEzHNqhmhNj/HnikwGqXbIofhp+QbZmBKnAlCz -d77kg8K9lozHtfTkm1gX/7DdPzQKmgi7WOzzi2395wGubeqJLvYaEcqVbI0Eob+E -3CzRjNy/e/Tf3TJRW5etTcdZN6LVuIY7tNCHqlQZTwyycON/hfLTX6cLCnzDsqm/ -NxCuwn9aqP9aGRGfIu7Y+If3zTymvrXEPUN98OEID814bOKdx0uVTZRiSMbvuTGI -8uMa/kpGX/78rqI61gbZV51RFoU7pT2tzwY/ABEBAAG0HkouIFIuIEhhY2tlciA8 -anJoQGV4YW1wbGUuY29tPokBOAQTAQIAIgUCUk0HyAIbAwYLCQgHAwIGFQgCCQoL -BBYCAwECHgECF4AACgkQtpVAhgkYletuhQf+JAyHYhTZNxjq0UYlikuLX8EtYbXX -PB+03J0B73SMzEai5XsiTU2ADxqxwr7pveVK1INf+IGLiiXBlQq+4DSOvQY4xLfp -58jTOYRV1ECvlXK/JtvVOwufXREADaydf9l/MUxA5G2PPBWIuQknh3ysPSsx68OJ -SzNHFwklLn0DKc4WloE/GLDpTzimnCg7QGzuUo3Iilpjdy8EvTdI5d3jx/mGJIwI -goB+YZgyxSPM+GjDwh5DEwD7OexNqqa7RynnmU0epmlYyi9UufCHLwgiiEIzjpWi -6+iF+CQ45ZAKncovByenIUv73J3ImOudrsskeAHBmahljv1he6uV9Egj2Q== -=b5Kg ------END PGP PUBLIC KEY BLOCK----- diff --git a/test/data/package/key.sec b/test/data/package/key.sec deleted file mode 100644 index d21e6ae9a45..00000000000 --- a/test/data/package/key.sec +++ /dev/null @@ -1,33 +0,0 @@ ------BEGIN PGP PRIVATE KEY BLOCK----- -Version: GnuPG v1.4.14 (GNU/Linux) - -lQO+BFJNB8gBCACfbtpvYrM8V1HM0KFlIwatcEJugHqwOHpr/Z9mrCW0fxyQAW/d -2L+3QVNsN9Tz/K9lLcBUgeR7rhVEzHNqhmhNj/HnikwGqXbIofhp+QbZmBKnAlCz -d77kg8K9lozHtfTkm1gX/7DdPzQKmgi7WOzzi2395wGubeqJLvYaEcqVbI0Eob+E -3CzRjNy/e/Tf3TJRW5etTcdZN6LVuIY7tNCHqlQZTwyycON/hfLTX6cLCnzDsqm/ -NxCuwn9aqP9aGRGfIu7Y+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BBMBAgAiBQJSTQfI -AhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2lUCGCRiV626FB/4kDIdi -FNk3GOrRRiWKS4tfwS1htdc8H7TcnQHvdIzMRqLleyJNTYAPGrHCvum95UrUg1/4 -gYuKJcGVCr7gNI69BjjEt+nnyNM5hFXUQK+Vcr8m29U7C59dEQANrJ1/2X8xTEDk -bY88FYi5CSeHfKw9KzHrw4lLM0cXCSUufQMpzhaWgT8YsOlPOKacKDtAbO5SjciK -WmN3LwS9N0jl3ePH+YYkjAiCgH5hmDLFI8z4aMPCHkMTAPs57E2qprtHKeeZTR6m -aVjKL1S58IcvCCKIQjOOlaLr6IX4JDjlkAqdyi8HJ6chS/vcnciY652uyyR4AcGZ -qGWO/WF7q5X0SCPZ -=5FZK ------END PGP PRIVATE KEY BLOCK----- diff --git a/test/data/package/multi-file-0.2.3.tar b/test/data/package/multi-file-0.2.3.tar Binary files differdeleted file mode 100644 index 2f1c5e93df1..00000000000 --- a/test/data/package/multi-file-0.2.3.tar +++ /dev/null diff --git a/test/data/package/multi-file-readme.txt b/test/data/package/multi-file-readme.txt deleted file mode 100644 index affd2e96fb0..00000000000 --- a/test/data/package/multi-file-readme.txt +++ /dev/null @@ -1 +0,0 @@ -This is a bare-bones readme file for the multi-file package. diff --git a/test/data/package/newer-versions/archive-contents b/test/data/package/newer-versions/archive-contents deleted file mode 100644 index add5f2909d0..00000000000 --- a/test/data/package/newer-versions/archive-contents +++ /dev/null @@ -1,13 +0,0 @@ -(1 - (simple-single . - [(1 4) - nil "A single-file package with no dependencies" single]) - (simple-depend . - [(1 0) - ((simple-single (1 3))) "A single-file package with a dependency." single]) - (new-pkg . - [(1 0) - nil "A package only seen after "updating" archive-contents" single]) - (multi-file . - [(0 2 3) - nil "Example of a multi-file tar package" tar])) diff --git a/test/data/package/newer-versions/new-pkg-1.0.el b/test/data/package/newer-versions/new-pkg-1.0.el deleted file mode 100644 index 7251622fa59..00000000000 --- a/test/data/package/newer-versions/new-pkg-1.0.el +++ /dev/null @@ -1,18 +0,0 @@ -;;; new-pkg.el --- A package only seen after "updating" archive-contents - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.0 - -;;; Commentary: - -;; This will only show up after updating "archive-contents". - -;;; Code: - -(defun new-pkg-frob () - "Ignore me." - (ignore)) - -(provide 'new-pkg) - -;;; new-pkg.el ends here diff --git a/test/data/package/newer-versions/simple-single-1.4.el b/test/data/package/newer-versions/simple-single-1.4.el deleted file mode 100644 index 7b1c00c06db..00000000000 --- a/test/data/package/newer-versions/simple-single-1.4.el +++ /dev/null @@ -1,36 +0,0 @@ -;;; simple-single.el --- A single-file package with no dependencies - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.4 -;; Keywords: frobnicate - -;;; Commentary: - -;; This package provides a minor mode to frobnicate and/or bifurcate -;; any flanges you desire. To activate it, type "C-M-r M-3 butterfly" -;; and all your dreams will come true. -;; -;; This is a new, updated version. - -;;; Code: - -(defgroup simple-single nil "Simply a file" - :group 'lisp) - -(defcustom simple-single-super-sunday nil - "How great is this? -Default changed to nil." - :type 'boolean - :group 'simple-single - :package-version "1.4") - -(defvar simple-single-sudo-sandwich nil - "Make a sandwich?") - -;;;###autoload -(define-minor-mode simple-single-mode - "It does good things to stuff") - -(provide 'simple-single) - -;;; simple-single.el ends here diff --git a/test/data/package/package-test-server.py b/test/data/package/package-test-server.py deleted file mode 100644 index 35ca820f31f..00000000000 --- a/test/data/package/package-test-server.py +++ /dev/null @@ -1,21 +0,0 @@ -import sys -import BaseHTTPServer -from SimpleHTTPServer import SimpleHTTPRequestHandler - - -HandlerClass = SimpleHTTPRequestHandler -ServerClass = BaseHTTPServer.HTTPServer -Protocol = "HTTP/1.0" - -if sys.argv[1:]: - port = int(sys.argv[1]) -else: - port = 8000 - server_address = ('127.0.0.1', port) - -HandlerClass.protocol_version = Protocol -httpd = ServerClass(server_address, HandlerClass) - -sa = httpd.socket.getsockname() -print "Serving HTTP on", sa[0], "port", sa[1], "..." -httpd.serve_forever() diff --git a/test/data/package/signed/archive-contents b/test/data/package/signed/archive-contents deleted file mode 100644 index 2a773ecba6a..00000000000 --- a/test/data/package/signed/archive-contents +++ /dev/null @@ -1,7 +0,0 @@ -(1 - (signed-good . - [(1 0) - nil "A package with good signature" single]) - (signed-bad . - [(1 0) - nil "A package with bad signature" single])) diff --git a/test/data/package/signed/archive-contents.sig b/test/data/package/signed/archive-contents.sig Binary files differdeleted file mode 100644 index 658edd3f60e..00000000000 --- a/test/data/package/signed/archive-contents.sig +++ /dev/null diff --git a/test/data/package/signed/signed-bad-1.0.el b/test/data/package/signed/signed-bad-1.0.el deleted file mode 100644 index 3734823876e..00000000000 --- a/test/data/package/signed/signed-bad-1.0.el +++ /dev/null @@ -1,33 +0,0 @@ -;;; signed-bad.el --- A single-file package with bad signature - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.0 -;; Keywords: frobnicate -;; URL: http://doodles.au - -;;; Commentary: - -;; This package provides a minor mode to frobnicate and/or bifurcate -;; any flanges you desire. To activate it, type "C-M-r M-3 butterfly" -;; and all your dreams will come true. - -;;; Code: - -(defgroup signed-bad nil "Simply a file" - :group 'lisp) - -(defcustom signed-bad-super-sunday t - "How great is this?" - :type 'boolean - :group 'signed-bad) - -(defvar signed-bad-sudo-sandwich nil - "Make a sandwich?") - -;;;###autoload -(define-minor-mode signed-bad-mode - "It does good things to stuff") - -(provide 'signed-bad) - -;;; signed-bad.el ends here diff --git a/test/data/package/signed/signed-bad-1.0.el.sig b/test/data/package/signed/signed-bad-1.0.el.sig Binary files differdeleted file mode 100644 index 747918794ca..00000000000 --- a/test/data/package/signed/signed-bad-1.0.el.sig +++ /dev/null diff --git a/test/data/package/signed/signed-good-1.0.el b/test/data/package/signed/signed-good-1.0.el deleted file mode 100644 index 22718df2763..00000000000 --- a/test/data/package/signed/signed-good-1.0.el +++ /dev/null @@ -1,33 +0,0 @@ -;;; signed-good.el --- A single-file package with good signature - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.0 -;; Keywords: frobnicate -;; URL: http://doodles.au - -;;; Commentary: - -;; This package provides a minor mode to frobnicate and/or bifurcate -;; any flanges you desire. To activate it, type "C-M-r M-3 butterfly" -;; and all your dreams will come true. - -;;; Code: - -(defgroup signed-good nil "Simply a file" - :group 'lisp) - -(defcustom signed-good-super-sunday t - "How great is this?" - :type 'boolean - :group 'signed-good) - -(defvar signed-good-sudo-sandwich nil - "Make a sandwich?") - -;;;###autoload -(define-minor-mode signed-good-mode - "It does good things to stuff") - -(provide 'signed-good) - -;;; signed-good.el ends here diff --git a/test/data/package/signed/signed-good-1.0.el.sig b/test/data/package/signed/signed-good-1.0.el.sig Binary files differdeleted file mode 100644 index 747918794ca..00000000000 --- a/test/data/package/signed/signed-good-1.0.el.sig +++ /dev/null diff --git a/test/data/package/simple-depend-1.0.el b/test/data/package/simple-depend-1.0.el deleted file mode 100644 index b58b658d024..00000000000 --- a/test/data/package/simple-depend-1.0.el +++ /dev/null @@ -1,17 +0,0 @@ -;;; simple-depend.el --- A single-file package with a dependency. - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.0 -;; Keywords: frobnicate -;; Package-Requires: ((simple-single "1.3")) - -;;; Commentary: - -;; Depends on another package. - -;;; Code: - -(defvar simple-depend "Value" - "Some trivial code") - -;;; simple-depend.el ends here diff --git a/test/data/package/simple-single-1.3.el b/test/data/package/simple-single-1.3.el deleted file mode 100644 index 6756a28080b..00000000000 --- a/test/data/package/simple-single-1.3.el +++ /dev/null @@ -1,33 +0,0 @@ -;;; simple-single.el --- A single-file package with no dependencies - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.3 -;; Keywords: frobnicate -;; URL: http://doodles.au - -;;; Commentary: - -;; This package provides a minor mode to frobnicate and/or bifurcate -;; any flanges you desire. To activate it, type "C-M-r M-3 butterfly" -;; and all your dreams will come true. - -;;; Code: - -(defgroup simple-single nil "Simply a file" - :group 'lisp) - -(defcustom simple-single-super-sunday t - "How great is this?" - :type 'boolean - :group 'simple-single) - -(defvar simple-single-sudo-sandwich nil - "Make a sandwich?") - -;;;###autoload -(define-minor-mode simple-single-mode - "It does good things to stuff") - -(provide 'simple-single) - -;;; simple-single.el ends here diff --git a/test/data/package/simple-single-readme.txt b/test/data/package/simple-single-readme.txt deleted file mode 100644 index 25d3034032b..00000000000 --- a/test/data/package/simple-single-readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -This package provides a minor mode to frobnicate and/or bifurcate -any flanges you desire. To activate it, type "C-M-r M-3 butterfly" -and all your dreams will come true. diff --git a/test/data/package/simple-two-depend-1.1.el b/test/data/package/simple-two-depend-1.1.el deleted file mode 100644 index 9cfe5c0d4e2..00000000000 --- a/test/data/package/simple-two-depend-1.1.el +++ /dev/null @@ -1,17 +0,0 @@ -;;; simple-two-depend.el --- A single-file package with two dependencies. - -;; Author: J. R. Hacker <jrh@example.com> -;; Version: 1.1 -;; Keywords: frobnicate -;; Package-Requires: ((simple-depend "1.0") (simple-single "1.3")) - -;;; Commentary: - -;; Depends on two another packages. - -;;; Code: - -(defvar simple-two-depend "Value" - "Some trivial code") - -;;; simple-two-depend.el ends here |