summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/test/java/com/yahoo/slime
Commit message (Collapse)AuthorAgeFilesLines
* Move to container core due to OSGI, keep a copy in testutil for use in ↵Henning Baldersheim2023-11-241-5/+6
| | | | tests in no OSGI modules.
* jackson 2.16 changes some of its default settings so we consolidate our use ↵Henning Baldersheim2023-11-231-9/+9
| | | | | | of the ObjectMapper. Unless special options are used, use a common instance, or create via factory metod.
* Update copyrightJon Bratseth2023-10-0912-13/+13
|
* object density estimate take 2Håvard Pettersen2023-04-242-68/+213
| | | | | fix: count processed values explicitly change: throw on failure
* Revert "use value density to estimate needed decode index size"Henning Baldersheim2023-04-212-187/+34
|
* use value density to estimate needed decode index sizeHåvard Pettersen2023-04-212-34/+187
| | | | | | - inline index array into BinaryView to avoid indirection - let DecodeIndex sanity check requested size against max size - grow with 25% (factor 1.25) if estimate is close to buffer size
* avoid hamcrest and mockitoHåvard Pettersen2023-03-306-369/+380
|
* BinaryView; inspect slime value in binary formatHåvard Pettersen2023-03-282-66/+493
| | | | | | | | Use int instead of long for stand-alone compressed values (sizes and symbol ids). Also added overflow/wrap-around checks for these values to avoid things like infinite recursion due to negative buffer skips during DecodeIndex creation. This makes decoding fail in more deterministic ways and also aligns with Java using int for sizes.
* move Inspector equalTo implementation and testHåvard Pettersen2023-03-222-131/+119
|
* avoid using matchersHåvard Pettersen2023-03-221-28/+26
|
* added DecodeIndex utility classHåvard Pettersen2023-03-211-0/+87
|
* auto-detect arrays of long or doubleHåvard Pettersen2023-03-161-0/+188
|
* Revert "Revert collect(Collectors.toList())"Henning Baldersheim2022-12-042-3/+3
|
* Revert collect(Collectors.toList())Henning Baldersheim2022-12-042-3/+3
|
* collect(Collectors.toList()) -> toList()Henning Baldersheim2022-12-022-3/+3
|
* Remove SlimeFormat::encode() on InputStream, 2. tryHåkon Hallingstad2022-06-081-6/+0
|
* Update expected test resultsjonmv2022-04-111-15/+15
|
* Suppress deprecation warningsHåkon Hallingstad2022-03-101-0/+1
|
* GC deprecated junit assertThat.Henning Baldersheim2021-12-213-16/+13
|
* No functional changesJon Bratseth2021-12-091-8/+8
|
* Update 2020 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2019 Oath copyrights.gjoranv2021-10-272-2/+2
|
* Update 2017 copyright notices.gjoranv2021-10-076-6/+6
|
* Revert "Revert "Avoid copying data just to compress them when it is not ↵Henning Baldersheim2021-08-301-17/+25
| | | | necessary.""
* Revert "Avoid copying data just to compress them when it is not necessary."Henning Baldersheim2021-08-301-25/+17
|
* Avoid copying data just to compress them when it is not necessary.Henning Baldersheim2021-08-301-17/+25
|
* Revert "Remove unused Utf8 methods"Harald Musum2020-10-051-4/+5
|
* Remove unused Utf8 methodsMartin Polden2020-10-051-5/+4
| | | | In-lined in the tests that used them.
* Add method to convert Slime array to StreamValerij Fredriksen2020-05-131-0/+13
|
* Avoid new dependency on jacksonHåkon Hallingstad2020-04-151-0/+19
|
* Move SlimeUtils to vespajlibMartin Polden2020-02-061-0/+81
|
* Add/corect copyright headersJon Bratseth2020-01-031-0/+1
|
* Use mockito-core 3.1.0Håkon Hallingstad2019-10-181-1/+1
|
* Utility to create stream from Slime arrayØyvind Grønnesby2019-10-101-0/+26
|
* Add tensor value typeJon Bratseth2019-04-031-27/+11
|
* Add nix equality test and moreHåkon Hallingstad2019-01-301-0/+8
|
* Remove default constructors from insertersHåkon Hallingstad2019-01-301-16/+10
|
* Review round 1 fixesHåkon Hallingstad2019-01-301-36/+75
|
* Port Slime injection to JavaHåkon Hallingstad2019-01-292-0/+300
|
* Address reviewJon Marius Venstad2018-10-311-0/+8
|
* add unit test and fix decoding of unicode escapesArne Juul2018-07-041-0/+9
|
* Update copyright headersJon Bratseth2017-06-145-5/+5
|
* Revert "Update copyright headers"Jon Bratseth2017-06-145-5/+5
|
* Update copyright headersJon Bratseth2017-06-145-5/+5
|
* Revert "Copyright header"Jon Bratseth2017-06-135-5/+5
|
* Copyright headerJon Bratseth2017-06-135-5/+5
|
* handle null-pointers (Data/String/Utf8) as Nix valuesHaavard2017-03-011-14/+26
| | | | [VESPA-6609]
* Created by balder -> @author baldersheimHenning Baldersheim2016-06-171-1/+1
|
* PublishJon Bratseth2016-06-155-0/+1385