Commit graph

920 commits

Author SHA1 Message Date
2155f0d36c
test: improved tests cleanup and logic
Co-authored-by: cschen <cschen@codemp.dev>
2024-11-05 00:19:42 +01:00
3f0b04af6e
feat(test): added fixture macro 2024-11-05 00:19:29 +01:00
300f6620c0
fix: cleanup for buffer fixture
idk who made this?? it was already fixed in dev env, uncommitted

Co-authored-by: cschen <cschen@codemp.dev>
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-11-05 00:18:06 +01:00
c42b091b63
test: better assert_or_err messages
Co-authored-by: cschen <cschen@codemp.dev>
2024-11-05 00:16:27 +01:00
ee2ced51ca
chore: removed need of adding type hints
Co-authored-by: cschen <cschen@codemp.dev>
2024-11-05 00:15:17 +01:00
888f7fd80c
docs: better wording in detach_buffer docs
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (luajit, macos-latest) (push) Has been cancelled
test / test-build (luajit, ubuntu-latest) (push) Has been cancelled
test / test-build (luajit, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
2024-11-03 20:11:36 +01:00
c1c9dea033
tests: actually delete the buffer in the buffer fixture 2024-11-03 20:11:21 +01:00
c08e209e06
tests: cleanup redundant code 2024-11-03 19:58:09 +01:00
518143d5b9
docs(java): specify the new behaviour of leaveWorkspace 2024-11-03 19:36:36 +01:00
cschen
c0bff45989 fix(test): add more clear explainations of what went wrong. 2024-11-03 17:53:27 +01:00
cschen
3773ebfd7d test: moved around previously existing tests. and other formatter shenanigans 2024-11-03 17:26:14 +01:00
cschen
7f17d1fd6e test: inviting users to one's workspace 2024-11-03 17:24:47 +01:00
cschen
84bfc45fc8 test(WIP): added skeleton for testing of behaviour when deleting workspace with people attached.
Need to know what is the expected behaviour that we want.
2024-11-03 17:24:08 +01:00
cschen
35b9b12aaf test: deleting twice or non existing is an error 2024-11-03 17:23:00 +01:00
cschen
9d0c961ac2 test: delete empty workspace 2024-11-03 17:22:41 +01:00
cschen
781fd9ba42 test: leaving workspaces, attaching after leaving 2024-11-03 17:22:13 +01:00
cschen
fdd272646d test: attaching to a non existing workspace is an error 2024-11-03 17:21:06 +01:00
cschen
ccb5406ccf test: attaching to workspaces and making them active 2024-11-03 17:20:30 +01:00
cschen
9ff9a47d86 test: can't create workspace more than once 2024-11-03 17:20:09 +01:00
cschen
44e5e390eb chore: implement from ConnectionError and from RemoteError for AssertionError 2024-11-03 17:19:38 +01:00
cschen
dc627dc6af fmt: formatter shenanigans 2024-11-03 17:18:47 +01:00
cschen
7a535d4492 test: workspace creation and lookup 2024-11-03 17:18:24 +01:00
111020afd8
test: buffer fixture
Some checks are pending
test / test-beta (beta) (push) Blocked by required conditions
test / test-beta (nightly) (push) Blocked by required conditions
test / test-unit (push) Waiting to run
test / test-functional (push) Blocked by required conditions
test / test-build (java, macos-latest) (push) Blocked by required conditions
test / test-build (java, ubuntu-latest) (push) Blocked by required conditions
test / test-build (java, windows-latest) (push) Blocked by required conditions
test / test-build (js, macos-latest) (push) Blocked by required conditions
test / test-build (js, ubuntu-latest) (push) Blocked by required conditions
test / test-build (js, windows-latest) (push) Blocked by required conditions
test / test-build (luajit, macos-latest) (push) Blocked by required conditions
test / test-build (luajit, ubuntu-latest) (push) Blocked by required conditions
test / test-build (luajit, windows-latest) (push) Blocked by required conditions
test / test-build (py, macos-latest) (push) Blocked by required conditions
test / test-build (py, ubuntu-latest) (push) Blocked by required conditions
test / test-build (py, windows-latest) (push) Blocked by required conditions
2024-11-02 23:26:42 +01:00
cd4e09c1cd
test: show for which test workspace was
basically fixtures leak workspaces when errors occur, so to better debug
what is happening every test now names its workspace. this is tedious
and should probably be removed eventually but for now it helps a ton
2024-10-30 17:33:51 +01:00
752a682efc
ci(test): only run build tests after functional
so that functional tests run sooner
2024-10-30 16:58:21 +01:00
e0b919bae8
fix: more time in tryRecv to compensate longer RTT 2024-10-30 14:22:51 +01:00
90568bba8d
test: ignored a test, fixed another
leftover assert!(false) for debugging, test_cant_delete_other_buffers
will not work since server doesn't track buffer ownership yet
2024-10-30 13:50:08 +01:00
4772af4959
ci: more fine-grained ci, less jobs 2024-10-30 13:45:39 +01:00
cb6c95e1aa
ci(test): no toolchain matrix for fn tests 2024-10-30 13:32:38 +01:00
e0c913b46d
ci(test): only run fn/build tests after unit 2024-10-30 13:31:42 +01:00
60b4c3dee9
fix(tests): test-e2e should not be on by default 2024-10-30 13:28:21 +01:00
adaaf86e32
ci: run functional tests too 2024-10-30 13:27:25 +01:00
26bbd190dd
test: split down test stuff a bit 2024-10-30 13:21:09 +01:00
5ee87739c7
test: added scoped fixtures and e2e tests
Co-authored-by: zaaarf <me@zaaarf.foo>
Co-authored-by: frelodev <frelodev@gmail.com>
2024-10-30 13:03:46 +01:00
cschen
9d458f6a16
Merge pull request #61 from hexedtech/fix/version-acking
Some checks failed
test / build (java, ubuntu-latest, beta) (push) Has been cancelled
test / build (java, ubuntu-latest, stable) (push) Has been cancelled
test / build (java, windows-latest, beta) (push) Has been cancelled
test / build (java, windows-latest, stable) (push) Has been cancelled
test / build (js, macos-latest, beta) (push) Has been cancelled
test / build (js, macos-latest, stable) (push) Has been cancelled
test / build (js, ubuntu-latest, beta) (push) Has been cancelled
test / build (js, ubuntu-latest, stable) (push) Has been cancelled
test / build (js, windows-latest, beta) (push) Has been cancelled
test / build (js, windows-latest, stable) (push) Has been cancelled
test / build (lua54, macos-latest, beta) (push) Has been cancelled
test / build (lua54, macos-latest, stable) (push) Has been cancelled
test / build (lua54, ubuntu-latest, beta) (push) Has been cancelled
test / build (lua54, ubuntu-latest, stable) (push) Has been cancelled
test / build (lua54, windows-latest, beta) (push) Has been cancelled
test / build (lua54, windows-latest, stable) (push) Has been cancelled
test / build (luajit, macos-latest, beta) (push) Has been cancelled
test / build (luajit, macos-latest, stable) (push) Has been cancelled
test / build (luajit, ubuntu-latest, beta) (push) Has been cancelled
test / build (luajit, ubuntu-latest, stable) (push) Has been cancelled
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
fix: properly update branch version

Co-Authored-By: Alemidev
<me@alemi.dev>
2024-10-30 09:12:47 +01:00
e4d013087c
fix: don't overwrite oplog after creating agent id
Some checks failed
test / build (java, ubuntu-latest, beta) (push) Has been cancelled
test / build (java, ubuntu-latest, stable) (push) Has been cancelled
test / build (java, windows-latest, beta) (push) Has been cancelled
test / build (java, windows-latest, stable) (push) Has been cancelled
test / build (js, macos-latest, beta) (push) Has been cancelled
test / build (js, macos-latest, stable) (push) Has been cancelled
test / build (js, ubuntu-latest, beta) (push) Has been cancelled
test / build (js, ubuntu-latest, stable) (push) Has been cancelled
test / build (js, windows-latest, beta) (push) Has been cancelled
test / build (js, windows-latest, stable) (push) Has been cancelled
test / build (lua54, macos-latest, beta) (push) Has been cancelled
test / build (lua54, macos-latest, stable) (push) Has been cancelled
test / build (lua54, ubuntu-latest, beta) (push) Has been cancelled
test / build (lua54, ubuntu-latest, stable) (push) Has been cancelled
test / build (lua54, windows-latest, beta) (push) Has been cancelled
test / build (lua54, windows-latest, stable) (push) Has been cancelled
test / build (luajit, macos-latest, beta) (push) Has been cancelled
test / build (luajit, macos-latest, stable) (push) Has been cancelled
test / build (luajit, ubuntu-latest, beta) (push) Has been cancelled
test / build (luajit, ubuntu-latest, stable) (push) Has been cancelled
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
Co-authored-by: alemi <me@alemi.dev>
2024-10-29 15:15:25 +01:00
79204972f3 fix: properly update branch version 2024-10-27 20:04:52 +01:00
adb9c1c1d8
Merge pull request #62 from hexedtech/chore/tweaks
Some checks failed
test / build (luajit, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
test / build (java, ubuntu-latest, beta) (push) Has been cancelled
test / build (java, ubuntu-latest, stable) (push) Has been cancelled
test / build (java, windows-latest, beta) (push) Has been cancelled
test / build (java, windows-latest, stable) (push) Has been cancelled
test / build (js, macos-latest, beta) (push) Has been cancelled
test / build (js, macos-latest, stable) (push) Has been cancelled
test / build (js, ubuntu-latest, beta) (push) Has been cancelled
test / build (js, ubuntu-latest, stable) (push) Has been cancelled
test / build (js, windows-latest, beta) (push) Has been cancelled
test / build (js, windows-latest, stable) (push) Has been cancelled
test / build (lua54, macos-latest, beta) (push) Has been cancelled
test / build (lua54, macos-latest, stable) (push) Has been cancelled
test / build (lua54, ubuntu-latest, beta) (push) Has been cancelled
test / build (lua54, ubuntu-latest, stable) (push) Has been cancelled
test / build (lua54, windows-latest, beta) (push) Has been cancelled
test / build (lua54, windows-latest, stable) (push) Has been cancelled
test / build (luajit, macos-latest, beta) (push) Has been cancelled
test / build (luajit, macos-latest, stable) (push) Has been cancelled
test / build (luajit, ubuntu-latest, stable) (push) Has been cancelled
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
chore: lua annotations, cargo fmt
2024-10-27 20:04:01 +01:00
1039168789
chore: lua annotations, cargo fmt 2024-10-27 19:42:14 +01:00
cschen
2ecf8e3b3f
Merge pull request #60 from hexedtech/release/v0.8.2
Some checks failed
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
java / build (map[filename:codemp.dll runner:windows-latest target:win32-x64]) (push) Has been cancelled
java / build (map[filename:libcodemp.dylib runner:macos-14 target:darwin-arm64]) (push) Has been cancelled
java / build (map[filename:libcodemp.so runner:ubuntu-latest target:linux-x64-gnu]) (push) Has been cancelled
javascript / build (map[runner:macos-14 target:darwin-arm64]) (push) Has been cancelled
javascript / build (map[runner:ubuntu-latest target:linux-x64-gnu]) (push) Has been cancelled
javascript / build (map[runner:windows-latest target:win32-x64]) (push) Has been cancelled
lua / build (map[arch:aarch64 ext:dylib pre:lib runner:macos-latest target:darwin]) (push) Has been cancelled
lua / build (map[arch:x86_64 ext:dll pre:<nil> runner:windows-latest target:windows-msvc]) (push) Has been cancelled
lua / build (map[arch:x86_64 ext:so pre:lib runner:ubuntu-latest target:linux-gnu]) (push) Has been cancelled
python / linux (map[runner:ubuntu-latest target:x86_64]) (push) Has been cancelled
python / windows (map[runner:windows-latest target:x64], map[features:py python:3.x]) (push) Has been cancelled
python / windows (map[runner:windows-latest target:x64], map[features:py-noabi python:3.8]) (push) Has been cancelled
python / macos (map[runner:macos-14 target:aarch64]) (push) Has been cancelled
python / sdist (push) Has been cancelled
rust / publish (push) Has been cancelled
java / publish (push) Has been cancelled
javascript / publish (push) Has been cancelled
lua / publish (push) Has been cancelled
lua / upload (push) Has been cancelled
python / release (push) Has been cancelled
release: v0.8.2
2024-10-26 19:57:02 +02:00
cschen
551044ef20
Merge branch 'dev' into release/v0.8.2 2024-10-26 19:48:38 +02:00
cschen
4b080ddc7f release: v0.8.2 2024-10-26 19:46:16 +02:00
0c73cb13c8
ci: we just need beta
beta is next version, nightly is cutting edge
2024-10-26 19:38:16 +02:00
aaa4e551eb
Merge pull request #59 from hexedtech/fix/lua-annotations
fix(lua): annotations for workspace event
2024-10-26 19:36:00 +02:00
17bcbdf932 fix(lua): annotations for workspace event 2024-10-26 19:35:42 +02:00
b398c01137
Merge pull request #58 from hexedtech/py-ack-type-hints
Fix python glue: missing akc method, better constructors and type hints reflect the code better.
2024-10-26 19:35:27 +02:00
cschen
fb8076dbf5 fix: ack is not async. misnamed textchange fields. 2024-10-26 19:13:37 +02:00
cschen
3956d4a27d fix: missing ack method in python glue. Fixed python constructors for TextChange
and Selection. fixed code hints.
2024-10-26 19:05:42 +02:00
frelodev
6a8fb38930
release: v0.8.1 (#57)
Some checks failed
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, nightly) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
java / build (map[filename:libcodemp.so runner:ubuntu-latest target:linux-x64-gnu]) (push) Has been cancelled
java / publish (push) Has been cancelled
javascript / build (map[runner:macos-14 target:darwin-arm64]) (push) Has been cancelled
javascript / build (map[runner:ubuntu-latest target:linux-x64-gnu]) (push) Has been cancelled
javascript / build (map[runner:windows-latest target:win32-x64]) (push) Has been cancelled
javascript / publish (push) Has been cancelled
lua / build (map[arch:aarch64 ext:dylib pre:lib runner:macos-latest target:darwin]) (push) Has been cancelled
lua / build (map[arch:x86_64 ext:dll pre:<nil> runner:windows-latest target:windows-msvc]) (push) Has been cancelled
lua / build (map[arch:x86_64 ext:so pre:lib runner:ubuntu-latest target:linux-gnu]) (push) Has been cancelled
lua / publish (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, nightly) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (nightly) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
java / build (map[filename:codemp.dll runner:windows-latest target:win32-x64]) (push) Has been cancelled
python / release (push) Has been cancelled
java / build (map[filename:libcodemp.dylib runner:macos-14 target:darwin-arm64]) (push) Has been cancelled
lua / upload (push) Has been cancelled
python / linux (map[runner:ubuntu-latest target:x86_64]) (push) Has been cancelled
python / windows (map[runner:windows-latest target:x64], map[features:py python:3.x]) (push) Has been cancelled
python / windows (map[runner:windows-latest target:x64], map[features:py-noabi python:3.8]) (push) Has been cancelled
python / macos (map[runner:macos-14 target:aarch64]) (push) Has been cancelled
python / sdist (push) Has been cancelled
rust / publish (push) Has been cancelled
release: v0.8.1
2024-10-20 18:33:36 +02:00
e973a25370
Merge pull request #56 from hexedtech/fix/js-ack
chore(js): added ack function to glue
2024-10-20 18:07:42 +02:00