From 9f530962ee5a3ef54695fb288b059bad198fcd53 Mon Sep 17 00:00:00 2001 From: Randy Date: Tue, 9 Aug 2011 16:51:33 -0700 Subject: [PATCH] Add js tests to assist with api development --- static/tests.html | 155 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 static/tests.html diff --git a/static/tests.html b/static/tests.html new file mode 100644 index 00000000..d5cb453c --- /dev/null +++ b/static/tests.html @@ -0,0 +1,155 @@ + + + + + API Test and Examples Page + + + + + +
+

createGroup()

+ + + + +
+
+
+
createGroup()
+
createMappedGroup4(groupMapper)
+
listPads(groupID)
+
createPad(padID,text)
+
createGroupPad(groupID,padName,text)
+
createAuthor(name)
+
getMappedAuthor4(authorMapper,name)
+
createSession(groupID,authorID,validUntil)
+
deleteSession(sessionID)
+
getSessionInfo(sessionID)
+
listSessionsOfGroup(groupID)
+
listSessionsOfAuthor(authorID)
+
getText(padID,rev)
+
setText(padID,text)
+
getRevisionsCount(padID)
+
deletePad(padID)
+
getReadOnlyID(padID)
+
setPublicStatus(padID,publicStatud)
+
getPublicStatus(padID)
+
setPassword(padID,password)
+
isPasswordProtected(padID)
+ +