summaryrefslogtreecommitdiff
path: root/source4/pidl/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-24 22:11:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:42 -0500
commitebfbb2a7abe33e47af48d69164c37f4c24b7f8ed (patch)
tree259c6b4bd5c79ed9112a07cc7e671775813c8f59 /source4/pidl/tests
parente791dd73b98308b949f4ecfb91b5c87183b5de76 (diff)
downloadsamba-ebfbb2a7abe33e47af48d69164c37f4c24b7f8ed.tar.gz
samba-ebfbb2a7abe33e47af48d69164c37f4c24b7f8ed.tar.bz2
samba-ebfbb2a7abe33e47af48d69164c37f4c24b7f8ed.zip
r12463: Rename 'Samba' namespace to 'Samba4'
(This used to be commit f25358270d44a5642adbb85ecaa50b2e5730d7f0)
Diffstat (limited to 'source4/pidl/tests')
-rwxr-xr-xsource4/pidl/tests/ndr_simple.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/pidl/tests/ndr_simple.pl b/source4/pidl/tests/ndr_simple.pl
index 7d48c9f4d7..2c2c910a56 100755
--- a/source4/pidl/tests/ndr_simple.pl
+++ b/source4/pidl/tests/ndr_simple.pl
@@ -5,12 +5,18 @@
use strict;
use Parse::Pidl::Test;
+use Parse::Pidl::IDL;
+use Parse::Pidl::NDR;
+use Parse::Pidl::Samba::NDR;
my %settings = Parse::Pidl::Test::GetSettings(@ARGV);
$settings{'IDL-Arguments'} = ['--quiet', '--parse', '--parser=ndr_test.c', '--header=ndr_test.h'];
$settings{'IncludeFiles'} = ['ndr_test.h'];
$settings{'ExtraFiles'} = ['ndr_test.c'];
+my $pidl = Parse::Pidl::IDL::parse_string('void Test();');
+my $pndr = Parse::Pidl::NDR::Parse($pidl);
+
Parse::Pidl::Test::test_idl(
# Name
'UInt8',
@@ -18,8 +24,6 @@ Parse::Pidl::Test::test_idl(
# Settings
\%settings,
- # IDL
- 'void Test();',
# C Test
'