Permalink
Browse files

Bump build VERSION to 0.1.1.0.

Fix errors in version unittest and implementation.
Review URL: http://codereview.appspot.com/4902048

git-svn-id: http://sawbuck.googlecode.com/svn/trunk@401 15e8cca8-e42c-11de-a347-f34a4f72eb7d
  • Loading branch information...
siggi@chromium.org
siggi@chromium.org committed Aug 17, 2011
1 parent 28628b6 commit f57e3b3c99f7bc1aece50d5055bac33fbfa3954d
Showing with 7 additions and 7 deletions.
  1. +1 −1 syzygy/VERSION
  2. +2 −2 syzygy/common/syzygy_version.cc
  3. +4 −4 syzygy/common/syzygy_version_unittest.cc
View
@@ -17,5 +17,5 @@
MAJOR=0
MINOR=1
BUILD=0
BUILD=1
PATCH=0
@@ -31,8 +31,8 @@ SyzygyVersion::SyzygyVersion(uint16 major, uint16 minor, uint16 build,
uint16 patch, const char* last_change)
: major_(major),
minor_(minor),
build_(patch),
patch_(build),
build_(build),
patch_(patch),
last_change_(last_change) {
DCHECK(last_change != NULL);
}
@@ -20,8 +20,8 @@
namespace common {
TEST(SyzygyVersionTest, Equality) {
SyzygyVersion version1(SYZYGY_MAJOR, SYZYGY_MINOR, SYZYGY_PATCH,
SYZYGY_BUILD, SYZYGY_LASTCHANGE);
SyzygyVersion version1(SYZYGY_MAJOR, SYZYGY_MINOR, SYZYGY_BUILD,
SYZYGY_PATCH, SYZYGY_LASTCHANGE);
SyzygyVersion version2;
EXPECT_TRUE(version1 == kSyzygyVersion);
@@ -31,8 +31,8 @@ TEST(SyzygyVersionTest, Equality) {
TEST(SyzygyVersionTest, Compatibility) {
// For now, this is the same unit test as Equality. However, we may eventually
// change our notion of compatibility.
SyzygyVersion version1(SYZYGY_MAJOR, SYZYGY_MINOR, SYZYGY_PATCH,
SYZYGY_BUILD, SYZYGY_LASTCHANGE);
SyzygyVersion version1(SYZYGY_MAJOR, SYZYGY_MINOR, SYZYGY_BUILD,
SYZYGY_PATCH, SYZYGY_LASTCHANGE);
SyzygyVersion version2;
EXPECT_TRUE(version1.IsCompatible(kSyzygyVersion));

0 comments on commit f57e3b3

Please sign in to comment.