Sha256: 1a34aeab9c6744dc3c29d4ddb8428903da2b699ffea8b95a8a7e7b0cf7a93cee

Contents?: true

Size: 577 Bytes

Versions: 36

Compression:

Stored size: 577 Bytes

Contents

require_relative '../test_helper'

module OhlohScm::Adapters
	class BzrBzrlibHeadTest < OhlohScm::Test

		def test_head_and_parents
			with_bzrlib_repository('bzr') do |bzr|
				assert_equal 'test@example.com-20111222183733-y91if5npo3pe8ifs', bzr.head_token
				assert_equal 'test@example.com-20111222183733-y91if5npo3pe8ifs', bzr.head.token
				assert bzr.head.diffs.any? # diffs should be populated

				assert_equal 'obnox@samba.org-20090204004942-73rnw0izen42f154', bzr.parents(bzr.head).first.token
				assert bzr.parents(bzr.head).first.diffs.any?
			end
		end

	end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ohloh_scm-2.5.1 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.14 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.13 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.12 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.11 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.10 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.9 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.8 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.7 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.6 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.5 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.4 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.3 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.1 test/unit/bzrlib_head_test.rb
ohloh_scm-2.4.0 test/unit/bzrlib_head_test.rb
ohloh_scm-2.3.5 test/unit/bzrlib_head_test.rb
ohloh_scm-2.3.4 test/unit/bzrlib_head_test.rb
ohloh_scm-2.3.2 test/unit/bzrlib_head_test.rb
ohloh_scm-2.3.1 test/unit/bzrlib_head_test.rb
ohloh_scm-2.3.0 test/unit/bzrlib_head_test.rb