memgraph/tests/unit
Teon Banek 05d19f6218 Use new/old on Accessor in logical operators
Summary:
Replace includes in operator.hpp with forward declarations.
Provide basic documentation for remaining operators.
Use SwitchOld on accessors used in Expand and Filter operations.
Add SwitchOld and SwitchNew to ExpressionEvaluator.
Evaluate new or old state in operators.
Test operators use correct accessors.
Add some basic tests for cases where switching accessors to old and new
matters.

Reviewers: mislav.bradac, buda, florijan

Reviewed By: florijan

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D208
2017-04-03 15:37:06 +02:00
..
allocator.cpp examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more 2017-02-18 18:03:48 +01:00
basic_bloom_filter.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
block_allocator.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
bolt_chunked_buffer.cpp Bolt PullAll works. 2017-03-28 12:43:04 +02:00
bolt_chunked_decoder.cpp Bolt PullAll works. 2017-03-28 12:43:04 +02:00
bolt_common.hpp Bolt PullAll works. 2017-03-28 12:43:04 +02:00
bolt_encoder.cpp Bolt PullAll works. 2017-03-28 12:43:04 +02:00
bolt_result_stream.cpp Bolt PullAll works. 2017-03-28 12:43:04 +02:00
bolt_session.cpp Bolt PullAll works. 2017-03-28 12:43:04 +02:00
CMakeLists.txt Coverage for test binaries is excluded. 2017-03-23 16:07:25 +01:00
concurrent_list.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
concurrent_map.cpp examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more 2017-02-18 18:03:48 +01:00
concurrent_set.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
cypher_main_visitor.cpp Query::Plan - RemoveLabels added and tested 2017-03-30 08:53:18 +02:00
dynamic_bitset.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
exceptions.cpp examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more 2017-02-18 18:03:48 +01:00
fswatcher.cpp Reduce number of iterations in fswatcher test 2017-03-01 11:24:51 +01:00
graph_db_accessor.cpp Storage::RecordAccessor - added multiple pointers to RecordAcessors and switching capabilities. Rewired GraphDbAccessor and VersionList accordingly. Added tests for new RecordAccessor functions. 2017-04-03 12:29:56 +02:00
id.cpp all unit tests are gtests 2017-02-19 23:47:09 +01:00
interpreter.cpp Use new/old on Accessor in logical operators 2017-04-03 15:37:06 +02:00
labels_index.cpp Labels implementation. 2017-04-03 11:50:22 +02:00
logging.cpp Fixed logging tests. 2017-03-20 08:18:52 +00:00
mvcc_gc.cpp Storage::RecordAccessor - added multiple pointers to RecordAcessors and switching capabilities. Rewired GraphDbAccessor and VersionList accordingly. Added tests for new RecordAccessor functions. 2017-04-03 12:29:56 +02:00
mvcc.cpp Storage::RecordAccessor - added multiple pointers to RecordAcessors and switching capabilities. Rewired GraphDbAccessor and VersionList accordingly. Added tests for new RecordAccessor functions. 2017-04-03 12:29:56 +02:00
network_endpoint.cpp Started network refactorization. 2017-03-06 13:52:34 +01:00
program_argument.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
property_value_store.cpp Query::Plan - Set logical ops implementation and testing. PropertyValueStore set() overriden to handle Null values as a removal instead of setting them. PropertyValueStore.clear() function added. 2017-03-29 08:51:12 +02:00
ptr_int.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
query_common.hpp Use new/old on Accessor in logical operators 2017-04-03 15:37:06 +02:00
query_expression_evaluator.cpp Query - Logical - Delete op added and tested. Minor refactors. 2017-03-27 14:57:44 +02:00
query_planner.cpp Plan Remove operators 2017-03-30 13:56:25 +02:00
query_semantic.cpp Make Where and NamedExpression macros easier to use 2017-03-29 09:09:54 +02:00
query_stripper.cpp Change clique to use in64_t 2017-03-10 13:58:02 +01:00
record_edge_vertex_accessor.cpp Storage::RecordAccessor - added multiple pointers to RecordAcessors and switching capabilities. Rewired GraphDbAccessor and VersionList accordingly. Added tests for new RecordAccessor functions. 2017-04-03 12:29:56 +02:00
rh_hashmap.cpp Fix warnings all over the codebase. 2017-03-22 09:32:06 +01:00
rh_hashmultimap.cpp Fix warnings all over the codebase. 2017-03-22 09:32:06 +01:00
signal_handler.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
skiplist_reverse_iteration.cpp examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more 2017-02-18 18:03:48 +01:00
stack_allocator.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
static_bitset.cpp Static bitset with tests created. 2017-03-08 17:13:20 +01:00
template_engine.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
timestamp.cpp all unit tests are gtests 2017-02-19 23:47:09 +01:00
transaction_engine.cpp Fix engine. 2017-03-24 12:37:01 +01:00
traversal.cpp Fix warnings all over the codebase. 2017-03-22 09:32:06 +01:00
typed_value.cpp Implement expression evaluation 2017-03-24 17:44:05 +01:00
union_find.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00
unique_object_store.cpp clang format has been run on all hpp and cpp files under src and tests 2017-02-18 11:54:37 +01:00