File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 66# Script used to download objectbox-c shared libraries for all supported platforms. Execute by running `make get-lib`
77# on first checkout of this repo and any time after changing the objectbox-c lib version.
88
9- version = "v4 .0.0" # see objectbox/c.py required_version
10- variant = 'objectbox' # or 'objectbox-sync'
9+ version = "v5 .0.0" # see objectbox/c.py required_version
10+ variant = 'objectbox-sync ' # or 'objectbox-sync'
1111
1212base_url = "https://github.com/objectbox/objectbox-c/releases/download/"
1313
2121 "x86_64/libobjectbox.so" : "linux-x64.tar.gz" ,
2222 "aarch64/libobjectbox.so" : "linux-aarch64.tar.gz" ,
2323 "armv7l/libobjectbox.so" : "linux-armv7hf.tar.gz" ,
24- "armv6l/libobjectbox.so" : "linux-armv6hf.tar.gz" ,
24+ # "armv6l/libobjectbox.so": "linux-armv6hf.tar.gz",
2525
2626 # mac
2727 "macos-universal/libobjectbox.dylib" : "macos-universal.zip" ,
Original file line number Diff line number Diff line change 1+ from objectbox .sync import *
2+
3+
4+ def test_sync_protocol_version ():
5+ version = SyncClient .protocol_version ()
6+ assert version >= 1
7+
8+
9+ def test_sync_client_states (test_store ):
10+ server_urls = ["ws://localhost:9999" ]
11+ credentials = [SyncCredentials .none ()]
12+ client = SyncClient (test_store , server_urls , credentials )
13+ assert client .get_sync_state () == SyncState .CREATED
14+ client .start ()
15+ assert client .get_sync_state () == SyncState .STARTED
16+ client .stop ()
17+ assert client .get_sync_state () == SyncState .STOPPED
18+ client .close ()
You can’t perform that action at this time.
0 commit comments