1
0
Fork 0
Commit Graph

1439 Commits

Author SHA1 Message Date
Alan Plum 9c4bb1500d Linting 2015-12-16 01:16:32 +01:00
Max Neunhoeffer 0198b4576b Merge branch 'devel' into ClustUp1 2015-12-15 20:40:52 +01:00
Michael Hackstein 6636dec958 Added a test for traversal path uniqueness 2015-12-15 18:04:09 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Michael Hackstein 0496f16812 Added a test for AQL edges illegal start vertex values. Tests the reported errors 2015-12-15 16:38:21 +01:00
Michael Hackstein c6e64fc99d Added tests for EDGES to work with Object input 2015-12-15 16:38:14 +01:00
Michael Hackstein 806e8f6d17 Added a test for Array Input in AQL EDGES 2015-12-15 16:37:58 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Max Neunhoeffer 413e66b432 Merge branch 'devel' into ClustUp1 2015-12-15 11:59:25 +01:00
Jan Steemann aa99434c8c fixed test 2015-12-15 11:57:52 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Wilfried Goesgens f51e5efb34 Implement tests for de/serializing of TraversalNodes. 2015-12-14 18:07:04 +01:00
Max Neunhoeffer 27cf790fef Merge branch 'devel' into ClustUp1 2015-12-14 16:46:30 +01:00
Jan Steemann 917892a52a added tests 2015-12-14 11:41:30 +01:00
Max Neunhoeffer 525e54d5a0 Merge branch 'devel' into ClustUp1 2015-12-14 11:26:10 +01:00
jsteemann 51c267cd2a dont optimize in certain cases when its useless 2015-12-14 00:12:14 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
Jan Steemann a61589cfdc jslint 2015-12-11 16:35:02 +01:00
Jan Steemann 5ae891ac20 fix for issue #1603 2015-12-11 16:24:33 +01:00
Max Neunhoeffer c11ec07564 Merge branch 'devel' into ClustUp1 2015-12-11 13:28:07 +01:00
Jan Steemann 4335af50e7 replication improvements 2015-12-10 19:07:10 +01:00
Max Neunhoeffer 3f78b86492 Merge branch 'devel' into ClustUp1 2015-12-09 09:04:00 +01:00
jsteemann f13ffb4dff jslint 2015-12-09 00:21:55 +01:00
Max Neunhoeffer a0f6a3c9db Merge branch 'devel' into ClustUp1 2015-12-08 23:21:46 +01:00
Max Neunhoeffer 06a7196924 Fix test that checks etcd version numbers. 2015-12-08 21:31:46 +01:00
Max Neunhoeffer ec4e37b2f9 Merge branch 'devel' into ClustUp1 2015-12-08 20:13:17 +01:00
Jan Steemann 4cd2621d06 adjusted AQL function return values 2015-12-08 19:45:32 +01:00
Max Neunhoeffer 4e523a19ed Merge branch 'devel' into ClustUp1 2015-12-08 17:02:14 +01:00
Jan Steemann ee6792dd6b fixes for traversal and multi-modify 2015-12-08 14:50:05 +01:00
Max Neunhoeffer 257c6c897d Fix bugs and tests. 2015-12-08 12:48:11 +01:00
Jan Steemann 7c7fc5175b jslint 2015-12-08 12:44:37 +01:00
Jan Steemann a3f42b5072 renamed test method 2015-12-08 11:49:45 +01:00
Jan Steemann f707eddbcc added tests 2015-12-07 16:06:58 +01:00
Jan Steemann a53da38fcd fixed some cluster queries 2015-12-04 17:07:36 +01:00
Jan Steemann b6302a89df valgrind test fix 2015-12-04 15:37:17 +01:00
Wilfried Goesgens 08942dc729 Numeric functions seem to behave different in valgrind; therefore add a way to skip these tests. 2015-12-04 14:23:03 +01:00
Michael Hackstein 741fa73814 JSLint 2015-12-04 12:29:14 +01:00
Michael Hackstein 9a724cd5a6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-04 11:21:28 +01:00
Michael Hackstein 07e1bac837 Added tests for AQL traverser that check correctness if vertices are missing on the path 2015-12-04 11:20:24 +01:00
Jan Steemann 3b1df26a79 added AQL function `IS_DATESTRING` 2015-12-04 10:53:01 +01:00
Jan Steemann 3016c974fc added tests 2015-12-03 16:51:52 +01:00
Jan Steemann ec3ab298e1 added test for traversal after data modification 2015-12-03 13:46:11 +01:00
Jan Steemann b404223212 jslint 2015-12-03 13:07:17 +01:00
Jan Steemann cb0d98cb6c added test cases for multi-modify 2015-12-03 12:18:03 +01:00
Jan Steemann d572f3ed03 Merge branch 'aql-multi-modify' of https://github.com/arangodb/arangodb into devel 2015-12-03 11:38:30 +01:00
jsteemann cb1c27c5c0 fixed jslint warnings 2015-12-03 11:24:52 +01:00
Michael Hackstein 3ea14e66a3 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-03 10:19:17 +01:00
Michael Hackstein b2e4673c65 Added a test for early filtering of < <= => > in Traversal 2015-12-02 17:52:01 +01:00
Michael Hackstein 23e2ac5da7 Fixed status reporting for Cluster and Single Server Case for the AQL Traverser Node. 2015-12-02 17:20:09 +01:00
jsteemann 9fa0f6d3a7 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-02 16:38:50 +01:00
Jan Steemann 30001804c1 jslint 2015-12-02 16:12:30 +01:00
Jan Steemann 0ec9d342a7 added test 2015-12-02 15:50:00 +01:00
Jan Steemann 3a7eca45b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-02 15:41:51 +01:00
Jan Steemann 61a8e4c686 issue #1593: add POW() AQL function 2015-12-02 15:41:30 +01:00
Jan Steemann 460b51734e fixed disappearing of documents for collections transferred via `sync` if the collection was dropped right before synchronization and drop and (re-)create collection markers were located in the same WAL file 2015-12-02 14:48:08 +01:00
Max Neunhoeffer 43d9dde8cd Slightly adapt sensitivity of a test to avoid false positives. 2015-12-02 14:46:01 +01:00
Wilfried Goesgens eb797f5e2f Remove anonymous wrapper function so this test harmonizes with our testing framework. 2015-12-02 14:17:18 +01:00
Max Neunhoeffer 3556f76469 Fix ClusterComm::asyncRequest w.r.t. body shared_ptr. 2015-12-02 14:15:18 +01:00
Michael Hackstein eca008fc33 Fixed test for Traverser AQL statistics. It now tests the desired optimization state including early pruning of paths 2015-12-02 13:37:13 +01:00
Michael Hackstein 1a13af6f36 Merged remote changes with local stash 2015-12-02 11:34:58 +01:00
hkernbach 6d25ac57e9 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-01 11:25:58 +01:00
jsteemann 49af794f5d Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-01 01:56:46 +01:00
jsteemann 04e81ea851 more replication 2015-11-30 23:33:59 +01:00
Michael Hackstein 32496735fe Fixed all tests in JSUnityVersion. Now missing stats 2015-11-30 17:54:34 +01:00
Michael Hackstein d42d49f82b Renamed aql-graph-traverser test. It is not supposed to be executed with Jasmine any more 2015-11-30 17:36:27 +01:00
Michael Hackstein a9a8f1644d Use jsunity for graph traverser tests, jasmine report is simply useless in our framework 2015-11-30 17:35:48 +01:00
Michael Hackstein 8a01687565 Moved AQL graph tests into the server side. All other AQL tests are there as well 2015-11-30 15:20:03 +01:00
Michael Hackstein e9a36a3fbf Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-30 14:17:44 +01:00
Jan Steemann b11e88400b added tests for specific cluster queries 2015-11-30 13:56:31 +01:00
Jan Steemann 21b4307a55 renamed files 2015-11-30 13:12:55 +01:00
Michael Hackstein 7bf37620bb Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-26 16:32:26 +01:00
Alan Plum ec49f5783b Remove FormatMiddleware
Fixes #971.
2015-11-25 13:19:00 +01:00
Jan Steemann 9b1ef915eb issue #1589 2015-11-25 10:49:31 +01:00
Michael Hackstein 61f562eb4b Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-21 12:40:57 +01:00
Jan Steemann 95c00332c7 adjusted tests for issue #1583 2015-11-20 11:53:55 +01:00
Jan Steemann 268c0d49ad tests for issue #1583 2015-11-20 11:32:06 +01:00
jsteemann cb62c657e0 initial commit 2015-11-18 17:46:19 +01:00
Michael Hackstein 7a36bbb43f Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-18 13:58:47 +01:00
Michael Hackstein 10529ba474 Removed invalid test queries from Test 2015-11-18 09:42:04 +01:00
Jan Steemann 2ccfe1471f make replication tests a bit more robust 2015-11-17 15:27:38 +01:00
Jan Steemann 82eddeb120 allow using array indexes without specifying the `[*]` extension 2015-11-17 14:03:58 +01:00
Wilfried Goesgens 2d5d2d881e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-11 11:05:06 +01:00
Wilfried Goesgens ad94f83b1b Adjust test to new error codes. 2015-11-10 15:00:34 +01:00
Wilfried Goesgens e2d2ac5322 Add tests for queries with impossible properties - min/max ranges 2015-11-09 15:39:54 +01:00
Wilfried Goesgens f8980194df Add test for the merge-traversal-filter rule. 2015-11-09 11:22:04 +01:00
Wilfried Goesgens 7a54982eb4 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-06 13:53:21 +01:00
Michael Hackstein 6b62d50ced Added CXX Implementation of MERGE_RECURSIVE 2015-11-05 17:35:03 +01:00
Michael Hackstein 2542ea5924 Added a CXX implementation for POSITION 2015-11-05 15:29:00 +01:00
Michael Hackstein 90aa5c858f Added CXX implementation for MEDIAN and PERCENTILE 2015-11-05 11:21:16 +01:00
Michael Hackstein dbc67518a4 Added CXX implementation for STDDEV_SAMPLE and STDDEV_POPULATION 2015-11-04 17:53:45 +01:00
Wilfried Goesgens 179660e87c Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-04 17:07:09 +01:00
Michael Hackstein 0294be6ebe Added a CXX implementation for VARIANCE_POPULATION. 2015-11-04 16:49:08 +01:00
Michael Hackstein a1f947c9bf Added a CXX implemention for VARIANCE_SAMPLE 2015-11-04 16:39:45 +01:00
Michael Hackstein a958714bcc Added a CXX implementation for CURRENT_DATABASE. 2015-11-04 14:40:16 +01:00
Michael Hackstein b43eb25135 Added CXX implementation for REMOVE_VALUES 2015-11-04 14:02:27 +01:00
Michael Hackstein 03b6a021ce Adde CXX implementation of NOT_NULL 2015-11-04 13:38:22 +01:00
Michael Hackstein 3549be5088 Added CXX implementation for REMOVE_VALUE and REMOVE_NTH 2015-11-04 12:44:30 +01:00
Michael Hackstein 0f042e96ea Added Tests for CXX implementation for REMOVE_VALUE and REMOVE_NTH 2015-11-04 10:17:53 +01:00
Michael Hackstein fb0b5d8093 Fixed SHIFT CXX test 2015-11-03 17:10:46 +01:00
Michael Hackstein 39748553d2 Added tests for CXX implementation of SHIFT and UNSHIFT 2015-11-03 13:09:27 +01:00
Michael Hackstein 7ace3c42e4 Added a CXX implementation of APPEND 2015-11-03 11:51:12 +01:00
Michael Hackstein 5154e4de7a Added CXX implementation of POP 2015-11-03 10:21:35 +01:00
Michael Hackstein d75bc51647 Added a CXX implementation of PUSH 2015-11-03 10:21:31 +01:00
Michael Hackstein 1848c0f1f4 Added CXX implementation for FIRST_DOCUMENT and FIRST_LIST. 2015-11-03 10:21:31 +01:00
Michael Hackstein 4627cdabb3 Added warnings for division by zero in CXX implementation. 2015-11-03 10:21:30 +01:00
jsteemann b1a95cb42c added AQL function `UNSET_RECURSIVE` 2015-11-03 10:21:30 +01:00
Michael Hackstein d002370a1d Deactivated warnings test. Have to take a closer look at it on Monday 2015-11-03 10:21:29 +01:00
Michael Hackstein ea54c9fcc8 Deactivated warnings test. Have to take a closer look at it on Monday 2015-11-03 10:21:29 +01:00
jsteemann cbb691410c added CXX implementations for `FIRST`, `LAST` and `NTH` 2015-11-03 10:21:28 +01:00
jsteemann 8d2c3fd7ca remove even more FILTER conditions 2015-11-03 10:21:26 +01:00
Michael Hackstein 0339cb5e0c Added a CXX implementation of BINARY_OPERATOR_DIV. Deactivated CXX implementation of BINARY_OPERATOR_MOD have to check for data types 2015-11-03 10:19:31 +01:00
Michael Hackstein 5a8f75ffb6 Fixed a test that did rely an a non-guaranteed sort order 2015-11-03 10:19:30 +01:00
Michael Hackstein f23259b2bb Added CXX implementation of BINARY_OPERATOR_DIV 2015-11-03 10:19:30 +01:00
Michael Hackstein ceec76f13b Added CXX implementation for BINARY_OPERATOR_TIMES 2015-11-03 10:19:29 +01:00
Michael Hackstein 344f70fee2 Added CXX implementation for BINARY_MINUS 2015-11-03 10:19:29 +01:00
Frank Celler 52daefa306 removed tests 2015-11-03 10:19:29 +01:00
Michael Hackstein 11606c1f55 Added a CXX implementation of BINARY_PLUS. 2015-11-03 10:19:26 +01:00
Michael Hackstein 8c9282f5c7 Added tests for CXX implementation of arithmetic - in AQL 2015-10-30 13:40:07 +01:00
Michael Hackstein e3d50baabb Added tests for CXX implementation of arithmetic + in AQL 2015-10-30 13:30:19 +01:00
Michael Hackstein 8744572adc Added tests for CXX implementation fo SUBSTRING 2015-10-30 12:58:27 +01:00
Michael Hackstein 76c62c090a Added tests for CXX implementation of CONTAINS 2015-10-30 11:29:17 +01:00
Michael Hackstein c3a6de0cc4 Added more CXX tests for AQL numeric functions 2015-10-30 10:00:25 +01:00
Michael Hackstein 6d2e36cee3 Added a test for CXX version of RAND 2015-10-29 16:31:35 +01:00
Wilfried Goesgens bb9039c855 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-29 16:01:01 +01:00
Michael Hackstein cc35fdb7b0 Added the implementation and more tests for EDGES in CXX only 2015-10-29 15:52:46 +01:00
Michael Hackstein 78e0b4aa9b Added tests for CXX implementation of EDGES 2015-10-29 10:32:10 +01:00
Michael Hackstein 6552c73d25 Added a CXX implementation of DOCUMENT 2015-10-29 09:50:40 +01:00
Michael Hackstein 293bdf4458 Implemented a CXX version of MINUS 2015-10-28 17:29:51 +01:00
Michael Hackstein 94658bb8da Added tests for CXX version of MINUS 2015-10-28 16:33:55 +01:00
Michael Hackstein d8d37a3bd5 Added a CXX implementation for PARSE_IDENTIFER 2015-10-28 16:02:15 +01:00
Michael Hackstein 66ae927e3c Added a CXX implementation of ZIP. Made the CXX implementation of FLATTEN more relaxed. It now works with invalid maxDepth entries and falls-back to 1 there 2015-10-28 15:06:22 +01:00
Michael Hackstein 9e98d5b87b Added CXX implementation of FLATTEN incl tests. 2015-10-28 14:10:03 +01:00
Wilfried Goesgens 951165ab1e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
Conflicts:
	arangod/Aql/grammar.cpp
	arangod/Aql/grammar.h
	js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
jsteemann 5fff134c80 added CXX implementations of `WITHIN` and `NEAR` AQL functions 2015-10-27 23:24:00 +01:00
Michael Hackstein 476d4e78fd Fixed array index test. It is now adapted to new definition of sparse 2015-10-27 17:58:53 +01:00
Michael Hackstein 7458e6ee75 Fixed cluster tests for array indexing 2015-10-27 15:31:40 +01:00
Michael Hackstein a94eb7fd49 In an array index with subattributes the document will be indexed with null if it has the array, but the subattribute is not existing. And it will not be indexed if it does not have the array 2015-10-27 14:19:06 +01:00
Michael Hackstein d7f3ca496d The Array Index now allows to query for null IN in sparse version 2015-10-27 13:00:49 +01:00
Michael Hackstein 52e372ab27 Added some more Array Indexing tests. And improved the pathbased index. Now it is checked when trying to array-index a non-array value. And if non existing attributes are added to the index or not. 2015-10-27 11:14:02 +01:00
Michael Hackstein 817c9827e1 Added tests for Array-Indexing non Array elements. It should allow partial indexing in the skiplist and forbid indexing in the hash index now. 2015-10-26 17:22:01 +01:00
Michael Hackstein deac579950 Added tests for Indexing non-Array elements with an Array Index 2015-10-26 11:57:53 +01:00
Michael Hackstein c35ccc02d5 Fixed unique-constrain-violated behaviour in SkiplistIndex 2015-10-26 09:28:14 +01:00
Jan Steemann 025e470e3b added a single-array parameter variant for the AQL MERGE function 2015-10-23 15:29:53 +02:00
Jan Steemann 606213c1e2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-23 12:54:47 +02:00
Jan Steemann f457f3c89a remove unuseful test 2015-10-23 12:54:34 +02:00
Michael Hackstein 0a175a4271 Removed getOne in SimpleAttribute Matcher. All of the attributes are in sorted order rendering getOne and getAny useless 2015-10-23 12:49:57 +02:00
Michael Hackstein c4b0b21c74 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-22 17:13:18 +02:00
Michael Hackstein efd0ba0618 Removed a test for nested array indexes. We still need a decission there 2015-10-22 17:13:07 +02:00
Michael Hackstein b18d947492 Fixed jslint 2015-10-22 17:04:16 +02:00
Jan Steemann 5a190d1110 fixed leaks, index speedup 2015-10-22 17:03:05 +02:00