Debut de test unit pour 1580
This commit is contained in:
parent
5bf6c6875c
commit
dfd0080c2c
|
@ -605,6 +605,7 @@ nightlybuild/READMEFIRST -text
|
||||||
nightlybuild/build.sh -text
|
nightlybuild/build.sh -text
|
||||||
nightlybuild/mchroot.sh -text
|
nightlybuild/mchroot.sh -text
|
||||||
nightlybuild/nightly.key -text
|
nightlybuild/nightly.key -text
|
||||||
|
phpunit/tests/_datasets/domaines.yml -text
|
||||||
po/alternc-admintools.pot -text
|
po/alternc-admintools.pot -text
|
||||||
po/fr/LC_MESSAGES/.svnignore -text
|
po/fr/LC_MESSAGES/.svnignore -text
|
||||||
po/fr/LC_MESSAGES/alternc-admintools.po -text
|
po/fr/LC_MESSAGES/alternc-admintools.po -text
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
domaines:
|
||||||
|
-
|
||||||
|
id : 1
|
||||||
|
compte : 2001
|
||||||
|
domaine : example.tld
|
||||||
|
gesdns : 1
|
||||||
|
gesmx : 1
|
||||||
|
noerase : 0
|
||||||
|
dns_action : OK
|
||||||
|
dns_result : 0
|
||||||
|
zonettl : 86400
|
|
@ -1,6 +1,6 @@
|
||||||
membres:
|
membres:
|
||||||
-
|
-
|
||||||
uid : 0
|
uid : 2000
|
||||||
login : admin
|
login : admin
|
||||||
pass : admin
|
pass : admin
|
||||||
enabled : 1
|
enabled : 1
|
||||||
|
@ -11,6 +11,7 @@ membres:
|
||||||
lastfail : 0
|
lastfail : 0
|
||||||
lastip : 127.0.0.1
|
lastip : 127.0.0.1
|
||||||
-
|
-
|
||||||
|
uid : 2001
|
||||||
login : phpunit
|
login : phpunit
|
||||||
pass : phpunit
|
pass : phpunit
|
||||||
enabled : 1
|
enabled : 1
|
||||||
|
@ -19,4 +20,4 @@ membres:
|
||||||
show_help : 1
|
show_help : 1
|
||||||
lastlogin : 2014-01-01 00:00:00
|
lastlogin : 2014-01-01 00:00:00
|
||||||
lastfail : 0
|
lastfail : 0
|
||||||
lastip : 127.0.0.1
|
lastip : 127.0.0.1
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
|
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
|
||||||
*/
|
*/
|
||||||
class m_mailTest extends PHPUnit_Framework_TestCase
|
class m_mailTest extends AlterncTest
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var m_mail
|
* @var m_mail
|
||||||
|
@ -19,6 +19,15 @@ class m_mailTest extends PHPUnit_Framework_TestCase
|
||||||
$this->object = new m_mail;
|
$this->object = new m_mail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return PHPUnit_Extensions_Database_DataSet_IDataSet
|
||||||
|
*/
|
||||||
|
public function getDataSet()
|
||||||
|
{
|
||||||
|
return parent::loadDataSet("domaines.yml");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tears down the fixture, for example, closes a network connection.
|
* Tears down the fixture, for example, closes a network connection.
|
||||||
* This method is called after a test is executed.
|
* This method is called after a test is executed.
|
||||||
|
@ -310,10 +319,8 @@ class m_mailTest extends PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testCreate_alias()
|
public function testCreate_alias()
|
||||||
{
|
{
|
||||||
// Remove the following lines when you implement this test.
|
// Test #1580
|
||||||
$this->markTestIncomplete(
|
$this->object->
|
||||||
'This test has not been implemented yet.'
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue