Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
jio
Commits
ecad021f
Commit
ecad021f
authored
Jan 11, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX wip: check full text parser
parent
2c5a4d1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
test/queries/tests.js
test/queries/tests.js
+9
-5
No files found.
test/queries/tests.js
View file @
ecad021f
...
...
@@ -17,8 +17,8 @@
* See COPYING file for full licensing terms.
* See https://www.nexedi.com/licensing for rationale and options.
*/
/*global jiodate*/
(
function
(
jIO
,
jiodate
)
{
/*global jiodate
, SimpleQuery
*/
(
function
(
jIO
,
jiodate
,
SimpleQuery
)
{
"
use strict
"
;
var
test
=
QUnit
.
test
,
stop
=
QUnit
.
stop
,
...
...
@@ -460,9 +460,13 @@
{
"
identifier
"
:
"
a
"
,
"
value
"
:
"
test post
"
,
"
time
"
:
"
2016
"
},
{
"
identifier
"
:
"
b
"
,
"
value
"
:
"
test post 1
"
,
"
time
"
:
"
2017
"
},
{
"
identifier
"
:
"
c
"
,
"
value
"
:
"
test post 2016
"
,
"
time
"
:
"
2017
"
}
];
]
,
lala
;
stop
();
expect
(
2
);
expect
(
3
);
lala
=
jIO
.
QueryFactory
.
create
(
'
test post
'
);
ok
(
lala
instanceof
SimpleQuery
,
lala
);
/*global console */
console
.
log
(
lala
);
jIO
.
QueryFactory
.
create
(
'
test post
'
).
exec
(
doc_list
).
then
(
function
(
doc_list
)
{
deepEqual
(
doc_list
,
[
...
...
@@ -667,4 +671,4 @@
}).
always
(
start
);
});
}(
jIO
,
jiodate
));
}(
jIO
,
jiodate
,
SimpleQuery
));
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment