2014-04-13 19:26:43 -04:00
USING: help.markup help.syntax literals sequences strings ;
2009-05-04 07:44:17 -04:00
IN: vocabs.files
2012-07-23 13:01:48 -04:00
HELP: vocab-tests-path
2010-02-21 06:34:08 -05:00
{ $values { "vocab" "a vocabulary specifier" } { "path" "pathname string to test file" } }
2017-06-05 13:13:54 -04:00
{ $description "Outputs a pathname where the unit test file for " { $snippet "vocab" } " is located. Outputs " { $link f } " if the vocabulary does not have a directory on disk." } ;
2012-07-23 13:01:48 -04:00
HELP: vocab-tests-file
{ $values { "vocab" "a vocabulary specifier" } { "path/f" "pathname string to test file" } }
{ $description "Outputs a pathname where the unit test file is located, or " { $link f } " if the file does not exist." } ;
2010-02-21 06:34:08 -05:00
HELP: vocab-tests-dir
{ $values { "vocab" "a vocabulary specifier" } { "paths" "a sequence of pathname strings" } }
{ $description "Outputs a sequence of pathnames for the tests in the test directory." } ;
2009-05-04 07:44:17 -04:00
HELP: vocab-files
{ $values { "vocab" "a vocabulary specifier" } { "seq" "a sequence of pathname strings" } }
2014-01-06 02:33:50 -05:00
{ $description "Outputs a sequence of files comprising this vocabulary, or " { $link f } " if the vocabulary does not have a directory on disk." }
{ $examples
{ $example
2014-04-13 19:26:43 -04:00
"USING: prettyprint vocabs.files ; "
2014-01-06 02:33:50 -05:00
"\"alien.libraries\" vocab-files ."
2014-04-13 19:26:43 -04:00
$[
{
"{"
" \"resource:basis/alien/libraries/libraries.factor\""
" \"resource:basis/alien/libraries/libraries-docs.factor\""
" \"resource:basis/alien/libraries/libraries-tests.factor\""
"}"
} "\n" join
]
2014-01-06 02:33:50 -05:00
}
} ;
2009-05-04 07:44:17 -04:00
HELP: vocab-tests
{ $values { "vocab" "a vocabulary specifier" } { "tests" "a sequence of pathname strings" } }
2014-01-06 02:33:50 -05:00
{ $description "Outputs a sequence of pathnames where the unit tests for " { $snippet "vocab" } " are located." }
{ $examples
{ $example
2014-04-15 16:35:59 -04:00
"USING: prettyprint sorting vocabs.files ; "
"\"xml\" vocab-tests natural-sort ."
2014-04-13 19:26:43 -04:00
$[
{
"{"
2014-04-15 16:35:59 -04:00
" \"resource:basis/xml/tests/cdata.factor\""
" \"resource:basis/xml/tests/encodings.factor\""
" \"resource:basis/xml/tests/funny-dtd.factor\""
2014-04-13 19:26:43 -04:00
" \"resource:basis/xml/tests/soap.factor\""
2014-04-15 16:35:59 -04:00
" \"resource:basis/xml/tests/state-parser-tests.factor\""
2014-04-13 19:26:43 -04:00
" \"resource:basis/xml/tests/templating.factor\""
2014-04-15 16:35:59 -04:00
" \"resource:basis/xml/tests/test.factor\""
2014-04-13 19:26:43 -04:00
" \"resource:basis/xml/tests/xmltest.factor\""
2014-04-15 16:35:59 -04:00
" \"resource:basis/xml/tests/xmode-dtd.factor\""
2014-04-13 19:26:43 -04:00
"}"
} "\n" join
]
2014-01-06 02:33:50 -05:00
}
} ;