limbo/testing
Pekka Enberg 8c0c967ea2 Merge 'Implement json_quote' from Pedro Muniz
Hi! This is my first PR on the project, so I apologize if I did not
follow a convention from the project.
#127
This PR implements json_quote as specified in their source:
https://www.sqlite.org/json1.html#jquote. It follows the internal doc
guidelines for implementing functions. Most tests were added from sqlite
test suite for json_quote, while some others were added by me. Sqlite
test suite for json_quote depends on json_valid to test for correct
escape control characters, so that specific test at the moment cannot be
done the same way.

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>
Reviewed-by: Sonny (@sonhmai)

Closes #763
2025-02-07 13:33:05 +02:00
..
test_files Fix import csv failing when single quote is in string 2025-01-11 13:48:21 +05:30
wal testing: Add test database + WAL file 2024-08-03 12:16:34 +03:00
agg-functions.test support TRUE and FALSE in predicates 2024-12-13 22:58:29 +02:00
all.test Add TCL tests for delete 2025-02-06 23:39:12 +05:30
changes.test Created basic tcl tests for changes and total_changes 2025-01-19 20:51:16 -05:00
cmdlineshell.test refactor(testing): move .table tests to shelltests.py 2024-12-18 09:10:37 +02:00
coalesce.test testing: coalesce.test 2024-07-16 07:20:35 +03:00
compare.test Add Null comparision tests 2025-01-19 00:39:10 +05:30
concat.test Added Concat Opcode 2025-01-21 00:29:23 +05:30
delete.test Add TCL tests for delete 2025-02-06 23:39:12 +05:30
extensions.py Fix python extension test for generate_series() 2025-02-06 19:11:04 +02:00
gen-database.py testing: update testing with products table and cross join test 2024-07-09 18:08:16 +02:00
glob.test Fix glob 2024-12-30 17:02:31 +05:30
groupby.test Support column aliases in GROUP BY, ORDER BY and HAVING 2025-02-03 10:44:05 +02:00
insert.test Align MustBeInt logic with sqlite 2025-01-16 00:09:45 +05:30
join.test chore: rollback using rowid(sqlite3 unsupported) 2025-01-14 22:56:49 +08:00
json.test some tests in sqlite rely on commands not implemented in limbo yet 2025-02-06 23:36:02 -03:00
like.test Support like function with escape 2024-12-28 13:55:12 +05:30
math.test Implement Not 2025-01-20 00:21:23 +05:30
offset.test Created TCL tests for select queries with offset 2025-01-26 16:40:30 -05:00
orderby.test test ordering by aggregate not mentioned in select 2024-11-26 17:31:51 +02:00
pragma.test implement the pragma page_count 2025-02-01 19:39:46 -05:00
scalar-functions-datetime.test strftime compatibility issue solved 2025-01-26 17:01:08 -03:00
scalar-functions-printf.test test fix 2025-02-04 21:02:51 +05:30
scalar-functions.test Fix sqlite_version() out of bound 2024-12-27 11:39:33 -03:00
select.test add simple tcl tests 2025-02-02 19:43:13 +04:00
shelltests.py Correct CLI comment handling to mimic sqlite behavior 2025-01-17 13:59:34 -05:00
subquery.test feat: subqueries in FROM clause 2024-12-31 14:18:29 +02:00
tester.tcl implement is and is not where constraints 2025-01-31 23:01:49 -05:00
testing.db index scan wip foo doesnt work yet 2024-10-05 18:25:04 +03:00
testing_norowidalias.db Run all tcl tests on 2 separate dbs (1. with rowid aliases 2. without rowid aliases) 2024-12-14 17:13:45 +02:00
testing_small.db implement is and is not where constraints 2025-01-31 23:01:49 -05:00
testing_small.db-wal implement is and is not where constraints 2025-01-31 23:01:49 -05:00
time.test added tests 2025-02-01 16:13:37 -03:00
total-changes.test Created basic tcl tests for changes and total_changes 2025-01-19 20:51:16 -05:00
vector.test testing: Add few TCL tests for vector extensions 2025-01-28 14:24:09 +02:00
where.test add test for index search with "opposite" operator 2025-02-03 11:23:05 +04:00