Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Integrate the most recent Google Test | Mock

#31

There's a more recent version of Google Test and Google Mock that is available (1.4.0).
This version should be used for v2.0 of N++CR

Reported by Jocelyn Legault · December 18th, 2009 @ 12:39 AM

State: resolved
Milestone: v2.0.0
Assigned to: nobody

Activity

  1. Thell Fowler
    Thell Fowler
    • Assigned user set to Thell Fowler

    I'll be glad to do this. Should we keep two distinct projects (Test and Mock) as submodules, or change to a single Google Mock install since it bundles Google Test?

    That would not alter the environment variable usage method.

    February 4th, 2010 @ 05:20 PM

  2. Jocelyn Legault
    Jocelyn Legault

    The previous version did also include GTest, but I yanked it out for the version I brought to our depot.
    My heart goes to keep them as separate projects, but I could be blind to other considerations you might see.
    I suggest you try it out and do whatever you feel is right. I'll follow.
    The only thing I'd like to keep is the capability to have the GStuff in a separate repo that I can put wherever I feel like, and not necessarily under the N++CR arborescence.

    February 4th, 2010 @ 05:30 PM

  3. Thell Fowler
    Thell Fowler
    • State changed from new to open

    February 5th, 2010 @ 03:21 AM

  4. Thell Fowler
    Thell Fowler

    (from [8c111e47b5b9a1f73aba8b037cf4bbf872e43f86]) google projects: update to test/mock version 1.4

    • Remove dependency of Boost TR1 from VC 8 project since Google Test and Mock version 1.4 includes an implementation of the TR1 tuple.
    • Use both Google projects as side-by-side capable libraries to allow VC8 and VC9 debug and release builds to happily co-exist.

    [#31 Integrate the most recent Google Test | Mock]

    Signed-off-by: Thell Fowler git@tbfowler.name
    http://github.com/almostautomated/npp-community/commit/8c111e47b5b9...

    February 5th, 2010 @ 08:04 PM

  5. Thell Fowler
    Thell Fowler
    • State changed from open to needs_ack
    • Assigned user changed from Thell Fowler to npp-community

    This essentially invalidates LH-19 since the 1.4 update includes the side-by-side setup in the Test and Mock, so N++ needed to use it too.

    February 5th, 2010 @ 08:06 PM

  6. Thell Fowler
    Thell Fowler

    (from [c839c280b349f137748ae060099ddf8be896225c]) google projects: update to test/mock version 1.4

    • Remove dependency of Boost TR1 from VC 8 project since Google Test and Mock version 1.4 includes an implementation of the TR1 tuple.
    • Use both Google projects as side-by-side capable libraries to allow VC8 and VC9 debug and release builds to happily co-exist.

    [#31 Integrate the most recent Google Test | Mock]

    Signed-off-by: Thell Fowler git@tbfowler.name
    http://github.com/almostautomated/npp-community/commit/c839c280b349...

    February 5th, 2010 @ 10:56 PM

  7. Jocelyn Legault
    Jocelyn Legault
    • State changed from needs_ack to acked

    GTest and GMock compile fine in all configuration, and so does N++CR when linking against the new libs.

    Good work! :-)

    February 7th, 2010 @ 05:54 AM

  8. Thell Fowler
    Thell Fowler
    • State changed from acked to proposed

    February 14th, 2010 @ 07:15 PM

  9. Thell Fowler
    Thell Fowler
    • Assigned user cleared.
    • State changed from proposed to resolved

    Promoted to master

    Changeset [66d08610a297bca5adcf0be4de16ed5371a6ce76] by Thell Fowler

    February 26th, 2010 @ 04:51 PM

    Merge branch 'tf/LH-31/google-test-and-mock-update'

    • tf/LH-31/google-test-and-mock-update: google projects: update to test/mock version 1.4

    Conflicts:

    google_mock
    google_test

    http://github.com/npp-community/npp-community/commit/66d08610a297bc...

    Committed by Thell Fowler

    February 26th, 2010 @ 05:05 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.