pidl: Fix imported function for ServerNDR and add test to make sure it doesn't regres...
authorJelmer Vernooij <jelmer@samba.org>
Wed, 16 Jan 2008 13:54:29 +0000 (14:54 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 16 Jan 2008 14:08:00 +0000 (15:08 +0100)
(This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)

source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
source4/pidl/tests/samba3-srv.pl [new file with mode: 0644]

index 47312bc83d73add15b11946b6ee193b616a0c2b5..ecc43ab896c510eb688be53d6594f6cce4da53ff 100644 (file)
@@ -12,7 +12,7 @@ use Parse::Pidl::Typelist qw(mapTypeName scalar_is_reference);
 use Parse::Pidl::Util qw(ParseExpr has_property is_constant);
 use Parse::Pidl::NDR qw(GetNextLevel);
 use Parse::Pidl::Samba4 qw(ElementStars DeclLong);
-use Parse::Pidl::Samba4::NDR::Parser qw(GenerateFunctionOutEnv);
+use Parse::Pidl::Samba4::Header qw(GenerateFunctionOutEnv);
 
 use vars qw($VERSION);
 $VERSION = '0.01';
diff --git a/source4/pidl/tests/samba3-srv.pl b/source4/pidl/tests/samba3-srv.pl
new file mode 100644 (file)
index 0000000..dc96518
--- /dev/null
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+# (C) 2008 Jelmer Vernooij <jelmer@samba.org>
+# Published under the GNU General Public License
+use strict;
+use warnings;
+
+use Test::More tests => 0;
+use FindBin qw($RealBin);
+use lib "$RealBin";
+use Util;
+use Parse::Pidl::Util qw(MyDumper);
+use Parse::Pidl::Samba3::ServerNDR;
+
+