repos
/
qt.tests
/ annotate_shade
summary
|
shortlog
|
log
|
tree
|
commit
|
commitdiff
|
headdiff
|
annotate
|
headblob
|
headfilediff
|
filehistory
normal
|
plain
|
shade
|
zebra
Make unit tests work & run tests on darcs record
Annotate for file src/qstring.lisp
2009-04-02 tobias
1
(in-package :qt.tests)
22:17:02 '
2
'
3
(5am:in-suite :qt.suite)
'
4
2009-04-06 tobias
5
(5am:test (qstring :depends-on bytearray)
2009-04-02 tobias
6
"Tests string <-> QString."
22:17:02 '
7
(let ((object (make-instance 'qt:object)))
2009-06-30 tobias
8
; (5am:for-all ((string (5am:gen-string))) ;;FIXME
2009-04-02 tobias
9
(5am:for-all ((string (5am:gen-one-element "foo"
2009-07-01 tobias
10
"FOO bar"
11:02:20 '
11
(format nil "A~AB" #\Null)
2009-04-06 tobias
12
"öäüƧЪ")))
2009-05-11 tobias
13
(cxx:set-object-name object string)
2009-04-02 tobias
14
(5am:is (string= string (cxx:object-name object))))))
22:17:02 '
15
'
16
(5am:test (string-list :depends-on qstring)
'
17
"Test vector <-> QStringList."
'
18
(5am:for-all ((vector (5am:gen-one-element #()
'
19
#("foo")
'
20
#("foo" "bar")
'
21
#("ä" "ö" "ü"))))
'
22
(let ((model (make-instance 'qt:string-list-model
'
23
:args (list vector))))
'
24
(5am:is (equalp vector (cxx:string-list model))))))