Jelmer Vernooij
5b2ea43ed8
pidl: Add simple test for ServerNDR.
2008-01-16 15:08:00 +01:00
Jelmer Vernooij
0e03694830
pidl: Fix imported function for ServerNDR and add test to make sure it doesn't regress again.
2008-01-16 15:08:00 +01:00
Jelmer Vernooij
9aeb7f31b0
pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because they only work with the structures generated by that file.
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
1fe5c1ad07
pidl: Avoid accidently filling in empty body for types without body.
2008-01-13 00:05:24 +01:00
Jelmer Vernooij
4f4dfa6042
pidl/ejs: Fix bug that filled in the body for types without body.
2008-01-12 23:38:05 +01:00
Jelmer Vernooij
893f4102c9
pidl: Add function for determining whether a type has a body.
2008-01-12 23:10:28 +01:00
Jelmer Vernooij
e44ee3e60a
pidl: Add more parsing tests.
2008-01-12 21:37:46 +01:00
Jelmer Vernooij
254bf85c2e
pidl: Remove declare tests, add more tests for typedef.
2008-01-12 21:21:14 +01:00
Jelmer Vernooij
ce40890ef0
pidl: Move tests for the CUtil module to a separate file.
2008-01-12 21:14:44 +01:00
Jelmer Vernooij
bd4ce069b4
pidl: Fix samba3-cli test after Günthers formatting fixes.
2008-01-10 20:38:14 +01:00
Jelmer Vernooij
bc643f1014
r26444: Fix pidl tests.
2007-12-21 05:50:12 +01:00
Jelmer Vernooij
6017b16f50
r26262: Add test for WERROR return code handling for Samba 3 client code.
2007-12-21 05:47:36 +01:00
Stefan Metzmacher
7106f21de8
r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
...
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/
metze
2007-12-21 05:44:54 +01:00
Stefan Metzmacher
cae48a1953
r25795: whitespace cleanup...
...
metze
2007-12-21 05:44:02 +01:00
Stefan Metzmacher
cadb1cc743
r25768: pidl: NT_STATUS_IS_ERR() is NOT the same as !NT_STATUS_IS_OK()
...
Everything but success should be handled as error in the tests.
metze
2007-12-21 05:43:51 +01:00
Stefan Metzmacher
299e74314c
r25767: pidl: make it easier to debug errors in pidl tests
...
we now print the C program that we tried to compile
metze
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
34af31cfb3
r25766: pidl: fix bugs in ndr_tagtype tests found by compiler warnings
...
metze
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
3accc840be
r25765: pidl: fix compiler warning in ndr_align test
...
metze
2007-12-21 05:43:49 +01:00
Jelmer Vernooij
3c2d06d8fc
r25453: Fix include for NTSTATUS.
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
9e804e0c21
r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
1afc7dd4d3
r25166: Simplify can_contain_deferred and add tests for it.
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
6890a01dbf
r24816: Move the rest of the contents of core.h to more appropriate places.
...
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
30c1de30bb
r24815: Support cpp_quote().
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
ff6684adfd
r24812: Fix headers for external users.
2007-10-10 15:03:13 -05:00
Stefan Metzmacher
9b59534a14
r24592: pass down the ndr_interface_table in the samba3 client bindings
...
instead of the pull and push functions
metze
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
f874eca5da
r24560: rename some DCERPC_ prefixes into NDR_
...
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
5f1f50cd27
r24493: - it turns out that
...
foreach my $e (@{$union->{ELEMENTS}}) {
changes $union->{ELEMENTS} from undef into an empty array.
this removes the difference between
struct foo { }; and struct foo;
So we need to explicit return before.
- we should return the same element for layout for
structs and unions with no elements.
- fix the testsuite to match
metze
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
3cbbddb94c
r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
...
not the $pidl tree anymore.
metze
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
91fb099b3d
r24447: fix samba3-cli pidl tests
...
metze
2007-10-10 15:01:51 -05:00
Andrew Bartlett
d2fba8faf0
r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.
...
Fix these to use the new data_blob_cmp()
Andrew Bartlett
2007-10-10 14:58:58 -05:00
Stefan Metzmacher
65ed391729
r23071: print the command on failure only
...
metze
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
3f28a19ea1
r23069: print out the command, to find out the problem on host 'tridge'
...
metze
2007-10-10 14:52:48 -05:00
Jelmer Vernooij
b81b0d3308
r22520: Fix the TYPE command.
2007-10-10 14:51:37 -05:00
Jelmer Vernooij
d491e60c70
r22462: Fix test suite for ndr parser without using 'our'
2007-10-10 14:51:23 -05:00
Jelmer Vernooij
cf5162ad10
r22457: Fix tests for Samba3 client generator.
2007-10-10 14:51:23 -05:00
Jelmer Vernooij
0375978403
r22456: Merge wireshark and ejs test improvements.
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
2c82aea0d3
r22453: Fix TDR testsuite without using our.
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
7989ee2aa0
r22357: Don't use 'our'
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
f6d9cdb8a8
r21690: Test use of typedef /and/ struct name
2007-10-10 14:49:12 -05:00
Jelmer Vernooij
d65b520f08
r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
...
"struct foo {};".
Reported by one of the OpenChange folks, thanks!
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
3c9df011a8
r21654: Add simple test for print functions.
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
3ac68e858d
r21584: Support for tagged types has landed!
...
It's now possible to use "struct foo" without a typedef in IDL files.
echo_info4 is the first type that's been converted.
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
1736de4c73
r21579: Use utility function to determine function names in ejs code.
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
e0f626b79c
r21578: Use utility function for naming pull/push/print functions.
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
f0bc29df72
r21575: Fix handling of is_scalar() for declares.
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
6a4033464b
r21574: Fix handling of DECLARE.
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
bbbfbfa870
r21573: Remove more code that assumed all types are typedefs.
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
4d28396f09
r21572: More work towards supporting tagged types.
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
c7bde9c1f5
r21568: More tests.
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
40e2956058
r21567: Add some more wireshark tests.
2007-10-10 14:48:57 -05:00