Author: kkaempf Date: Wed Jan 16 14:07:07 2008 New Revision: 8301 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8301&view=rev Log: check system solvable Added: trunk/sat-solver/bindings/ruby/tests/system.rb Added: trunk/sat-solver/bindings/ruby/tests/system.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/system.rb?rev=8301&view=auto ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/system.rb (added) +++ trunk/sat-solver/bindings/ruby/tests/system.rb Wed Jan 16 14:07:07 2008 @@ -0,0 +1,21 @@ +# +# Test the 'system' solvable +# +# The system solvable belongs to the pool and no repo +# Its used to represent dependencies of the system, like +# looks or hardware (modalias). +# +$: << "../../../build/bindings/ruby" +# test Pool:system +require 'test/unit' +require 'satsolver' + +class SystemTest < Test::Unit::TestCase + def test_system + pool = SatSolver::Pool.new + assert pool + system = pool.system + assert system + assert system.name == "system:system" + end +end -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org