Lines Matching refs:call

215         $this->assertEquals($remoteApi->call('wiki.stringTestMethod'), 'success');
216 $this->assertEquals($remoteApi->call('wiki.intTestMethod'), 42);
217 $this->assertEquals($remoteApi->call('wiki.floatTestMethod'), 3.14159265);
218 $this->assertEquals($remoteApi->call('wiki.dateTestMethod'), 2623452346);
219 $this->assertEquals($remoteApi->call('wiki.fileTestMethod'), 'file content');
220 $this->assertEquals($remoteApi->call('wiki.voidTestMethod'), null);
231 $remoteApi->call('wiki.voidTestMethod', array('something'));
249 $this->assertEquals($remoteApi->call('wiki.oneStringArgMethod', array('string')), 'string');
250 …$this->assertEquals($remoteApi->call('wiki.twoArgMethod', array('string', 1)), array('string', 1));
251 …$this->assertEquals($remoteApi->call('wiki.twoArgWithDefaultArg', array('string')), array('string'…
252 …$this->assertEquals($remoteApi->call('wiki.twoArgWithDefaultArg', array('string', 'another')), arr…
266 $remoteApi->call('wiki.twoArgWithDefaultArg', array());
278 $this->assertEquals($remoteApi->call('plugin.testplugin.method1'), null);
279 …$this->assertEquals($remoteApi->call('plugin.testplugin.method2', array('string', 7)), array('stri…
280 …$this->assertEquals($remoteApi->call('plugin.testplugin.method2ext', array('string', 7, true)), ar…
281 $this->assertEquals($remoteApi->call('plugin.testplugin.methodString'), 'success');
294 $remoteApi->call('plugin.testplugin.method2', array());
307 $remoteApi->call('does.not exist'); // unknown method type
318 $this->assertTrue($remoteApi->call('wiki.publicCall'));
328 $this->assertTrue($remoteApi->call('plugin.testplugin.publicCall'));
338 $remoteApi->call('wiki.stringTestMethod');
347 $remoteApi->call('plugin.testplugin.methodString');