summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAge
...
* Made storagetest quicker.Christian Mollekopf2015-07-30
|
* Made the pipeline an implementation detail of the resource.Christian Mollekopf2015-07-30
| | | | | This removes one dependency from the Listener and will allow us to test the Listener better.
* Forward revision updates through resourceChristian Mollekopf2015-07-28
|
* Test life queries in the generic facadeChristian Mollekopf2015-07-28
|
* Abstracted the storage so the facade can be tested.Christian Mollekopf2015-07-27
|
* Test generic stuff separately from the dummyresourceChristian Mollekopf2015-07-27
|
* Separate test debug output a littleChristian Mollekopf2015-07-23
|
* Pass command around as QByteArrayChristian Mollekopf2015-07-23
| | | | | | | Simpler api, GenericResource didn't honor size anyways, and we copy the command for now to avoid sideeffects of data coming in in the meantime (although that should generally work since data is always appended).
* Modify/Delete actionsChristian Mollekopf2015-07-19
|
* Create resource in dummyresourcetest as wellChristian Mollekopf2015-07-09
|
* Filter queries by available resources, and filter resources byChristian Mollekopf2015-07-08
| | | | resource-types
* Extracted resource configChristian Mollekopf2015-07-08
|
* We can add resources.Christian Mollekopf2015-07-08
|
* Use the resource instance nameChristian Mollekopf2015-07-07
|
* Pass instanceIdentifier to facadeChristian Mollekopf2015-07-07
|
* Remove externallyManaged hack now that we use std::shared_ptrChristian Mollekopf2015-07-07
|
* An almost generic query implementation.Christian Mollekopf2015-06-17
| | | | With equality filter on arbitrary properties as a bonus.
* Fix test after resource instance adjustmentsChristian Mollekopf2015-06-17
|
* Differentiate between resource name and instance identifierChristian Mollekopf2015-06-08
|
* Use type implementation to define default buffer and buffer-builderChristian Mollekopf2015-05-31
|
* Moved default read/write property mapper to TypeImplementationChristian Mollekopf2015-05-31
| | | | | There is always exactly one default buffer that we can centralize in TypeImplementation.
* Fix flatbuffers generator for testsDan Vrátil2015-05-18
|
* Adapt to KAsync namespace changeDan Vrátil2015-05-15
|
* Make it build with Qt 5.5Dan Vrátil2015-05-11
|
* Fixed lifetime management of resultSet.Christian Mollekopf2015-04-27
| | | | | The resultSet remains valid for the duration of the thread. We keep the thread running until the ResultEmitter is deleted.
* Keep thread alive until the end of the query, and cleanup the resultSet.Christian Mollekopf2015-04-24
|
* Moved client and dummyresource to examples/Christian Mollekopf2015-04-19
|
* Moved clientapitest to testsChristian Mollekopf2015-04-15
|
* Use a queryrunner to execute queries.Christian Mollekopf2015-04-15
| | | | | | | | | | | | | | The queryrunner is responsible for running queries and keeping them up to date. This is required for self-updating queries. To get this to work properly the ResultProvider/emitter had to be fixed. The emitter now only lives as long as the client holds a reference to it, allowing the provider to detect when it is no longer necessary to keep the query alive (because noone is listening). In the process various lifetime issues have been fixed, that we're caused by lambdas capturing smartpointers, that then extended the lifetime of the associated objects unpredictably.
* Merge remote-tracking branch 'origin/develop' into developChristian Mollekopf2015-04-12
|\
| * Fix build (flatbuffers API changed)Dan Vrátil2015-04-10
| |
* | More generic domainadpator code.Christian Mollekopf2015-04-12
| | | | | | | | | | This should cover read and write for entites that have a 1:1 mapping to the resource buffers.
* | checkpointChristian Mollekopf2015-04-10
| |
* | Automatic tests.Christian Mollekopf2015-04-09
| |
* | Only measure appending, not creating the buffer.Christian Mollekopf2015-04-09
| |
* | Renamed Akonadi::Domain to Akonadi::ApplicationDomainChristian Mollekopf2015-04-09
| | | | | | | | Because it's really the application domain and not the akonadi domain.
* | Use QByteArray instead of QStringChristian Mollekopf2015-04-09
| | | | | | | | | | All identifiers should be latin1 and we make this explicit by using QByteArray. QString is reserved for strings that can be UTF-8 or alike.
* | Use memcpy to copy tables into vectors.Christian Mollekopf2015-04-07
| | | | | | | | | | | | Ideally we wouldn't be copying at all, and somehow cast the table to a vector. Unfortunately I haven't figured out how to do that, and this solution at least gets us from 0.065 ms to 0.028 ms in testCreateCommand.
* | Benchmark for in-process writing.Christian Mollekopf2015-04-06
|/ | | | To measure overhead of the communication to the separate process.
* Cleanup and debug messages.Christian Mollekopf2015-04-02
|
* Storage: API cleanup/use QByteArray instead of std::stringChristian Mollekopf2015-03-31
|
* CMake: fix Qt5 lookup, use KDE_INSTALL_TARGETS_DEFAULT_ARGSDan Vrátil2015-02-21
|
* Shutdown command for synchronizers, used by the dummyresourcetest.Christian Mollekopf2015-01-30
| | | | | Otherwise the synchronizer keeps a Storage object alive, while the tests deletes the db. This causes subsequent writes to fail in the next test.
* DummyResourceBenchmarkChristian Mollekopf2015-01-27
|
* debug output, fixed dummyresourcetestChristian Mollekopf2015-01-25
|
* A way to ensure all messages have been processed.Christian Mollekopf2015-01-25
| | | | | As queries become reactive this should become less important. We can then just wait until all results become available. For tests it is in either case useful though.
* Uid index + query using that index.Christian Mollekopf2015-01-24
| | | | ...and a couple of other fixes.
* An index implementation.Christian Mollekopf2015-01-21
|
* Fixed sync, detect errors during sync, wait until sync items are processed ↵Christian Mollekopf2015-01-19
| | | | until signalling completion.
* Use jobs in queries, sync works again.Christian Mollekopf2015-01-18
|