source: trunk/src/unit_tests/unittests-constants.lisp

Last change on this file was 397, checked in by lgiessmann, 13 years ago

tm-sparql: finished all unittests that checks the api's behaviour with different literal datatypes => fixed several bugs that handles xml-boolean, xml-integer, xml-decimal, xml-double, and xml-date values; fixed a bug in the xtm test file; extended the function "literal=" so any objects can be compared to other objects in the stringdatatype format.

  • Property svn:eol-style set to native
File size: 5.0 KB
Line 
1;;+-----------------------------------------------------------------------------
2;;+  Isidorus
3;;+  (c) 2008-2010 Marc Kuester, Christoph Ludwig, Lukas Georgieff
4;;+
5;;+  Isidorus is freely distributable under the LLGPL license.
6;;+  You can find a detailed description in trunk/docs/LLGPL-LICENSE.txt and
7;;+  trunk/docs/LGPL-LICENSE.txt.
8;;+-----------------------------------------------------------------------------
9
10(defpackage :unittests-constants
11  (:use :common-lisp)
12  (:import-from :constants
13                *isidorus-system*)
14  (:import-from :asdf
15                component-pathname
16                find-component)
17  (:export :*unit-tests-component*
18           :*unit-tests-path*
19           :*dangling_topicref.xtm*
20           :*inconsistent.xtm*               
21           :*notificationbase.xtm*           
22           :*notification_merge1.xtm*                     
23           :*notification_merge2.xtm*           
24           :*sample_objects_2_0.xtm*
25           :*dangling_instanceof.xtm*       
26           :*duplicate_identifier.xtm*       
27           :*inconsistent_2_0.xtm*           
28           :*sample_objects.xtm*             
29           :*t100.xtm*
30           :*atom_test.xtm*
31           :*atom-conf.lisp*
32           :*poems.xtm*
33           :*sparql_test.xtm*
34           :*poems_light.rdf*
35           :*poems_light.xtm*
36           :*poems_light.xtm.txt*
37           :*full_mapping.rdf*
38           :*reification_xtm1.0.xtm*
39           :*reification_xtm2.0.xtm*
40           :*reification.rdf*
41           :*poems_light_tm_ii.xtm*
42           :*poems_light_tm_ii_merge.xtm*
43           :*poems_light_tm_reification_xtm1.0.xtm*))
44
45(in-package :unittests-constants)
46
47(defparameter *unit-tests-component*
48  (asdf:find-component *isidorus-system* "unit_tests"))
49
50(defparameter *unit-tests-path*
51  (asdf:component-pathname *unit-tests-component*))
52
53(defparameter *dangling_topicref.xtm*
54  (asdf:component-pathname
55   (asdf:find-component *unit-tests-component* "dangling_topicref.xtm")))
56
57(defparameter *inconsistent.xtm*
58  (asdf:component-pathname
59   (asdf:find-component *unit-tests-component* "inconsistent.xtm")))               
60
61(defparameter *notificationbase.xtm*
62  (asdf:component-pathname
63   (asdf:find-component *unit-tests-component* "notificationbase.xtm")))           
64
65(defparameter *notification_merge1.xtm*
66  (asdf:component-pathname
67   (asdf:find-component *unit-tests-component* "notification_merge1.xtm")))           
68
69(defparameter *notification_merge2.xtm*
70  (asdf:component-pathname
71   (asdf:find-component *unit-tests-component* "notification_merge2.xtm")))           
72
73(defparameter *sample_objects_2_0.xtm*
74  (asdf:component-pathname
75   (asdf:find-component *unit-tests-component* "sample_objects_2_0.xtm")))
76
77(defparameter *dangling_instanceof.xtm*
78  (asdf:component-pathname
79   (asdf:find-component *unit-tests-component* "dangling_instanceof.xtm")))       
80
81(defparameter *duplicate_identifier.xtm*
82  (asdf:component-pathname
83   (asdf:find-component *unit-tests-component* "duplicate_identifier.xtm")))       
84
85(defparameter *inconsistent_2_0.xtm*
86  (asdf:component-pathname
87   (asdf:find-component *unit-tests-component* "inconsistent_2_0.xtm")))           
88
89(defparameter *sample_objects.xtm*
90  (asdf:component-pathname
91   (asdf:find-component *unit-tests-component* "sample_objects.xtm")))             
92
93(defparameter *t100.xtm*
94  (asdf:component-pathname
95   (asdf:find-component *unit-tests-component* "t100.xtm")))
96
97(defparameter *atom_test.xtm*
98  (asdf:component-pathname
99   (asdf:find-component *unit-tests-component* "atom_test.xtm")))
100
101(defparameter *atom-conf.lisp*
102  (asdf:component-pathname
103   (asdf:find-component *unit-tests-component* "atom-conf")))
104
105(defparameter *poems.xtm*
106  (asdf:component-pathname
107   (asdf:find-component *unit-tests-component* "poems.xtm")))
108
109(defparameter *sparql_test.xtm*
110  (asdf:component-pathname
111   (asdf:find-component *unit-tests-component* "sparql_test.xtm")))
112
113(defparameter *poems_light.rdf*
114  (asdf:component-pathname
115   (asdf:find-component *unit-tests-component* "poems_light.rdf")))
116
117(defparameter *poems_light.xtm*
118  (asdf:component-pathname
119   (asdf:find-component *unit-tests-component* "poems_light.xtm")))
120
121(defparameter *poems_light.xtm.txt*
122  (asdf:component-pathname
123   (asdf:find-component *unit-tests-component* "poems_light.xtm.txt")))
124
125(defparameter *full_mapping.rdf*
126  (asdf:component-pathname
127   (asdf:find-component *unit-tests-component* "full_mapping.rdf")))
128
129(defparameter *reification_xtm1.0.xtm*
130  (asdf:component-pathname
131   (asdf:find-component *unit-tests-component* "reification_xtm1.0.xtm")))
132
133(defparameter *reification_xtm2.0.xtm*
134  (asdf:component-pathname
135   (asdf:find-component *unit-tests-component* "reification_xtm2.0.xtm")))
136
137(defparameter *reification.rdf*
138  (asdf:component-pathname
139   (asdf:find-component *unit-tests-component* "reification.rdf")))
140
141(defparameter *poems_light_tm_ii.xtm*
142  (asdf:component-pathname
143   (asdf:find-component *unit-tests-component* "poems_light_tm_ii.xtm")))
144
145(defparameter *poems_light_tm_ii_merge.xtm*
146  (asdf:component-pathname
147   (asdf:find-component *unit-tests-component* "poems_light_tm_ii_merge.xtm")))
148
149(defparameter *poems_light_tm_reification_xtm1.0.xtm*
150  (asdf:component-pathname
151   (asdf:find-component *unit-tests-component* "poems_light_tm_reification_xtm1.0.xtm")))
Note: See TracBrowser for help on using the repository browser.