Merge pull request #1129 from pchaigno/bitbake

Support of the BitBake language
This commit is contained in:
Arfon Smith
2014-12-11 20:58:06 -06:00
5 changed files with 68 additions and 8 deletions

View File

@@ -126,6 +126,13 @@ class TestHeuristcs < Test::Unit::TestCase
})
end
def test_bb_by_heuristics
assert_heuristics({
"BitBake" => all_fixtures("BitBake"),
"BlitzBasic" => all_fixtures("BlitzBasic")
})
end
def assert_heuristics(hash)
candidates = hash.keys.map { |l| Language[l] }