aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-26 21:55:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-26 21:55:53 +0000
commit48654c330e14db70c0a8b3736b77ea2738382edd (patch)
tree76e859f4f885165b2385757d3f2a6fa9c54b5dfb /ruby
parentdc6cdcbdc1430403fb52ad4baf859d09b5bed1c4 (diff)
downloadpaludis-48654c330e14db70c0a8b3736b77ea2738382edd.tar.gz
paludis-48654c330e14db70c0a8b3736b77ea2738382edd.tar.xz
Don't use repo mask keys
Diffstat (limited to 'ruby')
-rw-r--r--ruby/package_id_TEST.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/ruby/package_id_TEST.rb b/ruby/package_id_TEST.rb
index 46a0c46ee..45503e865 100644
--- a/ruby/package_id_TEST.rb
+++ b/ruby/package_id_TEST.rb
@@ -156,8 +156,8 @@ module Paludis
end
def test_each_metadata
- keys = { "DESCRIPTION" => 1, "INHERITED" => 1, "KEYWORDS" => 1, "EAPI" => 1, "repository_mask" => 1,
- "profile_mask" => 1, "DEPEND" => 1, "RDEPEND" => 1, "PDEPEND" => 1, "LICENSE" => 1, "PROVIDE" => 1,
+ keys = { "DESCRIPTION" => 1, "INHERITED" => 1, "KEYWORDS" => 1, "EAPI" => 1,
+ "DEPEND" => 1, "RDEPEND" => 1, "PDEPEND" => 1, "LICENSE" => 1, "PROVIDE" => 1,
"RESTRICT" => 1, "SRC_URI" => 1, "HOMEPAGE" => 1, "EBUILD" => 1, "PROPERTIES" => 1, "IUSE" => 1,
"PALUDIS_CHOICES" => 1, "DEFINED_PHASES" => 1, "SLOT" => 1 }
pid_testrepo.each_metadata do | key |
@@ -242,13 +242,6 @@ module Paludis
assert_equal ['test'], pid_testrepo.keywords_key.value
end
- def test_repository_mask_info_keys
- assert_kind_of MetadataRepositoryMaskInfoKey, pid_testrepo["repository_mask"]
- assert_kind_of RepositoryMaskInfo, pid_testrepo["repository_mask"].value
- assert_equal ["this is", "a test"], pid_testrepo["repository_mask"].value.comment
- assert_nil pid_testrepo["profile_mask"].value
- end
-
def test_build_dependencies_key
assert_kind_of MetadataDependencySpecTreeKey, pid_testrepo.build_dependencies_key
assert_kind_of AllDepSpec, pid_testrepo.build_dependencies_key.value