Lines Matching refs:createAnnotation
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');
184 $drop = $h->createAnnotation($id, ['exact' => 'two'], 'alice', 'b2');
198 $h->createAnnotation($id, ['exact' => 'keep open'], 'alice', 'open');
199 $done = $h->createAnnotation($id, ['exact' => 'mark done'], 'alice', 'done');
226 … $present = $h->createAnnotation($id, ['exact' => 'wiki page about cats'], 'alice', 'present');
227 $gone = $h->createAnnotation($id, ['exact' => 'text that is not here'], 'alice', 'gone');
249 $h->createAnnotation('anntest:listone', ['exact' => 'foo'], 'alice', 'b');
250 $h->createAnnotation('anntest:nested:listtwo', ['exact' => 'bar'], 'alice', 'b');
254 $gone = $h->createAnnotation('anntest:emptied', ['exact' => 'baz'], 'alice', 'b');
269 $h->createAnnotation($id, ['exact' => 'wiki page about cats'], 'alice', 'present');
270 $h->createAnnotation($id, ['exact' => 'text that is not here'], 'alice', 'gone');
285 … $present = $h->createAnnotation($id, ['exact' => 'wiki page about cats'], 'alice', 'present');
288 $gone = $h->createAnnotation($id, ['exact' => 'text that is not here'], 'alice', 'gone');
312 $h->createAnnotation($id, ['exact' => 'wiki page about cats'], 'alice', 'present');
313 $h->createAnnotation($id, ['exact' => 'text that is not here'], 'alice', 'gone');