]> gitweb.factorcode.org Git - factor.git/commitdiff
extra/: ensuring tests have an IN:-line ending with .tests
authorBjörn Lindqvist <bjourne@gmail.com>
Sat, 20 Aug 2016 04:01:16 +0000 (06:01 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Sat, 20 Aug 2016 04:01:16 +0000 (06:01 +0200)
12 files changed:
extra/asn1/asn1-tests.factor
extra/backtrack/backtrack-tests.factor
extra/fftw/fftw-tests.factor
extra/forestdb/lib/lib-tests.factor
extra/magic/magic-tests.factor
extra/math/primes/twins/twins-tests.factor
extra/math/text/utils/utils-tests.factor
extra/math/transforms/bwt/bwt-tests.factor
extra/metar/metar-tests.factor
extra/midi/midi-tests.factor
extra/pdf/wrap/wrap-tests.factor
extra/zeromq/zeromq-tests.factor

index ee2575e09e07ab899c867228bc6448bdc8f98b5a..9e56459a049cc010cd386c8dc09c10fe36a34111 100644 (file)
@@ -1,4 +1,5 @@
 USING: asn1 asn1.ldap io io.streams.string tools.test ;
+IN: asn1.tests
 
 { 6 } [
     "\u000002\u000001\u000006" [ asn-syntax read-ber ] with-string-reader
index 034c0cb0e07ee84c3cc96c328eb9b86d82b9e3a4..7fb2c55752a6ec32c78ca72bfbe6d0c87608cca1 100644 (file)
@@ -1,6 +1,7 @@
 ! Copyright (c) 2009 Samuel Tardieu.
 ! See See http://factorcode.org/license.txt for BSD license.
 USING: backtrack math tools.test ;
+IN: backtrack.tests
 
 cut-amb
 { 1 } [ { 1 2 } amb ] unit-test
index f5094a560e2de1ef808a61a38df59ec147fb09d7..a519400870bf2db443539a36b4395fbcf85c44e4 100644 (file)
@@ -1,5 +1,5 @@
-USING: tools.test ;
-IN: fftw
+USING: fftw tools.test ;
+IN: fftw.tests
 
 {
     { C{ 1.5 0.0 } C{ -0.5 0.0 } }
index 2aa978052388924cb588c646b2e8eba572dcd223..73a2a46f6292188a309a98fda86a6b2063bdfbb7 100644 (file)
@@ -1,13 +1,8 @@
 ! Copyright (C) 2014 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.data alien.strings
-alien.syntax arrays assocs classes.struct combinators
-combinators.short-circuit constructors continuations destructors
-forestdb.ffi forestdb.utils fry generalizations io.directories
-io.encodings.string io.encodings.utf8 io.files.temp io.pathnames
-kernel layouts libc make math math.parser math.ranges multiline
-namespaces sequences system tools.test ;
-IN: forestdb.lib
+USING: accessors alien.strings arrays forestdb.lib forestdb.utils kernel
+make multiline sequences tools.test ;
+IN: forestdb.lib.tests
 
 ! Get/set by key/value
 { "val123" } [
@@ -383,4 +378,4 @@ IN: forestdb.lib
             ] with-fdb-byseq-each
         ] { } make
     ] with-forestdb-test-manual
-] unit-test
\ No newline at end of file
+] unit-test
index 8935bfdc3ca8063b0323e7298cbce0aedd1f69d2..78d01cb072d084f6ea6d4420b65875598f0d05cf 100644 (file)
@@ -1,5 +1,5 @@
-USING: system tools.test ;
-IN: magic
+USING: magic system tools.test ;
+IN: magic.tests
 
 { "data" } [ image-path guess-file ] unit-test
 { "application/octet-stream" } [ image-path guess-mime-type ] unit-test
index 4188365e4128ce2888fa39d9ad5a7407cfc90fdb..2ecfdb203b0280530dc7413658e3e8e41feda63d 100644 (file)
@@ -1,9 +1,7 @@
 ! Copyright (C) 2012 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
-
-USING: tools.test ;
-
-IN: math.primes.twins
+USING: math.primes.twins tools.test ;
+IN: math.primes.twins.tests
 
 { { } } [ 3 twin-primes-upto ] unit-test
 { { V{ 3 5 } V{ 5 7 } V{ 11 13 } } } [ 13 twin-primes-upto ] unit-test
index 78500ef764783fe51ce44b79564ec83ff62122a4..e05e4e5499e99f1e4c37e13f97b6a1fcbe7c7cd5 100644 (file)
@@ -1,3 +1,4 @@
 USING: math.text.utils tools.test ;
+IN: math.text.utils.tests
 
 { { 1 999 2 } } [ 2999001 3 digit-groups ] unit-test
index b1f4ad7fdf4acb27ec59af36bb13a9873874938a..6c58161ef44b430ee50ef4a5fa2196295ab82805 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2012 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
-USING: tools.test ;
-IN: math.transforms.bwt
+USING: math.transforms.bwt tools.test ;
+IN: math.transforms.bwt.tests
 
 { "asdf" } [ "asdf" bwt ibwt ] unit-test
 
index 854cafdbc9a19967c22e98463f0f1fe91128c043..35f7bbe776f9766fa53878a3aaea4f4ed25e9eb5 100644 (file)
@@ -1,7 +1,5 @@
-
 USING: metar.private tools.test ;
-
-IN: metar
+IN: metar.tests
 
 { { "RAB05" "E30" "SNB20" "E55" } }
 [ "RAB05E30SNB20E55" split-recent-weather ] unit-test
index 8573e9c8d2b08f93ecdf555fe2c4aac2210bc3b8..f019ee1e6e9ae937dd50472d58f3126cc3254f49 100644 (file)
@@ -1,6 +1,6 @@
-USING: byte-arrays.hex io.encodings.binary io.streams.byte-array
+USING: byte-arrays.hex io.encodings.binary io.streams.byte-array midi
 midi.private sequences tools.test ;
-IN: midi
+IN: midi.tests
 
 ! variable-width numbers
 {
index 3343e04df9157bf199267eb733b9324dfdd2fc39..3019105b5de4acbf855a06d115f69e3580d21713 100644 (file)
@@ -1,5 +1,5 @@
-USING: fonts tools.test ;
-IN: pdf.wrap
+USING: fonts pdf.wrap tools.test ;
+IN: pdf.wrap.tests
 
 { "hello,      " "extra spaces" } [
     "hello,      extra spaces" word-split1
index ba4b9ae140e5cf1321dda76720e046a7a072afd1..0fc97832cb695322e901dc68db77c79b2bebcbc6 100644 (file)
@@ -1,9 +1,7 @@
 ! Copyright (C) 2011-2013 Eungju PARK, John Benediktsson.
 ! See http://factorcode.org/license.txt for BSD license.
-
-USING: destructors kernel tools.test ;
-
-IN: zeromq
+USING: destructors tools.test zeromq ;
+IN: zeromq.tests
 
 { B{ 0 1 10 33 244 255 } } [
     B{ 0 1 10 33 244 255 } byte-array>zmq-message