File: pkgdcl.lisp

package info (click to toggle)
cl-qmynd 20140914-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 380 kB
  • ctags: 617
  • sloc: lisp: 3,852; makefile: 11
file content (78 lines) | stat: -rw-r--r-- 2,221 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;                                                                  ;;;
;;; Free Software published under an MIT-like license. See LICENSE   ;;;
;;;                                                                  ;;;
;;; Copyright (c) 2012 Google, Inc.  All rights reserved.            ;;;
;;;                                                                  ;;;
;;; Original author: Alejandro SedeƱo                                ;;;
;;;                                                                  ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(in-package :cl-user)

;;; Package declaration for MySQL Native Driver tests

(defpackage :qmynd-test
  (:use :common-lisp :qmynd-impl)
  #+test-tools
  (:import-from :qtest
   #:define-test
   #:define-test-suite
   #:register-test
   #:run-test
   #:assert-equal
   #:assert-equal-helper
   #:assert-true
   #:assert-false)

  (:import-from :qmynd-impl
  ;; utilities
   #:single-float-bits
   #:double-float-bits
   #:make-single-float
   #:make-double-float
   #:encode-binary-parameter
   #:read-wire-packet

  ;; MySQL Basic Type I/O
   #:read-fixed-length-integer
   #:read-length-encoded-integer
   #:read-fixed-length-octets
   #:read-null-terminated-octets
   #:read-length-encoded-octets
   #:write-fixed-length-integer
   #:write-length-encoded-integer

  ;; MySQL Date/Time classes
   #:mysql-date-time
   #:mysql-time-interval
   #:mysql-year

  ;; MySQL Constants
   #:+mysql-type-decimal+
   #:+mysql-type-tiny+
   #:+mysql-type-short+
   #:+mysql-type-long+
   #:+mysql-type-float+
   #:+mysql-type-double+
   #:+mysql-type-null+
   #:+mysql-type-timestamp+
   #:+mysql-type-longlong+
   #:+mysql-type-int24+
   #:+mysql-type-date+
   #:+mysql-type-time+
   #:+mysql-type-datetime+
   #:+mysql-type-year+
   #:+mysql-type-newdate+
   #:+mysql-type-varchar+
   #:+mysql-type-bit+
   #:+mysql-type-newdecimal+
   #:+mysql-type-enum+
   #:+mysql-type-set+
   #:+mysql-type-tiny-blob+
   #:+mysql-type-medium-blob+
   #:+mysql-type-long-blob+
   #:+mysql-type-blob+
   #:+mysql-type-var-string+
   #:+mysql-type-string+
   #:+mysql-type-geometry+))