summaryrefslogtreecommitdiff
path: root/pidl/tests
Commit message (Collapse)AuthorAgeFilesLines
* pidl s4/TDR: use conventional ->{res} nameDouglas Bagnall2019-12-041-6/+6
| | | | | | | rather than ->{ret}, meaning this class can be moved to a Pidl::Base subclass Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* pidl/tests: fix ndr_push_init_ctx() usageAlexander Bokovoy2018-08-304-27/+27
| | | | | | | | | | | | | | The code in libndr got rid of the second argument quite some time ago (2010): f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d However, pidl tests did include a code that passed two arguments. Recently GCC started to fail to compile such code. Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 30 04:48:00 CEST 2018 on sn-devel-144
* pidl: fix field2name wireshark dissector test.Günther Deschner2016-09-071-1/+1
| | | | | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed Sep 7 16:05:26 CEST 2016 on sn-devel-144
* pidl/ws: fix failing testsAurelien Aptel2016-06-201-1/+1
| | | | | | | | | | | | | This commit fixes 2 test failures in Pidl test suite. - commit 02cd7808 changed the error the test was expecting => update expected output in the test - commit c76b65e changed whitespaces in the output => revert to the old output in the generator Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* Clean up more whitespace.Guy Harris2014-11-222-2/+2
| | | | | | Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-By: Kamen Mazdrashki <kamenim@samba.org> Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
* pidl-wireshark: fix trailing white space in the HF definitionMatthieu Patou2013-10-091-1/+1
| | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl/tests: fix use of a non-existent word (existant)Michael Adam2012-06-121-2/+2
|
* pidl: adjust expected output for new flag checkingAndrew Tridgell2011-09-081-2/+4
|
* pidl:NDR: add support for 'ms_union' property.Stefan Metzmacher2011-02-011-19/+20
| | | | metze
* pidl: add support for pointers in typedefsStefan Metzmacher2010-09-281-0/+4
| | | | metze
* pidl:Samba3/ClientNDR: remove unused ParseOutputArgument functionStefan Metzmacher2010-08-261-10/+2
| | | | metze
* Fix a typoVolker Lendecke2010-08-161-2/+2
|
* pidl:Samba3/ClientNDR: implement rpccli_ stubs on top of dcerpc_ stubsStefan Metzmacher2010-08-121-81/+21
| | | | metze
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-12/+6
|
* charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell2010-03-181-6/+6
| | | | | | | | | | | We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
* Change uint_t to unsigned int in pidlMatt Kraai2010-02-021-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* pidl:Samba3/ClientNDR: $size can be 'foo / 2' so we need to add '(' and ')'Stefan Metzmacher2009-11-261-1/+1
| | | | | | | foo / 5 * sizeof(bar)' isn't the same as '(foo / 2) * sizeof(bar)'. metze
* pidl: Fix selftest after s3 code changedVolker Lendecke2009-11-091-59/+27
|
* pidl: update PIDL tests for uint1632 enumsAndrew Tridgell2009-10-071-1/+1
|
* pidl: fixed unit tests for trailer alignmentAndrew Tridgell2009-10-021-0/+2
|
* pid: update ndr testsuite for new union alignmentAndrew Tridgell2009-10-021-1/+2
|
* pidl: update expected output for NDR64 changesAndrew Tridgell2009-09-191-1/+1
|
* Fix string-wchar-fixed-array-03 test (when libndr is available).Jelmer Vernooij2009-09-131-2/+2
|
* Fix string-wchar-fixed-array-02 test (when libndr is available).Jelmer Vernooij2009-09-131-2/+2
|
* Fix string-wchar-fixed-array-01 test (when libndr is available).Jelmer Vernooij2009-09-131-4/+4
|
* pidl: Remove unnecessary _GNU_SOURCE define.Jelmer Vernooij2009-09-131-1/+0
|
* pidl: fix parse_idl test after idl.yp changesStefan Metzmacher2009-08-121-28/+103
| | | | | | | | We now generate 'FILE' and 'LINE' elements for each layer. This change makes the expected PIDL trees human readable:-) metze
* pidl: fix samba3-cli test after the async function were addedStefan Metzmacher2009-08-121-2/+212
| | | | metze
* pidl: add support for [string] on fixed size arrays.Stefan Metzmacher2009-07-271-1/+109
| | | | | | | | | | | | | | | | | | midl also supports this: struct { long l1; [string] wchar_t str[16]; long l2; }; Where the wire size of str is encoded like a length_is() header: 4-byte offset == 0; 4-byte array length; The strings are zero terminated. metze
* pidl: Don't run compile tests inside the tree, won't work yet.Jelmer Vernooij2009-07-031-4/+8
|
* pidl Fix samba4.pidl.typelist test after addition of 'double'Andrew Bartlett2009-06-051-0/+1
|
* Add support for double type in pidl.Brad Hards2009-06-022-2/+9
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* pidl: fix samba3-cli test after change to cli->dispatch()Stefan Metzmacher2009-01-301-2/+2
| | | | metze
* pidl: Fix typelist test after addition of type origin tracking.Jelmer Vernooij2008-12-231-0/+1
|
* Remove EJS backend for PIDL, as we don't have EJS anymore.Jelmer Vernooij2008-12-121-37/+0
|
* Fix executability of samba3-srv.Jelmer Vernooij2008-10-101-0/+0
|
* Move pidl to top-level directory.Jelmer Vernooij2008-09-1727-0/+3441