All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: Sage Weil <sage@inktank.com>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: Re: Using google mock
Date: Fri, 29 Mar 2013 18:31:11 +0100	[thread overview]
Message-ID: <5155CFDF.1040903@dachary.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1303290823350.6485@cobra.newdream.net>

[-- Attachment #1: Type: text/plain, Size: 2671 bytes --]

Hi Sage,

It's not in EPEL

for i in  3 4 a b c d e f g h i j k l m n o p q r s t u v w x y z ; do curl --silent http://dl.fedoraproject.org/pub/epel/6/SRPMS/repoview/letter_$i.group.html | grep mock ; done
            <span>A mocking library for Erlang</span>
            <a href="mock.html" class="inpage">mock</a> -
            <span>Easy mocking of LWP packages</span>
            <span>Mockery is a simple but flexible PHP mock object framework</span>
            <span>Phake is a PHP mocking framework that is based on Mockito</span>
            <a href="python-flexmock.html" class="inpage">python-flexmock</a> -
            <span>Testing library that makes it easy to create mocks, stubs and fakes</span>
            <a href="python-minimock.html" class="inpage">python-minimock</a> -
            <span>The simplest possible mock library</span>
            <a href="python-mock.html" class="inpage">python-mock</a> -
            <span>Tiny mocking library</span>
            <a href="rubygem-rspec-mocks.html" class="inpage">rubygem-rspec-mocks</a> -
            <span>Rspec-2 doubles (mocks and stubs)</span>

Regarding http://ceph.com/gitbuilder.cgi I found

OK : squeeze wheezy : http://packages.debian.org/search?keywords=google-mock
OK : oneiric natty precise quantal : https://launchpad.net/ubuntu/+source/google-mock
OK : centos6 http://pkgs.org/centos-6-rhel-6/nux-dextop-x86_64/gmock-1.5.0-1.el6.nux.x86_64.rpm.html
OK : fedora17 fedora18 https://admin.fedoraproject.org/pkgdb/acls/name/gmock
OK : opensuse12 https://build.opensuse.org/package/view_file?expand=1&file=gmock.spec&package=gmock&project=GNOME%3AAyatana

not sure about : sles-11sp2 https://www.suse.com/company/press/2012/2/suse-linux-enterprise-11-service-pack-2-released.html

I'll keep looking.

Cheers

On 03/29/2013 04:24 PM, Sage Weil wrote:
> On Fri, 29 Mar 2013, Loic Dachary wrote:
>> Hi,
>>
>> Google mock ( ) provides convenient string matchers ( http://code.google.com/p/googlemock/wiki/CheatSheet#String_Matchers ) that would be useful when writing unit tests. It is available in most distributions:
>>
>> http://packages.debian.org/search?keywords=google-mock
>> https://launchpad.net/ubuntu/+source/google-mock
>> http://rpmfind.net/linux/rpm2html/search.php?query=gmock
>>
>> I've never used it before. Any objection on adding it as a dependency in addition to google test ?
> 
> I think as long as it is in EPEL or we can get an el6 package for those 
> builds, it should be fine.
> 
> http://ceph.com/gitbuilder.cgi
> 
> is what we need to cover.
> 
> Thanks!
> sage
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

      reply	other threads:[~2013-03-29 17:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-29  7:16 Using google mock Loic Dachary
2013-03-29 15:24 ` Sage Weil
2013-03-29 17:31   ` Loic Dachary [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5155CFDF.1040903@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@inktank.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.