Home
last modified time | relevance | path

Searched refs:assertTrue (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/plugin/passpolicy/_test/
DHelperTest.php64 …$this->assertTrue($policy->checkPolicy('tested', 'tested'), '1 pool, no user check ' . $policy->er…
68 …$this->assertTrue($policy->checkPolicy('tested99!', 'tested'), '1 pool, no user check ' . $policy-…
73 …$this->assertTrue($policy->checkPolicy('tested99!', 'tested'), '3 pools, no user check ' . $policy…
89 $this->assertTrue($policy->checkPolicy('bazzel', 'nope'));
94 $this->assertTrue($policy->checkPolicy('password', 'nope'));
100 $this->assertTrue($policy->checkPolicy('sadf asfd s as asf a afafaa fadfsa fas', 'nope'));
105 $this->assertTrue($policy->checkPolicy('qwertzuiop', 'nope'));
111 …$this->assertTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '0 required, 4 given ' . $pol…
112 …$this->assertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '0 required, 3 given ' . $polic…
113 …$this->assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '0 required, 2 given ' . $policy->…
[all …]
/plugin/combo/vendor/dragonmantank/cron-expression/tests/Cron/
DDayOfWeekFieldTest.php20 $this->assertTrue($f->validate('1'));
21 $this->assertTrue($f->validate('*'));
22 $this->assertTrue($f->validate('*/3,1,1-12'));
23 $this->assertTrue($f->validate('SUN-2'));
33 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '?'));
59 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '12#1'));
70 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '3#6'));
79 $this->assertTrue($f->validate('MON#1'));
80 $this->assertTrue($f->validate('TUE#2'));
81 $this->assertTrue($f->validate('WED#3'));
[all …]
DAbstractFieldTest.php19 $this->assertTrue($f->isRange('1-2'));
30 $this->assertTrue($f->isIncrementsOfRanges('1/2'));
31 $this->assertTrue($f->isIncrementsOfRanges('*/2'));
32 $this->assertTrue($f->isIncrementsOfRanges('3-12/2'));
41 $this->assertTrue($f->isInRange('1', '1-2'));
42 $this->assertTrue($f->isInRange('2', '1-2'));
43 $this->assertTrue($f->isInRange('5', '4-12'));
54 $this->assertTrue($f->isInIncrementsOfRanges('3', '3-59/2'));
55 $this->assertTrue($f->isInIncrementsOfRanges('13', '3-59/2'));
56 $this->assertTrue($f->isInIncrementsOfRanges('15', '3-59/2'));
[all …]
/plugin/html2pdf/html2pdf/html2ps/unittest/
Dtest.table.border.php27 $this->assertTrue($table_border->left->width->getPoints() > 0);
28 $this->assertTrue($table_border->right->width->getPoints() > 0);
29 $this->assertTrue($table_border->top->width->getPoints() > 0);
30 $this->assertTrue($table_border->bottom->width->getPoints() > 0);
39 $this->assertTrue($cell1_border->left->width->getPoints() > 0,
41 $this->assertTrue($cell1_border->right->width->getPoints() > 0,
43 $this->assertTrue($cell1_border->top->width->getPoints() > 0,
45 $this->assertTrue($cell1_border->bottom->width->getPoints() > 0,
55 $this->assertTrue($cell2_border->left->width->getPoints() > 0,
57 $this->assertTrue($cell2_border->right->width->getPoints() > 0,
[all …]
Dtest.img.align.php16 $this->assertTrue($span->get_bottom_margin() <= $text->get_bottom_margin(),
20 $this->assertTrue($span->get_bottom_margin() <= $img->get_bottom_margin(),
24 $this->assertTrue($span->get_top_margin() >= $text->get_top_margin(),
28 $this->assertTrue($span->get_top_margin() >= $img->get_top_margin(),
32 $this->assertTrue($text->get_bottom_margin() <= $img->get_bottom_margin(),
36 $this->assertTrue($text->get_top_margin() < $img->get_top_margin(),
54 $this->assertTrue($span->get_bottom_margin() <= $text->get_bottom_margin(),
58 $this->assertTrue($span->get_bottom_margin() <= $img->get_bottom_margin(),
62 $this->assertTrue($span->get_top_margin() >= $text->get_top_margin(),
66 $this->assertTrue($span->get_top_margin() >= $img->get_top_margin(),
[all …]
Dtest.css.parse.php7 $this->assertTrue($collection->contains(CSS_VISIBILITY));
14 $this->assertTrue($collection->contains(CSS_VISIBILITY));
21 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
31 $this->assertTrue($collection->contains(CSS_CONTENT));
42 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
54 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
55 $this->assertTrue($collection->contains(CSS_COLOR));
56 $this->assertTrue($collection->contains(CSS_FONT_WEIGHT));
77 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
78 $this->assertTrue($collection->contains(CSS_COLOR));
[all …]
Dtest.css.content.php20 $this->assertTrue($collection->contains(CSS_CONTENT));
31 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
42 $this->assertTrue($collection->contains(CSS_CONTENT));
62 $this->assertTrue($collection->contains(CSS_CONTENT));
82 $this->assertTrue($collection->contains(CSS_CONTENT));
93 $this->assertTrue($collection->contains(CSS_CONTENT));
104 $this->assertTrue($collection->contains(CSS_CONTENT));
105 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
/plugin/uncmap/_test/
Dmapping.test.php43 $this->assertTrue($uncmap_pos !== false,'uncmap should be invoked');
45 $this->assertTrue($link_pos !== false,'the link is not mapped correctly');
52 $this->assertTrue($uncmap_pos !== false,'uncmap should be invoked');
54 $this->assertTrue($link_pos !== false,'the link is not mapped correctly');
61 $this->assertTrue($uncmap_pos !== false,'uncmap should be invoked');
63 $this->assertTrue($link_pos !== false,'the link is not mapped correctly');
64 … $this->assertTrue($parser_response[$link_pos-1] == 'some title','title not recognized correctly');
71 $this->assertTrue($uncmap_pos === false,'uncmap should not be invoked');
78 …$this->assertTrue($uncmap_pos === false,'A link beginning with a colon should not be handled at al…
90 $this->assertTrue(
[all …]
/plugin/ifauthex/_test/
Dgeneral.test.php235 $this->assertTrue(stristr($xhtml, 'showme') !== false);
236 $this->assertTrue(stristr($xhtml, 'hideme') === false);
240 $this->assertTrue(stristr($xhtml, 'showme') === false);
241 $this->assertTrue(stristr($xhtml, 'hideme') !== false);
249 $this->assertTrue(auth_expr_parse('user')->evaluate());
251 $this->assertTrue(auth_expr_parse('!user2')->evaluate());
253 $this->assertTrue(auth_expr_parse('@group')->evaluate());
255 $this->assertTrue(auth_expr_parse('!@group2')->evaluate());
258 $this->assertTrue(auth_expr_parse('user || @group')->evaluate());
259 $this->assertTrue(auth_expr_parse('user || !@group')->evaluate());
[all …]
/plugin/const/_test/
Dconstants.test.php29 $this->assertTrue(strpos($HTML, 'ID:pageconstants') !== false, 'Page ID is pageconstants');
30 …$this->assertTrue(strpos($HTML, 'NAMESPACE:test:plugin_const') !== false, 'Namespace is test:plugi…
31 $this->assertTrue(strpos($HTML, 'User:') !== false, 'anonymous');
58 $this->assertTrue(strpos($HTML, 'YEAR:'.date('Y')) !== false);
59 $this->assertTrue(strpos($HTML, 'MONTH:'.date('m')) !== false);
60 $this->assertTrue(strpos($HTML, 'MONTHNAME:'.date('F')) !== false);
61 $this->assertTrue(strpos($HTML, 'WEEK:'.date('W')) !== false);
62 $this->assertTrue(strpos($HTML, 'DAY:'.date('d')) !== false);
63 $this->assertTrue(strpos($HTML, 'DAYNAME:'.date('l')) !== false);
96 $this->assertTrue(@preg_match('/RANDOM:\d+/',$HTML) === 1);
[all …]
/plugin/struct/_test/types/
DPageTest.php131 $this->assertTrue(is_array($result));
138 $this->assertTrue(is_array($result));
145 $this->assertTrue(is_array($result));
152 $this->assertTrue(is_array($result));
332 $this->assertTrue($page->filterMatch('foo:start', 'foo'));
333 $this->assertTrue($page->filterMatch('start#foo', 'foo'));
335 $this->assertTrue($page->filterMatch('foo-bar:start', 'foo-bar'));
336 $this->assertTrue($page->filterMatch('foo-bar:start-with_special.chars', 'foo-bar'));
337 $this->assertTrue($page->filterMatch('foo.bar:start', 'foo.bar'));
338 $this->assertTrue($page->filterMatch('ns:foo.bar', 'foo.bar'));
[all …]
/plugin/include/_test/
Dnested_include.test.php39 …$this->assertTrue(strpos($mainHTML, 'Main Content') !== false, 'Main content contains "Main Conten…
40 …$this->assertTrue($this->_matchHeader('1', 'Main Test Page', $mainHTML), 'Main page header is h1');
41 …$this->assertTrue(strpos($mainHTML, 'Second Content') !== false, 'Main content contains "Second Co…
42 …$this->assertTrue($this->_matchHeader('2', 'Second Test Page', $mainHTML), 'Second page header on …
43 …$this->assertTrue(strpos($mainHTML, 'Third Content') !== false, 'Main content contains "Third Cont…
44 …$this->assertTrue($this->_matchHeader('3', 'Third Test Page', $mainHTML), 'Third page header on ma…
45 …$this->assertTrue(strpos($secondHTML, 'Second Content') !== false, 'Second content contains "Secon…
46 …$this->assertTrue($this->_matchHeader('1', 'Second Test Page', $secondHTML), 'Second page header o…
47 …$this->assertTrue(strpos($secondHTML, 'Third Content') !== false, 'Second content contains "Third …
48 …$this->assertTrue($this->_matchHeader('2', 'Third Test Page', $secondHTML), 'Third page header on …
[all …]
/plugin/move/_test/
Dmediamove.test.php34 $this->assertTrue($move->movePage($src, $dst));
57 $this->assertTrue($move->moveMedia($src, $dst));
59 $this->assertTrue(@file_exists(mediaFn('foobar:logo.png')));
85 $this->assertTrue($move->moveMedia($src, $dst));
87 $this->assertTrue(@file_exists(mediaFn('foobar:logo_2.png')));
91 $this->assertTrue($move->moveMedia($dst, 'logo_2.png'));
93 $this->assertTrue(@file_exists(mediaFn('logo_2.png')));
118 $this->assertTrue($move->moveMedia($src, $dst));
120 $this->assertTrue(@file_exists(mediaFn('wiki:foobar:test_image.png')));
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
DAllowAccessTest.php33 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
42 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
51 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
60 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
69 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
78 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
87 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
96 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
105 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
114 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
[all …]
/plugin/conflictmerger/tests/
Dacceptance.test.php86 $this->assertTrue($this->click($this->cancelButton));
98 $this->assertTrue($this->click($this->saveButton));
114 $this->assertTrue($this->click($this->saveButton));
130 $this->assertTrue($this->click($this->saveButton));
152 $this->assertTrue($this->click($this->cancelButton));
160 $this->assertTrue($this->click($this->editButton));
172 $this->assertTrue($this->click($this->saveButton));
184 $this->assertTrue($this->click($this->saveButton));
197 $this->assertTrue($this->click($this->editButton));
210 $this->assertTrue($this->click($this->editButton));
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
DGeneratorTest.php39 $this->assertTrue(method_exists($mock, 'testFunction'));
58 $this->assertTrue(method_exists($mock, 'unset'));
66 $this->assertTrue(method_exists($mock, 'count'));
73 $this->assertTrue(method_exists($mock, 'doSomething'));
88 $this->assertTrue(method_exists($mock, 'nonexistentMethod'));
89 $this->assertTrue(method_exists($mock, 'doSomething'));
141 $this->assertTrue(method_exists($mock, 'nonexistentMethod'));
142 $this->assertTrue(method_exists($mock, 'doSomething'));
143 $this->assertTrue($mock->mockableMethod());
144 $this->assertTrue($mock->anotherMockableMethod());
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/
DTestCaseTest.php109 $this->assertTrue($test->setUp);
113 $this->assertTrue($test->tearDown);
121 $this->assertTrue($test->setUp);
122 $this->assertTrue($test->assertPreConditions);
125 $this->assertTrue($test->tearDown);
133 $this->assertTrue($test->setUp);
134 $this->assertTrue($test->assertPreConditions);
135 $this->assertTrue($test->testSomething);
137 $this->assertTrue($test->tearDown);
145 $this->assertTrue($test->setUp);
[all …]
DConstraintTest.php300 $this->assertTrue($constraint->evaluate(2, '', true));
351 $this->assertTrue($constraint->evaluate(1, '', true));
402 $this->assertTrue($constraint->evaluate(1, '', true));
505 $this->assertTrue($constraint->evaluate(null, '', true));
543 $this->assertTrue($constraint->evaluate(1, '', true));
851 $this->assertTrue($constraint->evaluate(0, '', true));
907 $this->assertTrue($constraint->evaluate($a, '', true));
989 $this->assertTrue($constraint->evaluate($b, '', true));
1066 $this->assertTrue($constraint->evaluate(new Exception, '', true));
1072 $this->assertTrue($interfaceConstraint->evaluate(new ArrayObject, '', true));
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
DPropPatchTest.php28 $this->assertTrue($this->propPatch->commit());
32 $this->assertTrue($hasRan);
50 $this->assertTrue($hasRan);
64 $this->assertTrue($this->propPatch->commit());
68 $this->assertTrue($hasRan);
83 $this->assertTrue($this->propPatch->commit());
87 $this->assertTrue($hasRan);
117 $this->assertTrue($this->propPatch->commit());
121 $this->assertTrue($hasRan);
140 $this->assertTrue($this->propPatch->commit());
[all …]
DObjectTreeTest.php46 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/file2.txt'));
57 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/subdir2'));
58 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/subdir2/subfile.txt'));
69 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/file2.txt'));
81 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/subdir/file2.txt'));
93 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/subdir2'));
94 $this->assertTrue(file_exists(SABRE_TEMPDIR.'/root/subdir2/subfile.txt'));
/plugin/strata/_test/
Dstorage.test.php15 $this->assertTrue($OK);
25 $this->assertTrue($OK);
35 $this->assertTrue($OK);
37 $this->assertTrue($OK);
48 $this->assertTrue($OK);
50 $this->assertTrue($OK);
52 $this->assertTrue($OK);
/plugin/findologicxmlexport/vendor/sebastian/global-state/tests/
DBlacklistTest.php38 $this->assertTrue($this->blacklist->isGlobalVariableBlacklisted('variable'));
55 $this->assertTrue(
67 $this->assertTrue(
79 $this->assertTrue(
91 $this->assertTrue(
106 $this->assertTrue(
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
DCalendarObjectTest.php41 $this->assertTrue($children[0] instanceof CalendarObject);
82 $this->assertTrue($children[0] instanceof CalendarObject);
96 $this->assertTrue($children[0] instanceof CalendarObject);
114 $this->assertTrue($children[0] instanceof CalendarObject);
130 $this->assertTrue($children[0] instanceof CalendarObject);
135 $this->assertTrue(is_int($lastMod) || ctype_digit($lastMod));
145 $this->assertTrue($children[0] instanceof CalendarObject);
157 $this->assertTrue($children[0] instanceof CalendarObject);
167 $this->assertTrue($children[0] instanceof CalendarObject);
205 $this->assertTrue($children[0] instanceof CalendarObject);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
DSchedulingObjectTest.php59 $this->assertTrue($children[0] instanceof SchedulingObject);
101 $this->assertTrue($children[0] instanceof SchedulingObject);
113 $this->assertTrue($children[0] instanceof SchedulingObject);
129 $this->assertTrue($children[0] instanceof SchedulingObject);
134 $this->assertTrue(is_int($lastMod) || ctype_digit($lastMod) || is_null($lastMod));
144 $this->assertTrue($children[0] instanceof SchedulingObject);
156 $this->assertTrue($children[0] instanceof SchedulingObject);
166 $this->assertTrue($children[0] instanceof SchedulingObject);
204 $this->assertTrue($children[0] instanceof SchedulingObject);
253 $this->assertTrue($children[0] instanceof SchedulingObject);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/tests/tests/
DFilterTest.php160 $this->assertTrue($this->filter->isFile(__FILE__));
178 $this->assertTrue($this->filter->isFiltered($this->files[1]));
187 $this->assertTrue($this->filter->isFiltered('vfs://root/a/path'));
188 $this->assertTrue($this->filter->isFiltered('xdebug://debug-eval'));
189 $this->assertTrue($this->filter->isFiltered('eval()\'d code'));
190 $this->assertTrue($this->filter->isFiltered('runtime-created function'));
191 $this->assertTrue($this->filter->isFiltered('assert code'));
192 $this->assertTrue($this->filter->isFiltered('regexp code'));

12345678910>>...18