git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve solution to allow custom mapping of class names when wrapping them
[plcapi.git]
/
tests
/
5ServerTest.php
diff --git
a/tests/5ServerTest.php
b/tests/5ServerTest.php
index
9374390
..
0345b79
100644
(file)
--- a/
tests/5ServerTest.php
+++ b/
tests/5ServerTest.php
@@
-826,6
+826,15
@@
And turned it into nylon';
$this->assertEquals('Michigan', $v->scalarval());
}
$this->assertEquals('Michigan', $v->scalarval());
}
+ public function testServerWrappedClassWithNamespace()
+ {
+ $m = new xmlrpcmsg('namespacetest.findState', array(
+ new xmlrpcval(23, 'int'),
+ ));
+ $v = $this->send($m);
+ $this->assertEquals('Michigan', $v->scalarval());
+ }
+
public function testWrapInexistentMethod()
{
// make a 'deep client copy' as the original one might have many properties set
public function testWrapInexistentMethod()
{
// make a 'deep client copy' as the original one might have many properties set
@@
-841,15
+850,6
@@
And turned it into nylon';
$this->assertEquals(false, $func);
}
$this->assertEquals(false, $func);
}
- public function testServerWrappedClassWithNamespace()
- {
- $m = new xmlrpcmsg('namespacetest.findState', array(
- new xmlrpcval(23, 'int'),
- ));
- $v = $this->send($m);
- $this->assertEquals('Michigan', $v->scalarval());
- }
-
public function testWrappedMethod()
{
// make a 'deep client copy' as the original one might have many properties set
public function testWrappedMethod()
{
// make a 'deep client copy' as the original one might have many properties set