Searched refs:createAnnotation (Results 1 – 3 of 3) sorted by relevance
| /plugin/annotations/_test/ |
| H A D | HelperTest.php | 74 $ann = $h->createAnnotation($id, ['exact' => 'hello world'], 'alice', 'A comment'); 90 … $this->assertFalse($h->createAnnotation($id, ['exact' => 'x'], 'alice', ' '), 'empty body'); 91 … $this->assertFalse($h->createAnnotation($id, ['exact' => ''], 'alice', 'body'), 'empty exact'); 92 $this->assertFalse($h->createAnnotation($id, ['exact' => 'x'], '', 'body'), 'empty author'); 101 …$ann = $h->createAnnotation($id, ['exact' => str_repeat('q', 2000)], 'alice', str_repeat('x', 2000… 111 $ann = $h->createAnnotation($id, ['exact' => " foo\n\t bar "], 'alice', 'b'); 119 $ann = $h->createAnnotation($id, ['exact' => 'foo'], 'alice', 'first'); 135 $ann = $h->createAnnotation($id, ['exact' => 'foo'], 'alice', 'b'); 159 $ann = $h->createAnnotation($id, ['exact' => 'foo'], 'alice', 'b'); 183 $keep = $h->createAnnotation($id, ['exact' => 'one'], 'alice', 'b1'); [all …]
|
| /plugin/annotations/ |
| H A D | helper.php | 232 public function createAnnotation($id, $anchor, $author, $body) function in helper_plugin_annotations
|
| H A D | action.php | 375 $result = $helper->createAnnotation($id, $anchor, $user, $body);
|