Home
last modified time | relevance | path

Searched full:example (Results 1 – 25 of 193) sorted by relevance

12345678

/dokuwiki/_test/tests/
H A DMailUtilsTest.php15 $this->assertEquals('jon-doe@example.com', MailUtils::obfuscate('jon-doe@example.com'));
24 MailUtils::obfuscate('jon-doe@example.com')
32 …$this->assertEquals('jon [dash] doe [at] example [dot] com', MailUtils::obfuscate('jon-doe@example
44 MailUtils::obfuscate('user@example.com?subject=Привет')
56 'user@example.com?body=Hello.&subject=DOC REQUEST',
57 MailUtils::obfuscate('user@example.com?body=Hello.&subject=DOC REQUEST')
60 'user@example.com?body=Hello.&subject=DOC REQUEST',
61 MailUtils::obfuscateUrl('user@example.com?body=Hello.&subject=DOC REQUEST')
73 MailUtils::obfuscate('user@example.com?body=Hello.&subject=DOC REQUEST')
77 MailUtils::obfuscateUrl('user@example.com?body=Hello.&subject=DOC REQUEST')
[all …]
/dokuwiki/_test/tests/Parsing/Markdown/gfm-spec/
H A Dspec.txt205 For example, is the following a valid link, or does the code span
213 emphasis? For example, how should the following be parsed?
220 structure? For example, how should the following be parsed?
304 code points (for example, combining accents) do not correspond to
363 Thus, for example, a tab can be used instead of four spaces
368 ```````````````````````````````` example
375 ```````````````````````````````` example
382 ```````````````````````````````` example
391 In the following example, a continuation paragraph of a list
395 ```````````````````````````````` example
[all …]
H A DREADME.md6 in a single fenced-example file.
22 Update this README's pinned-commit line and re-run the suite. Example numbers
36 `SpecReader` (`../../SpecReader.php`) parses this file's fenced-example blocks
/dokuwiki/_test/tests/inc/
H A Dmedia_isexternal.test.php7 $this->assertTrue(media_isexternal('http://www.example.com/foo.png'));
8 $this->assertTrue(media_isexternal('https://www.example.com/foo.png'));
9 $this->assertTrue(media_isexternal('ftp://www.example.com/foo.png'));
10 $this->assertTrue(media_isexternal('hTTp://www.example.com/foo.png'));
11 $this->assertTrue(media_isexternal('hTTps://www.example.com/foo.png'));
12 $this->assertTrue(media_isexternal('Ftp://www.example.com/foo.png'));
H A Dmedia_ispublic.test.php7 $this->assertTrue(media_ispublic('http://www.example.com/foo.png'));
8 $this->assertTrue(media_ispublic('https://www.example.com/foo.png'));
9 $this->assertTrue(media_ispublic('hTTp://www.example.com/foo.png'));
10 $this->assertTrue(media_ispublic('hTTps://www.example.com/foo.png'));
H A Dtoolbar.test.php11 $INFO['userinfo']['mail'] = 'example@example.org';
15 $expected = '"\" --- \\\n \/\/[[example@example.org|\/*!]]>*\/<\/script><script>'.
H A Dmailer.test.php57 $mail->setHeader('to','A valid ASCII name <test@example.com>');
67 $this->assertEquals('A valid ASCII name <test@example.com>',$headers['To']);
107 $mail->to('andi@splitbrain.org,foo@example.com');
110 $this->assertEquals('andi@splitbrain.org, foo@example.com', $headers['To']);
112 $mail->to('andi@splitbrain.org, Text <foo@example.com>');
115 $this->assertEquals('andi@splitbrain.org, Text <foo@example.com>', $headers['To']);
117 $mail->to('Andreas Gohr <andi@splitbrain.org>,foo@example.com');
120 $this->assertEquals('Andreas Gohr <andi@splitbrain.org>, foo@example.com', $headers['To']);
122 $mail->to('Andreas Gohr <andi@splitbrain.org> , foo <foo@example.com>');
125 … $this->assertEquals('Andreas Gohr <andi@splitbrain.org>, foo <foo@example.com>', $headers['To']);
[all …]
/dokuwiki/lib/plugins/authplain/_test/conf/
H A Dauth.users.php12 user_1:$1$tGu7CW5z$VpsMjRIx5tbyOJaQ2SP23.:Admin:admin@example.com:user,first_group
13 user_2:$1$2uJ5C3ib$edo0EDEb/yLAFHme7RK851:User 2:user2@example.com:user,second_group,third_group
14 user_3:$1$yqnlDqgZ$Sste968uKhuxH6wIQt6/D/:User 3:user3@example.com:user,fourth_group,first_group,th…
15 user_4:$1$tXjajS9s$peoGPBQep.P245H1Lfloj0:User 4:user4@example.com:user,third_group
16 user_5:$1$IWrqdhol$xXOmufjZ2hW1aAVp7zDP.1:User 5:user5@example.com:user,second_group,fifth_group
/dokuwiki/_test/tests/Parsing/Markdown/
H A DSpecReader.php6 * Parses cmark-gfm's `test/spec.txt` fenced-example format.
8 * Each example is a block like:
10 * ```````````````` example [optional label]
16 * Fences are 10+ backticks; the opening line includes the word `example`,
18 * extensions, e.g. `example table`, `example disallowed_raw_html`).
22 * numbers shown in the rendered spec ("Example 42").
25 * example, to make test names informative.
37 * Yield one record per example found in the spec file.
71 if (preg_match('/^(`{10,})\s+example(?:\s+(\S.*?))?\s*$/', $raw, $m)) {
112 … "spec file ended mid-example (#$number); opening fence of length $fenceLen was not closed"
H A DSpecReaderTest.php23 `````````` example
46 `````````` example
54 `````````` example
74 `````````` example table
94 `````````` example
123 `````````````` example
139 $body .= "`````````` example\nmd$i\n.\nhtml$i\n``````````\n\n";
152 `````````` example
/dokuwiki/_test/tests/Parsing/ParserMode/
H A DRssTest.php17 $this->P->parse('Foo {{rss>http://example.com/feed}} Bar');
23 ['rss', ['http://example.com/feed', [
42 $this->P->parse('{{rss>http://example.com/feed 5}}');
45 ['rss', ['http://example.com/feed', [
61 $this->P->parse('{{rss>http://example.com/feed 3 rev author date desc nosort 2h}}');
64 ['rss', ['http://example.com/feed', [
80 $this->P->parse('{{rss>http://example.com/feed 1d}}');
83 ['rss', ['http://example.com/feed', [
99 $this->P->parse('{{rss>http://example.com/feed 1m}}');
102 ['rss', ['http://example.com/feed', [
[all …]
H A DExternallinkTest.php316 $this->P->parse("Foo <mailto:foo@example.com> Bar");
320 ['cdata', ["\nFoo <mailto:foo@example.com> Bar"]],
350 $this->P->parse('See www.example.com/path(foo) end');
355 ['externallink', ['http://www.example.com/path(foo)', 'www.example.com/path(foo)']],
365 $this->P->parse('See (www.example.com/path(foo)) end');
370 ['externallink', ['http://www.example.com/path(foo)', 'www.example.com/path(foo)']],
381 $this->P->parse('See www.example.com/path(foo))) end');
386 ['externallink', ['http://www.example.com/path(foo)', 'www.example.com/path(foo)']],
396 $this->P->parse('See www.example.com/search?q=(business))+ok end');
402 'http://www.example.com/search?q=(business))+ok',
[all …]
/dokuwiki/lib/plugins/usermanager/_test/
H A Dcsv_import.test.php84 importuser,"Ford Prefect",ford@example.com,user
95 importuser,"Ford Prefect",ford@example.com,user
100 'mail' => 'ford@example.com',
111 importuser,"Ford Prefect",ford@example.com,user
119 'ford@example.com',
122 'orig' => 'importuser,"Ford Prefect",ford@example.com,user'.NL,
132 importutf8,"Førd Prefect",ford@example.com,user
137 'mail' => 'ford@example.com',
151 importiso8859,"F'.chr(0xF8).'rd Prefect",ford@example.com,user
156 'mail' => 'ford@example.com',
H A Dcsv_export.test.php24 * expected to be: testuser:179ad45c6ce2cb97cf1029e212046e81:Arthur Dent:arthur@example.com
28 testuser,"Arthur Dent",arthur@example.com,
48 testuser,"Arthur Dent",arthur@example.com,
/dokuwiki/_test/tests/Parsing/Helpers/
H A DLinkTest.php23 ['externallink', ['http://example.com', null]],
24 Link::classify('http://example.com', null)
33 ['externallink', ['ftp://files.example.com/x', 'F']],
34 Link::classify('ftp://files.example.com/x', 'F')
65 ['emaillink', ['user@example.com', 'Mail']],
66 Link::classify('user@example.com', 'Mail')
/dokuwiki/vendor/php81_bc/strftime/
H A DREADME.md92 | Format | Description | Example returned values …
104 … | Example returned values …
114 | Format | Description | Example returned values…
123 … | Example returned values …
126 …entation of the year going by ISO-8601:1988 standards (see `%V`) | Example: `09` for the wee…
127 …git version of `%g` | Example: `2009` for the `…
128 …entation of the year | Example: `09` for `2009`,…
129 …sentation for the year | Example: `2038` …
133 | Format | Description | Example
140 | `%p` | UPPER-CASE '`AM`' or '`PM`' based on the given time | Example:…
[all …]
/dokuwiki/lib/plugins/extension/_test/
H A DManagerTest.php36 $manager->storeUpdate('http://example.com/firstinstall');
40 $this->assertStringContainsString('downloadurl=http://example.com/firstinstall', $content);
49 $this->assertEquals('http://example.com/firstinstall', $manager->getDownloadURL());
52 $manager->storeUpdate('http://example.com/update');
60 $this->assertEquals('http://example.com/update', $manager->getDownloadURL());
/dokuwiki/lib/plugins/extension/_test/testdata/evilbase/
H A Dplugin.info.txt3 email evil@example.com
7 url http://example.com/plugin:evil
/dokuwiki/_test/tests/Subscriptions/
H A DBulkSubscriptionsSenderTest.php21 $conf['mailfromnobody'] = 'phpunit@example.com';
49 $this->assertEquals(['arthur@example.com'], array_column($mailerMock->mails, 'Bcc'));
68 ['arthur@example.com', 'arthur@example.com', 'arthur@example.com'],
91 $this->assertEquals(['arthur@example.com'], array_column($mailerMock->mails, 'Bcc'));
109 $this->assertEquals(['arthur@example.com'], array_column($mailerMock->mails, 'Bcc'));
/dokuwiki/_test/tests/Feed/
H A DFeedPageProcessorTest.php28 ['testuser@undisclosed.example.com', 'Arthur Dent'], // proper author
43 ['anonymous@undisclosed.example.com', 'Anonymous'], // unknown author
53 ['anonymous@undisclosed.example.com', 'Anonymous'], // unknown author
89 "http://wiki.example.com/doku.php?id=wiki:dokuwiki&rev=$expectedMtime",
93 "http://wiki.example.com/doku.php?id=wiki:dokuwiki&rev=$expectedMtime&do=revisions",
97 'http://wiki.example.com/doku.php?id=wiki:dokuwiki',
101 "http://wiki.example.com/doku.php?id=wiki:dokuwiki&rev=$expectedMtime&do=diff",
H A DFeedMediaProcessorTest.php28 ['testuser@undisclosed.example.com', 'Arthur Dent'], // proper author
60 …"http://wiki.example.com/doku.php?image=wiki%3Adokuwiki-128.png&ns=wiki&rev=$expectedMtime&do=medi…
64 …"http://wiki.example.com/doku.php?image=wiki%3Adokuwiki-128.png&ns=wiki&rev=$expectedMtime&tab_det…
68 "http://wiki.example.com/doku.php?image=wiki%3Adokuwiki-128.png&ns=wiki&do=media",
72 …"http://wiki.example.com/doku.php?image=wiki%3Adokuwiki-128.png&ns=wiki&rev=$expectedMtime&tab_det…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DCommon.php68 'prime192v1' => '1.2.840.10045.3.1.1', // J.5.1, example 1 (aka secp192r1)
69 'prime192v2' => '1.2.840.10045.3.1.2', // J.5.1, example 2
70 'prime192v3' => '1.2.840.10045.3.1.3', // J.5.1, example 3
71 'prime239v1' => '1.2.840.10045.3.1.4', // J.5.2, example 1
72 'prime239v2' => '1.2.840.10045.3.1.5', // J.5.2, example 2
73 'prime239v3' => '1.2.840.10045.3.1.6', // J.5.2, example 3
74 'prime256v1' => '1.2.840.10045.3.1.7', // J.5.3, example 1 (aka secp256r1)
130 'c2pnb163v1' => '1.2.840.10045.3.0.1', // J.4.1, example 1
131 'c2pnb163v2' => '1.2.840.10045.3.0.2', // J.4.1, example 2
132 'c2pnb163v3' => '1.2.840.10045.3.0.3', // J.4.1, example 3
[all …]
/dokuwiki/
H A DSECURITY.md33 Example: [#4613](https://github.com/dokuwiki/dokuwiki/issues/4613).
36 Example: [#2450](https://github.com/dokuwiki/dokuwiki/issues/2450).
39 Example: [#1708](https://github.com/dokuwiki/dokuwiki/issues/1708).
42 Example: [#4267](https://github.com/dokuwiki/dokuwiki/issues/4267).
45 Example: [#2926](https://github.com/dokuwiki/dokuwiki/issues/2926).
50 Example: [#4368](https://github.com/dokuwiki/dokuwiki/issues/4368).
/dokuwiki/lib/plugins/authpdo/_test/mysql/
H A Dwordpress.php78 'mail' => 'admin@example.com',
88 'mail' => 'test1@example.com',
98 'mail' => 'test2@example.com',
108 'mail' => 'test3@example.com',
/dokuwiki/_test/tests/lib/exe/
H A Dcss_css_loadfile.test.php13 private function csstest($input, $output = null, $location = 'http://www.example.com/') {
19 …ckground: url("test/test.png"); }', '#test { background: url("http://www.example.com/test/test.png…
20 …round: url(\'test/test.png\'); }', '#test { background: url(\'http://www.example.com/test/test.png…
36 … $this->csstest('@import "test/test.png";', '@import "http://www.example.com/test/test.png";');
37 … $this->csstest('@import \'test/test.png\';', '@import \'http://www.example.com/test/test.png\';');
38 …$this->csstest('@import url(test/test.png);', '@import url(http://www.example.com/test/test.png);'…
39 …$this->csstest('@import url("test/test.png");', '@import url("http://www.example.com/test/test.png…

12345678