Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: vm/snapshot_test.cc

Issue 9481019: Changes to get rid of dependency on openssl in the dart VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/vm.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/snapshot_test.cc
===================================================================
--- vm/snapshot_test.cc (revision 4707)
+++ vm/snapshot_test.cc (working copy)
@@ -414,7 +414,7 @@
Bigint& obj = Bigint::Handle();
obj ^= reader.ReadObject();
- EXPECT_EQ(BigintOperations::ToInt64(bigint), BigintOperations::ToInt64(obj));
+ EXPECT_EQ(BigintOperations::ToMint(bigint), BigintOperations::ToMint(obj));
// Read object back from the snapshot into a C structure.
ApiNativeScope scope;
@@ -443,9 +443,9 @@
SnapshotReader reader(snapshot, Isolate::Current());
Bigint& serialized_bigint = Bigint::Handle();
serialized_bigint ^= reader.ReadObject();
- const char *str1 = BigintOperations::ToDecCString(bigint, allocator);
+ const char *str1 = BigintOperations::ToHexCString(bigint, allocator);
const char *str2 =
- BigintOperations::ToDecCString(serialized_bigint, allocator);
+ BigintOperations::ToHexCString(serialized_bigint, allocator);
EXPECT_STREQ(str1, str2);
free(const_cast<char*>(str1));
free(const_cast<char*>(str2));
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698