summaryrefslogtreecommitdiffstats
path: root/tests/clientapitest.cpp
Commit message (Collapse)AuthorAge
* Change most of Event's properties to extracted propertiesRémi Nicole2018-04-13
| | | | | | | | | | | | | | Summary: Fix T8485 Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8485 Differential Revision: https://phabricator.kde.org/D12106
* Apply modifications to aggregate valuesChristian Mollekopf2018-02-21
|
* We need all parents available, not only oneChristian Mollekopf2018-01-03
|
* Demonstrate the problem with child indexes entering before parentChristian Mollekopf2018-01-03
| | | | indexes
* Add a working model signal testChristian Mollekopf2018-01-03
|
* Removed broken testsChristian Mollekopf2018-01-03
|
* No parent queryChristian Mollekopf2018-01-02
|
* Adjusted docs and test.Christian Mollekopf2017-07-27
|
* Resolved potential deadlockChristian Mollekopf2017-03-07
| | | | | | When trying to reply to a mail from kube we ran into a deadlock. The initial result callback is called from the main thread, and that can thus directly lead to destruction of the emitter.
* Port away from syncStartv0.1.0Christian Mollekopf2017-03-02
|
* Filter resources by the types they support.Christian Mollekopf2017-03-01
| | | | | This avoid uselessly querying resources only to discover that they don't have a facade for the type.
* Fixed multimodificationsChristian Mollekopf2017-02-16
|
* Fixed incremental fetchingChristian Mollekopf2017-02-03
|
* A model stress test to try to crash the result emitter when used withChristian Mollekopf2017-01-31
| | | | threads.
* Fixed build issues with pedantic enabledChristian Mollekopf2017-01-12
|
* syncThen is no longer necessaryChristian Mollekopf2017-01-12
|
* Introduced Log::ContextChristian Mollekopf2016-12-22
| | | | | | | To have hierarchical debug output we have to pass around something at run-time, there is no reasonable alternative. Log::Context provides the identifier to do just that and largely replaces the debug component idea.
* Report when we don't have any more to fetch.Christian Mollekopf2016-12-20
| | | | ... so we can use that information in fetchMore.
* Wrap references in a Reerence type.Christian Mollekopf2016-12-08
| | | | | | | | This allows us to make sure that references are not taken out of context (the resource). Because we need to use the type-specific accessors more we also ran into a problem that we cannot "downcast" a reference with the change recording still working, for that we have the cast<T>() operator now.
* Copy command and proper moveChristian Mollekopf2016-12-04
|
* interresource moveChristian Mollekopf2016-12-02
|
* Hide Query::parentPropertyChristian Mollekopf2016-11-14
|
* Don't expose the live query flag directly.Christian Mollekopf2016-11-04
|
* Refactor how the storage is used.Christian Mollekopf2016-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial refactoring to improve how we deal with the storage. It does a couple of things: * Rename Sink::Storage to Sink::Storage::DataStore to free up the Sink::Storage namespace * Introduce a Sink::ResourceContext to have a single object that can be passed around containing everything that is necessary to operate on a resource. This is a lot better than the multiple separate parameters that we used to pass around all over the place, while still allowing for dependency injection for tests. * Tie storage access together using the new EntityStore that directly works with ApplicationDomainTypes. This gives us a central place where main storage, indexes and buffer adaptors are tied together, which will also give us a place to implement external indexes, such as a fulltextindex using xapian. * Use ApplicationDomainTypes as the default way to pass around entities. Instead of using various ways to pass around entities (buffers, buffer adaptors, ApplicationDomainTypes), only use a single way. The old approach was confusing, and was only done as: * optimization; really shouldn't be necessary and otherwise I'm sure we can find better ways to optimize ApplicationDomainType itself. * a way to account for entities that have multiple buffers, a concept that I no longer deem relevant. While this commit does the bulk of the work to get there, the following commits will refactor more stuff to get things back to normal.
* A better resource filter apiChristian Mollekopf2016-10-05
|
* Use the Query::filter api.Christian Mollekopf2016-09-27
|
* Ported to the kasync revampChristian Mollekopf2016-09-15
|
* Isolate testsChristian Mollekopf2016-07-11
|
* Control debugoutput during tests with sinksh.Christian Mollekopf2016-07-08
|
* A new debug system.Christian Mollekopf2016-07-07
| | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names.
* Moved thread-boundary crossing to the model.Christian Mollekopf2016-06-15
| | | | | That way we avoid any unnecessary queuing for the sync API, and enable fine-tuning in the model code at a later stage.
* Fixed build.Christian Mollekopf2016-06-14
| | | | | We already exported that symbol as a non-template class in the dummy resource code.
* Fixed resource property filteringChristian Mollekopf2016-05-10
|
* Account filter for resources and contains comparator in queryChristian Mollekopf2016-05-01
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Use slots/signals instead of Q_SLOTS/Q_SIGNALS for clang-format compatibilityChristian Mollekopf2016-02-17
|
* Stop using clientapi.hChristian Mollekopf2016-02-10
|
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* Fixed build.Christian Mollekopf2016-01-19
|
* Working resource inspectionChristian Mollekopf2016-01-18
|
* An imperative query APIChristian Mollekopf2016-01-14
|
* Ensure that we only emit ChildrenFetched once.Christian Mollekopf2016-01-14
| | | | ...Once all resource are done, and not only one.
* Fixed clientapitestChristian Mollekopf2015-12-19
|
* Ensure we process the query also if no resource is available.Christian Mollekopf2015-12-13
|
* Load entities from multiple resourcesChristian Mollekopf2015-12-13
|
* Test modificationsChristian Mollekopf2015-11-30
|
* Use the ChildrenFetchedRoleChristian Mollekopf2015-11-30
|
* Test model signalsChristian Mollekopf2015-11-30
|
* Removed most uses of SyncListResult and brought back theChristian Mollekopf2015-11-28
| | | | dummyresourcetest
* Introduced a QueryRunner objectChristian Mollekopf2015-11-27
| | | | | | | | The QueryRunner object lives for the duration of the query (so just for the initial query for non-live queries, and for the lifetime of the result model for live queries). It's supposed to handle all the threading internally and decouple the lifetime of the facade.