summaryrefslogtreecommitdiff
path: root/source4/pidl/tests/typelist.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-12 21:21:14 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-12 21:21:14 +0100
commit1b906190091718eb16ea3754c671ebccb78a0b33 (patch)
tree3a82d168b92797c39d443abf0f36f1a2bfae4e5d /source4/pidl/tests/typelist.pl
parent6963e9b90bc1bfa1e370701e792f34fb0c3e6944 (diff)
downloadsamba-1b906190091718eb16ea3754c671ebccb78a0b33.tar.gz
samba-1b906190091718eb16ea3754c671ebccb78a0b33.tar.bz2
samba-1b906190091718eb16ea3754c671ebccb78a0b33.zip
pidl: Remove declare tests, add more tests for typedef.
(This used to be commit 254bf85c2eb69fc2ee22d3a92a6b027a25594250)
Diffstat (limited to 'source4/pidl/tests/typelist.pl')
-rwxr-xr-xsource4/pidl/tests/typelist.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/pidl/tests/typelist.pl b/source4/pidl/tests/typelist.pl
index c5c409a525..90cb853a52 100755
--- a/source4/pidl/tests/typelist.pl
+++ b/source4/pidl/tests/typelist.pl
@@ -4,7 +4,7 @@
use strict;
use warnings;
-use Test::More tests => 53;
+use Test::More tests => 52;
use FindBin qw($RealBin);
use lib "$RealBin";
use Util;
@@ -56,7 +56,6 @@ is(1, is_scalar({TYPE => "ENUM"}));
is(0, is_scalar({TYPE => "STRUCT"}));
is(1, is_scalar({TYPE => "TYPEDEF", DATA => {TYPE => "ENUM" }}));
is(1, is_scalar("mytypedef"));
-is(1, is_scalar({TYPE => "DECLARE", DATA => {TYPE => "ENUM" }}));
is(1, scalar_is_reference("string"));
is(0, scalar_is_reference("uint32"));