summaryrefslogtreecommitdiffstats
path: root/cpp/sca/modules/http/httpd-test.scm
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/sca/modules/http/httpd-test.scm')
-rw-r--r--cpp/sca/modules/http/httpd-test.scm29
1 files changed, 0 insertions, 29 deletions
diff --git a/cpp/sca/modules/http/httpd-test.scm b/cpp/sca/modules/http/httpd-test.scm
deleted file mode 100644
index 0566eaf36f..0000000000
--- a/cpp/sca/modules/http/httpd-test.scm
+++ /dev/null
@@ -1,29 +0,0 @@
-; JSON-RPC test case
-
-(define (echo x) x)
-
-; ATOMPub test case
-
-(define (getall)
- '("Sample Feed" "123456789"
- ("Item" "111" ((javaClass "services.Item") (name "Apple") (currencyCode "USD") (currencySymbol "$") (price 2.99)))
- ("Item" "222" ((javaClass "services.Item") (name "Orange") (currencyCode "USD") (currencySymbol "$") (price 3.55)))
- ("Item" "333" ((javaClass "services.Item") (name "Pear") (currencyCode "USD") (currencySymbol "$") (price 1.55))))
-)
-
-(define (get id)
- (define entry '((javaClass "services.Item") (name "Apple") (currencyCode "USD") (currencySymbol "$") (price 2.99)))
- (cons "Item" (list id entry))
-)
-
-(define (post entry)
- "123456789"
-)
-
-(define (put id entry)
- true
-)
-
-(define (delete id)
- true
-)