Browse Source

* Added some test instructions

git-svn-id: trunk@15362 -
michael 15 years ago
parent
commit
951c475e62
2 changed files with 22 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 21 0
      packages/fcl-web/examples/jsonrpc/demo1/README.txt

+ 1 - 0
.gitattributes

@@ -2164,6 +2164,7 @@ packages/fcl-res/xml/versiontypes.xml svneol=native#text/plain
 packages/fcl-res/xml/winpeimagereader.xml svneol=native#text/plain
 packages/fcl-res/xml/winpeimagereader.xml svneol=native#text/plain
 packages/fcl-web/Makefile svneol=native#text/plain
 packages/fcl-web/Makefile svneol=native#text/plain
 packages/fcl-web/Makefile.fpc svneol=native#text/plain
 packages/fcl-web/Makefile.fpc svneol=native#text/plain
+packages/fcl-web/examples/jsonrpc/demo1/README.txt svneol=native#text/plain
 packages/fcl-web/examples/jsonrpc/demo1/demo.lpi svneol=native#text/plain
 packages/fcl-web/examples/jsonrpc/demo1/demo.lpi svneol=native#text/plain
 packages/fcl-web/examples/jsonrpc/demo1/demo.lpr svneol=native#text/plain
 packages/fcl-web/examples/jsonrpc/demo1/demo.lpr svneol=native#text/plain
 packages/fcl-web/examples/jsonrpc/demo1/echo.in svneol=native#text/plain
 packages/fcl-web/examples/jsonrpc/demo1/echo.in svneol=native#text/plain

+ 21 - 0
packages/fcl-web/examples/jsonrpc/demo1/README.txt

@@ -0,0 +1,21 @@
+
+This is an example of how to use JSON-RPC.
+
+It requires lazarus to compile.
+
+The various *.in files are input for JSON-RPC requests.
+
+The application can be tested as follows from the command-line
+
+testcgiapp -i demo -p echo/manual < echo.in
+testcgiapp -i demo -p echo/dispatch < echobatch.in
+testcgiapp -i demo -p echo/registered < echobatch.in
+testcgiapp -i demo -p echo/extdirect < extdirect.in
+testcgiapp -i demo -p echo/dispatch <notification.in
+testcgiapp -i demo -p echo/extdirectapi
+testcgiapp -i demo -p echo/content <echobatch.in
+testcgiapp -i demo -p echo/module <echobatch.in    
+
+The response is printed on standard output.
+
+the testcgiapp application is located in fcl-web/tests