[libchamplain: 20/39] get_uri and get_filename return undef instead of '' when a tile is initialized
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain: 20/39] get_uri and get_filename return undef instead of '' when a tile is initialized
- Date: Mon, 21 Sep 2009 16:25:24 +0000 (UTC)
commit 4d751b4dda4e077770a7e7fb8ef9f5627c1ee5bd
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Wed Sep 16 20:31:47 2009 +0200
get_uri and get_filename return undef instead of '' when a tile is initialized
bindings/perl/Champlain/t/ChamplainTile.t | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/bindings/perl/Champlain/t/ChamplainTile.t b/bindings/perl/Champlain/t/ChamplainTile.t
index 28e69b3..98aaeec 100644
--- a/bindings/perl/Champlain/t/ChamplainTile.t
+++ b/bindings/perl/Champlain/t/ChamplainTile.t
@@ -27,8 +27,8 @@ sub test_new_full {
is($tile->get_zoom_level(), 1, "get_zoom_level() full tile");
is($tile->get_size(), 514, "get_size() full tile");
is($tile->get_state(), 'init', "get_state() full tile");
- is($tile->get_uri(), '', "get_uri() full tile");
- is($tile->get_filename(), '', "get_filename() full tile");
+ is($tile->get_uri(), undef, "get_uri() full tile");
+ is($tile->get_filename(), undef, "get_filename() full tile");
isa_ok($tile->get_actor(), 'Clutter::Actor', "get_actor() full tile");
is($tile->get_content(), undef, "get_content() full tile");
is($tile->get_etag(), undef, "get_etag() full tile");
@@ -52,8 +52,8 @@ sub test_new_empty {
is($tile->get_zoom_level(), 0, "get_zoom_level() default tile");
is($tile->get_size(), 0, "get_size() default tile");
is($tile->get_state(), 'init', "get_state() default tile");
- is($tile->get_uri(), '', "get_uri() default tile");
- is($tile->get_filename(), '', "get_filename() default tile");
+ is($tile->get_uri(), undef, "get_uri() default tile");
+ is($tile->get_filename(), undef, "get_filename() default tile");
isa_ok($tile->get_actor(), 'Clutter::Actor', "get_actor() default tile");
is($tile->get_content(), undef, "get_content() full tile");
is($tile->get_etag(), undef, "get_etag() full tile");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]