]> gitweb.factorcode.org Git - factor.git/commitdiff
more test IN: cleanup.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 15 Feb 2018 17:20:01 +0000 (09:20 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 15 Feb 2018 17:20:01 +0000 (09:20 -0800)
117 files changed:
basis/calendar/format/format-tests.factor
basis/checksums/crc16/crc16-tests.factor
basis/checksums/internet/internet-tests.factor
basis/checksums/ripemd/ripemd-tests.factor
basis/checksums/sha/sha-tests.factor
basis/fonts/fonts-tests.factor [deleted file]
basis/http/client/client-tests.factor
basis/http/server/server-tests.factor
basis/http/server/static/static-tests.factor
basis/inspector/inspector-tests.factor
basis/interpolate/interpolate-tests.factor
basis/io/crlf/crlf-tests.factor
basis/io/directories/hierarchy/hierarchy-tests.factor
basis/io/encodings/8-bit/8-bit-tests.factor
basis/io/encodings/gb18030/gb18030-tests.factor
basis/io/encodings/strict/strict-tests.factor
basis/io/encodings/string/string-tests.factor
basis/io/encodings/utf32/utf32-tests.factor
basis/io/encodings/utf7/utf7-tests.factor
basis/io/files/info/info-tests.factor
basis/io/files/info/unix/linux/linux-tests.factor
basis/io/files/info/windows/windows-tests.factor
basis/io/files/unique/unique-tests.factor
basis/io/files/windows/windows-tests.factor
basis/io/pipes/pipes-tests.factor
basis/io/pipes/unix/pipes-tests.factor
basis/io/sockets/secure/secure-tests.factor
basis/io/standard-paths/macosx/macosx-tests.factor
basis/io/standard-paths/standard-paths-tests.factor [deleted file]
basis/ip-parser/ip-parser-tests.factor
basis/json/prettyprint/prettyprint-tests.factor
basis/json/reader/reader-tests.factor
basis/lcs/diff2html/diff2html-tests.factor
basis/libc/libc-tests.factor
basis/linked-assocs/linked-assocs-tests.factor
basis/math/primes/erato/fast/fast-tests.factor
basis/math/primes/lucas-lehmer/lucas-lehmer-tests.factor
basis/math/primes/miller-rabin/miller-rabin-tests.factor
basis/math/primes/primes-tests.factor
basis/math/primes/safe/safe-tests.factor
basis/math/ranges/ranges-tests.factor
basis/math/statistics/statistics-tests.factor
basis/mime/types/types-tests.factor
basis/models/arrow/arrow-tests.factor
basis/models/arrow/smart/smart-tests.factor
basis/models/mapping/mapping-tests.factor
basis/nmake/nmake-tests.factor
basis/peg/debugger/debugger-tests.factor
basis/porter-stemmer/porter-stemmer-tests.factor
basis/present/present-tests.factor
basis/quoting/quoting-tests.factor
basis/sorting/human/human-tests.factor
basis/sorting/insertion/insertion-tests.factor
basis/soundex/soundex-tests.factor
basis/splitting/monotonic/monotonic-tests.factor
basis/strings/tables/tables-tests.factor
basis/suffix-arrays/suffix-arrays-tests.factor
basis/system-info/linux/linux-tests.factor
basis/system-info/windows/windows-tests.factor
basis/timers/timers-tests.factor
basis/ui/baseline-alignment/baseline-alignment-tests.factor
basis/ui/gadgets/borders/borders-tests.factor
basis/ui/gadgets/buttons/buttons-tests.factor
basis/ui/gadgets/canvas/canvas-tests.factor
basis/ui/gadgets/debug/debug-tests.factor [deleted file]
basis/ui/gadgets/editors/editors-tests.factor
basis/ui/gadgets/frames/frames-tests.factor
basis/ui/gadgets/glass/glass-tests.factor
basis/ui/gadgets/labeled/labeled-tests.factor
basis/ui/gadgets/labels/labels-tests.factor
basis/ui/gadgets/line-support/line-support-tests.factor
basis/ui/gadgets/packs/packs-tests.factor
basis/ui/gadgets/presentations/presentations-tests.factor
basis/ui/gadgets/scrollers/scrollers-tests.factor
basis/ui/gadgets/search-tables/search-tables-tests.factor
basis/ui/gadgets/tracks/tracks-tests.factor
basis/ui/images/images-tests.factor [deleted file]
basis/ui/pens/caching/caching-tests.factor
basis/ui/pens/gradient/gradient-tests.factor
basis/ui/pens/image/image-tests.factor [deleted file]
basis/ui/pens/pens-tests.factor [deleted file]
basis/ui/pens/polygon/polygon-tests.factor [deleted file]
basis/ui/pens/solid/solid-tests.factor [deleted file]
basis/ui/pens/tile/tile-tests.factor [deleted file]
basis/ui/render/render-tests.factor [deleted file]
basis/ui/text/text-tests.factor
basis/ui/tools/browser/browser-tests.factor
basis/ui/tools/debugger/debugger-tests.factor
basis/ui/tools/inspector/inspector-tests.factor
basis/ui/tools/listener/history/history-tests.factor
basis/ui/tools/listener/popups/popups-tests.factor [deleted file]
basis/ui/tools/walker/walker-tests.factor [deleted file]
basis/ui/ui-tests.factor [deleted file]
basis/unrolled-lists/unrolled-lists-tests.factor
basis/urls/encoding/encoding-tests.factor
basis/uuid/uuid-tests.factor
basis/webbrowser/webbrowser-tests.factor
basis/wrap/strings/strings-tests.factor
basis/wrap/words/words-tests.factor
basis/xml/data/data-tests.factor
basis/xml/entities/html/html-tests.factor [deleted file]
basis/xml/traversal/traversal-tests.factor
basis/xmode/catalog/catalog-tests.factor
basis/xmode/code2html/code2html-tests.factor
basis/xmode/keyword-map/keyword-map-tests.factor
basis/xmode/marker/marker-tests.factor
basis/xmode/rules/rules-tests.factor
core/alien/strings/strings-tests.factor
core/effects/effects-tests.factor
core/growable/growable-tests.factor
core/io/backend/backend-tests.factor
core/io/streams/byte-array/byte-array-tests.factor
core/io/streams/memory/memory-tests.factor
core/math/integers/integers-tests.factor
core/math/parser/parser-tests.factor
core/parser/notes/notes-tests.factor
core/source-files/errors/errors-tests.factor

index 349a493e4aeab3d5bfe001ff322068d9246455a6..ba74698d99c4bad70c982d942fc4c0e3d938a18f 100644 (file)
@@ -1,14 +1,23 @@
-USING: accessors calendar calendar.format io io.streams.string
-kernel math.order sequences tools.test ;
+USING: accessors calendar calendar.format sequences tools.test ;
 IN: calendar.format.tests
 
-{ } [ now timestamp>rfc3339 drop ] unit-test
-{ } [ now timestamp>rfc822 drop ] unit-test
+CONSTANT: testtime T{ timestamp
+    { year 2018 }
+    { month 2 }
+    { day 15 }
+    { hour 8 }
+    { minute 51 }
+    { second 44+423303/500000 }
+    { gmt-offset T{ duration { hour -8 } } }
+}
+
+{ "2018-02-15T08:51:44.846606-08:00" } [ testtime timestamp>rfc3339 ] unit-test
+
+{ "Thu, 15 Feb 2018 08:51:44 -0800" } [ testtime timestamp>rfc822 ] unit-test
 
 { }
 [ { 2008 2009 } [ year. ] each ] unit-test
 
-
 { "03:01:59" } [
     3 hours 1 >>minute 59 >>second duration>hms
 ] unit-test
index 6ee242ee75aad0339327f85a37e4eab51d60b51f..9927b809e0611537cce9bec9641d2d18ef8bdd79 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2016 Alexander Ilin.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test checksums checksums.crc16 ;
-IN: checksums.crc16.tests
 
 { B{ 0xb8 0x80 } } [
     B{ 0x01 0x04 0x02 0xFF 0xFF } crc16 checksum-bytes
index 11334905b0ce935df3c99a790ae74ac9da3e1883..060d9a18bf2bd44ef6f5d3bb7d4add38d201b86c 100644 (file)
@@ -1,19 +1,17 @@
 ! Copyright (C) 2010 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 USING: checksums checksums.internet tools.test ;
-IN: checksums.internet.tests
 
 { B{ 255 255 } } [ { } internet checksum-bytes ] unit-test
 { B{ 254 255 } } [ { 1 } internet checksum-bytes ] unit-test
 { B{ 254 253 } } [ { 1 2 } internet checksum-bytes ] unit-test
 { B{ 251 253 } } [ { 1 2 3 } internet checksum-bytes ] unit-test
 
-: test-data ( -- bytes )
+{ B{ 34 13 } } [
     B{
         0x00 0x01
         0xf2 0x03
         0xf4 0xf5
         0xf6 0xf7
-    } ;
-
-{ B{ 34 13 } } [ test-data internet checksum-bytes ] unit-test
+    } internet checksum-bytes
+] unit-test
index 31246f27fb53db544dcdc91c7e1bd477d878aad3..69898c96e8b9f4c21d3e8c3ba082ac0373a93e33 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2017 Jon Harper.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: checksums checksums.ripemd strings tools.test ;
-IN: checksums.ripemd.tests
 
 { B{
     0x9c 0x11 0x85 0xa5 0xc5
index 9aa5b89b0c90004ae8a7848a2ce901f8e4fd3e96..c0e59bf2a2724027f2c54eda5827215c73926e3c 100644 (file)
@@ -1,10 +1,6 @@
 USING: arrays checksums checksums.common checksums.sha
 checksums.sha.private io.encodings.binary io.streams.byte-array
 kernel math.parser sequences tools.test random ;
-IN: checksums.sha.tests
-
-: test-checksum ( text identifier -- checksum )
-    checksum-bytes bytes>hex-string ;
 
 { "a9993e364706816aba3e25717850c26c9cd0d89d" } [ "abc" sha1 checksum-bytes bytes>hex-string ] unit-test
 { "84983e441c3bd26ebaae4aa1f95129e5e54670f1" } [ "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" sha1 checksum-bytes bytes>hex-string ] unit-test
@@ -16,36 +12,36 @@ IN: checksums.sha.tests
 { "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525" }
 [
     "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
-    sha-224 test-checksum
+    sha-224 checksum-bytes bytes>hex-string
 ] unit-test
 
 { "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" }
-[ "" sha-256 test-checksum ] unit-test
+[ "" sha-256 checksum-bytes bytes>hex-string ] unit-test
 
 { "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad" }
-[ "abc" sha-256 test-checksum ] unit-test
+[ "abc" sha-256 checksum-bytes bytes>hex-string ] unit-test
 
 { "f7846f55cf23e14eebeab5b4e1550cad5b509e3348fbc4efa3a1413d393cb650" }
-[ "message digest" sha-256 test-checksum ] unit-test
+[ "message digest" sha-256 checksum-bytes bytes>hex-string ] unit-test
 
 { "71c480df93d6ae2f1efad1447c66c9525e316218cf51fc8d9ed832f2daf18b73" }
-[ "abcdefghijklmnopqrstuvwxyz" sha-256 test-checksum ] unit-test
+[ "abcdefghijklmnopqrstuvwxyz" sha-256 checksum-bytes bytes>hex-string ] unit-test
 
 { "db4bfcbd4da0cd85a60c3c37d3fbd8805c77f15fc6b1fdfe614ee0a7c8fdb4c0" }
 [
     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
-    sha-256 test-checksum
+    sha-256 checksum-bytes bytes>hex-string
 ] unit-test
 
 { "f371bc4a311f2b009eef952dd83ca80e2b60026c8e935592d0f9c308453c813e" }
 [
     "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
-    sha-256 test-checksum
+    sha-256 checksum-bytes bytes>hex-string
 ] unit-test
 
 
 ! [ "8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909" ]
-! [ "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" sha-512 test-checksum ] unit-test
+! [ "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" sha-512 checksum-bytes bytes>hex-string ] unit-test
 
 {
     t
diff --git a/basis/fonts/fonts-tests.factor b/basis/fonts/fonts-tests.factor
deleted file mode 100644 (file)
index 25856e0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test fonts ;
-IN: fonts.tests
index 651770acc8ec437e7b8684670a6de63951e1af32..c94a85136bae6d929506fbfce42415713836f3ab 100644 (file)
@@ -1,4 +1,4 @@
-USING: accessors io.sockets.secure http.client http.client.private http
+USING: accessors http http.client http.client.private
 io.streams.string kernel namespaces sequences tools.test urls ;
 IN: http.client.tests
 
index bc3f5e3f0d125e968d693f99a45154e7d12b0889..167eb7f127bef33cf51692ac80c4e551abfdedf5 100644 (file)
@@ -1,7 +1,6 @@
 USING: accessors assocs continuations http http.server
-http.server.requests io.encodings.utf8 io.encodings.binary io.streams.string
-kernel math peg sequences tools.test urls ;
-IN: http.server.tests
+http.server.requests io.encodings.utf8 io.encodings.binary
+io.streams.string kernel math peg sequences tools.test urls ;
 
 { t } [ [ \ + first ] [ <500> ] recover response? ] unit-test
 
index 0df3ca8501f926a0c8561502950bdb52d6c04e3f..95fa77569728244f6dc798d056c9db3af236bb47 100644 (file)
@@ -1,4 +1,3 @@
 USING: http.server.static tools.test xml.writer ;
-IN: http.server.static.tests
 
 { } [ "resource:basis" directory>html write-xml ] unit-test
index cc3532e214858c67fc60f9a52afe8921cd397649..f65e3f457f307482bb255beeb03723e39522dd69 100644 (file)
@@ -1,6 +1,5 @@
-USING: kernel tools.test math namespaces prettyprint
-sequences inspector io.streams.string ;
-IN: inspector.tests
+USING: kernel tools.test math namespaces prettyprint sequences
+inspector io.streams.string ;
 
 [ 1 2 3 ] describe
 f describe
index b5a44064f868aa5f8a7507e8f49e647f4639735f..cb1f3079fe26a98c8e4a0ae6696b8eae9c56b51b 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: interpolate io.streams.string namespaces tools.test locals ;
-IN: interpolate.tests
 
 { "A B" } [ "A" "B" "${1} ${0}" interpolate>string ] unit-test
 { "B A" } [ "A" "B" "${0} ${1}" interpolate>string ] unit-test
index 2326f36c2b1df52b41d94f35bcc0ce3af5773bb6..c366f3524282f7442aec8661c6129b248fbdf5c0 100644 (file)
@@ -1,4 +1,3 @@
-IN: io.crlf.tests
 USING: io.crlf tools.test io.streams.string io ;
 
 { "Hello, world." } [ "Hello, world." [ read-crlf ] with-string-reader ] unit-test
index 0bfc52da2a5cbf81d7f6808fcd15fdbee522c3b9..31577315c24b27febf891a92675e0e7520ef90a0 100644 (file)
@@ -1,6 +1,5 @@
 USING: io.directories io.directories.hierarchy kernel
 sequences tools.test ;
-IN: io.directories.hierarchy.tests
 
 { { "classes/tuple/tuple.factor" } } [
     "resource:core" [
index 97823f30d90f8273e3ffe1fc52edd8737840420f..84d5da84309181c8995f3f62c47055a85a3aaa97 100644 (file)
@@ -1,7 +1,6 @@
 USING: io.encodings.string io.encodings.8-bit
 io.encodings.8-bit.private tools.test strings arrays
 io.encodings.8-bit.latin1 io.encodings.8-bit.windows-1252 ;
-IN: io.encodings.8-bit.tests
 
 { B{ CHAR: f CHAR: o CHAR: o } } [ "foo" latin1 encode ] unit-test
 [ { 256 } >string latin1 encode ] must-fail
index e46fd0e26770b667be0f92a22a8e3e6d4db001a3..c341742a338e7c5693709b24ba22849bd7f7cdd4 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
 USING: io.encodings.gb18030 io.encodings.string strings tools.test arrays ;
-IN: io.encodings.gb18030.tests
 
 { "hello" } [ "hello" gb18030 encode >string ] unit-test
 { "hello" } [ "hello" gb18030 decode ] unit-test
index ba6d93aa26f90d51ad14ee44caa46ab317bef599..bf5377b1c1ecb409e1a0bd884ab1abdbb7652b89 100644 (file)
@@ -1,6 +1,5 @@
 USING: io.encodings.strict io.encodings.ascii tools.test
 arrays io.encodings.string ;
-IN: io.encodings.strict.tests
 
 { { 0xfffd } } [ { 128 } ascii decode >array ] unit-test
 [ { 128 } ascii strict decode ] must-fail
index 2688e56fa11e1355359011c0e3c0fe20bde855cf..5c4c6a5adcc1636d8e1f3eb802bbe32361c782cf 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: strings io.encodings.utf8 io.encodings.utf16
 io.encodings.string tools.test io.encodings.binary ;
-IN: io.encodings.string.tests
 
 { "hello" } [ "hello" utf8 decode ] unit-test
 { B{ 0 1 22 255 } } [ B{ 0 1 22 255 } binary decode ] unit-test
index d1edee5417d0e193e5f903095802a3e255cefa39..9f36371e4c4583c7e67cf3385797329f91878c2a 100644 (file)
@@ -3,7 +3,6 @@
 USING: kernel tools.test io.encodings.utf32 arrays sbufs
 io.streams.byte-array sequences io.encodings io strings
 io.encodings.string alien.c-types alien.strings accessors classes ;
-IN: io.encodings.utf32.tests
 
 { { CHAR: x } } [ B{ 0 0 0 CHAR: x } utf32be decode >array ] unit-test
 { { 0x1D11E } } [ B{ 0 1 0xD1 0x1E } utf32be decode >array ] unit-test
index f4d431b69ba0ca59f837cae7796ed04ee584cd6e..6394d5ebe88fd3d3f55a4e9f80990c1a2af2e1c7 100644 (file)
@@ -1,6 +1,5 @@
 USING: io.encodings.string io.encodings.utf7 kernel sequences strings
 tools.test ;
-IN: io.encodings.utf7.tests
 
 {
     {
index a2fbf2880a5ecf3a2878e2b71e9bcd6f4430d8b6..0ff0d05780cb5ce48b2dd7a00fee1c3021553139 100644 (file)
@@ -1,7 +1,6 @@
 USING: io.files.info io.encodings.utf8 io.files
 io.directories kernel io.pathnames accessors tools.test
 sequences io.files.temp ;
-IN: io.files.info.tests
 
 { "hi41" } [
     [
index 78b6046b405fd04d1c377bdb4beeeaf672fff626..71b71b535ce0489334fd70a3d4f13674608fcdf9 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2015 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test io.files.info.unix.linux ;
-IN: io.files.info.unix.linux.tests
 
 [ "/media/erg/4TB D" ]
 [ "/media/erg/4TB\\040D" decode-mount-point ] unit-test
index 6e6a57ea94ebb2821d1ca36c0cb6fca967707641..b87cb6ba2d3644621d6c8a4b3a86d0581d179839 100644 (file)
@@ -1,6 +1,5 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test io.files.info.windows system kernel ;
-IN: io.files.info.windows.tests
 
 [ ] [ vm-path file-times 3drop ] unit-test
index a45137d703eca890e59f294c01b63f3bec29b707..2924ec33634385c5f05fcb106431e3c13056e62b 100644 (file)
@@ -2,7 +2,6 @@ USING: accessors continuations io.directories
 io.directories.hierarchy io.encodings.ascii io.files
 io.files.info io.files.temp io.files.unique io.pathnames kernel
 namespaces sequences strings tools.test ;
-IN: io.files.unique.tests
 
 { 123 } [
     [
index c5c7a1ff03f54a641578aca538fa58b4ad1538a3..d8784bdd111b6907598e69f62b79a9b040f98926 100644 (file)
@@ -4,7 +4,6 @@ USING: combinators continuations io.backend io.directories io.files
 io.files.temp io.files.windows io.pathnames kernel kernel.private libc
 literals memory sequences splitting tools.test windows.kernel32
 io.files.unique destructors ;
-IN: io.files.windows.tests
 
 [ f ] [ "\\foo" absolute-path? ] unit-test
 [ t ] [ "\\\\?\\c:\\foo" absolute-path? ] unit-test
index 86a695fab0c1a84daf50ea1dd0cc994d24b9fc48..3f46186869c4243abafb4741e79fdd3b2436086b 100644 (file)
@@ -1,9 +1,7 @@
-USING: io io.pipes io.streams.string io.encodings.utf8
-io.encodings.binary io.streams.duplex io.encodings io.timeouts
-namespaces continuations tools.test kernel calendar destructors
-accessors debugger math sequences threads
-concurrency.count-downs fry ;
-IN: io.pipes.tests
+USING: accessors calendar concurrency.count-downs continuations
+destructors fry io io.encodings io.encodings.binary
+io.encodings.utf8 io.pipes io.streams.duplex io.streams.string
+io.timeouts kernel math namespaces threads tools.test ;
 
 { "Hello" } [
     utf8 <pipe> [
index ce3f1551b1bd50be1f1fc3c601e7b69c33c4b9f0..7d5a660e6fa0d700d936f1c141eb5560d9f198fd 100644 (file)
@@ -1,6 +1,5 @@
 USING: tools.test io.pipes io.pipes.unix io.encodings.utf8
 io.encodings io namespaces sequences ;
-IN: io.pipes.unix.tests
 
 [ { 0 0 } ] [ { "ls" "grep ." } run-pipeline ] unit-test
 
index 294471ddaefa41c66ef123bf69de9917eca4969b..d6b2c29c960c0e4a0dd6f1c4a3cdd21762470e0c 100644 (file)
@@ -1,6 +1,5 @@
-IN: io.sockets.secure.tests
-USING: accessors io.sockets io.sockets.secure io.sockets.secure.debug
-kernel system tools.test ;
+USING: accessors io.sockets io.sockets.secure
+io.sockets.secure.debug kernel system tools.test ;
 
 { "hello" 24 } [ "hello" 24 <inet> "hello" <secure> [ host>> ] [ port>> ] bi ] unit-test
 
index bd1214ab0cd384400146636c20c542958a2f53f1..6d67c80a8331d1e0ec7653933a5ede55417f8346 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2011 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: io.standard-paths io.standard-paths.macosx tools.test ;
-IN: io.standard-paths.macosx.tests
 
 { "/System/Library/CoreServices/Finder.app" }
 [ "com.apple.finder" find-native-bundle ] unit-test
diff --git a/basis/io/standard-paths/standard-paths-tests.factor b/basis/io/standard-paths/standard-paths-tests.factor
deleted file mode 100644 (file)
index ead13a4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2011 Doug Coleman.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test io.standard-paths ;
-IN: io.standard-paths.tests
index 48161fdb26d878e578b2492de6a5855066ef4562..cf12220fa8ec28614dbbfbcbf0db8d0c020b6f9c 100644 (file)
@@ -1,7 +1,5 @@
 
-USING: kernel sequences tools.test ;
-
-IN: ip-parser
+USING: ip-parser kernel sequences tools.test ;
 
 { "0.0.0.1" } [ "1" normalize-ipv4 ] unit-test
 { "1.0.0.2" } [ "1.2" normalize-ipv4 ] unit-test
index 90ca80c73a978c08ba8724cee99660b7f20dc3e3..4592dace7a7d14c18e1ac618c2d7a806caaa093b 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2016 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: io.streams.string json.prettyprint json.reader tools.test ;
-IN: json.prettyprint.tests
 
 [
 "{
index a6d26184a2ea19bb1dd5d8afcd26ae472feb5822..c39a565e9fe59a9d1ec1bbebb331a269a4d00440 100644 (file)
@@ -1,6 +1,5 @@
 USING: hashtables io.streams.string json json.reader
 json.reader.private kernel literals math strings tools.test ;
-IN: json.reader.tests
 
 { f } [ "false" json> ] unit-test
 { t } [ "true" json> ] unit-test
index f7b92ced9294590752f0793c4eefdedaf03e69b2..e815747558df7d1b23960910565c2df7947fe0af 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: lcs lcs.diff2html kernel tools.test strings sequences
 xml.writer ;
-IN: lcs.diff2html.tests
 
 { } [
     "hello" "heyo" [ [ 1string ] { } map-as ] bi@
index 85b2e8153604bc232fba4991ce39ecee9de1352a..e27757f7de3c3a6ef7b82b6da33ec0313df99108 100644 (file)
@@ -1,4 +1,3 @@
-IN: libc.tests
 USING: destructors kernel libc libc.private namespaces
 tools.test ;
 
index feba3fc9e732b90dcde9ed19403e32838eba06a6..77d77fb4c61f805b87c67049734796920a555514 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors assocs kernel linked-assocs math sequences
 tools.test ;
-IN: linked-assocs.tests
 
 { { 1 2 3 } } [
     <linked-hash> 1 "b" pick set-at
index a9a96448014aa2c058a3a1cec8638052407db55b..d62668c7594a8cdd84f91811bdbddf1249775729 100644 (file)
@@ -1,5 +1,4 @@
 USING: fry kernel sequences tools.test ;
-IN: math.primes.erato.fast
 
 {
 
index 847d83323280037840954c47e1aea1be68b63be1..169297a573e416187bc5ba79d0e271d0ac1bcee5 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test math.primes.lucas-lehmer ;
-IN: math.primes.lucas-lehmer.tests
 
 { t } [ 2 lucas-lehmer ] unit-test
 { t } [ 3 lucas-lehmer ] unit-test
index 29b515fc9fe17f99fa65c3cf561b57b599266c40..0e9b22e1f7b897e3f063ea52a52a71fc81d8c9f2 100644 (file)
@@ -1,5 +1,4 @@
 USING: kernel math.primes.miller-rabin sequences tools.test ;
-IN: math.primes.miller-rabin.tests
 
 { f } [ 473155932665450549999756893736999469773678960651272093993257221235459777950185377130233556540099119926369437865330559863 miller-rabin ] unit-test
 { t } [ 2 miller-rabin ] unit-test
index 42b569a990654e9ea05e442fe6dec5c9dce402a6..8dacd2be3166b3548db5505842969e4bdd58cfbe 100644 (file)
@@ -1,6 +1,5 @@
 USING: arrays kernel math math.primes math.primes.miller-rabin
 sequences tools.test ;
-IN: math.primes.tests
 
 { 1237 } [ 1234 next-prime ] unit-test
 { f t } [ 1234 prime? 1237 prime? ] unit-test
index f07f7322915068b14011c253f98983d04fefbacf..87087616fbbc416c8adc410c41bb5d4062fdb9e3 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: math.primes.safe math.primes.safe.private tools.test ;
-IN: math.primes.safe.tests
 
 { 863 } [ 862 next-safe-prime ] unit-test
 { f } [ 862 safe-prime? ] unit-test
index 31257eb3641b9f9c7ff3d57e1f3faeed2224c9e0..d6c83bafd1fb0d7f7618fc69f13690a26d0d1168 100644 (file)
@@ -1,5 +1,4 @@
 USING: arrays kernel math math.ranges sequences sets tools.test ;
-IN: math.ranges.tests
 
 { { } } [ 1 1 (a,b) >array ] unit-test
 { { } } [ 1 1 (a,b] >array ] unit-test
index 60ce318097298beaeee3c628fc084fdb3ffbca13..5c323f0b2a0c2bcadfa44f3d33911a8e3e6142ba 100644 (file)
@@ -1,7 +1,6 @@
 USING: arrays assocs kernel math math.functions math.statistics sequences
 math.order tools.test math.vectors ;
 FROM: math.ranges => [a,b] ;
-IN: math.statistics.tests
 
 { 3 } [ { 1 2 3 4 5 } 1 power-mean ] unit-test
 { t } [ { 1 2 3 4 5 } [ 2 power-mean ] [ quadratic-mean ] bi 1e-10 ~ ] unit-test
index 90b230ee46464115a3940c1cd71345a577e5cb1c..106f98802fb1dfff089575421afbcd445f2cdb72 100644 (file)
@@ -1,4 +1,3 @@
-IN: mime.types.tests
 USING: mime.types tools.test ;
 
 { "application/postscript" } [ "foo.ps" mime-type ] unit-test
index 06058f0e5bda12920bc02e0be21dd4a30e0e4619..0917b752254ff38e378ffb8f7c190a290a36d8cf 100644 (file)
@@ -1,6 +1,5 @@
 USING: arrays generic kernel math models namespaces sequences assocs
 tools.test models.arrow accessors ;
-IN: models.arrow.tests
 
 3 <model> "x" set
 "x" get [ 2 * ] <arrow> dup "z" set
index e817eda54131580ee8e3af560518f1d9f3ee2289..e76788c810f7835fdbcefba17cc68fd6b0149e09 100644 (file)
@@ -1,4 +1,3 @@
-IN: models.arrows.smart.tests
 USING: models.arrow.smart tools.test accessors models math kernel ;
 
 { 7 } [ 3 <model> 4 <model> [ + ] <smart-arrow> [ activate-model ] [ value>> ] bi ] unit-test
index 962b26fd029c3903d1016302d54022f2fc48ebb5..2092c52001c026370ae273617612c3da771d216e 100644 (file)
@@ -1,6 +1,5 @@
 USING: arrays generic kernel math models namespaces sequences assocs
 tools.test models.mapping accessors make ;
-IN: models.mapping.tests
 
 ! Test mapping
 { } [
index 8661fe9091035d75b6c2d12901e644a015bbd25e..a6ca4d4ff14839ba2dbefa33a486999905a6fcc2 100644 (file)
@@ -1,4 +1,3 @@
-IN: nmake.tests
 USING: nmake kernel tools.test ;
 
 { } [ [ ] { } nmake ] unit-test
index 7968abfad1914d4835186e535fb7dbbf03575f92..9b83145d3da0c3a5657e6fc83173bfff896e0c16 100644 (file)
@@ -1,5 +1,4 @@
 USING: arrays continuations debugger io.streams.string peg tools.test ;
-IN: peg.debugger.tests
 
 { "Peg parsing error at character position 0.\nExpected 'A' or 'B'\nGot 'xxxx'\n" } [
     [ "xxxx" "A" token "B" token 2array choice parse ] [ ] recover
index c30335b1e84b1e1f74e482eca38df06db9fc39c6..f61e0b0a223691519ca5ac4dcdf20a45dd5a30cd 100644 (file)
@@ -1,4 +1,3 @@
-IN: porter-stemmer.tests
 USING: arrays assocs io kernel porter-stemmer sequences
 tools.test io.files io.encodings.utf8 ;
 
index 6b69277e6ce51210b9b28bab05aecefb204264d9..5472861441a3edee4c897a4bc09458aee241a8ea 100644 (file)
@@ -1,4 +1,3 @@
-IN: present.tests
 USING: kernel math present sequences tools.test vocabs
 vocabs.hierarchy ;
 
index d0db3bb036647157101fca9f8e46a6e85a836d44..d6b48d1402354437006c2abb94fcaf2f1dbd780c 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test quoting ;
-IN: quoting.tests
 
 { f } [ "" quoted? ] unit-test
 { t } [ "''" quoted? ] unit-test
index 4e1d496ad9eccb3ef427f61b759e15ed36dc6ec4..c19346579adefdb37bd5187c37b0738ad42affa6 100644 (file)
@@ -1,5 +1,4 @@
 USING: sorting.human tools.test sorting.slots sorting ;
-IN: sorting.human.tests
 
 { { "x1y" "x2" "x10y" } }
 [ { "x1y" "x10y" "x2" } { human<=> } sort-by ] unit-test
index 4defa98ed65e103cce88ea09db30afbe12f72a92..1ec30c18f2ea147195aceea7ff8f5bba552d10eb 100644 (file)
@@ -1,4 +1,5 @@
-IN: sorting.insertion
 USING: sorting.insertion sequences kernel tools.test ;
 
-{ { { 1 1 } { 1 2 } { 2 0 } } } [ { { 2 0 } { 1 1 } { 1 2 } } dup [ first ] insertion-sort ] unit-test
+{ { { 1 1 } { 1 2 } { 2 0 } } } [
+    { { 2 0 } { 1 1 } { 1 2 } } dup [ first ] insertion-sort
+] unit-test
index ca0fe919996c48a19cc71b6b4c482dcdd9bd2c96..6ee00c536f35722a51567bb89b51b4b2f3c143d7 100644 (file)
@@ -1,4 +1,3 @@
-IN: soundex.tests
 USING: soundex tools.test ;
 
 { "S162" } [ "supercalifrag" soundex ] unit-test
index 0bc56ce7b2953539e66b5f9677c71916935365f7..5c149c7ec2008daaee57465fb6f43aa82cced15a 100644 (file)
@@ -1,5 +1,5 @@
-IN: splitting.monotonic
-USING: tools.test math arrays kernel sequences ;
+USING: tools.test math arrays kernel sequences
+splitting.monotonic ;
 
 { { } } [ { } [ < ] monotonic-split ] unit-test
 { { { 1 } } } [ { 1 } [ < ] monotonic-split ] unit-test
index dc0d4879902df1c86df1f0feeac543fabd734d73..a8054d0e4fff15a11317016d7b5b2124800c19e8 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test strings.tables ;
-IN: strings.tables.tests
 
 { { } } [ { } format-table ] unit-test
 
index 5431684d0e5cc95b7d7ac47abb6f5dd99c538b27..80f6875fc42d812bb8e81f48c8291faf181841af 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2008 Marc Fauconneau.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test suffix-arrays kernel namespaces sequences ;
-IN: suffix-arrays.tests
 
 ! built from [ all-words 10 head [ name>> ] map ]
 { } [
index d9503a0dee80e9d3c156d9e0fb9c47c3fd391031..afe2207a540754fd81891342812b01b7adfbbe5f 100644 (file)
@@ -1,6 +1,5 @@
 USING: system-info.linux strings splitting sequences
 tools.test kernel ;
-IN: system-info.linux.tests
 
 [ 6 ] [ uname length ] unit-test
 
index 5e8bed7c6ce4ba75b41493a2e4a267f458d1a4cd..bd3f044673607f04087fca4f0b0c2943c8711955 100644 (file)
@@ -1,6 +1,5 @@
 USING: math math.order strings system-info.windows tools.test
 system-info ;
-IN: system-info.windows.tests
 
 [ t ] [ cpus integer? ] unit-test
 [ t ] [ username string? ] unit-test
index 8e1a6cfc702fadcff0cb56b12505c2bad7e85915..35f8483dcf1a4c6d27b7df9408eb04d8cf516a47 100644 (file)
@@ -1,7 +1,6 @@
 USING: timers timers.private calendar concurrency.count-downs
 concurrency.promises fry kernel math math.order sequences
 threads tools.test tools.time ;
-IN: timers.tests
 
 { } [
     1 <count-down>
index d1134e3e243659c4aefb76d2355ad7fd247f690e..c21850f74f04a8ebd63781b3f7b584c6dd7df4eb 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test math kernel sets generic
 ui.baseline-alignment ui.baseline-alignment.private ;
-IN: ui.baseline-alignment.tests
 
 ! Test baseline calculations
 { 10 0 } [ 0 10 0 10 combine-metrics ] unit-test
index 5b64ebcb400966d8ca51c78a18e39b4c4458c8d2..4557895fa114f3865c8f6306c64d43d8f055c7be 100644 (file)
@@ -1,4 +1,3 @@
-IN: ui.gadgets.borders.tests
 USING: accessors kernel math.rectangles namespaces tools.test
 ui.gadgets ui.gadgets.borders ui.gadgets.borders.private
 ui.gadgets.editors ;
index a427da9793a6932a9702dc565e9cd782aa4a1644..dcc76644d56ecc98e7c148f252e8fcf8ce4e8902 100644 (file)
@@ -1,6 +1,5 @@
 USING: accessors kernel models namespaces tools.test ui.gadgets
 ui.gadgets.buttons ;
-IN: ui.gadgets.buttons.tests
 
 { } [
     2 <model> {
index d87a4d76f3d5e0bf16d5d37f348e81d075f40444..4663950a7a3fef7e515cf36476035da1cbb63496 100644 (file)
@@ -1,4 +1,3 @@
-IN: ui.gadgets.canvas.tests
 USING: ui.gadgets.canvas tools.test kernel ;
 
 { 1 0 } [ [ drop ] draw-canvas ] must-infer-as
diff --git a/basis/ui/gadgets/debug/debug-tests.factor b/basis/ui/gadgets/debug/debug-tests.factor
deleted file mode 100644 (file)
index 064f7ab..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.gadgets.debug ;
-IN: ui.gadgets.debug.tests
index fa397731b4e70ceb58f29572176f71b343f21618..e5eb84c7225608dc56df55f8b89ae7fa80bacddc 100644 (file)
@@ -3,7 +3,6 @@ tools.test kernel io io.streams.plain definitions namespaces
 ui.gadgets ui.gadgets.grids prettyprint documents ui.gestures
 ui.gadgets.debug models documents.elements ui.gadgets.scrollers
 ui.gadgets.line-support sequences ;
-IN: ui.gadgets.editors.tests
 
 { "foo bar" } [
     <editor> "editor" set
index f807bcf99373bf6b1b2aeadf0612a3f51e1e19f6..c706fe7172e7d4a7ba23b591ab96a143cbf9e385 100644 (file)
@@ -1,6 +1,5 @@
 USING: accessors kernel namespaces tools.test ui.gadgets
 ui.gadgets.frames ui.gadgets.grids ui.gadgets.labels ;
-IN: ui.gadgets.frames.tests
 
 { } [ 3 3 <frame> { 1 1 } >>filled-cell layout ] unit-test
 
index b73bd06a6cb7d34c27368a6d9e16d675b3d15c57..30bce713e4b0c24ba42176fd262de698d9805163 100644 (file)
@@ -1,4 +1,3 @@
-IN: ui.gadgets.glass.tests
 USING: tools.test ui.gadgets.glass ui.gadgets.worlds ui.gadgets
 math.rectangles namespaces accessors models sequences arrays ;
 
index 08dd6d85d0cb6a9e2cc85b235f633e16a17fac4f..f6e2097cfad1fed769299a487804cdb219e1eed2 100644 (file)
@@ -1,6 +1,5 @@
 USING: accessors colors.constants sequences tools.test
 ui.gadgets ui.gadgets.labeled ;
-IN: ui.gadgets.labeled.tests
 
 { t } [
     <gadget> "Hey" <labeled-gadget> content>> gadget?
index 0e64677d5ff537d316f40317ba5935679fb540b3..0ddd240ecaa8cd2a086fee0c9061f692ed709d07 100644 (file)
@@ -1,5 +1,4 @@
 USING: accessors tools.test ui.gadgets ui.gadgets.labels ;
-IN: ui.gadgets.labels.tests
 
 { { 119 14 } } [
     <gadget> { 100 14 } >>dim
index 4987fdfeab4eb42e2642e38918442c3d654be677..1b4c95674e361daac36124f7e2ec75296bebce58 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors arrays kernel tools.test ui.gadgets.editors
 ui.gadgets.line-support ui.gadgets.line-support.private ui.text ;
-IN: ui.gadgets.line-support.tests
 
 ! line-gadget-height
 { t } [
index 3ca722158330f7e27dcf6bc941337a0fd8b42c13..810ddd0ed047a599e686be95538fd198c5006351 100644 (file)
@@ -2,7 +2,6 @@ USING: ui.gadgets.packs ui.gadgets.packs.private
 ui.gadgets.labels ui.gadgets ui.gadgets.debug ui.render
 ui.baseline-alignment kernel namespaces tools.test math.parser
 sequences math.rectangles accessors math ;
-IN: ui.gadgets.packs.tests
 
 { t } [
     { 0 0 } { 100 100 } <rect> clip set
index a255ad4d97ba0487aeb453ee318f341ccebfeb65..4258f5a5ed5ca0d6fdb7331ff72341efb4fb1a26 100644 (file)
@@ -1,7 +1,6 @@
 USING: math ui.gadgets.presentations ui.gadgets tools.test
 prettyprint ui.gadgets.buttons io io.streams.string kernel
 classes.tuple accessors ;
-IN: ui.gadgets.presentations.tests
 
 { t } [
     "Hi" \ + <presentation> gadget?
index a8f209bc648bdaeab0a1f068615826cc74af63fd..d918b8c45e392442d7d016511429870ca3649890 100644 (file)
@@ -4,7 +4,6 @@ ui.gadgets.labels ui.gadgets.grids ui.gadgets.sliders math
 math.vectors arrays sequences ui.gadgets.debug math.rectangles
 accessors ui.gadgets.buttons ui.gadgets.packs
 ui.gadgets.scrollers.private ;
-IN: ui.gadgets.scrollers.tests
 
 { } [
     <gadget> "g" set
index 012a27c84984fe36da9bd6cb985fd8c493c14e61..e6d8a5de0edf5d0c65822e74ed82a3fa4061f124 100644 (file)
@@ -1,4 +1,3 @@
-IN: ui.gadgets.search-tables.tests
 USING: ui.gadgets.search-tables ui.gadgets.tables ui.gadgets models
 arrays sequences tools.test ;
 
index ccfafdeebdb13680644bc145d0f7451168184752..cad05414665c9507f13c131729984f27a7c0e5a5 100644 (file)
@@ -1,6 +1,5 @@
 USING: kernel ui.gadgets ui.gadgets.tracks tools.test
 math.rectangles accessors sequences namespaces ;
-IN: ui.gadgets.tracks.tests
 
 { { 100 100 } } [
     vertical <track>
diff --git a/basis/ui/images/images-tests.factor b/basis/ui/images/images-tests.factor
deleted file mode 100644 (file)
index eb053d8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.images ;
-IN: ui.images.tests
index 5b76772e294d07885ee18193bf0f7d812c215275..024e302ed13d735b158b5b592903e3392f3f4481 100644 (file)
@@ -3,7 +3,6 @@
 USING: accessors alien.c-types colors.constants kernel
 specialized-arrays tools.test ui.gadgets.labels
 ui.pens.caching ui.pens.gradient ;
-IN: ui.pens.caching.tests
 
 SPECIALIZED-ARRAY: float
 
index 1e3776aff32eb6977a25b6eaad0ce006869fd341..9145e33d788ca79e41cb61e13fc53e84fb1eb1d1 100644 (file)
@@ -1,7 +1,6 @@
 USING: tools.test ui.pens.gradient ui.pens.gradient.private
 colors.constants specialized-arrays alien.c-types ;
 SPECIALIZED-ARRAY: float
-IN: ui.pens.gradient.tests
 
 {
     float-array{
diff --git a/basis/ui/pens/image/image-tests.factor b/basis/ui/pens/image/image-tests.factor
deleted file mode 100644 (file)
index 797a203..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.pens.image ;
-IN: ui.pens.image.tests
diff --git a/basis/ui/pens/pens-tests.factor b/basis/ui/pens/pens-tests.factor
deleted file mode 100644 (file)
index 422e352..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.pens ;
-IN: ui.pens.tests
diff --git a/basis/ui/pens/polygon/polygon-tests.factor b/basis/ui/pens/polygon/polygon-tests.factor
deleted file mode 100644 (file)
index 529b4f4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.pens.polygon ;
-IN: ui.pens.polygon.tests
diff --git a/basis/ui/pens/solid/solid-tests.factor b/basis/ui/pens/solid/solid-tests.factor
deleted file mode 100644 (file)
index ab6234a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.pens.solid ;
-IN: ui.pens.solid.tests
diff --git a/basis/ui/pens/tile/tile-tests.factor b/basis/ui/pens/tile/tile-tests.factor
deleted file mode 100644 (file)
index b406b7b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.pens.tile ;
-IN: ui.pens.tile.tests
diff --git a/basis/ui/render/render-tests.factor b/basis/ui/render/render-tests.factor
deleted file mode 100644 (file)
index 728dcb9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-USING: accessors colors.constants namespaces tools.test
-ui.gadgets.labels ui.pens.gradient ui.render ui.render.private ;
-IN: ui.render.tests
index bb0219eb02e267948bb9620d149f948567746b15..ecf45a29f00f45445f407e26f4c3cd7b68f88f11 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test ui.text images fonts math arrays accessors kernel
 sequences ;
-IN: ui.text.tests
 
 { t } [ 0 sans-serif-font "aaa" offset>x zero? ] unit-test
 { t } [ 1 sans-serif-font "aaa" offset>x 0.0 > ] unit-test
index 55cfad0af05085d089519857b25948bc99d78c68..13848a64de34f209bf276fb008d4f5c575186a10 100644 (file)
@@ -1,4 +1,3 @@
-IN: ui.tools.browser.tests
 USING: tools.test ui.gadgets.debug ui.tools.browser math ;
 
 { } [ \ + <browser-gadget> [ ] with-grafted-gadget ] unit-test
index d0622b30af11a71cd07ef29b87b480e1857d94b7..30b062c6be92d1d6ee6f505bc871e4aa1bfa5d9e 100644 (file)
@@ -1,6 +1,4 @@
 USING: kernel tools.test ui.gadgets.worlds ui.tools.debugger ;
-IN: ui.tools.debugger.tests
-
 
 { f } [
     f <world-attributes> <world> world-error boa error-in-debugger?
index a6468976481702aa3dfa7b540dcb879cc9897bd1..5891983a7e95cf1c41c4a55365e3e97578d01256 100644 (file)
@@ -1,4 +1,3 @@
-IN: ui.tools.inspector.tests
 USING: tools.test ui.tools.inspector math models ;
 
 { } [ \ + <model> <inspector-gadget> com-edit-slot ] unit-test
index 762cec9f44a92685f65d286bf058e2b619758a82..5f59cec305a01ad5717965dbda2a89deaed11009 100644 (file)
@@ -4,8 +4,6 @@
 USING: accessors documents io.styles kernel namespaces
 sequences tools.test ui.tools.listener.history ;
 
-IN: ui.tools.listener.history.tests
-
 { } [ <document> "d" set ] unit-test
 { } [ "d" get <history> "h" set ] unit-test
 
diff --git a/basis/ui/tools/listener/popups/popups-tests.factor b/basis/ui/tools/listener/popups/popups-tests.factor
deleted file mode 100644 (file)
index e0867bc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test ui.tools.listener.popups ;
-IN: ui.tools.listener.popups.tests
diff --git a/basis/ui/tools/walker/walker-tests.factor b/basis/ui/tools/walker/walker-tests.factor
deleted file mode 100644 (file)
index 31dec35..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-USING: ui.tools.walker tools.test ;
-IN: ui.tools.walker.tests
diff --git a/basis/ui/ui-tests.factor b/basis/ui/ui-tests.factor
deleted file mode 100644 (file)
index f4885e8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-USING: assocs continuations kernel threads tools.test ui ;
-IN: ui.tests
index 71879b6d316d2e0b54fae067b5be2ef8fd723cd3..69c1c38cb8578c849473b35b8ef5b7e40f69f1bd 100644 (file)
@@ -1,6 +1,5 @@
 USING: unrolled-lists tools.test deques kernel sequences
 random prettyprint grouping math ;
-IN: unrolled-lists.tests
 
 { 1 } [ <unrolled-list> 1 over push-front pop-front ] unit-test
 { 1 } [ <unrolled-list> 1 over push-front pop-back ] unit-test
index fab1f245b8ec7a6144c2968a9f5cf6a961d860ec..0aaecf564d01f641892c37959a0269fa0ee631bb 100644 (file)
@@ -1,4 +1,3 @@
-IN: urls.encoding.tests
 USING: urls.encoding tools.test arrays kernel assocs present
 accessors linked-assocs ;
 
index be034e4937c54276177637e0fd3a7a3be86e0e33..cb8ac35cf660cce7527f0b393c12a65cf23aacbe 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: kernel uuid tools.test ;
 
-IN: uuid.tests
-
 { t } [ NAMESPACE_DNS  [ uuid-parse uuid-unparse ] keep = ] unit-test
 { t } [ NAMESPACE_URL  [ uuid-parse uuid-unparse ] keep = ] unit-test
 { t } [ NAMESPACE_OID  [ uuid-parse uuid-unparse ] keep = ] unit-test
index 5d51db71d1dce1013c7f32fe03669e977ae6a57d..e340521cebfe57f0a82900c31cd9c3534f3575f6 100644 (file)
@@ -1,5 +1,4 @@
-USING: io.pathnames tools.test urls ;
-IN: webbrowser
+USING: io.pathnames tools.test urls webbrowser ;
 
 { t } [ "http://reddit.com" url-string? ] unit-test
 { t } [ "https://reddit.com" url-string? ] unit-test
index 2e1e3ebadc0c07b16367b1efc3cbdcdd06e9751c..a28dad2b8334b9e50ccf487f67b3740e230f1545 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2008, 2009 Daniel Ehrenberg, Slava Pestov
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel tools.test wrap.strings ;
-IN: wrap.strings.tests
 
 {
     "This is a
index 3c5e6e3fdc3279869ee6d122d6b47ed656eca9d3..f9752939a1487475224aa1d63f2f8708fc4055da 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test wrap.words sequences ;
-IN: wrap.words.tests
 
 { { } } [ f 35 wrap-words ] unit-test
 { { } } [ { } 35 wrap-words ] unit-test
index fa147b012e7d3735ff80d4eac2a26dbe4ad9c843..7b77fb0b1d7aafa0fba412e7467751c328d675ce 100644 (file)
@@ -1,4 +1,3 @@
-USING: assocs tools.test ;
-IN: xml.data
+USING: assocs tools.test xml.data ;
 
 { "bob" } [ "test" { { "name" "bob" } } { } <tag> "name" of ] unit-test
diff --git a/basis/xml/entities/html/html-tests.factor b/basis/xml/entities/html/html-tests.factor
deleted file mode 100644 (file)
index 68b10be..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Daniel Ehrenberg.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test xml.entities.html ;
-IN: xml.entities.html.tests
index 822a3cc4cb5f8e326f3d717c0ef31d1ff10880ef..01a47dfdec7006befbec71c7275a7c66dbc8e990 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2005, 2009 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
 USING: xml xml.traversal tools.test xml.data sequences arrays kernel ;
-IN: xml.traversal.tests
 
 { "bar" } [ "<foo>bar</foo>" string>xml children>string ] unit-test
 
index 38b16956ff49d41991782cb8d2ec13ec37eb4de9..615cec4b59bd771e050252d095485a0ed54d86f1 100644 (file)
@@ -1,4 +1,3 @@
-IN: xmode.catalog.tests
 USING: xmode.catalog tools.test hashtables assocs
 kernel sequences io ;
 
index a7aaa0453007f875272ebecf226e993297be91fc..e98b8af10a55d69454c613df4b24b3b4de028671 100644 (file)
@@ -1,7 +1,5 @@
-IN: xmode.code2html.tests
-USING: xmode.code2html xmode.catalog
-tools.test multiline splitting memoize
-kernel io.streams.string xml.writer ;
+USING: xmode.code2html xmode.catalog tools.test multiline
+splitting memoize kernel io.streams.string xml.writer ;
 
 { } [ \ (load-mode) reset-memoized ] unit-test
 
index 17644fb451bedd7f4a9c238e1a3e1f144d8fdff8..d50e0324cfbae0b181299416350e8f7946f735d9 100644 (file)
@@ -1,4 +1,3 @@
-IN: xmode.keyword-map.tests
 USING: xmode.keyword-map xmode.tokens
 tools.test namespaces assocs kernel strings ;
 
index 7b0fc9ab45a3aeec3dbe4efabe373d1bd2233d98..b6f6676016bb0736a2f1afd0dacf6bbfd212ff0a 100644 (file)
@@ -1,6 +1,5 @@
 USING: xmode.tokens xmode.catalog
 xmode.marker tools.test kernel ;
-IN: xmode.marker.tests
 
 {
     {
index 13e4ce5361f1c9f0ec19b447647bac187a980559..52190faf0857e49fd107c524433699d9e95c0d45 100644 (file)
@@ -1,4 +1,3 @@
-IN: xmode.rules.tests
 USING: xmode.rules tools.test ;
 
 { { 1 2 3 } } [ f { 1 2 3 } ?push-all ] unit-test
index b554b1bcfa09f9f37687124311af6935b25fc9f9..4546fbf99f3d8c283eb513291a21ba3985e2485e 100644 (file)
@@ -1,7 +1,6 @@
 USING: alien.strings alien.c-types alien.data tools.test
 kernel libc io.encodings.utf8 io.encodings.utf16 io.encodings.utf16n
 io.encodings.ascii alien io.encodings.string io.encodings.8-bit.latin1 ;
-IN: alien.strings.tests
 
 { "\u0000ff" }
 [ "\u0000ff" latin1 string>alien latin1 alien>string ]
index 707396b6ede139f304f2764683e9e4556f822ddf..06a97ef3bb50c3c0c34f56ee1acfcb5e4c89c6f1 100644 (file)
@@ -1,6 +1,5 @@
 USING: accessors effects effects.parser eval kernel prettyprint
 sequences tools.test math ;
-IN: effects.tests
 
 { t } [ { "a" } { "a" } <effect> { "a" "b" } { "a" "b" } <effect> effect<= ] unit-test
 { f } [ { "a" } { } <effect> { "a" "b" } { "a" "b" } <effect> effect<= ] unit-test
index 0dc10c600d9a774dc3fc6ed7dea793e2d1557676..68f3069cde0eb5b0d466da3017ca82a9e8d46c38 100644 (file)
@@ -1,5 +1,4 @@
 USING: classes kernel layouts math sequences tools.test ;
-IN: growable.tests
 
 ! erg found this one
 { fixnum } [
index 58fa4b824305d37a6e1d73070177dcda62a7159f..95b05ea9dadcef6a2796e96ea9982f55dd439a8d 100644 (file)
@@ -1,4 +1,3 @@
 USING: tools.test io.backend kernel ;
-IN: io.backend.tests
 
 { } [ "a" normalize-path drop ] unit-test
index 8f0bb63a7597f27a392d5e7c08407267be5c5767..1fe296f90a739f8c589ccf0745300bae5f11c9c7 100644 (file)
@@ -1,7 +1,6 @@
 USING: alien.c-types alien.data arrays io io.encodings.ascii
 io.encodings.binary io.encodings.utf8 io.streams.byte-array
 kernel math specialized-arrays strings tools.test ;
-IN: io.streams.byte-array.tests
 SPECIALIZED-ARRAY: int
 
 { B{ } } [ B{ } binary [ contents ] with-byte-reader ] unit-test
index d4a74e0fbfed6dc3d6c029c7acc0f5ae08a206e6..59fbe475c9cb18ae5ae2dee1fbde3245ae994975 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien.data destructors io io.streams.memory kernel libc
 tools.test ;
-IN: io.streams.memory.tests
 
 { 1 2 3 } [
     B{ 1 2 3 } <memory-stream>
index 263a329e261c22f99e20218d9016e91e7d997a06..46c00fb11c8314fc04300b9c83772b011b6d56c2 100644 (file)
@@ -1,7 +1,6 @@
 USING: continuations kernel math math.functions math.order
 math.private namespaces prettyprint prettyprint.config random
 sequences tools.test ;
-IN: math.integers.tests
 
 10 number-base [
     [ "-8" ] [ -8 unparse ] unit-test
index b3b889c0c19ed5f1adfee1b6e8eaf8ef3cb3e2b9..cbfaba28bab91595628e3f372c2e7fbf679829c6 100644 (file)
@@ -1,6 +1,6 @@
-USING: kernel layouts literals math math.parser.private sequences
-strings tools.test ;
-IN: math.parser
+USING: kernel layouts literals math math.parser
+math.parser.private sequences strings tools.test ;
+IN: math.parser.tests
 
 { f }
 [ f string>number ]
index 0ed0afd4d95ee7c75de21ab6d0bf4912e87bbf7a..01244df043c71b666e5e76240542a09eaa9e7ec4 100644 (file)
@@ -1,4 +1,3 @@
 USING: lexer namespaces parser.notes source-files tools.test ;
-IN: parser.notes.tests
 
 { } [ f lexer set f current-source-file set "Hello world" note. ] unit-test
index b96458fccbacd61cde222d79e57f0197f9592d22..068bc7c462c34254fbcdfce4f353f52a98e2d4c8 100644 (file)
@@ -1,6 +1,5 @@
 USING: assocs compiler.errors compiler.units definitions
 namespaces tools.test words ;
-IN: source-files.errors.tests
 
 DEFER: forget-test