Discussion:
com php/gtk-src: Fixed the test expected output: tests/GtkCellLayout/get_cells.phpt
Elizabeth Marie Smith
2012-11-08 16:44:43 UTC
Permalink
Commit: 7d80230a58ac585d0bb10650f41ad313b3222d8f
Author: Elizabeth M Smith <***@gmail.com> Thu, 8 Nov 2012 11:44:43 -0500
Parents: 65590a3d1f0e538efa922a29f37fd1b20327ddf3
Branches: master

Link: http://git.php.net/?p=php/gtk-src.git;a=commitdiff;h=7d80230a58ac585d0bb10650f41ad313b3222d8f

Log:
Fixed the test expected output

Changed paths:
M tests/GtkCellLayout/get_cells.phpt


Diff:
diff --git a/tests/GtkCellLayout/get_cells.phpt b/tests/GtkCellLayout/get_cells.phpt
index 4fc0fa6..01d9665 100644
--- a/tests/GtkCellLayout/get_cells.phpt
+++ b/tests/GtkCellLayout/get_cells.phpt
@@ -5,8 +5,6 @@ GtkCellLayout->get_cells method
if(!extension_loaded('php-gtk')) die('skip - PHP-GTK extension not available');
if($error = Gtk::check_version(2, 18, 0)) die('skip -requires GTK 2.18 or higher ' . $error);
?>
---INI--
-error_reporting = E_ALL | E_DEPRECATED;
--FILE--
<?php

@@ -32,11 +30,12 @@ var_dump($column->get_cells());
--EXPECTF--
array(0) {
}
-PHP Warning: GtkTreeViewColumn::get_cells() expects exactly 0 parameters, 1 given in %s on line %d
+
+Warning: GtkTreeViewColumn::get_cells() expects exactly 0 parameters, 1 given in %s on line %d
NULL
array(1) {
[0]=>
- object(GtkCellRendererText)#2 (1) {
+ object(GtkCellRendererText)#%d (1) {
["gtype"]=>
int(%i)
}
--
PHP-GTK CVS Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Loading...