Lines Matching +full:k +full:- +full:touch
18 touch(dirname(__FILE__).'/../conf/mapping.php');
21 …TestUtils::fappend(dirname(__FILE__).'/../conf/mapping.php','k \\\\server3\\documentsTes…
23 touch(TMP_DIR.'/shareTest/testfile.tmp');
25 touch(TMP_DIR.'/documentsTest/testdefaultfile.tmp');
41 $parser_response = $this->flatten_array($parser_response);
43 $this->assertTrue($uncmap_pos !== false,'uncmap should be invoked');
45 $this->assertTrue($link_pos !== false,'the link is not mapped correctly');
50 $parser_response = $this->flatten_array($parser_response);
52 $this->assertTrue($uncmap_pos !== false,'uncmap should be invoked');
54 $this->assertTrue($link_pos !== false,'the link is not mapped correctly');
59 $parser_response = $this->flatten_array($parser_response);
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');
69 $parser_response = $this->flatten_array($parser_response);
71 $this->assertTrue($uncmap_pos === false,'uncmap should not be invoked');
76 $parser_response = $this->flatten_array($parser_response);
78 …$this->assertTrue($uncmap_pos === false,'A link beginning with a colon should not be handled at al…
89 $response = $request->post($input);
90 $this->assertTrue(
91 strpos($response->getContent(), 'Testlink') !== false,
94 $this->assertTrue(
95 strpos($response->getContent(), '>some title</a>') !== false,
98 $this->assertTrue(
99 … strpos($response->getContent(), 'href="file:///server1/documents/path/to/file"') !== false,
102 $this->assertTrue(
103 strpos($response->getContent(), 'class="windows"') !== false,
116 $response = $request->post($input);
117 $this->assertTrue(
118 strpos($response->getContent(), 'Testlink') !== false,
121 $this->assertTrue(
122 strpos($response->getContent(), 'class="wikilink1"') !== false,
125 $this->assertTrue(
126 … strpos($response->getContent(), 'href="file:///server2/shareTest/testfile.tmp"') !== false,
139 $response = $request->post($input);
140 $this->assertTrue(
141 strpos($response->getContent(), 'Testlink') !== false,
144 $this->assertTrue(
145 strpos($response->getContent(), 'class="wikilink2"') !== false,
146 'The class for an non-existing link is incorrect.'
148 $this->assertTrue(
149 … strpos($response->getContent(), 'href="file:///server2/shareTest/notestfile.tmp"') !== false,
163 …saveWikiText('wiki:start', 'Testlink: [[k:/testdefaultfile.tmp|file exists at default fs]]', 'Test…
164 $response = $request->post($input);
165 $this->assertTrue(
166 strpos($response->getContent(), 'Testlink') !== false,
169 $this->assertTrue(
170 …strpos($response->getContent(), 'href="file:///server3/documentsTest/testdefaultfile.tmp"') !== fa…
173 $this->assertTrue(
174 strpos($response->getContent(), 'class="wikilink1"') !== false,