File: teststatus.rb

package info (click to toggle)
ruby-debian 0.3.12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 488 kB
  • sloc: ruby: 2,704; fortran: 90; makefile: 44; cpp: 36
file content (23 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'test/unit'
require 'debian'

class TestDebian__Status < Test::Unit::TestCase
  
   def test_s_new
     s = Debian::Status.new(['dpkg'])
     assert((s['dpkg'].data.find {|f| f == "/usr/bin/dpkg" }) != nil)
   end
#
#  def test_s_parse
#    assert_fail("untested")
#  end
#
#  def test_s_parseAptLine
#    assert_fail("untested")
#  end

#  def test_s_parseArchiveFile
#    assert_fail("untested")
#  end

end