Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 25 of 35) sorted by relevance

12

/plugin/multiselect/_test/
H A Dsyntax.test.php24 $mselector = pq("span.multiselector",$doc);
26 $this->assertTrue(pq("span",$mselector)->length === 4);
27 $this->assertEquals('a',trim(pq("span",$mselector)->eq(0)->text()));
28 $this->assertEquals('b',trim(pq("span",$mselector)->eq(1)->text()));
29 $this->assertEquals('c',trim(pq("span",$mselector)->eq(2)->text()));
30 $this->assertEquals('d',trim(pq("span",$mselector)->eq(3)->text()));
32 $this->assertEquals('a',trim(pq("span.multismiley",$doc)->text()));
45 $mselector = pq("span.multiselector",$doc);
47 $this->assertTrue(pq("span",$mselector)->length === 4);
50 $this->assertEquals('ä_',trim(pq("span",$mselector)->eq(2)->text()));
[all …]
/plugin/bureaucracyau/_test/
H A Dsyntax.test.php16 $this->assertEquals(1, pq('form.bureaucracyau__plugin', $doc)->length);
17 $this->assertEquals(6, pq('form.bureaucracyau__plugin fieldset', $doc)->length);
28 $this->assertEquals(3, pq('option', $select)->length);
29 $this->assertEquals(1, pq('option:selected', $select)->length);
30 $this->assertEquals('Peaches', pq('option:selected', $select)->val());
33 $this->assertEquals(1, pq('p:contains(Some static text)', $doc)->length);
37 $this->assertEquals('1', pq('input[type=hidden][value=0]', $cb->parent())->length);
46 $this->assertEquals(1, pq('button[type=submit]:contains(Submit Query)')->length);
57 $this->assertEquals(0, pq('bold', $doc)->length);
66 $this->assertEquals(1, pq('sup', $field)->length, "is mandatory of $name");
[all …]
/plugin/bureaucracy-au/_test/
H A Dsyntax.test.php16 $this->assertEquals(1, pq('form.bureaucracyau__plugin', $doc)->length);
17 $this->assertEquals(6, pq('form.bureaucracyau__plugin fieldset', $doc)->length);
28 $this->assertEquals(3, pq('option', $select)->length);
29 $this->assertEquals(1, pq('option:selected', $select)->length);
30 $this->assertEquals('Peaches', pq('option:selected', $select)->val());
33 $this->assertEquals(1, pq('p:contains(Some static text)', $doc)->length);
37 $this->assertEquals('1', pq('input[type=hidden][value=0]', $cb->parent())->length);
46 $this->assertEquals(1, pq('button[type=submit]:contains(Submit Query)')->length);
57 $this->assertEquals(0, pq('bold', $doc)->length);
66 $this->assertEquals(1, pq('sup', $field)->length, "is mandatory of $name");
[all …]
H A Dfield_file.test.php19 $result = pq($pqSelector, $doc);
/plugin/tagfilter/_test/
H A Dsyntax.test.php29 $form = pq('form[data-plugin=tagfilter]', $doc);
32 $select = pq('select', $form);
46 $options = pq('option', $select->eq(0));
50 $options = pq('option', $select->eq(1));
55 $options = pq('option', $select->eq(2));
69 $form = pq('form[data-plugin=tagfilter]', $doc);
70 $select = pq('select', $form);
74 $options = pq('option', $select->eq(0));
88 $form = pq('form[data-plugin=tagfilter]', $doc);
90 $select = pq('selec
[all...]
/plugin/data/_test/
H A Dsyntax_plugin_data_entry.test.php
/plugin/data-au/_test/
H A Dsyntax_plugin_data_entry.test.php343 $this->assertEquals(1, pq('dl dt.type')->length);
344 $this->assertEquals(1, pq('dl dd.type')->length);
345 $this->assertEquals(1, pq('dl dt.volume')->length);
346 $this->assertEquals(1, pq('dl dd.volume')->length);
353 $this->assertEquals(1, pq('dl dt.server')->length);
354 $this->assertEquals(1, pq('dl dd.server')->length);
355 $this->assertEquals(1, pq('dl dt.website')->length);
357 $this->assertEquals(1, pq('dl dt.task')->length);
358 $this->assertEquals(1, pq('dl dd.task')->length);
359 $this->assertEquals(1, pq('dl dt.tests')->length);
[all …]
/plugin/rowmove/_test/
H A Dajax.test.php24 $this->assertEquals(pq("td",$doc)->get(0)->textContent, 'row1');
25 $this->assertEquals(pq("td",$doc)->get(2)->textContent, 'row2');
43 $selector = pq("span.rowmove",$doc);
45 $this->assertTrue(pq("img",$selector)->length === 4);
47 $this->assertEquals(pq("td",$doc)->get(0)->textContent, 'row2');
48 $this->assertEquals(pq("td",$doc)->get(2)->textContent, 'row1');
H A Dsyntax.test.php24 $selector = pq("span.rowmove",$doc);
26 $this->assertTrue(pq("img",$selector)->length === 4);
/plugin/pagequery/
H A Dsyntax.php246 $pq = new PageQuery($lang);
254 $results = $pq->pageSearch($query);
261 [$query, $incl_ns, $excl_ns] = $pq->parseNamespaceQuery($query);
269 $results = $pq->pageLookup($query, $data['fullregex'], $incl_ns, $excl_ns);
277 $results = $pq->validatePages($results, $data['hidestart'], $data['maxns']);
279 [$sort_array, $sort_opts, $group_opts] = $pq->buildSortingArray($results, $data);
282 $sort_array = $pq->filterMetadata($sort_array, $data['filter']);
293 $pq->msort($sort_array, $sort_opts);
305 $sorted_results = $pq->mgroup($sort_array, $keys, $group_opts);
307 $renderer->doc .= $pq
[all...]
/plugin/navi/_test/
H A DBasicListTest.php69 $pq = (new \DOMWrap\Document())->html($actualHTML);
72 $pq = \phpQuery::newDocumentHTML($actualHTML);
76 foreach ($pq->find('a') as $page) {
81 foreach ($pq->find('li.open > div > a, li.open > div > span > a') as $page) {
86 foreach ($pq->find('li.close > div > a, li.close > div > span > a') as $page) {
H A DExternalLinksTest.php43 $pq = (new \DOMWrap\Document())->html($actualHTML);
46 $pq = \phpQuery::newDocumentHTML($actualHTML);
50 foreach ($pq->find('a') as $page) {
55 foreach ($pq->find('li.open > div > a, li.open > div > span > a') as $page) {
60 foreach ($pq->find('li.close > div > a, li.close > div > span > a') as $page) {
/plugin/structautolink/_test/
H A DRendererTest.php70 $pq = (new \DOMWrap\Document())->html($result);
73 $pq = \phpQuery::newDocumentHTML($result);
76 $this->assertEquals(2, $pq->find('a')->count());
77 $this->assertEquals('Künstliche Intelligenz', $pq->find('a')->eq(0)->text());
78 $this->assertEquals('Machine Learning', $pq->find('a')->eq(1)->text());
/plugin/scrape/
H A Dsyntax.php137 $pq = $doc->find($data['query']);
140 $pq->find('li')->wrapInner('<div class="li" />');
143 $pq->find('table')->addClass('inline')->wrap('<div class="table" />');
146 foreach ($pq->find('a') as $link) {
167 $html .= $pq->html();
169 $pq->each(function ($node) use (&$html) {
/plugin/datepicker/_test/
H A Dsyntax.test.php30 $mselector = pq("span.datepicker",$doc);
32 $mselector = pq("p",$doc);
44 $mselector = pq("span.datepicker",$doc);
64 $mselector = pq("span.weekpicker",$doc);
66 $mselector = pq("p",$doc);
77 $mselector = pq("span.weekpicker",$doc);
97 $mselector = pq("span.datepicker",$doc);
118 $mselector = pq("span.weekpicker",$doc);
H A Dajax.test.php25 …$this->assertEquals(plugin_load('action', 'datepicker')->getConf('emptyStringDate'), pq("span.date…
42 $this->assertEquals('2018-01-01', pq("span.datepicker",$doc)->get(0)->textContent);
67 …$this->assertEquals(plugin_load('action', 'datepicker')->getConf('emptyStringWeek'), pq("span.week…
68 $this->assertEquals('02/18', pq("span.weekpicker",$doc)->get(1)->textContent);
/plugin/backlinks2/_test/
H A Dsyntax_exclude.test.php97 pq('#plugin__backlinks', $doc)->length,
101 $wikilinks = pq('#plugin__backlinks ul li', $doc);
109 $lastlink = pq('a:last', $wikilinks);
H A Dsyntax_include.test.php89 pq('#plugin__backlinks', $doc)->length,
93 $wikilinks = pq('#plugin__backlinks ul li', $doc);
101 $lastlink = pq('a:last', $wikilinks);
H A Dsyntax_include_deep.test.php96 pq('#plugin__backlinks', $doc)->length,
100 $wikilinks = pq('#plugin__backlinks ul li', $doc);
108 $lastlink = pq('a:last', $wikilinks);
H A Dsyntax.test.php128 pq('#plugin__backlinks', $doc)->length,
132 $wikilinks = pq('#plugin__backlinks ul li', $doc);
140 $lastlink = pq('a:last', $wikilinks);
/plugin/indexmenu/_test/
H A Dindexmenu_syntax_indexmenu.test.php
/plugin/abstract/_test/
H A Dsyntax.test.php22 $text = trim(pq("p",$doc)->eq(0)->text());
37 $text = trim(pq("p",$doc)->eq(0)->text());
/plugin/newpagetemplate/
H A Daction.php181 $pq = trim($INPUT->str('newpagetemplate'), ':');
182 if (auth_quickaclcheck($pq) < AUTH_CREATE) {
/plugin/inlineedit/_test/
H A Dsyntax.test.php24 $mselector = pq("span.plugin__inlineedit",$doc);
/plugin/s5reloaded/ui/thesis/pics/
H A Dbackground-head.xcf24 …�544554SSRRSSppqpqq�����������������������������554544RSSR�pqq������������������…

12