/plugin/passpolicy/_test/ |
D | HelperTest.php | 64 …$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/ |
D | DayOfWeekFieldTest.php | 20 $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 …]
|
D | AbstractFieldTest.php | 19 $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/ |
D | test.table.border.php | 27 $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 …]
|
D | test.img.align.php | 16 $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 …]
|
D | test.css.parse.php | 7 $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 …]
|
D | test.css.content.php | 20 $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/ |
D | mapping.test.php | 43 $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/ |
D | general.test.php | 235 $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/ |
D | constants.test.php | 29 $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/ |
D | PageTest.php | 131 $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/ |
D | nested_include.test.php | 39 …$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/ |
D | mediamove.test.php | 34 $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/ |
D | AllowAccessTest.php | 33 …$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/ |
D | acceptance.test.php | 86 $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/ |
D | GeneratorTest.php | 39 $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/ |
D | TestCaseTest.php | 109 $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 …]
|
D | ConstraintTest.php | 300 $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/ |
D | PropPatchTest.php | 28 $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 …]
|
D | ObjectTreeTest.php | 46 $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/ |
D | storage.test.php | 15 $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/ |
D | BlacklistTest.php | 38 $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/ |
D | CalendarObjectTest.php | 41 $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/ |
D | SchedulingObjectTest.php | 59 $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/ |
D | FilterTest.php | 160 $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'));
|