Home
last modified time | relevance | path

Searched refs:fixture_path (Results 1 – 25 of 633) sorted by relevance

12345678910>>...26

/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/test/elixir/config/
H A Dreader_test.exs10 assert Config.Reader.read_imports!(fixture_path("configs/good_kw.exs")) ==
11 {[my_app: [key: :value]], [fixture_path("configs/good_kw.exs")]}
18 [fixture_path("configs/good_config.exs"), fixture_path("configs/good_import.exs")]}
32 assert Config.Reader.read!(fixture_path("configs/good_kw.exs")) ==
35 assert Config.Reader.read!(fixture_path("configs/good_config.exs")) ==
38 assert Config.Reader.read!(fixture_path("configs/good_import.exs")) ==
52 Config.Reader.read!(fixture_path("configs/env.exs"))
56 Config.Reader.read!(fixture_path("configs/env.exs"), env: :prod)
70 file = fixture_path(file)
74 file = fixture_path("configs/env.exs")
[all …]
/dports/lang/elixir/elixir-1.12.3/lib/elixir/test/elixir/config/
H A Dreader_test.exs10 assert Config.Reader.read_imports!(fixture_path("configs/good_kw.exs")) ==
11 {[my_app: [key: :value]], [fixture_path("configs/good_kw.exs")]}
18 [fixture_path("configs/good_config.exs"), fixture_path("configs/good_import.exs")]}
32 assert Config.Reader.read!(fixture_path("configs/good_kw.exs")) ==
35 assert Config.Reader.read!(fixture_path("configs/good_config.exs")) ==
38 assert Config.Reader.read!(fixture_path("configs/good_import.exs")) ==
52 Config.Reader.read!(fixture_path("configs/env.exs"))
56 Config.Reader.read!(fixture_path("configs/env.exs"), env: :prod)
70 file = fixture_path(file)
74 file = fixture_path("configs/env.exs")
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/ruby/red-arrow/test/
H A Dtest-csv-loader.rb27 data = fixture_path("with-header-float.csv").read
37 data = fixture_path("without-header-float.csv").read
47 path = fixture_path("with-header-float.csv").to_s
57 path = fixture_path("without-header-float.csv").to_s
67 path = fixture_path("with-header-float.csv")
77 path = fixture_path("without-header-float.csv")
87 path = fixture_path("null-with-double-quote.csv").to_s
97 path = fixture_path("null-without-double-quote.csv").to_s
107 path = fixture_path("float-integer.csv").to_s
113 path = fixture_path("integer-float.csv").to_s
/dports/databases/arrow/apache-arrow-6.0.1/ruby/red-arrow/test/
H A Dtest-csv-loader.rb27 data = fixture_path("with-header-float.csv").read
37 data = fixture_path("without-header-float.csv").read
47 path = fixture_path("with-header-float.csv").to_s
57 path = fixture_path("without-header-float.csv").to_s
67 path = fixture_path("with-header-float.csv")
77 path = fixture_path("without-header-float.csv")
87 path = fixture_path("null-with-double-quote.csv").to_s
97 path = fixture_path("null-without-double-quote.csv").to_s
107 path = fixture_path("float-integer.csv").to_s
113 path = fixture_path("integer-float.csv").to_s
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/ruby/red-arrow/test/
H A Dtest-csv-loader.rb27 data = fixture_path("with-header-float.csv").read
37 data = fixture_path("without-header-float.csv").read
47 path = fixture_path("with-header-float.csv").to_s
57 path = fixture_path("without-header-float.csv").to_s
67 path = fixture_path("with-header-float.csv")
77 path = fixture_path("without-header-float.csv")
87 path = fixture_path("null-with-double-quote.csv").to_s
97 path = fixture_path("null-without-double-quote.csv").to_s
107 path = fixture_path("float-integer.csv").to_s
113 path = fixture_path("integer-float.csv").to_s
/dports/lang/elixir/elixir-1.12.3/lib/mix/test/mix/
H A Dconfig_test.exs66 import_config fixture_path("configs/good_config.exs")
68 assert files() == [fixture_path("configs/good_config.exs")]
72 import_config fixture_path("configs/good_con*.exs")
77 import_config fixture_path("configs/nonexistent_*.exs")
82 assert Mix.Config.eval!(fixture_path("configs/good_kw.exs")) ==
85 assert Mix.Config.eval!(fixture_path("configs/good_config.exs")) ==
88 assert Mix.Config.eval!(fixture_path("configs/good_import.exs")) ==
90 [fixture_path("configs/good_config.exs"), fixture_path("configs/good_import.exs")]}
94 assert Mix.Config.read!(fixture_path("configs/good_kw.exs")) ==
97 assert Mix.Config.read!(fixture_path("configs/good_config.exs")) ==
[all …]
/dports/lang/elixir-devel/elixir-1.13.1/lib/mix/test/mix/tasks/
H A Ddeps.git_test.exs26 {:git_repo, "0.1.0", [git: fixture_path("git_repo")] ++ opts}
48 {:git_repo, "0.1.0", git: fixture_path("not_git_repo")}
59 message = "* Getting git_repo (#{fixture_path("git_repo")})"
66 message = "* Updating git_repo (#{fixture_path("git_repo")})"
76 message = "* Getting git_repo (#{fixture_path("git_repo")})"
90 message = "* Getting git_repo (#{fixture_path("git_repo")})"
105 message = "* Getting git_repo (#{fixture_path("git_repo")})"
117 message = "* Getting git_repo (#{fixture_path("git_repo")})"
127 message = "* Getting git_repo (#{fixture_path("git_repo")})"
143 message = "* Getting git_repo (#{fixture_path("git_repo")})"
[all …]
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/test/elixir/
H A Dfile_test.exs340 src = fixture_path("unknown")
367 src = fixture_path(extra)
419 src = fixture_path("cp_r")
476 src = fixture_path("cp_r")
548 src = fixture_path("cp_r")
572 src = fixture_path("cp_r")
584 src = fixture_path("cp_r")
610 src = fixture_path("cp_r")
646 src = fixture_path("cp_r")
662 src = fixture_path("cp_r")
[all …]
H A Dcode_test.exs124 assert Code.compile_file(fixture_path("code_sample.exs")) == []
125 refute fixture_path("code_sample.exs") in Code.required_files()
131 Code.compile_file(fixture_path("checker_warning.exs"))
138 assert Code.require_file(fixture_path("code_sample.exs")) == []
139 assert fixture_path("code_sample.exs") in Code.required_files()
140 assert Code.require_file(fixture_path("code_sample.exs")) == nil
142 Code.unrequire_files([fixture_path("code_sample.exs")])
143 refute fixture_path("code_sample.exs") in Code.required_files()
144 assert Code.require_file(fixture_path("code_sample.exs")) != nil
146 Code.unrequire_files([fixture_path("code_sample.exs")])
[all …]
/dports/lang/elixir/elixir-1.12.3/lib/elixir/test/elixir/
H A Dfile_test.exs340 src = fixture_path("unknown")
367 src = fixture_path(extra)
419 src = fixture_path("cp_r")
476 src = fixture_path("cp_r")
548 src = fixture_path("cp_r")
572 src = fixture_path("cp_r")
584 src = fixture_path("cp_r")
610 src = fixture_path("cp_r")
646 src = fixture_path("cp_r")
662 src = fixture_path("cp_r")
[all …]
/dports/lang/elixir/elixir-1.12.3/lib/mix/test/mix/tasks/
H A Ddeps.git_test.exs26 {:git_repo, "0.1.0", [git: fixture_path("git_repo")] ++ opts}
48 {:git_repo, "0.1.0", git: fixture_path("not_git_repo")}
59 message = "* Getting git_repo (#{fixture_path("git_repo")})"
66 message = "* Updating git_repo (#{fixture_path("git_repo")})"
76 message = "* Getting git_repo (#{fixture_path("git_repo")})"
89 message = "* Getting git_repo (#{fixture_path("git_repo")})"
103 message = "* Getting git_repo (#{fixture_path("git_repo")})"
113 message = "* Getting git_repo (#{fixture_path("git_repo")})"
129 message = "* Getting git_repo (#{fixture_path("git_repo")})"
222 message = "* Getting git_repo (#{fixture_path("git_repo")})"
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/test/units/plugins/cliconf/
H A Dtest_slxos.py42 fixture_path = path.abspath(
45 with open(fixture_path, 'rb') as file_desc:
88 fixture_path = path.abspath(b'%s/show_running-config' % FIXTURE_DIR)
89 with open(fixture_path, 'rb') as file_desc:
95 fixture_path = path.abspath(b'%s/show_running-config' % FIXTURE_DIR)
96 with open(fixture_path, 'rb') as file_desc:
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/git/test/
H A Dtest_config.py17 fixture_path,
52 file_obj = self._to_memcache(fixture_path(filename))
60 … self.assertEqual(file_obj.getvalue(), self._to_memcache(fixture_path(filename)).getvalue())
93 … with GitConfigParser(list(map(fixture_path, ("git_config", "git_config_global")))) as r_config:
127 file_obj = self._to_memcache(fixture_path("git_config_with_comments"))
145 path_repo = fixture_path("git_config")
146 path_global = fixture_path("git_config_global")
243 file_obj = self._to_memcache(fixture_path('git_config'))
256 file_obj = self._to_memcache(fixture_path('.gitconfig'))
259 … self.assertEqual(file_obj.getvalue(), self._to_memcache(fixture_path('.gitconfig')).getvalue())
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/test/units/plugins/
H A Dtest_plugins.py103 fixture_path = os.path.join(os.path.dirname(__file__), 'loader_fixtures')
106 … one = pl._load_module_source('import_fixture', os.path.join(fixture_path, 'import_fixture.py'))
120 fixture_path = os.path.join(os.path.dirname(__file__), 'loader_fixtures')
123 fixture_path,
128 [os.path.join(fixture_path, 'import_fixture.py')],
138 self.assertIn(os.path.join(fixture_path, 'import_fixture.py'), pl._module_cache)
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/tests/unit/plugins/cliconf/
H A Dtest_slxos.py42 fixture_path = path.abspath(
45 with open(fixture_path, 'rb') as file_desc:
88 fixture_path = path.abspath(b'%s/show_running-config' % FIXTURE_DIR)
89 with open(fixture_path, 'rb') as file_desc:
95 fixture_path = path.abspath(b'%s/show_running-config' % FIXTURE_DIR)
96 with open(fixture_path, 'rb') as file_desc:
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/plugins/
H A Dtest_plugins.py98 fixture_path = os.path.join(os.path.dirname(__file__), 'loader_fixtures')
101 … one = pl._load_module_source('import_fixture', os.path.join(fixture_path, 'import_fixture.py'))
115 fixture_path = os.path.join(os.path.dirname(__file__), 'loader_fixtures')
118 fixture_path,
123 [os.path.join(fixture_path, 'import_fixture.py')],
133 self.assertIn(os.path.join(fixture_path, 'import_fixture.py'), pl._module_cache)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/plugins/
H A Dtest_plugins.py98 fixture_path = os.path.join(os.path.dirname(__file__), 'loader_fixtures')
101 … one = pl._load_module_source('import_fixture', os.path.join(fixture_path, 'import_fixture.py'))
115 fixture_path = os.path.join(os.path.dirname(__file__), 'loader_fixtures')
118 fixture_path,
123 [os.path.join(fixture_path, 'import_fixture.py')],
133 self.assertIn(os.path.join(fixture_path, 'import_fixture.py'), pl._module_cache)
/dports/devel/elixir-gettext/gettext-0.15.0/test/gettext/
H A Dpo_test.exs132 fixture_path = Path.expand("../fixtures/valid.po", __DIR__)
144 }} = PO.parse_file(fixture_path)
160 fixture_path = Path.expand("../fixtures/bom.po", __DIR__)
164 assert {:ok, po} = PO.parse_file(fixture_path)
175 fixture_path = Path.expand("../fixtures/valid.po", __DIR__)
176 assert %PO{file: ^fixture_path} = PO.parse_file!(fixture_path)
180 fixture_path = Path.expand("../fixtures/valid.po", __DIR__)
191 } = PO.parse_file!(fixture_path)
199 PO.parse_file!(fixture_path)
206 PO.parse_file!(fixture_path)
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/test/units/plugins/filter/
H A Dtest_network.py28 fixture_path = os.path.join(os.path.dirname(__file__), 'fixtures', 'network') variable
30 with open(os.path.join(fixture_path, 'show_vlans_xml_output.txt')) as f:
38 spec_file_path = os.path.join(fixture_path, 'show_vlans_xml_spec.yml')
49 spec_file_path = os.path.join(fixture_path, 'show_vlans_xml_with_key_spec.yml')
61 spec_file_path = os.path.join(fixture_path, 'show_vlans_xml_with_condition_spec.yml')
67 spec_file_path = os.path.join(fixture_path, 'show_vlans_xml_single_value_spec.yml')
73 spec_file_path = os.path.join(fixture_path, 'show_vlans_xml_spec.yml')
/dports/devel/elixir-hex/hex-1.0.1/test/
H A Dsetup_hexpm.exs58 {:sample, "0.0.1", path: Case.fixture_path("sample")},
82 {"mix.exs", File.read!(Case.fixture_path("ecto_sql_3_3_2/mix.exs"))}
86 {"mix.exs", File.read!(Case.fixture_path("ecto_sql_3_3_3/mix.exs"))}
90 {"mix.exs", File.read!(Case.fixture_path("ecto_enum_1_4_0/mix.exs"))}
94 {"mix.exs", File.read!(Case.fixture_path("ecto_3_3_1/mix.exs"))}
98 {"mix.exs", File.read!(Case.fixture_path("ecto_3_3_2/mix.exs"))}
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ansible/netcommon/tests/unit/plugins/filter/
H A Dtest_network.py34 fixture_path = os.path.join(os.path.dirname(__file__), "fixtures", "network") variable
36 with open(os.path.join(fixture_path, "show_vlans_xml_output.txt")) as f:
46 spec_file_path = os.path.join(fixture_path, "show_vlans_xml_spec.yml")
100 fixture_path, "show_vlans_xml_with_key_spec.yml"
155 fixture_path, "show_vlans_xml_with_condition_spec.yml"
174 fixture_path, "show_vlans_xml_single_value_spec.yml"
183 spec_file_path = os.path.join(fixture_path, "show_vlans_xml_spec.yml")
/dports/www/elixir-httpoison/httpoison-0.13.0/test/
H A Dtest_helper.exs4 def fixture_path do function
8 def fixture_path(file_path) do function
9 Path.join fixture_path(), file_path
/dports/www/elixir-httpotion/httpotion-3.0.3/test/
H A Dtest_helper.exs4 def fixture_path do function
8 def fixture_path(file_path) do function
9 Path.join fixture_path(), file_path
/dports/devel/libsearpc/libsearpc-d1fd751/tests/clar/
H A Dfixtures.h2 fixture_path(const char *base, const char *fixture_name) in fixture_path() function
26 return fixture_path(CLAR_FIXTURE_PATH, fixture_name); in cl_fixture()
36 fs_rm(fixture_path(_clar_path, fixture_name)); in cl_fixture_cleanup()
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/gitdb/test/
H A Dtest_pack.py9 fixture_path
49 …packindexfile_v1 = (fixture_path('packs/pack-c0438c19fb16422b6bbcce24387b3264416d485b.idx'), 1, 67)
50 …packindexfile_v2 = (fixture_path('packs/pack-11fdfa9e156ab73caae3b6da867192221f2089c2.idx'), 2, 30)
51 …packindexfile_v2_3_ascii = (fixture_path('packs/pack-a2bf8e71d8c18879e499335762dd95119d93d9f1.idx'…
52 …packfile_v2_1 = (fixture_path('packs/pack-c0438c19fb16422b6bbcce24387b3264416d485b.pack'), 2, pack…
53 …packfile_v2_2 = (fixture_path('packs/pack-11fdfa9e156ab73caae3b6da867192221f2089c2.pack'), 2, pack…
55fixture_path('packs/pack-a2bf8e71d8c18879e499335762dd95119d93d9f1.pack'), 2, packindexfile_v2_3_as…

12345678910>>...26