summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed licensesTeemu Kaukoranta2013-05-2312-48/+144
| | | | | | | | | Updated licenses using replace-licenses.zsh from mkdist repo. Possible copyright and contact changes will come later. Change-Id: I90b78499854e15db2697995b50f21d7c0cc55108 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyright to Digia.Chris Craig2013-03-0212-302/+206
| | | | | Change-Id: Ieafba5e31117ffd05894132b6b604b8c446d0346 Reviewed-by: Chris Craig <craig@ics.com>
* Fixes for tests.Chris Craig2013-03-012-3/+6
| | | | | | | More fixes for the final Qt 5 release Change-Id: I5a267e1ab75a976ed6b6f7923a933de6eab90be7 Reviewed-by: Chris Craig <craig@ics.com>
* Qt5 release fixesChris Craig2013-03-0110-102/+102
| | | | | | | | | | | Modifications to build with the final Qt 5 release. Because the Qt module build process changed a lot, there are a number of changes. Most significantly, all classes are renamed to begin with 'Q', since that's the only way to get syncqt to install them correctly. Change-Id: I987fd426702a49991e930d1670d9c76be994eab9 Reviewed-by: Chris Craig <craig@ics.com>
* Changed test socket location under AndroidAndrew Christian2012-07-111-34/+25
| | | | | Change-Id: I399cff5db42f42009cd9b81ec2efa6a2b73e189b Reviewed-by: Chris Craig <craig@ics.com>
* GCC 4.7 compilation fixesJani Uusi-Rantala2012-06-082-1/+3
| | | | | | | | Many of the standard library includes have removed unistd.h. See http://gcc.gnu.org/gcc-4.7/porting_to.html for more info. Change-Id: I538663274077a0d21c05af0291c96acd6e40f71d Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* handle endpoint name changeChris Craig2012-05-301-0/+37
| | | | | | Change-Id: I53800873d9929d4b6f8b967327974ed916b8fc48 Reviewed-by: Alexei Rousskikh <ext-alexei.rousskikh@nokia.com> Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Expose defaultEndpoint as a property for QML.Chris Craig2012-05-301-11/+10
| | | | | | | | | Also fixed a JsonConnection declarative test that failed because of a previous commit. Change-Id: Ibaecf3e5669a18519832b07628f4e23ca00d24cf Reviewed-by: Alexei Rousskikh <ext-alexei.rousskikh@nokia.com> Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* initial JsonConnection implementation (synchronous)Alexei Rousskikh2012-05-086-1/+1139
| | | | | Change-Id: I21bd552b5862ab48e8df9e02a3a9eabea8910609 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* added support for BOM(byte order mark) before utf; added utf32Alexei Rousskikh2012-04-063-6/+112
| | | | | Change-Id: Iefffd320293e3324dcf29d2f2bb284b3cdf76e97 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Added JsonBuffer testsAndrew Christian2012-04-044-1/+130
| | | | | Change-Id: Ic3db66cf035aec662272f01954bd0494a6719828 Reviewed-by: Alexei Rousskikh <ext-alexei.rousskikh@nokia.com>
* JsonStream::lastError() implementationAlexei Rousskikh2012-03-281-5/+42
| | | | | Change-Id: I28bcf54de67d08b35258370b293019e9a786480e Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* JsonStream & JsonBuffer API redesignAlexei Rousskikh2012-03-232-7/+90
| | | | | | | | | | | | The JsonStream API has been redesigned to support more control over the size of read and write buffers. In addition, the API for notification and reading of new messages has been changed to a more QIODevice-like flavor (readyReadMessage(), messageAvailable(), and readMessage()). Change-Id: I90104713c0cf785db86c2ff716f91c0bd8bb22a0 Reviewed-by: Alexei Rousskikh <ext-alexei.rousskikh@nokia.com> Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added UTF16-BE and UTF16-LE supportAndrew Christian2012-03-192-2/+10
| | | | | Change-Id: I4322a4b89ef9e8003c3b1951034aee8db64b5ffd Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* removed trailing comma which made JSON invalidAlexei Rousskikh2012-03-121-1/+1
| | | | | Change-Id: I498349f25da6f58677245d81c633a07f056594ea Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added JsonPipe classAndrew Christian2012-03-061-0/+113
| | | | | | | | | The JsonPipe class supports reading and writing JSON objects over a pair of pipes (file descriptors). Change-Id: I388907d38d1afb12dd53fadc3051db1db4d2f35f Reviewed-by: Alexei Rousskikh <ext-alexei.rousskikh@nokia.com> Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* implemented self reference ({"$ref" : "#"}) (required for a self validation)Alexei Rousskikh2012-03-051-0/+4
| | | | | Change-Id: I0ebb0c3c1a26e7f734ccd9784cfbe11fcc5b5e30 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* improved error message; added a non-existent schema errorAlexei Rousskikh2012-03-051-0/+3
| | | | | Change-Id: Icb56fb4d4b3034da10abda9047687aad90d44a23 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* fixed missed property check when additionalProperties=falseAlexei Rousskikh2012-03-011-0/+2
| | | | | Change-Id: I71f53054c5a4a6da2058caa8c93ac813d0977078 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Removed libQtGui library dependency by removing QColor from schema validatorAndrew Christian2012-02-291-4/+0
| | | | | Change-Id: I2a4f87d49953beaa39458c240486a77b0994916d Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* implemented array in 'items' attribute; 'additionalItems' attributeAlexei Rousskikh2012-02-281-5/+37
| | | | | Change-Id: Id6e040041253907f1e19f4bfa6c6b4d75dd4d3a4 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* implemented schema indexing based on a propertyAlexei Rousskikh2012-02-251-1/+2
| | | | | Change-Id: I6d5b2038e7b988b699349f8bd80fae88162bcecf Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* implemented schema syntax error handling; removed obsolete filesAlexei Rousskikh2012-02-231-2/+2
| | | | | Change-Id: I1389abae9da4438071d8e7271d7212b91ddc75c3 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* additionalProperties implemented; small fixesAlexei Rousskikh2012-02-221-6/+55
| | | | | Change-Id: Id63e9c7e2a73cc7c3e3bc4632767eac96724ec2d Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* better error handling while loading of schemasAlexei Rousskikh2012-02-211-2/+3
| | | | | Change-Id: I1233adc436c4def39b3a4ff76c35bd2cbb6caf7e Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* initial default schema property implementationAlexei Rousskikh2012-02-163-3/+23
| | | | | Change-Id: I7a876291cbea19a00bb692cdf9000bcb7a586904 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Fix read buffer size and add jsonschema test cases to make checkAndrew Christian2012-02-141-0/+1
| | | | | Change-Id: Ia0a24ce5fca41a78b2bc9e8726a2d9a6a329c95c Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added UID Range authority and fixed compiler warningsAndrew Christian2012-02-141-0/+44
| | | | | Change-Id: I6e4b8ff0b9fd36470cc6faea5e913bdb388be256 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* implemented format schema propertyAlexei Rousskikh2012-02-141-11/+39
| | | | | Change-Id: I4449e32de6ede498bc836f3c3d7850893489090a Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* jsonstream schema validation implemented; test addedAlexei Rousskikh2012-02-1310-1/+152
| | | | | Change-Id: I078391432f34cff64028593e65881d1a8fc1b753 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* fixed exclusiveMin/Max bug (moved info from per schema into per property)Alexei Rousskikh2012-02-092-2/+10
| | | | | Change-Id: I5d79a6efaa5a57c5f0bd532ef068a8cc4ee5d7fb Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* fixed exclusiveMin/Max; implemented divisibleBy attributeAlexei Rousskikh2012-02-081-6/+33
| | | | | Change-Id: I28e43e1c8cbecae0d8c7aef6fc84ef5656c45cea Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* schema enumeration methods added; schema's enum attribute implementedAlexei Rousskikh2012-02-081-3/+39
| | | | | Change-Id: Id720a7a1ae182bf1a28f70cb61bd96288aa04798 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* more test cases; fixed validation bugsAlexei Rousskikh2012-02-061-24/+51
| | | | | Change-Id: If1fd5bb26200a8034178b92e0321c0b9eaf1dca0 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* more user-friendly error handling;few methods renamed as recommended;more testsAlexei Rousskikh2012-02-031-6/+255
| | | | | Change-Id: I47dde473739d122960557d1a326165b0b1e52a07 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Cleaned up debugging messagesAndrew Christian2012-02-031-0/+1
| | | | | Change-Id: I9dcd105f5b76d59e35c36e95d17b4001ce7a79ba Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Qt modules don't try to set rpath on test apps, so we won't either.Chris Craig2012-02-022-4/+0
| | | | | Change-Id: I81eb9972aba2ff2a2cc167a7258e72868942d09b Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Long live Qt Json Stream!Sergio Ahumada2012-01-3120-0/+1298