blob: 585a354844d1a8a5716c06457b0851ae62f56be2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
require "testing_env"
require "blacklist"
class BlacklistTests < Homebrew::TestCase
def assert_blacklisted(s)
assert blacklisted?(s), "'#{s}' should be blacklisted"
end
def test_rubygems
%w[gem rubygem rubygems].each { |s| assert_blacklisted s }
end
def test_latex
%w[latex tex tex-live texlive TexLive].each { |s| assert_blacklisted s }
end
def test_pip
assert_blacklisted "pip"
end
def test_pil
assert_blacklisted "pil"
end
def test_macruby
assert_blacklisted "MacRuby"
end
def test_lzma
%w[lzma liblzma].each { |s| assert_blacklisted s }
end
def test_gtest
%w[gtest googletest google-test].each { |s| assert_blacklisted s }
end
def test_gmock
%w[gmock googlemock google-mock].each { |s| assert_blacklisted s }
end
def test_sshpass
assert_blacklisted "sshpass"
end
def test_gsutil
assert_blacklisted "gsutil"
end
def test_clojure
assert_blacklisted "clojure"
end
def test_osmium
%w[osmium Osmium].each { |s| assert_blacklisted s }
end
def test_gfortran
assert_blacklisted "gfortran"
end
def test_play
assert_blacklisted "play"
end
def test_haskell_platform
assert_blacklisted "haskell-platform"
end
end
|