Home
last modified time | relevance | path

Searched refs:FileContains (Results 1 – 20 of 20) sorted by relevance

/dports/www/trafficserver/trafficserver-9.1.1/tests/gold_tests/autest-site/
H A Dwhen.test.ext26 def FileContains(haystack, needle, desired_count=1):
44 raise ValueError("Cannot pass a negative desired_count value to FileContains.")
46 raise ValueError("Cannot pass a desired_count of 0 to FileContains.")
50 ['FileContains', 'when'],
63 ['FileContains', 'when'],
70 ['FileContains', 'when'],
77 ['FileContains', 'when'],
85 AddWhenFunction(FileContains)
H A Dtrafficserver.test.ext323 … p.Ready = When.FileContains(p.Disk.diags_log.AbsPath, "NOTE: Traffic Server is fully initialized")
/dports/devel/py-python-subunit/python-subunit-1.3.0/python/subunit/tests/
H A Dtest_filter_to_disk.py22 FileContains
44 FileContains(
49 FileContains('abcdefg'))
/dports/devel/py-testtools/testtools-2.5.0/testtools/tests/matchers/
H A Dtest_filesystem.py17 FileContains,
145 mismatch = FileContains('').match(doesntexist)
154 self.assertThat(filename, FileContains('Hello World!'))
161 filename, FileContains(matcher=DocTestMatches('Hello World!')))
164 self.assertRaises(AssertionError, FileContains)
168 AssertionError, FileContains, contents=[], matcher=Contains('a'))
174 mismatch = FileContains('Hello World!').match(filename)
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/testtools-0.9.34/testtools/tests/matchers/
H A Dtest_filesystem.py17 FileContains,
145 mismatch = FileContains('').match(doesntexist)
154 self.assertThat(filename, FileContains('Hello World!'))
161 filename, FileContains(matcher=DocTestMatches('Hello World!')))
164 self.assertRaises(AssertionError, FileContains)
168 AssertionError, FileContains, contents=[], matcher=Contains('a'))
174 mismatch = FileContains('Hello World!').match(filename)
/dports/www/trafficserver/trafficserver-9.1.1/tests/gold_tests/logging/
H A Dsigusr2.test.py183 first_curl_ready.Ready = When.FileContains(configured_test.configured_log, "/first")
195 second_curl_ready.Ready = When.FileContains(configured_test.rotated_configured_log, "/second")
208 third_curl_ready.Ready = When.FileContains(configured_test.configured_log, "/third")
H A Dlog_pipe.test.py100 wait_for_log.Ready = When.FileContains(reader_output, '127.0.0.1')
182 wait_for_log.Ready = When.FileContains(reader_output, '127.0.0.1')
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/testtools-0.9.34/testtools/matchers/
H A D__init__.py94 FileContains,
H A D_filesystem.py92 class FileContains(Matcher): class
/dports/devel/py-testtools/testtools-2.5.0/testtools/matchers/
H A D__init__.py105 FileContains,
H A D_filesystem.py92 class FileContains(Matcher): class
/dports/security/gopass/gopass-1.13.0/pkg/fsutil/
H A Dfsutil.go134 func FileContains(path, needle string) bool { func
/dports/www/trafficserver/trafficserver-9.1.1/tests/gold_tests/tls/
H A Dtls_client_cert.test.py205 tr3bar.Processes.Default.StartBefore(server3, ready=When.FileContains(ts.Disk.diags_log.Name, 'sni.…
304 tr.Processes.Default.StartBefore(server4, ready=When.FileContains(ts.Disk.squid_log.Name, 'https', …
H A Dtls_tunnel.test.py198 tr.Processes.Default.StartBefore(server2, ready=When.FileContains(ts.Disk.diags_log.Name, 'sni.yaml…
/dports/www/gohugo/hugo-0.91.2/helpers/
H A Dpath.go460 func FileContains(filename string, subslice []byte, fs afero.Fs) (bool, error) { func
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/testtools-0.9.34/doc/
H A Dfor-test-authors.rst521 FileContains subsection
527 self.assertThat('greetings.txt', FileContains("Hello World!"))
534 self.assertThat('greetings.txt', FileContains(matcher=Contains('!')))
/dports/devel/py-testtools/testtools-2.5.0/doc/
H A Dfor-test-authors.rst599 FileContains subsection
605 self.assertThat('greetings.txt', FileContains("Hello World!"))
612 self.assertThat('greetings.txt', FileContains(matcher=Contains('!')))
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/testtools-0.9.34/
H A DNEWS573 * ``FileContains`` matches the contents of a file.
/dports/devel/py-testtools/testtools-2.5.0/
H A DNEWS1055 * ``FileContains`` matches the contents of a file.
H A DChangeLog769 * Allow passing arbitrary matcher to FileContains