]> asedeno.scripts.mit.edu Git - cl-protobufs.git/blob - tests/cl-protobufs-tests.asd
required fields of extenstions are nonsensical
[cl-protobufs.git] / tests / cl-protobufs-tests.asd
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ;;;                                                                  ;;;
3 ;;; Free Software published under an MIT-like license. See LICENSE   ;;;
4 ;;;                                                                  ;;;
5 ;;; Copyright (c) 2012 Google, Inc.  All rights reserved.            ;;;
6 ;;;                                                                  ;;;
7 ;;; Original author: Scott McKay                                     ;;;
8 ;;;                                                                  ;;;
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10
11 (in-package "CL-USER")
12
13
14 (asdf:defsystem :cl-protobufs-tests
15   :name "Protobufs Tests"
16   :author "Scott McKay"
17   :version "1.0"
18   :licence "MIT-style"
19   :maintainer '("Scott McKay")
20   :description      "Test code for Protobufs for Common Lisp"
21   :long-description "Test code for Protobufs for Common Lisp"
22   :defsystem-depends-on (:cl-protobufs)
23   :depends-on (:cl-protobufs
24                #+qres :quux
25                #+qres :test-tools
26                #+qres :qres-core)
27   :serial t
28   :components
29     ((:module "packages"
30               :serial t
31               :pathname #p""
32               :components
33                ((:file "pkgdcl")
34                 #-qres (:file "qtest")))
35      ;; Wire format tests
36      (:module "wire-level-tests"
37               :serial t
38               :pathname #p""
39               :depends-on ("packages")
40               :components
41                 ((:file "varint-tests")
42                  (:file "wire-tests")))
43
44      ;; Simple tests
45      (:module "object-level-tests"
46               :serial t
47               :pathname #p""
48               :depends-on ("wire-level-tests")
49               :components
50               ((:file "serialization-tests")
51                (:file "stability-tests")))
52
53      ;; Geodata hack
54      (:module "geodata-proto"
55               :pathname #p""
56               :components
57                 ((:protobuf-file "geodata")))
58      (:module "geodata-data"
59               :pathname #p""
60               :components
61                 ((:static-file "geodata.data")))
62      (:module "geodata"
63               :pathname #p""
64               :depends-on ("geodata-proto" "geodata-data")
65               :components
66                 ((:file "geodata")))
67      
68      ;; Bob Brown's protocol buffers tests
69      (:module "brown-tests-proto"
70               :serial t
71               :pathname #p""
72               :components
73                 ((:protobuf-file "testproto1")
74                  (:protobuf-file "testproto2")))
75      (:module "brown-tests"
76               :serial t
77               :pathname #p""
78               :depends-on ("object-level-tests" "brown-tests-proto")
79               :components
80                 ((:file "quick-tests")
81                  (:static-file "golden.data")))
82
83      (:module "lisp-reference-tests"
84               :serial t
85               :pathname #p""
86               :components
87                 ((:protobuf-file "package_test1") ; automatically includes package_test2
88                  (:protobuf-file "forward_reference")
89                  (:file "lisp-reference-tests")))
90
91      (module "nested-extend-test"
92              :serial t
93              :pathname #p""
94              :components
95                ((:protobuf-file "extend-test")
96                 (:file "lisp-extend-test")))
97
98      (module "case-preservation-test"
99              :serial t
100              :pathname #p""
101              :components
102                ((:protobuf-file "case-preservation")
103                 (:file "case-preservation-test")))
104
105      ;; Google's own protocol buffers and protobuf definitions tests
106      #+++notyet
107      (:module "google-tests-proto"
108               :serial t
109               :pathname #p""
110               :components
111                 ((:protobuf-file "descriptor")
112                  (:protobuf-file "unittest_import")
113                  (:protobuf-file "unittest" :depends-on ("unittest_import"))))
114      #+++notyet
115      (:module "google-tests"
116               :serial t
117               :pathname #p""
118               :depends-on ("object-level-tests" "google-tests-proto")
119               :components
120                 ((:file "full-tests")
121                  (:static-file "golden_message.data")
122                  (:static-file "golden_packed_message.data")))))