powered by nequal
Home » Net_Cicindela » Timeline » 2461

Changeset 2461 -- 2011-05-12 15:00:23

Author
MugeSo
Comment
テストが正しく通らない問題を修正

Diffs

Net_Cicindela/trunk/tests/src/Net/Net_CicindelaTest.php

@@ -1,9 +1,9 @@
<?php
-ini_set("include_path", "../src/Net".PATH_SEPARATOR."../../../src/Net".PATH_SEPARATOR.ini_get("include_path"));
+ini_set("include_path", realpath(dirname(__FILE__) . "/../../../src").PATH_SEPARATOR.ini_get("include_path"));
require_once 'PHPUnit/Framework.php';
PHPUnit_Util_Filter::addDirectoryToFilter('C:\php\pear');
-require_once 'Cicindela.php';
+require_once 'Net/Cicindela.php';
/**
* Test class for Net_Cicindela.

Net_Cicindela/trunk/tests/src/Net/Cicindela/Net_Cicindela_DatasetTest.php

@@ -1,8 +1,8 @@
<?php
-ini_set("include_path", "../src/Net/Cicindela".PATH_SEPARATOR. dirname(__FILE__) . "/../../../../src".PATH_SEPARATOR.ini_get("include_path"));
+ini_set("include_path", realpath(dirname(__FILE__) . "/../../../../src").PATH_SEPARATOR.ini_get("include_path"));
require_once 'PHPUnit/Framework.php';
-require_once 'Dataset.php';
+require_once 'Net/Cicindela/Dataset.php';
/**
* Test class for Net_Cicindela_Dataset.