summaryrefslogtreecommitdiff
path: root/pidl/tests/ndr.pl
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2009-06-01 16:26:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-02 18:05:42 +0200
commit00bfe9c286b7156f30a5cad4ee6d42557f3c7835 (patch)
tree23da334a49e7e1a5bfc2937a34cc37c7e3dbcb01 /pidl/tests/ndr.pl
parent688efbbc687bf96c6801afe55deb55a7002a9bf3 (diff)
downloadsamba-00bfe9c286b7156f30a5cad4ee6d42557f3c7835.tar.gz
samba-00bfe9c286b7156f30a5cad4ee6d42557f3c7835.tar.bz2
samba-00bfe9c286b7156f30a5cad4ee6d42557f3c7835.zip
Add support for double type in pidl.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'pidl/tests/ndr.pl')
-rwxr-xr-xpidl/tests/ndr.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/pidl/tests/ndr.pl b/pidl/tests/ndr.pl
index 504b7ec8de..53b8cb89e3 100755
--- a/pidl/tests/ndr.pl
+++ b/pidl/tests/ndr.pl
@@ -4,7 +4,7 @@
use strict;
use warnings;
-use Test::More tests => 46;
+use Test::More tests => 47;
use FindBin qw($RealBin);
use lib "$RealBin";
use Util;
@@ -480,6 +480,7 @@ $ne = ParseElement($e, undef);
is($ne->{REPRESENTATION_TYPE}, "uint8");
is(align_type("hyper"), 8);
+is(align_type("double"), 8);
is(align_type("uint32"), 4);
is(align_type("uint16"), 2);
is(align_type("uint8"), 1);