[SCM] ci-tooling packaging branch, master, updated. b7c9086279656c8523107f17c6e7c192270e0020
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Wed Mar 25 12:01:20 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=76ec592
The following commit has been merged in the master branch:
commit 76ec592afb01ba171caffa6a7cad762c7a7bebea
Author: Harald Sitter <sitter at kde.org>
Date: Wed Mar 25 12:58:12 2015 +0100
yield upstream_scm setup/data to TestCase base
---
test/test_upstream_scm.rb | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/test/test_upstream_scm.rb b/test/test_upstream_scm.rb
index b50d53c..62c43a0 100644
--- a/test/test_upstream_scm.rb
+++ b/test/test_upstream_scm.rb
@@ -3,24 +3,6 @@ require_relative 'lib/testcase'
# Test ci/upstream_scm
class UpstreamSCMTest < TestCase
- self.test_order = :defined
-
- def setup
- script_base_path = File.expand_path(File.dirname(__FILE__))
- script_name = File.basename(__FILE__, '.rb')
- @datadir = File.join(script_base_path, 'data', script_name)
- end
-
- def data
- index = 0
- caller = ''
- until caller.start_with?('test_')
- caller = caller_locations(index, 1)[0].label
- index += 1
- end
- File.join(@datadir, caller)
- end
-
def test_defaults
scm = UpstreamSCM.new('breeze-qt4', '/')
assert_equal('git', scm.type)
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list