Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
dfd0080c
Commit
dfd0080c
authored
Mar 27, 2014
by
Alan Garcia
Browse files
Debut de test unit pour 1580
parent
5bf6c687
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitattributes
View file @
dfd0080c
...
...
@@ -605,6 +605,7 @@ nightlybuild/READMEFIRST -text
nightlybuild/build.sh -text
nightlybuild/mchroot.sh -text
nightlybuild/nightly.key -text
phpunit/tests/_datasets/domaines.yml -text
po/alternc-admintools.pot -text
po/fr/LC_MESSAGES/.svnignore -text
po/fr/LC_MESSAGES/alternc-admintools.po -text
...
...
phpunit/tests/_datasets/domaines.yml
0 → 100644
View file @
dfd0080c
domaines
:
-
id
:
1
compte
:
2001
domaine
:
example.tld
gesdns
:
1
gesmx
:
1
noerase
:
0
dns_action
:
OK
dns_result
:
0
zonettl
:
86400
phpunit/tests/_datasets/membres.yml
View file @
dfd0080c
membres
:
-
uid
:
0
uid
:
200
0
login
:
admin
pass
:
admin
enabled
:
1
...
...
@@ -11,6 +11,7 @@ membres:
lastfail
:
0
lastip
:
127.0.0.1
-
uid
:
2001
login
:
phpunit
pass
:
phpunit
enabled
:
1
...
...
@@ -19,4 +20,4 @@ membres:
show_help
:
1
lastlogin
:
2014-01-01 00:00:00
lastfail
:
0
lastip
:
127.0.0.1
\ No newline at end of file
lastip
:
127.0.0.1
phpunit/tests/bureau/class/m_mailTest.php
View file @
dfd0080c
...
...
@@ -2,7 +2,7 @@
/**
* 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
...
...
@@ -19,6 +19,15 @@ class m_mailTest extends PHPUnit_Framework_TestCase
$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.
* This method is called after a test is executed.
...
...
@@ -310,10 +319,8 @@ class m_mailTest extends PHPUnit_Framework_TestCase
*/
public
function
testCreate_alias
()
{
// Remove the following lines when you implement this test.
$this
->
markTestIncomplete
(
'This test has not been implemented yet.'
);
// Test #1580
$this
->
object
->
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment