1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3 ;;; Free Software published under an MIT-like license. See LICENSE ;;;
5 ;;; Copyright (c) 2012 Google, Inc. All rights reserved. ;;;
7 ;;; Original author: Scott McKay ;;;
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11 (in-package "CL-USER")
14 (asdf:defsystem :cl-protobufs-tests
15 :name "Protobufs Tests"
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
34 #-qres (:file "qtest")))
36 (:module "wire-level-tests"
39 :depends-on ("packages")
41 ((:file "varint-tests")
42 (:file "wire-tests")))
45 (:module "object-level-tests"
48 :depends-on ("wire-level-tests")
50 ((:file "serialization-tests")
51 (:file "stability-tests")))
54 (:module "geodata-proto"
57 ((:protobuf-file "geodata")))
58 (:module "geodata-data"
61 ((:static-file "geodata.data")))
64 :depends-on ("geodata-proto" "geodata-data")
68 ;; Bob Brown's protocol buffers tests
69 (:module "brown-tests-proto"
73 ((:protobuf-file "testproto1")
74 (:protobuf-file "testproto2")))
75 (:module "brown-tests"
78 :depends-on ("object-level-tests" "brown-tests-proto")
80 ((:file "quick-tests")
81 (:static-file "golden.data")))
83 (:module "lisp-reference-tests"
87 ((:protobuf-file "package_test1") ; automatically includes package_test2
88 (:protobuf-file "forward_reference")
89 (:file "lisp-reference-tests")))
91 (module "nested-extend-test"
95 ((:protobuf-file "extend-test")
96 (:file "lisp-extend-test")))
98 ;; Google's own protocol buffers and protobuf definitions tests
100 (:module "google-tests-proto"
104 ((:protobuf-file "descriptor")
105 (:protobuf-file "unittest_import")
106 (:protobuf-file "unittest" :depends-on ("unittest_import"))))
108 (:module "google-tests"
111 :depends-on ("object-level-tests" "google-tests-proto")
113 ((:file "full-tests")
114 (:static-file "golden_message.data")
115 (:static-file "golden_packed_message.data")))))