diff --git a/src/windows/widgets/datagrid.php b/src/windows/widgets/datagrid.php new file mode 100644 index 0000000..ea2928e --- /dev/null +++ b/src/windows/widgets/datagrid.php @@ -0,0 +1,37 @@ +model = new GtkTreeStore(GObject::TYPE_PHP_VALUE, GObject::TYPE_STRING); + parent::__construct($this->model); + } + + function __get($key) + { + + } + + function __set($key, $val) + { + + } +} \ No newline at end of file diff --git a/tests/core.php b/tests/core.php index af31b1d..146278b 100644 --- a/tests/core.php +++ b/tests/core.php @@ -38,6 +38,7 @@ class CoreTest extends UnitTestCase { function TestPHPVersion() { $this->assertTrue(version_compare(PHP_VERSION, "5.2", "ge")); + $this->assertTrue(version_compare(PHP_VERSION, "5.4", "<")); } /** diff --git a/tests/databases/firebird.php b/tests/databases/firebird.php index 3ba8de8..6d9cb5d 100644 --- a/tests/databases/firebird.php +++ b/tests/databases/firebird.php @@ -130,6 +130,4 @@ SQL; $table_exists = in_array('create_test', $this->tables); $this->assertFalse($table_exists); } - - } \ No newline at end of file