debian/0000755000000000000000000000000012260461704007170 5ustar debian/changelog0000644000000000000000000000064612260461674011056 0ustar golang-gocheck (0.0~bzr20131118+85-2) unstable; urgency=medium * Patching fixture_test.go with expected panic msg for Go 1.2 (Closes: #733440) -- Sergio Schvezov Mon, 30 Dec 2013 14:02:10 -0300 golang-gocheck (0.0~bzr20131118+85-1) unstable; urgency=low * Initial release (Closes: #729984) -- Sergio Schvezov Mon, 18 Nov 2013 15:53:14 -0300 debian/source/0000755000000000000000000000000012260461526010472 5ustar debian/source/lintian-overrides0000644000000000000000000000015412260461526014053 0ustar # There are no tarball releases or tags on upstream project # to easily parse. debian-watch-file-is-missing debian/source/format0000644000000000000000000000001412260461526011700 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000006512260461526012111 0ustar tar-ignore = .hg tar-ignore = .git tar-ignore = .bzr debian/control0000644000000000000000000000277212260461526010605 0ustar Source: golang-gocheck Section: devel Priority: extra Maintainer: Sergio Schvezov Build-Depends: debhelper (>= 9), dh-golang, golang-go Standards-Version: 3.9.4 Homepage: http://labix.org/gocheck Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-go/packages/golang-gocheck.git;a=summary Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-gocheck.git Package: golang-gocheck-dev Architecture: all Depends: ${misc:Depends}, ${shlibs:Depends} Description: Richer testing framework for Go libraries and applications to use gocheck extends Go's internal testing library with features such as: . - Helpful error reporting to aid on figuring problems out - Richer test helpers: assertions which interrupt the test immediately, deep multi-type comparisons, string matching, etc - Suite-based grouping of tests - Fixtures: per suite and/or per test set up and tear down - Benchmarks integrated in the suite logic (with fixtures, etc) - Management of temporary directories - Panic-catching logic, with proper error reporting - Proper counting of successes, failures, panics, missed tests, skips, etc - Explicit test skipping - Support for expected failures - Verbosity flag which disables output caching (helpful to debug hanging tests, for instance) - Multi-line string reporting for more comprehensible failures - Inclusion of comments surrounding checks on failure reports - Fully tested (it manages to test itself reliably) debian/patches/0000755000000000000000000000000012260461526010621 5ustar debian/patches/series0000644000000000000000000000002112260461526012027 0ustar panic_test.patch debian/patches/panic_test.patch0000644000000000000000000000315112260461526013773 0ustar Subject: Fixing expected panic regex in tests for go 1.2 Author: Sergio Schvezov Forwarded: https://code.launchpad.net/~sergiusens/gocheck/expected_panic_regex_in_tests/+merge/199661 --- a/fixture_test.go +++ b/fixture_test.go @@ -59,7 +59,9 @@ ".*gocheck_test.go:[0-9]+\n" + " in FixtureHelper.trace\n" + ".*gocheck_test.go:[0-9]+\n" + - " in FixtureHelper.Test1\n$" + " in FixtureHelper.Test1\n" + + ".+:[0-9]+\n" + + " in call[0-9]+\n$" c.Check(output.value, Matches, expected) } @@ -84,6 +86,8 @@ " in FixtureHelper.trace\n" + ".*gocheck_test.go:[0-9]+\n" + " in FixtureHelper.SetUpTest\n" + + ".+:[0-9]+\n" + + " in call[0-9]+\n" + "\n-+\n" + "PANIC: gocheck_test\\.go:[0-9]+: " + "FixtureHelper\\.Test1\n\n" + @@ -114,6 +118,8 @@ " in FixtureHelper.trace\n" + ".*gocheck_test.go:[0-9]+\n" + " in FixtureHelper.TearDownTest\n" + + ".+:[0-9]+\n" + + " in call[0-9]+\n" + "\n-+\n" + "PANIC: gocheck_test\\.go:[0-9]+: " + "FixtureHelper\\.Test1\n\n" + @@ -140,7 +146,9 @@ ".*gocheck_test.go:[0-9]+\n" + " in FixtureHelper.trace\n" + ".*gocheck_test.go:[0-9]+\n" + - " in FixtureHelper.SetUpSuite\n$" + " in FixtureHelper.SetUpSuite\n" + + ".+:[0-9]+\n" + + " in call[0-9]+\n$" c.Check(output.value, Matches, expected) } @@ -168,7 +176,9 @@ ".*gocheck_test.go:[0-9]+\n" + " in FixtureHelper.trace\n" + ".*gocheck_test.go:[0-9]+\n" + - " in FixtureHelper.TearDownSuite\n$" + " in FixtureHelper.TearDownSuite\n" + + ".+:[0-9]+\n" + + " in call[0-9]+\n$" c.Check(output.value, Matches, expected) } debian/rules0000755000000000000000000000145412260461526010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Package names PKG_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') PKG_source := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') UPS_version := $(shell echo '$(PKG_version)' | sed 's/.*://; s/-[^-]*$$//') BZR_rev := $(shell echo '$(UPS_version)' | sed 's/.*+//') BZR_repo := lp:gocheck export DH_OPTIONS export DH_GOPKG := launchpad.net/gocheck get-packaged-orig-source: rm -rf $(PKG_source)-$(UPS_version) rm -f $(PKG_source)-$(UPS_version).orig.tar.gz bzr checkout $(BZR_repo) $(PKG_source)-$(UPS_version) cd $(PKG_source)-$(UPS_version) && bzr export \ --revision $(BZR_rev) \ ../$(PKG_source)_$(UPS_version).orig.tar.gz rm -rf $(PKG_source)-$(UPS_version) %: dh $@ --buildsystem=golang --with=golang debian/golang-gocheck-dev.lintian-overrides0000644000000000000000000000002612260461526016174 0ustar no-upstream-changelog debian/compat0000644000000000000000000000000212260461526010370 0ustar 9 debian/copyright0000644000000000000000000000334512260461526011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: debian/* Copyright: Copyright (C) 2013 Canonical, Ltd. License: BSD-3-Clause Files: * Copyright: (c) 2010, Gustavo Niemeyer License: BSD-3-Clause License: BSD-3-Clause All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.