piko-max-mod 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/piko-max-mod.gemspec +12 -0
  3. data/test-unit-3.7.8/BSDL +24 -0
  4. data/test-unit-3.7.8/COPYING +64 -0
  5. data/test-unit-3.7.8/PSFL +271 -0
  6. data/test-unit-3.7.8/README.md +108 -0
  7. data/test-unit-3.7.8/Rakefile +74 -0
  8. data/test-unit-3.7.8/bin/test-unit +5 -0
  9. data/test-unit-3.7.8/doc/text/getting-started.md +120 -0
  10. data/test-unit-3.7.8/doc/text/how-to.md +90 -0
  11. data/test-unit-3.7.8/doc/text/news.md +2070 -0
  12. data/test-unit-3.7.8/lib/test/unit/assertion-failed-error.rb +60 -0
  13. data/test-unit-3.7.8/lib/test/unit/assertions.rb +2536 -0
  14. data/test-unit-3.7.8/lib/test/unit/attribute-matcher.rb +26 -0
  15. data/test-unit-3.7.8/lib/test/unit/attribute.rb +228 -0
  16. data/test-unit-3.7.8/lib/test/unit/auto-runner-loader.rb +17 -0
  17. data/test-unit-3.7.8/lib/test/unit/autorunner.rb +654 -0
  18. data/test-unit-3.7.8/lib/test/unit/code-snippet-fetcher.rb +58 -0
  19. data/test-unit-3.7.8/lib/test/unit/collector/descendant.rb +20 -0
  20. data/test-unit-3.7.8/lib/test/unit/collector/dir.rb +110 -0
  21. data/test-unit-3.7.8/lib/test/unit/collector/load.rb +201 -0
  22. data/test-unit-3.7.8/lib/test/unit/collector/objectspace.rb +35 -0
  23. data/test-unit-3.7.8/lib/test/unit/collector/xml.rb +249 -0
  24. data/test-unit-3.7.8/lib/test/unit/collector.rb +104 -0
  25. data/test-unit-3.7.8/lib/test/unit/color-scheme.rb +225 -0
  26. data/test-unit-3.7.8/lib/test/unit/color.rb +134 -0
  27. data/test-unit-3.7.8/lib/test/unit/data-sets.rb +127 -0
  28. data/test-unit-3.7.8/lib/test/unit/data.rb +371 -0
  29. data/test-unit-3.7.8/lib/test/unit/diff.rb +745 -0
  30. data/test-unit-3.7.8/lib/test/unit/error.rb +158 -0
  31. data/test-unit-3.7.8/lib/test/unit/exception-handler.rb +82 -0
  32. data/test-unit-3.7.8/lib/test/unit/failure.rb +169 -0
  33. data/test-unit-3.7.8/lib/test/unit/fault-location-detector.rb +104 -0
  34. data/test-unit-3.7.8/lib/test/unit/fixture.rb +304 -0
  35. data/test-unit-3.7.8/lib/test/unit/notification.rb +138 -0
  36. data/test-unit-3.7.8/lib/test/unit/omission.rb +198 -0
  37. data/test-unit-3.7.8/lib/test/unit/pending.rb +155 -0
  38. data/test-unit-3.7.8/lib/test/unit/priority.rb +194 -0
  39. data/test-unit-3.7.8/lib/test/unit/process-test-result.rb +55 -0
  40. data/test-unit-3.7.8/lib/test/unit/process-worker.rb +87 -0
  41. data/test-unit-3.7.8/lib/test/unit/runner/console.rb +86 -0
  42. data/test-unit-3.7.8/lib/test/unit/runner/emacs.rb +8 -0
  43. data/test-unit-3.7.8/lib/test/unit/runner/xml.rb +15 -0
  44. data/test-unit-3.7.8/lib/test/unit/sub-test-result.rb +59 -0
  45. data/test-unit-3.7.8/lib/test/unit/test-process-run-context.rb +21 -0
  46. data/test-unit-3.7.8/lib/test/unit/test-run-context.rb +16 -0
  47. data/test-unit-3.7.8/lib/test/unit/test-suite-creator.rb +103 -0
  48. data/test-unit-3.7.8/lib/test/unit/test-suite-process-runner.rb +205 -0
  49. data/test-unit-3.7.8/lib/test/unit/test-suite-runner.rb +132 -0
  50. data/test-unit-3.7.8/lib/test/unit/test-suite-thread-runner.rb +96 -0
  51. data/test-unit-3.7.8/lib/test/unit/test-thread-run-context.rb +23 -0
  52. data/test-unit-3.7.8/lib/test/unit/testcase.rb +1058 -0
  53. data/test-unit-3.7.8/lib/test/unit/testresult.rb +132 -0
  54. data/test-unit-3.7.8/lib/test/unit/testsuite.rb +133 -0
  55. data/test-unit-3.7.8/lib/test/unit/ui/console/outputlevel.rb +15 -0
  56. data/test-unit-3.7.8/lib/test/unit/ui/console/testrunner.rb +891 -0
  57. data/test-unit-3.7.8/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  58. data/test-unit-3.7.8/lib/test/unit/ui/testrunner.rb +53 -0
  59. data/test-unit-3.7.8/lib/test/unit/ui/testrunnermediator.rb +131 -0
  60. data/test-unit-3.7.8/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  61. data/test-unit-3.7.8/lib/test/unit/ui/xml/testrunner.rb +225 -0
  62. data/test-unit-3.7.8/lib/test/unit/util/backtracefilter.rb +65 -0
  63. data/test-unit-3.7.8/lib/test/unit/util/memory-usage.rb +47 -0
  64. data/test-unit-3.7.8/lib/test/unit/util/method-owner-finder.rb +28 -0
  65. data/test-unit-3.7.8/lib/test/unit/util/observable.rb +86 -0
  66. data/test-unit-3.7.8/lib/test/unit/util/output.rb +32 -0
  67. data/test-unit-3.7.8/lib/test/unit/util/procwrapper.rb +48 -0
  68. data/test-unit-3.7.8/lib/test/unit/version.rb +5 -0
  69. data/test-unit-3.7.8/lib/test/unit/warning.rb +3 -0
  70. data/test-unit-3.7.8/lib/test/unit/worker-context.rb +20 -0
  71. data/test-unit-3.7.8/lib/test/unit.rb +521 -0
  72. data/test-unit-3.7.8/lib/test-unit.rb +19 -0
  73. data/test-unit-3.7.8/sample/adder.rb +13 -0
  74. data/test-unit-3.7.8/sample/subtracter.rb +12 -0
  75. data/test-unit-3.7.8/sample/test_adder.rb +20 -0
  76. data/test-unit-3.7.8/sample/test_subtracter.rb +20 -0
  77. data/test-unit-3.7.8/sample/test_user.rb +23 -0
  78. metadata +117 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 851f328e539808218ea0fc24cc140f496510f965dc00ebceaf4fb98be619eade
4
+ data.tar.gz: 4be78c049bc8206abab8a7a8409e8b9b5848e3f1225dfed6bf6209d1ef88b466
5
+ SHA512:
6
+ metadata.gz: 71e918846e01df13d7ae581b858a2d5c138d3d6fed8880fb20474e42c6686b0e4a5fc41d80856cec6f1f3ae97fa2d9a1a34390d57414a270d936318d156dc401
7
+ data.tar.gz: c1410c699478e60dd129d1fe0cabe09b2ec0956dbe9cd562c8f276b24ce4349426f101a1f8c8aa9d01f49d0405d9ef9c6f2a35b983110b9ad3dfe3adac70b9f3
@@ -0,0 +1,12 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "piko-max-mod"
3
+ s.version = "0.0.1"
4
+ s.summary = "Research test"
5
+ s.description = "University research based on test-unit"
6
+ s.authors = ["Andrey78"]
7
+ s.email = ["cakoc614@gmail.com"]
8
+ s.files = Dir.glob("**/*").reject { |f| f.end_with?('.gem') }
9
+ s.homepage = "https://rubygems.org/profiles/Andrey78"
10
+ s.license = "MIT"
11
+ s.metadata = { "source_code_uri" => "https://github.com/Andrey78/piko-max-mod" }
12
+ end
@@ -0,0 +1,24 @@
1
+ Copyright (C) 2003-2007 Nathaniel Talbott. All rights reserved.
2
+ Copyright (C) 2008 Ryan Davis. All rights reserved.
3
+ Copyright (C) 2008-2020 Sutou Kouhei. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions
7
+ are met:
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24
+ SUCH DAMAGE.
@@ -0,0 +1,64 @@
1
+ test-unit is copyrighted free software by Kouhei Sutou
2
+ <kou@cozmixng.org>, Ryan Davis <ryand-ruby@zenspider.com>
3
+ and Nathaniel Talbott <nathaniel@talbott.ws>.
4
+
5
+ You can redistribute it and/or modify it under either the terms of the
6
+ 2-clause BSDL (see the file BSDL), or the conditions below:
7
+
8
+ 1. You may make and give away verbatim copies of the source form of the
9
+ software without restriction, provided that you duplicate all of the
10
+ original copyright notices and associated disclaimers.
11
+
12
+ 2. You may modify your copy of the software in any way, provided that
13
+ you do at least ONE of the following:
14
+
15
+ a. place your modifications in the Public Domain or otherwise
16
+ make them Freely Available, such as by posting said
17
+ modifications to Usenet or an equivalent medium, or by allowing
18
+ the author to include your modifications in the software.
19
+
20
+ b. use the modified software only within your corporation or
21
+ organization.
22
+
23
+ c. give non-standard binaries non-standard names, with
24
+ instructions on where to get the original software distribution.
25
+
26
+ d. make other distribution arrangements with the author.
27
+
28
+ 3. You may distribute the software in object code or binary form,
29
+ provided that you do at least ONE of the following:
30
+
31
+ a. distribute the binaries and library files of the software,
32
+ together with instructions (in the manual page or equivalent)
33
+ on where to get the original distribution.
34
+
35
+ b. accompany the distribution with the machine-readable source of
36
+ the software.
37
+
38
+ c. give non-standard binaries non-standard names, with
39
+ instructions on where to get the original software distribution.
40
+
41
+ d. make other distribution arrangements with the author.
42
+
43
+ 4. You may modify and include the part of the software into any other
44
+ software (possibly commercial). But some files in the distribution
45
+ are not written by the author, so that they are not under these terms.
46
+
47
+ For the list of those files and their copying conditions, see the
48
+ file LEGAL.
49
+
50
+ 5. The scripts and library files supplied as input to or produced as
51
+ output from the software do not automatically fall under the
52
+ copyright of the software, but belong to whomever generated them,
53
+ and may be sold commercially, and may be aggregated with this
54
+ software.
55
+
56
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
57
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
58
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59
+ PURPOSE.
60
+
61
+ Exceptions
62
+ ----------
63
+
64
+ * lib/test/unit/diff.rb: This license and PSF license
@@ -0,0 +1,271 @@
1
+ This is the official license for the Python 2.5 release:
2
+
3
+ A. HISTORY OF THE SOFTWARE
4
+ ==========================
5
+
6
+ Python was created in the early 1990s by Guido van Rossum at Stichting
7
+ Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
8
+ as a successor of a language called ABC. Guido remains Python's
9
+ principal author, although it includes many contributions from others.
10
+
11
+ In 1995, Guido continued his work on Python at the Corporation for
12
+ National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
13
+ in Reston, Virginia where he released several versions of the
14
+ software.
15
+
16
+ In May 2000, Guido and the Python core development team moved to
17
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
18
+ year, the PythonLabs team moved to Digital Creations (now Zope
19
+ Corporation, see http://www.zope.com). In 2001, the Python Software
20
+ Foundation (PSF, see http://www.python.org/psf/) was formed, a
21
+ non-profit organization created specifically to own Python-related
22
+ Intellectual Property. Zope Corporation is a sponsoring member of
23
+ the PSF.
24
+
25
+ All Python releases are Open Source (see http://www.opensource.org for
26
+ the Open Source Definition). Historically, most, but not all, Python
27
+ releases have also been GPL-compatible; the table below summarizes
28
+ the various releases.
29
+
30
+ Release Derived Year Owner GPL-
31
+ from compatible? (1)
32
+
33
+ 0.9.0 thru 1.2 1991-1995 CWI yes
34
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
35
+ 1.6 1.5.2 2000 CNRI no
36
+ 2.0 1.6 2000 BeOpen.com no
37
+ 1.6.1 1.6 2001 CNRI yes (2)
38
+ 2.1 2.0+1.6.1 2001 PSF no
39
+ 2.0.1 2.0+1.6.1 2001 PSF yes
40
+ 2.1.1 2.1+2.0.1 2001 PSF yes
41
+ 2.2 2.1.1 2001 PSF yes
42
+ 2.1.2 2.1.1 2002 PSF yes
43
+ 2.1.3 2.1.2 2002 PSF yes
44
+ 2.2.1 2.2 2002 PSF yes
45
+ 2.2.2 2.2.1 2002 PSF yes
46
+ 2.2.3 2.2.2 2003 PSF yes
47
+ 2.3 2.2.2 2002-2003 PSF yes
48
+ 2.3.1 2.3 2002-2003 PSF yes
49
+ 2.3.2 2.3.1 2002-2003 PSF yes
50
+ 2.3.3 2.3.2 2002-2003 PSF yes
51
+ 2.3.4 2.3.3 2004 PSF yes
52
+ 2.3.5 2.3.4 2005 PSF yes
53
+ 2.4 2.3 2004 PSF yes
54
+ 2.4.1 2.4 2005 PSF yes
55
+ 2.4.2 2.4.1 2005 PSF yes
56
+ 2.4.3 2.4.2 2006 PSF yes
57
+ 2.5 2.4 2006 PSF yes
58
+
59
+ Footnotes:
60
+
61
+ (1) GPL-compatible doesn't mean that we're distributing Python under
62
+ the GPL. All Python licenses, unlike the GPL, let you distribute
63
+ a modified version without making your changes open source. The
64
+ GPL-compatible licenses make it possible to combine Python with
65
+ other software that is released under the GPL; the others don't.
66
+
67
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
68
+ because its license has a choice of law clause. According to
69
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
70
+ is "not incompatible" with the GPL.
71
+
72
+ Thanks to the many outside volunteers who have worked under Guido's
73
+ direction to make these releases possible.
74
+
75
+
76
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
77
+ ===============================================================
78
+
79
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
80
+ --------------------------------------------
81
+
82
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
83
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
84
+ otherwise using this software ("Python") in source or binary form and
85
+ its associated documentation.
86
+
87
+ 2. Subject to the terms and conditions of this License Agreement, PSF
88
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
89
+ license to reproduce, analyze, test, perform and/or display publicly,
90
+ prepare derivative works, distribute, and otherwise use Python
91
+ alone or in any derivative version, provided, however, that PSF's
92
+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
93
+ 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
94
+ Reserved" are retained in Python alone or in any derivative version
95
+ prepared by Licensee.
96
+
97
+ 3. In the event Licensee prepares a derivative work that is based on
98
+ or incorporates Python or any part thereof, and wants to make
99
+ the derivative work available to others as provided herein, then
100
+ Licensee hereby agrees to include in any such work a brief summary of
101
+ the changes made to Python.
102
+
103
+ 4. PSF is making Python available to Licensee on an "AS IS"
104
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
105
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
106
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
107
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
108
+ INFRINGE ANY THIRD PARTY RIGHTS.
109
+
110
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
111
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
112
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
113
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
114
+
115
+ 6. This License Agreement will automatically terminate upon a material
116
+ breach of its terms and conditions.
117
+
118
+ 7. Nothing in this License Agreement shall be deemed to create any
119
+ relationship of agency, partnership, or joint venture between PSF and
120
+ Licensee. This License Agreement does not grant permission to use PSF
121
+ trademarks or trade name in a trademark sense to endorse or promote
122
+ products or services of Licensee, or any third party.
123
+
124
+ 8. By copying, installing or otherwise using Python, Licensee
125
+ agrees to be bound by the terms and conditions of this License
126
+ Agreement.
127
+
128
+
129
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
130
+ -------------------------------------------
131
+
132
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
133
+
134
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
135
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
136
+ Individual or Organization ("Licensee") accessing and otherwise using
137
+ this software in source or binary form and its associated
138
+ documentation ("the Software").
139
+
140
+ 2. Subject to the terms and conditions of this BeOpen Python License
141
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
142
+ royalty-free, world-wide license to reproduce, analyze, test, perform
143
+ and/or display publicly, prepare derivative works, distribute, and
144
+ otherwise use the Software alone or in any derivative version,
145
+ provided, however, that the BeOpen Python License is retained in the
146
+ Software, alone or in any derivative version prepared by Licensee.
147
+
148
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
149
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
150
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
151
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
152
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
153
+ INFRINGE ANY THIRD PARTY RIGHTS.
154
+
155
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
156
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
157
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
158
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
159
+
160
+ 5. This License Agreement will automatically terminate upon a material
161
+ breach of its terms and conditions.
162
+
163
+ 6. This License Agreement shall be governed by and interpreted in all
164
+ respects by the law of the State of California, excluding conflict of
165
+ law provisions. Nothing in this License Agreement shall be deemed to
166
+ create any relationship of agency, partnership, or joint venture
167
+ between BeOpen and Licensee. This License Agreement does not grant
168
+ permission to use BeOpen trademarks or trade names in a trademark
169
+ sense to endorse or promote products or services of Licensee, or any
170
+ third party. As an exception, the "BeOpen Python" logos available at
171
+ http://www.pythonlabs.com/logos.html may be used according to the
172
+ permissions granted on that web page.
173
+
174
+ 7. By copying, installing or otherwise using the software, Licensee
175
+ agrees to be bound by the terms and conditions of this License
176
+ Agreement.
177
+
178
+
179
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
180
+ ---------------------------------------
181
+
182
+ 1. This LICENSE AGREEMENT is between the Corporation for National
183
+ Research Initiatives, having an office at 1895 Preston White Drive,
184
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
185
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
186
+ source or binary form and its associated documentation.
187
+
188
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
189
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
190
+ license to reproduce, analyze, test, perform and/or display publicly,
191
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
192
+ alone or in any derivative version, provided, however, that CNRI's
193
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
194
+ 1995-2001 Corporation for National Research Initiatives; All Rights
195
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
196
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
197
+ Agreement, Licensee may substitute the following text (omitting the
198
+ quotes): "Python 1.6.1 is made available subject to the terms and
199
+ conditions in CNRI's License Agreement. This Agreement together with
200
+ Python 1.6.1 may be located on the Internet using the following
201
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
202
+ Agreement may also be obtained from a proxy server on the Internet
203
+ using the following URL: http://hdl.handle.net/1895.22/1013".
204
+
205
+ 3. In the event Licensee prepares a derivative work that is based on
206
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
207
+ the derivative work available to others as provided herein, then
208
+ Licensee hereby agrees to include in any such work a brief summary of
209
+ the changes made to Python 1.6.1.
210
+
211
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
212
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
213
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
214
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
215
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
216
+ INFRINGE ANY THIRD PARTY RIGHTS.
217
+
218
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
219
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
220
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
221
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
222
+
223
+ 6. This License Agreement will automatically terminate upon a material
224
+ breach of its terms and conditions.
225
+
226
+ 7. This License Agreement shall be governed by the federal
227
+ intellectual property law of the United States, including without
228
+ limitation the federal copyright law, and, to the extent such
229
+ U.S. federal law does not apply, by the law of the Commonwealth of
230
+ Virginia, excluding Virginia's conflict of law provisions.
231
+ Notwithstanding the foregoing, with regard to derivative works based
232
+ on Python 1.6.1 that incorporate non-separable material that was
233
+ previously distributed under the GNU General Public License (GPL), the
234
+ law of the Commonwealth of Virginia shall govern this License
235
+ Agreement only as to issues arising under or with respect to
236
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
237
+ License Agreement shall be deemed to create any relationship of
238
+ agency, partnership, or joint venture between CNRI and Licensee. This
239
+ License Agreement does not grant permission to use CNRI trademarks or
240
+ trade name in a trademark sense to endorse or promote products or
241
+ services of Licensee, or any third party.
242
+
243
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
244
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
245
+ bound by the terms and conditions of this License Agreement.
246
+
247
+ ACCEPT
248
+
249
+
250
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
251
+ --------------------------------------------------
252
+
253
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
254
+ The Netherlands. All rights reserved.
255
+
256
+ Permission to use, copy, modify, and distribute this software and its
257
+ documentation for any purpose and without fee is hereby granted,
258
+ provided that the above copyright notice appear in all copies and that
259
+ both that copyright notice and this permission notice appear in
260
+ supporting documentation, and that the name of Stichting Mathematisch
261
+ Centrum or CWI not be used in advertising or publicity pertaining to
262
+ distribution of the software without specific, written prior
263
+ permission.
264
+
265
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
266
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
267
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
268
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
269
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
270
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
271
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,108 @@
1
+ # test-unit
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/test-unit.png)](http://badge.fury.io/rb/test-unit)
4
+ [![Build Status for Ruby 2.1+](https://github.com/test-unit/test-unit/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/test-unit/test-unit/actions/workflows/test.yml?query=branch%3Amaster+)
5
+
6
+ * https://test-unit.github.io/
7
+ * https://github.com/test-unit/test-unit
8
+
9
+ ## Description
10
+
11
+ An xUnit family unit testing framework for Ruby.
12
+
13
+ test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit
14
+ principles. These were originally designed by Kent Beck, creator of extreme
15
+ programming software development methodology, for Smalltalk's SUnit. It allows
16
+ writing tests, checking results and automated testing in Ruby.
17
+
18
+ test-unit ships as part of Ruby as a bundled gem. To check which version is included, see https://stdgems.org/test-unit/.
19
+ It's only necessary to install the gem if you need a newer version.
20
+
21
+ test-unit is the original Ruby unit testing library, and is still active.
22
+ It is one of two unit testing libraries bundled with Ruby, the other being [minitest](https://github.com/minitest/minitest).
23
+
24
+ When deciding which to use, consider:
25
+
26
+ * test-unit is strict about backwards compatibility. A backwards-incompatible change would be considered a bug.
27
+ * test-unit aims to support old Ruby versions, even if EOL.
28
+
29
+ ## Features
30
+
31
+ * test-unit 1.2.3 is the original test-unit, taken
32
+ straight from the ruby distribution. It is being
33
+ distributed as a gem to allow tool builders to use it as a
34
+ stand-alone package. (The test framework in ruby is going
35
+ to radically change very soon).
36
+
37
+ * test-unit will be improved actively and may break
38
+ compatibility with test-unit 1.2.3. (We will not hope it
39
+ if it isn't needed.)
40
+
41
+ * Some features exist as separated gems like GUI test
42
+ runner. (Tk, GTK+ and Fox) test-unit-full gem package
43
+ provides for installing all test-unit related gems
44
+ easily.
45
+
46
+ ## How To
47
+
48
+ * [How To](https://github.com/test-unit/test-unit/blob/master/doc/text/how-to.md) (link for GitHub)
49
+ * {file:doc/text/how-to.md How To} (link for YARD)
50
+
51
+ ## Install
52
+
53
+ <pre>
54
+ % sudo gem install test-unit
55
+ </pre>
56
+
57
+ If you want to use full test-unit features:
58
+
59
+ <pre>
60
+ % sudo gem install test-unit-full
61
+ </pre>
62
+
63
+ ## License
64
+
65
+ This software is distributed under either the terms of new Ruby
66
+ License or BSDL. See the file [COPYING](COPYING).
67
+
68
+ Exception:
69
+
70
+ * lib/test/unit/diff.rb is a triple license of (the new Ruby license
71
+ or BSDL) and PSF license.
72
+
73
+ ## Authors
74
+
75
+ ### Active
76
+
77
+ * Kouhei Sutou: The current maintainer
78
+ * Haruka Yoshihara: Data driven test supports.
79
+
80
+ ### Inactive
81
+
82
+ * Nathaniel Talbott: The original author
83
+ * Ryan Davis: The second maintainer
84
+
85
+ ### Images
86
+
87
+ * Mayu & Co.: kinotan icons
88
+
89
+ ## Thanks
90
+
91
+ * Daniel Berger: Suggestions and bug reports.
92
+ * Designing Patterns: Suggestions.
93
+ * Erik Hollensbe: Suggestions and bug reports.
94
+ * Bill Lear: A suggestion.
95
+ * Diego Pettenò: A bug report.
96
+ * Angelo Lakra: A bug report.
97
+ * Mike Pomraning: A bug report.
98
+ * David MARCHALAND: Suggestions and bug reports.
99
+ * Andrew Grimm: A bug report.
100
+ * Champak Ch: A bug report.
101
+ * Florian Frank: A bug report.
102
+ * grafi-tt: Bug fixes and reports.
103
+ * Jeremy Stephens: A bug report.
104
+ * Hans de Graaff: Bug reports.
105
+ * James Mead: A bug report.
106
+ * Marc Seeger (Acquia): A bug report.
107
+ * boutil: A bug report.
108
+ * Vladislav Rassokhin: A bug report.
@@ -0,0 +1,74 @@
1
+ # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2008-2024 Sutou Kouhei <kou@clear-code.com>
4
+
5
+ Encoding.default_internal = "UTF-8" if defined?(Encoding.default_internal)
6
+
7
+ # TODO: Remove me when we drop Ruby 1.9 support.
8
+ unless "".respond_to?(:b)
9
+ class String
10
+ def b
11
+ dup.force_encoding("ASCII-8BIT")
12
+ end
13
+ end
14
+ end
15
+
16
+ require "erb"
17
+ require "yaml"
18
+ require "rubygems"
19
+ require "rake/clean"
20
+ require "yard"
21
+ require "bundler/gem_helper"
22
+ require "packnga"
23
+
24
+ task :default => :test
25
+
26
+ base_dir = File.dirname(__FILE__)
27
+
28
+ helper = Bundler::GemHelper.new(base_dir)
29
+ def helper.version_tag
30
+ version
31
+ end
32
+
33
+ helper.install
34
+ spec = helper.gemspec
35
+
36
+ document_task = Packnga::DocumentTask.new(spec) do |task|
37
+ task.original_language = "en"
38
+ task.translate_languages = ["ja"]
39
+ end
40
+
41
+ Packnga::ReleaseTask.new(spec) do |task|
42
+ test_unit_github_io_dir_candidates = [
43
+ "../../www/test-unit.github.io",
44
+ ]
45
+ test_unit_github_io_dir = test_unit_github_io_dir_candidates.find do |dir|
46
+ File.directory?(dir)
47
+ end
48
+ task.index_html_dir = test_unit_github_io_dir
49
+ end
50
+
51
+ task :test do
52
+ ruby("test/run.rb")
53
+ end
54
+
55
+ namespace :doc do
56
+ task :add_permalink do
57
+ news_md = File.read("doc/text/news.md")
58
+ applied_permalink = news_md.gsub(/(?<pre>\[GitHub#(?<ref>\d+)\])(?!\()/) do
59
+ "#{Regexp.last_match[:pre]}(https://github.com/test-unit/test-unit/issues/#{Regexp.last_match[:ref]})"
60
+ end
61
+
62
+ File.write("doc/text/news.md", applied_permalink)
63
+ end
64
+ end
65
+
66
+ release_task = Rake.application["release"]
67
+ # We use Trusted Publishing.
68
+ release_task.prerequisites.delete("build")
69
+ release_task.prerequisites.delete("release:rubygem_push")
70
+ release_task_comment = release_task.comment
71
+ if release_task_comment
72
+ release_task.clear_comments
73
+ release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
74
+ end
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "test/unit"
4
+
5
+ exit(Test::Unit::AutoRunner.run(true))