summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-04-22test: fix JS test so window worksOmar Rizwan
2021-04-06fs,extension: Make truncate work on cached file content.Omar Rizwan
We now remember the path of each cached file, so when someone truncates that path, we can truncate all open instances of it in cache. Important when someone pipes to stomp a file / opens with O_TRUNC (which FUSE disaggregates into an open() and then a truncate() call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never worked on macOS anyway. Fixes #40.
2021-03-22extension,test: Move Router down, Router -> Routes.Omar Rizwan
2021-03-21extension,test: router -> Router.Omar Rizwan
2021-03-21extension: Big refactor to use named variables in routes.Omar Rizwan
Also move debugger-specific stuff into the debugger block.
2021-03-21extension,test: Start on simplifying routing.Omar Rizwan
Introduces a 'named variable' syntax so we can remove all the manual indexing into path components / converting to int in individual fs ops. Also rewrites the route finding to use regex: all routes are compiled to regexes, then the route finder just walks through them all until it hits a match. Doesn't fully work yet; JS test passes.
2021-03-14test: separate tests from background.js, clean up and document a bitOmar Rizwan
also makes the test more lenient (subset instead of equality for tab entries)
2021-02-25rename old TAB/evals to TAB/watches; add new TAB/evalsOmar Rizwan
2021-02-23test: temporarily disable execute-script and console testsOmar Rizwan
2021-02-21update test to use inputs instead of textareasOmar Rizwan
2021-01-13test: add textarea testsOmar Rizwan
2021-01-12test: add test for #40Omar Rizwan
2020-12-30console and execute-script work. with testOmar Rizwan
2020-12-29ability to read scripts/file with path filteringOmar Rizwan
2020-12-29test test-script.js nameOmar Rizwan
2020-12-29improve scripts dir -- checking scriptId more reliably. add testsOmar Rizwan
2020-12-29prevent explosion of scriptsForTab!Omar Rizwan
2020-12-29test: test test-page.htmlOmar Rizwan
2020-12-29improve test reliability; try clear scriptsForTab (doesn't work yet)Omar Rizwan