]> gitweb.factorcode.org Git - factor.git/blob - basis/unix/groups/groups-tests.factor
Merge branch 'master' into experimental (untested!)
[factor.git] / basis / unix / groups / groups-tests.factor
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: tools.test unix.groups kernel strings math ;
4 IN: unix.groups.tests
5
6
7 [ ] [ all-groups drop ] unit-test
8
9 \ all-groups must-infer
10
11 [ t ] [ real-group-name string? ] unit-test
12 [ t ] [ effective-group-name string? ] unit-test
13
14 [ t ] [ real-group-id integer? ] unit-test
15 [ t ] [ effective-group-id integer? ] unit-test
16
17 [ ] [ real-group-id set-real-group ] unit-test
18 [ ] [ effective-group-id set-effective-group ] unit-test
19
20 [ ] [ real-group-name [ ] with-real-group ] unit-test
21 [ ] [ real-group-id [ ] with-real-group ] unit-test
22
23 [ ] [ effective-group-name [ ] with-effective-group ] unit-test
24 [ ] [ effective-group-id [ ] with-effective-group ] unit-test
25
26 [ ] [ [ ] with-group-cache ] unit-test