[perl-Glib-Object-Introspection] Test parts of the enum handling
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib-Object-Introspection] Test parts of the enum handling
- Date: Thu, 11 Nov 2010 22:29:09 +0000 (UTC)
commit 0836c6528a0305eabd6d262beaf6d1302dec19bf
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Thu Nov 11 22:34:27 2010 +0100
Test parts of the enum handling
t/enums.t | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/t/enums.t b/t/enums.t
new file mode 100644
index 0000000..0654a0e
--- /dev/null
+++ b/t/enums.t
@@ -0,0 +1,11 @@
+#!/usr/bin/env perl
+
+BEGIN { require './t/inc/setup.pl' };
+
+use strict;
+use warnings;
+
+plan tests => 2;
+
+is (test_enum_param ('value1'), 'value1');
+is (test_unsigned_enum_param ('value2'), 'value2');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]