Merge lp:~kalikiana/u1db-qt/numbers into lp:u1db-qt

Proposed by Cris Dywan
Status: Work in progress
Proposed branch: lp:~kalikiana/u1db-qt/numbers
Merge into: lp:u1db-qt
Diff against target: 16 lines (+6/-0)
1 file modified
tests/tst_database.qml (+6/-0)
To merge this branch: bzr merge lp:~kalikiana/u1db-qt/numbers
Reviewer Review Type Date Requested Status
U1DB Qt developers Pending
Review via email: mp+182298@code.launchpad.net

Commit message

Add test case for inserting and retrieving number value

To post a comment you must log in.

Unmerged revisions

91. By Cris Dywan

Add test case for inserting and retrieving number value

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/tst_database.qml'
2--- tests/tst_database.qml 2013-08-12 15:28:13 +0000
3+++ tests/tst_database.qml 2013-08-27 08:32:35 +0000
4@@ -119,6 +119,12 @@
5 // FIXME compare(myDatabase.getIndexKeys('by-phone-number'), ['12345', '54321'])
6 }
7
8+ function test_5_integrity () {
9+ myDatabase.putDoc({test_id:2911298}, 'numdoc')
10+ var doc = myDatabase.getDoc('numdoc')
11+ compare(doc.test_id, 2911298, 'number')
12+ }
13+
14 function test_6_fillDocument () {
15 var path = "aDatabaseC"
16 myDatabase.path = path

Subscribers

People subscribed via source and target branches

to all changes: