summaryrefslogtreecommitdiff
path: root/source4/pidl/tests
AgeCommit message (Collapse)AuthorFilesLines
2008-04-15Fix size to memcpy call in generated Samba 3 client code.Jelmer Vernooij1-2/+11
Reported-By: vl (This used to be commit a28807569d0cf32968bacdc0bd88197b19fbae49)
2008-04-06Add test for authservice struct.Jelmer Vernooij1-1/+15
(This used to be commit da8b8364b06a79a10d4ebdc0e451463b3105730e)
2008-02-19Add test for INCLUDE command.Jelmer Vernooij1-2/+4
(This used to be commit d1aa25249d64513f785430cab7437b5c7ca8db27)
2008-02-13Add simple test for ETT_FIELD.Jelmer Vernooij1-1/+4
(This used to be commit aea50426366dbe971d25d2a948db57885ce224b9)
2008-02-09Fix test count after pointer_default_top() removal.Jelmer Vernooij1-1/+1
(This used to be commit 9a4b9facc869a8f7363932a591437251b44cd7bb)
2008-02-07pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher1-10/+10
The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit d7970d70329e0d4f9de30ccfcedd03e583817fa2)
2008-02-07pidl: get the pointer types correct when an element has multiple pointersStefan Metzmacher1-7/+282
Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit aa8518521b2a6a7110c84c4981c53acce7389ee9)
2008-02-04pidl: remove 'pointer_default_top()' supportStefan Metzmacher1-6/+0
metze (This used to be commit 145d6c8ea0eafc69cdeca45fbf296148b890133d)
2008-02-02pidl: revert changes it didn't want to push...sorry!Stefan Metzmacher1-282/+7
8ebf16c0741085fa769fcc2929f275ab49b1ea5d Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers 6fcf2456d0e81898b5779ef1650f38b4c5363a80 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements 0569139ca2960ec5478829c3e66f7ff69bdb55cd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe rs 13afc89a87716063180723f0e9cb4f76daca837e CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element 29c104944bcad30c6a2a3fa70d527bf0ee8969de CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ... 3369015f5d8c425e1a9f9d861471028f03f163bb CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f unction metze (This used to be commit 0bcc8e53d1470ba9dfe93e5d6925b8f4c20c7c66)
2008-02-01WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher1-10/+10
The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit 6fcf2456d0e81898b5779ef1650f38b4c5363a80)
2008-02-01LOOKS OK... pidl: get the pointer types correct when an element has multiple ↵Stefan Metzmacher1-7/+282
pointers Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit 0569139ca2960ec5478829c3e66f7ff69bdb55cd)
2008-01-30pidl: be consistent and always ask pkg-config only for 'ndr'Stefan Metzmacher1-1/+1
metze (This used to be commit ab2e1394d0a66ca13750e1b6f4ced07f4a0f3453)
2008-01-16pidl: Add simple test for ServerNDR.Jelmer Vernooij1-3/+7
(This used to be commit 5b2ea43ed8613ac10ebe7feda0cf070c8079137a)
2008-01-16pidl: Fix imported function for ServerNDR and add test to make sure it ↵Jelmer Vernooij1-0/+14
doesn't regress again. (This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)
2008-01-14pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because ↵Jelmer Vernooij3-52/+55
they only work with the structures generated by that file. (This used to be commit 9aeb7f31b0fc3b9679e5af07e65e79bc8073c4e1)
2008-01-13pidl: Avoid accidently filling in empty body for types without body.Jelmer Vernooij2-2/+13
(This used to be commit 1fe5c1ad07c574dc094f59f728025dfcafa0cf22)
2008-01-12pidl/ejs: Fix bug that filled in the body for types without body.Jelmer Vernooij1-3/+10
(This used to be commit 4f4dfa6042178c157a09df61d72a42af7aa5c67b)
2008-01-12pidl: Add function for determining whether a type has a body.Jelmer Vernooij2-3/+10
(This used to be commit 893f4102c93c1c2cd6b836f12644d06d9e31800c)
2008-01-12pidl: Add more parsing tests.Jelmer Vernooij1-1/+17
(This used to be commit e44ee3e60ac4eb56cca02b58fdecb171269daca4)
2008-01-12pidl: Remove declare tests, add more tests for typedef.Jelmer Vernooij2-4/+10
(This used to be commit 254bf85c2eb69fc2ee22d3a92a6b027a25594250)
2008-01-12pidl: Move tests for the CUtil module to a separate file.Jelmer Vernooij2-11/+23
(This used to be commit ce40890ef0166ad11dd835249f52e2ab5876efba)
2008-01-10pidl: Fix samba3-cli test after Günthers formatting fixes.Jelmer Vernooij1-25/+44
(This used to be commit bd4ce069b4b6d3fdc182b16060c20e6fe8e8a87d)
2007-12-21r26444: Fix pidl tests.Jelmer Vernooij9-43/+46
(This used to be commit bc643f1014cef7f0bc66ad0edfa22395c69b8352)
2007-12-21r26262: Add test for WERROR return code handling for Samba 3 client code.Jelmer Vernooij1-1/+40
(This used to be commit 6017b16f504dc7b092c22200951cb206b0a7e602)
2007-12-21r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)Stefan Metzmacher9-56/+51
Samba4/NDR/Parser.pm Samba4/NDR/Server.pm Samba3/ServerNDR.pm tests/ metze (This used to be commit 7106f21de8dfc472aa0846b49bfdb7543c63b310)
2007-12-21r25795: whitespace cleanup...Stefan Metzmacher1-15/+15
metze (This used to be commit cae48a19530909981a852801095a19a662f65cfe)
2007-12-21r25768: pidl: NT_STATUS_IS_ERR() is NOT the same as !NT_STATUS_IS_OK()Stefan Metzmacher9-34/+34
Everything but success should be handled as error in the tests. metze (This used to be commit cadb1cc743a19fc16e61f8246b1e8771c806caea)
2007-12-21r25767: pidl: make it easier to debug errors in pidl testsStefan Metzmacher1-22/+47
we now print the C program that we tried to compile metze (This used to be commit 299e74314c05209bdc9fe2c41cae7094b2f15c11)
2007-12-21r25766: pidl: fix bugs in ndr_tagtype tests found by compiler warningsStefan Metzmacher1-7/+7
metze (This used to be commit 34af31cfb3b69d1028027da1bceb06b41103e7aa)
2007-12-21r25765: pidl: fix compiler warning in ndr_align testStefan Metzmacher1-2/+2
metze (This used to be commit 3accc840bee973f56ab34a35e3c181da8cb1023e)
2007-10-10r25453: Fix include for NTSTATUS.Jelmer Vernooij1-2/+2
(This used to be commit 3c2d06d8fc8783362a6ff934e86ea4a4da2c6906)
2007-10-10r25185: Check that can_contain_deferred returns true if one of the members ↵Jelmer Vernooij1-1/+3
of a type can contain deferred data. (This used to be commit 9e804e0c21f09b699707bb88d534bde55d265087)
2007-10-10r25166: Simplify can_contain_deferred and add tests for it.Jelmer Vernooij1-2/+15
(This used to be commit 1afc7dd4d33f05d58121defed88faf8fcee3df8f)
2007-10-10r24816: Move the rest of the contents of core.h to more appropriate places.Jelmer Vernooij1-1/+4
include/ now only contains build system related headers, all other headers are now near the source code they're related to. (This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
2007-10-10r24815: Support cpp_quote().Jelmer Vernooij2-2/+13
(This used to be commit 30c1de30bb4ded16e79316c0ab43809e0e19f75d)
2007-10-10r24812: Fix headers for external users.Jelmer Vernooij1-1/+1
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10r24592: pass down the ndr_interface_table in the samba3 client bindingsStefan Metzmacher1-1/+1
instead of the pull and push functions metze (This used to be commit 9b59534a14700f7bfe56cae448030df59ced0ba5)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-1/+1
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24493: - it turns out thatStefan Metzmacher1-3/+29
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 (This used to be commit 5f1f50cd27e3702b79a19dbe1079498cbfc4842b)
2007-10-10r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr treeStefan Metzmacher2-4/+8
not the $pidl tree anymore. metze (This used to be commit 3cbbddb94c9e986d0adbe3b001146b209cd810d9)
2007-10-10r24447: fix samba3-cli pidl testsStefan Metzmacher1-5/+9
metze (This used to be commit 91fb099b3dd5c58608f1fbf65ed77acbc609598f)
2007-10-10r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.Andrew Bartlett2-8/+8
Fix these to use the new data_blob_cmp() Andrew Bartlett (This used to be commit d2fba8faf03c18f4c79e83d5847e5420377d811b)
2007-10-10r23071: print the command on failure onlyStefan Metzmacher1-1/+1
metze (This used to be commit 65ed39172953507610b41273d4a46470725e2012)
2007-10-10r23069: print out the command, to find out the problem on host 'tridge'Stefan Metzmacher1-0/+1
metze (This used to be commit 3f28a19ea1599f7a94faf7d8ee7ea5b3620abe6e)
2007-10-10r22520: Fix the TYPE command.Jelmer Vernooij1-6/+41
(This used to be commit b81b0d3308bf51c2e22d54024b3d6f1a59c6b283)
2007-10-10r22462: Fix test suite for ndr parser without using 'our'Jelmer Vernooij2-17/+19
(This used to be commit d491e60c70de8d78c333b317a143919c1a68c6d9)
2007-10-10r22457: Fix tests for Samba3 client generator.Jelmer Vernooij1-4/+5
(This used to be commit cf5162ad100c1a8201d3309549c8ff0d3bd5a732)
2007-10-10r22456: Merge wireshark and ejs test improvements.Jelmer Vernooij2-82/+81
(This used to be commit 0375978403dde8ef5052dcca544f118e5387e887)
2007-10-10r22453: Fix TDR testsuite without using our.Jelmer Vernooij1-13/+14
(This used to be commit 2c82aea0d3cb43b6d653fa7d64d490eddef26903)
2007-10-10r22357: Don't use 'our'Jelmer Vernooij1-1/+1
(This used to be commit 7989ee2aa015264dc9334b5e15d4fe6cb55f4e09)