Lines Matching full:core

75     // core.getAPIVersion
80 $this->remote->call('core.getAPIVersion')
84 // core.getWikiVersion
89 $this->remote->call('core.getWikiVersion')
93 // core.getWikiTitle
99 $this->remote->call('core.getWikiTitle')
103 // core.getWikiTime
108 $this->remote->call('core.getWikiTime'),
117 // core.login
120 $this->markTestIncomplete('Missing test for core.login API Call');
123 // core.logoff
126 $this->markTestIncomplete('Missing test for core.logoff API Call');
129 // core.whoAmI
132 $this->markTestIncomplete('Missing test for core.whoAmI API Call');
135 // core.aclCheck -> See also ApiCoreAclCheckTest.php
140 $this->assertEquals(AUTH_UPLOAD, $this->remote->call('core.aclCheck', ['page' => $id]));
153 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', ['page' => $id]));
161 // core.listPages
194 'core.listPages',
204 // core.listPages
238 'core.listPages',
247 // core.searchPages
275 'core.searchPages',
283 //core.getRecentPageChanges
317 'core.getRecentPageChanges',
325 // core.getPage
340 $this->remote->call('core.getPage', ['page' => $id, 'rev' => 0]),
346 $this->remote->call('core.getPage', ['page' => $id, 'rev' => $rev1]),
352 $this->remote->call('core.getPage', ['page' => $id, 'rev' => $rev2]),
358 $this->remote->call('core.getPage', ['page' => $id, 'rev' => 1234]),
364 $this->remote->call('core.getPage', ['page' => 'foobar', 'rev' => 1234]),
369 //core.getPageHTML
389 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => 0]),
395 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => $rev1]),
401 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => $rev2]),
407 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => 1234]);
415 $this->remote->call('core.getPageHTML', ['page' => 'foobar', 'rev' => 1234]);
422 //core.getPageInfo
448 …$this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => 0, 'hash' => true, 'author' => tr…
463 $this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => $rev1]),
478 $this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => $rev2]),
484 $this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => 1234]);
492 $this->remote->call('core.getPageInfo', ['page' => 'foobar', 'rev' => 1234]);
499 //core.getPageHistory
516 $versions = $this->remote->call('core.getPageHistory', $params);
527 $versions = $this->remote->call('core.getPageHistory', $params);
539 $versions = $this->remote->call('core.getPageHistory', $params);
547 $versions = $this->remote->call('core.getPageHistory', $params);
555 $versions = $this->remote->call('core.getPageHistory', $params);
560 //core.getPageLinks
591 $this->remote->call('core.getPageLinks', ['page' => 'mailinglist'])
595 $this->remote->call('core.getPageLinks', ['page' => 'foobar']);
598 //core.getPageBackLinks
606 $result = $this->remote->call('core.getPageBackLinks', ['page' => 'wiki:syntax']);
610 $this->assertEquals([], $this->remote->call('core.getPageBackLinks', ['page' => 'foobar']));
613 //core.lockPages
621 $this->remote->call('core.lockPages', ['pages' => $tolock]),
631 $this->remote->call('core.lockPages', ['pages' => $tolock]),
636 // core.unlockPages
652 $this->remote->call('core.unlockPages', ['pages' => $tounlock])
656 //core.savePage
668 $this->assertTrue($this->remote->call('core.savePage', $params));
676 $this->assertTrue($this->remote->call('core.savePage', $params));
682 $this->remote->call('core.savePage', $params);
689 //core.appendPage
701 $this->assertEquals(true, $this->remote->call('core.appendPage', $params));
709 // core.listMedia
730 'core.listMedia',
740 //core.getRecentMediaChanges
784 'core.getRecentMediaChanges',
792 //core.getMedia
801 $this->remote->call('core.getMedia', ['media' => $id])
806 $this->remote->call('core.getMedia', ['media' => $id, 'rev' => 1234]);
814 $this->remote->call('core.getMedia', ['media' => 'foobar.png']);
822 //core.getMediaInfo
839 … $this->remote->call('core.getMediaInfo', ['media' => $id, 'hash' => true, 'author' => false])
844 $this->remote->call('core.getMediaInfo', ['media' => $id, 'rev' => 1234]);
852 $this->remote->call('core.getMediaInfo', ['media' => 'foobar.png']);
859 //core.getMediaHistory
883 $versions = $this->remote->call('core.getMediaHistory', $params);
890 $versions = $this->remote->call('core.getMediaHistory', $params);
896 $versions = $this->remote->call('core.getMediaHistory', $params);
901 $versions = $this->remote->call('core.getMediaHistory', $params);
906 //core.saveMedia
915 …$this->assertTrue($this->remote->call('core.saveMedia', ['media' => $target, 'base64' => $base64])…
920 //core.deleteMedia
933 $this->remote->call('core.deleteMedia', ['media' => $id]);
950 $this->assertTrue($this->remote->call('core.deleteMedia', ['media' => $id]));
958 $this->remote->call('core.deleteMedia', ['media' => $id]);