1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Tridgell
57d7a585e8 r8483: switched our generated ejs rpc code over to the new OO interface. This
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
2007-10-10 13:23:08 -05:00
Andrew Tridgell
5f079d7463 r8317: convert the example scripts over to the new GetOptions() call 2007-10-10 13:20:06 -05:00
Andrew Tridgell
2a444dedbe r8298: - started building a library of js routines in scripting/libjs/
- switched the existing test programs over to using the library

- added install of js lib
2007-10-10 13:19:33 -05:00
Andrew Tridgell
757c22aab4 r8271: make the ejs test scripts directly executable scripts using:
#!/usr/bin/env smbscript

I'll be interested to see how portable this is in the build farm.
2007-10-10 13:19:28 -05:00
Andrew Tridgell
c760180119 r8269: added automatic testing of rpc calls from ejs in 'make test' 2007-10-10 13:19:28 -05:00
Andrew Tridgell
2e50a5b780 r8234: started on testing samr calls from ejs. So far it only does samr_Connect() 2007-10-10 13:19:23 -05:00
Andrew Tridgell
a61cdee384 r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now use the enum name
instead of a integer in ejs scripts making rpc calls
2007-10-10 13:19:21 -05:00
Andrew Tridgell
c065d67769 r8218: added testing of echo_TestSurrounding() and
echo_TestDoublePointer(). All echo.idl functions are now tested and
working from ejs.
2007-10-10 13:19:21 -05:00
Andrew Tridgell
7fa9b8251d r8217: added testing of echo_TestSleep() and echo_TestEnum() in echo js code 2007-10-10 13:19:21 -05:00
Andrew Tridgell
1429b885fb r8214: added testing of echo_TestCall2(), which tests the union push code 2007-10-10 13:19:20 -05:00
Andrew Tridgell
67aa628413 r8199: - we don't need to pre-declare 'var status;' everywhere
- added testing of echo_TestCall(), which uses strings
2007-10-10 13:19:19 -05:00
Andrew Tridgell
f1d6b328c4 r8197: added testing of echo_SinkData() and echo_SourceData() 2007-10-10 13:19:19 -05:00
Andrew Tridgell
0b67754c28 r8196: - added testing of the EchoData interface in the echo test script
- add asserts on all calls for correct results
2007-10-10 13:19:18 -05:00
Andrew Tridgell
757bb7f31c r8193: fixed the echo.js example code to work with the new syntax for rpc
calls from js. I chose the new syntax to match the C calling syntax,
so if you are familiar with using the Samba4 rpc libraries from C,
then using them from js should be easy
2007-10-10 13:19:18 -05:00
Andrew Tridgell
0c534699ef r8074: demonstrate calling echo_AddOne() from ejs 2007-10-10 13:19:05 -05:00
Andrew Tridgell
b9e73fa932 r8070: a (as yet not working) example of how rpc calls might be made from js scripts 2007-10-10 13:19:05 -05:00