Home
last modified time | relevance | path

Searched refs:comment1 (Results 1 – 25 of 769) sorted by relevance

12345678910>>...31

/dports/databases/recutils/recutils-1.8/torture/rec-comment/
H A Drec-comment-equal-p.c42 rec_comment_t comment1; in START_TEST() local
47 comment1 = rec_comment_new ("abc"); in START_TEST()
48 fail_if (comment1 == NULL); in START_TEST()
59 fail_if (rec_comment_equal_p (comment1, comment2)); in START_TEST()
60 fail_if (rec_comment_equal_p (comment1, comment_empty)); in START_TEST()
62 fail_if (!rec_comment_equal_p (comment1, comment1)); in START_TEST()
64 fail_if (!rec_comment_equal_p (comment1, comment3)); in START_TEST()
66 rec_comment_destroy (comment1); in START_TEST()
/dports/www/py-praw/praw-6.2.0/tests/unit/models/reddit/
H A Dtest_comment.py16 comment1 = Comment(self.reddit, _data={"id": "dummy1", "n": 1})
19 assert comment1 == comment1
22 assert comment1 == comment2
24 assert comment1 != comment3
25 assert "dummy1" == comment1
55 comment1 = Comment(self.reddit, _data={"id": "dummy1", "n": 1})
58 assert hash(comment1) == hash(comment1)
61 assert hash(comment1) == hash(comment2)
63 assert hash(comment1) != hash(comment3)
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/tests/src/Functional/
H A DCommentNonNodeTest.php296 $this->assertTrue($this->commentExists($comment1), 'Comment on test entity exists.');
304 $this->drupalGet('comment/' . $comment1->id() . '/edit');
309 $this->drupalGet('comment/' . $comment1->id() . '/delete');
314 $this->performCommentOperation($comment1, 'unpublish');
316 $this->assertRaw('comments[' . $comment1->id() . ']', 'Comment was unpublished.');
319 $this->performCommentOperation($comment1, 'publish', TRUE);
321 $this->assertRaw('comments[' . $comment1->id() . ']', 'Comment was published.');
324 $this->performCommentOperation($comment1, 'delete');
326 $this->assertNoRaw('comments[' . $comment1->id() . ']', 'Comment was deleted.');
334 $this->assertRaw('comments[' . $comment1->id() . ']', 'Comment was published.');
[all …]
H A DCommentTitleTest.php70 $comment1 = $this->postComment($this->node, $comment_text, $subject_text, TRUE);
74 $this->assertNull($comment1->name->value);
75 $this->assertNull($comment1->mail->value);
78 $this->assertTrue($this->commentExists($comment1), 'Comment #1. Comment found.');
85 …$this->assertStringContainsString('#comment-' . $comment1->id(), $comment_permalink, "The comment'…
86 …$this->assertEqual($comment1->permalink()->toString(), $comment_permalink, "The comment's title ha…
H A DCommentThreadingTest.php41 $comment1 = $this->postComment($this->node, $comment_text, $subject_text, TRUE);
43 $this->assertTrue($this->commentExists($comment1), 'Comment #1. Comment found.');
44 $this->assertEqual($comment1->getThread(), '01/');
46 $this->assertNoParentLink($comment1->id());
55 $this->drupalGet('comment/reply/node/' . $this->node->id() . '/comment/' . $comment1->id());
62 $this->assertParentLink($comment1_3->id(), $comment1->id());
75 $this->drupalGet('comment/reply/node/' . $this->node->id() . '/comment/' . $comment1->id());
83 $this->assertParentLink($comment1_5->id(), $comment1->id());
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/tests/src/Functional/
H A DCommentNonNodeTest.php297 $this->assertTrue($this->commentExists($comment1), 'Comment on test entity exists.');
305 $this->drupalGet('comment/' . $comment1->id() . '/edit');
310 $this->drupalGet('comment/' . $comment1->id() . '/delete');
315 $this->performCommentOperation($comment1, 'unpublish');
317 $this->assertSession()->responseContains('comments[' . $comment1->id() . ']');
320 $this->performCommentOperation($comment1, 'publish', TRUE);
322 $this->assertSession()->responseContains('comments[' . $comment1->id() . ']');
325 $this->performCommentOperation($comment1, 'delete');
327 $this->assertSession()->responseNotContains('comments[' . $comment1->id() . ']');
335 $this->assertSession()->responseContains('comments[' . $comment1->id() . ']');
[all …]
H A DCommentTitleTest.php70 $comment1 = $this->postComment($this->node, $comment_text, $subject_text, TRUE);
74 $this->assertNull($comment1->name->value);
75 $this->assertNull($comment1->mail->value);
78 $this->assertTrue($this->commentExists($comment1), 'Comment #1. Comment found.');
85 …$this->assertStringContainsString('#comment-' . $comment1->id(), $comment_permalink, "The comment'…
86 …$this->assertEquals($comment1->permalink()->toString(), $comment_permalink, "The comment's title h…
H A DCommentThreadingTest.php40 $comment1 = $this->postComment($this->node, $comment_text, $subject_text, TRUE);
42 $this->assertTrue($this->commentExists($comment1), 'Comment #1. Comment found.');
43 $this->assertEquals('01/', $comment1->getThread());
45 $this->assertNoParentLink($comment1->id());
54 $this->drupalGet('comment/reply/node/' . $this->node->id() . '/comment/' . $comment1->id());
61 $this->assertParentLink($comment1_3->id(), $comment1->id());
74 $this->drupalGet('comment/reply/node/' . $this->node->id() . '/comment/' . $comment1->id());
82 $this->assertParentLink($comment1_5->id(), $comment1->id());
/dports/www/gitea/gitea-1.16.5/models/
H A Dissue_reaction_test.go123 comment1 := unittest.AssertExistsAndLoadBean(t, &Comment{ID: 1}).(*Comment)
125 addReaction(t, user1, issue1, comment1, "heart")
143 addReaction(t, user1, issue1, comment1, "heart")
144 addReaction(t, user2, issue1, comment1, "heart")
145 addReaction(t, user3, issue1, comment1, "heart")
146 addReaction(t, user4, issue1, comment1, "+1")
148 err := comment1.LoadReactions(repo1)
150 assert.Len(t, comment1.Reactions, 4)
152 reactions := comment1.Reactions.GroupByType()
166 addReaction(t, user1, issue1, comment1, "heart")
[all …]
/dports/www/moodle310/moodle/comment/tests/
H A Dprivacy_test.php110 $comment1 = $this->get_comment_object($coursecontext1, $course1);
114 $comment1->add('First comment for user 1 on comment 1');
117 $comment1->add('First comment for user 2 on comment 1');
148 $this->assertCount(0, $comment1->get_comments());
182 $comment1->add('First comment for user 1 on comment 1');
185 $comment1->add('First comment for user 2 on comment 1');
218 $this->assertCount(0, $comment1->get_comments());
255 $comment1->add('First comment for user 1');
293 $this->assertCount(0, $comment1->get_comments());
339 $comment1->add('First comment for user 1');
[all …]
/dports/www/moodle39/moodle/comment/tests/
H A Dprivacy_test.php110 $comment1 = $this->get_comment_object($coursecontext1, $course1);
114 $comment1->add('First comment for user 1 on comment 1');
117 $comment1->add('First comment for user 2 on comment 1');
148 $this->assertCount(0, $comment1->get_comments());
182 $comment1->add('First comment for user 1 on comment 1');
185 $comment1->add('First comment for user 2 on comment 1');
218 $this->assertCount(0, $comment1->get_comments());
255 $comment1->add('First comment for user 1');
293 $this->assertCount(0, $comment1->get_comments());
339 $comment1->add('First comment for user 1');
[all …]
/dports/www/moodle311/moodle/comment/tests/
H A Dprivacy_test.php110 $comment1 = $this->get_comment_object($coursecontext1, $course1);
114 $comment1->add('First comment for user 1 on comment 1');
117 $comment1->add('First comment for user 2 on comment 1');
148 $this->assertCount(0, $comment1->get_comments());
182 $comment1->add('First comment for user 1 on comment 1');
185 $comment1->add('First comment for user 2 on comment 1');
218 $this->assertCount(0, $comment1->get_comments());
255 $comment1->add('First comment for user 1');
293 $this->assertCount(0, $comment1->get_comments());
339 $comment1->add('First comment for user 1');
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeObjects/
H A DCodeNamespaceTests.cs123 CodeCommentStatement comment1 = new CodeCommentStatement("Comment1"); in Comments_AddMultiple_ReturnsExpected()
124 codeNamespace.Comments.Add(comment1); in Comments_AddMultiple_ReturnsExpected()
125 …Assert.Equal(new CodeCommentStatement[] { comment1 }, codeNamespace.Comments.Cast<CodeCommentState… in Comments_AddMultiple_ReturnsExpected()
129 …Assert.Equal(new CodeCommentStatement[] { comment1, comment2 }, codeNamespace.Comments.Cast<CodeCo… in Comments_AddMultiple_ReturnsExpected()
144 CodeCommentStatement comment1 = new CodeCommentStatement("Comment1"); in Comments_Get_CallsPopulateImportsONce()
145 codeNamespace.Comments.Add(comment1); in Comments_Get_CallsPopulateImportsONce()
146 …Assert.Equal(new CodeCommentStatement[] { comment1 }, codeNamespace.Comments.Cast<CodeCommentState… in Comments_Get_CallsPopulateImportsONce()
153 …Assert.Equal(new CodeCommentStatement[] { comment1, comment2 }, codeNamespace.Comments.Cast<CodeCo… in Comments_Get_CallsPopulateImportsONce()
/dports/www/tikiwiki/tiki-21.2/lib/test/notifications/
H A DNotificationEmailLibTest.php14 $comment1 = $tiki->table('tiki_comments')->insert([
22 'parentId' => $comment1
27 'object' => $comment1,
36 $tiki->table('tiki_comments')->delete(['threadId' => $comment1]);
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/opcodes/
H A Davr-dis.c267 char op1[20], op2[20], comment1[40], comment2[40]; local
319 comment1[0] = 0;
339 ok = avr_operand (insn, insn2, addr, *op, op1, comment1, 0);
343 *comment1 ? comment2 : comment1, regs);
352 sprintf (comment1, "????");
364 if (*comment1)
365 (*prin) (stream, "\t; %s", comment1);
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/binutils/opcodes/
H A Davr-dis.c267 char op1[20], op2[20], comment1[40], comment2[40]; local
319 comment1[0] = 0;
339 ok = avr_operand (insn, insn2, addr, *op, op1, comment1, 0);
343 *comment1 ? comment2 : comment1, regs);
352 sprintf (comment1, "????");
364 if (*comment1)
365 (*prin) (stream, "\t; %s", comment1);
/dports/devel/avr-gdb/gdb-7.3.1/opcodes/
H A Davr-dis.c285 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local
343 comment1[0] = 0; in print_insn_avr()
364 …ok = avr_operand (insn, insn2, addr, *constraints, opcode_str, op1, comment1, 0, &sym_op1, &sym_ad… in print_insn_avr()
368 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr()
377 sprintf (comment1, "????"); in print_insn_avr()
389 if (*comment1) in print_insn_avr()
390 (*prin) (stream, "\t; %s", comment1); in print_insn_avr()
/dports/devel/gdb761/gdb-7.6.1/opcodes/
H A Davr-dis.c286 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local
344 comment1[0] = 0; in print_insn_avr()
365 …ok = avr_operand (insn, insn2, addr, *constraints, opcode_str, op1, comment1, 0, &sym_op1, &sym_ad… in print_insn_avr()
369 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr()
378 sprintf (comment1, "????"); in print_insn_avr()
390 if (*comment1) in print_insn_avr()
391 (*prin) (stream, "\t; %s", comment1); in print_insn_avr()
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/opcodes/
H A Davr-dis.c267 char op1[20], op2[20], comment1[40], comment2[40]; local
321 comment1[0] = 0;
341 ok = avr_operand (insn, insn2, addr, *op, op1, comment1, 0, &sym_op1, &sym_addr1);
345 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2);
354 sprintf (comment1, "????");
366 if (*comment1)
367 (*prin) (stream, "\t; %s", comment1);
/dports/devel/djgpp-binutils/binutils-2.17/opcodes/
H A Davr-dis.c266 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local
317 comment1[0] = 0; in print_insn_avr()
337 ok = avr_operand (insn, insn2, addr, *op, op1, comment1, 0, &sym_op1, &sym_addr1); in print_insn_avr()
341 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr()
350 sprintf (comment1, "????"); in print_insn_avr()
362 if (*comment1) in print_insn_avr()
363 (*prin) (stream, "\t; %s", comment1); in print_insn_avr()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/utils/mb/Unicode/
H A DUCS_to_SHIFT_JIS_2004.pl38 $comment1{$str} = $rest;
111 substr($index, 8, 8), $code, $comment1{$index};
117 $comment1{$index};
150 $comment1{$code} = $rest;
224 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
229 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/utils/mb/Unicode/
H A DUCS_to_SHIFT_JIS_2004.pl38 $comment1{$str} = $rest;
111 substr($index, 8, 8), $code, $comment1{$index};
117 $comment1{$index};
150 $comment1{$code} = $rest;
224 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
229 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/utils/mb/Unicode/
H A DUCS_to_SHIFT_JIS_2004.pl38 $comment1{$str} = $rest;
111 substr($index, 8, 8), $code, $comment1{$index};
117 $comment1{$index};
150 $comment1{$code} = $rest;
224 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
229 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
/dports/databases/postgresql96-client/postgresql-9.6.24/src/backend/utils/mb/Unicode/
H A DUCS_to_SHIFT_JIS_2004.pl38 $comment1{$str} = $rest;
111 substr($index, 8, 8), $code, $comment1{$index};
117 $comment1{$index};
150 $comment1{$code} = $rest;
224 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
229 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/utils/mb/Unicode/
H A DUCS_to_SHIFT_JIS_2004.pl38 $comment1{$str} = $rest;
111 substr($index, 8, 8), $code, $comment1{$index};
117 $comment1{$index};
150 $comment1{$code} = $rest;
224 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};
229 substr($code, 0, 8), substr($code, 8, 8), $comment1{$index};

12345678910>>...31