-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update ZAP to tip. Fixes bugs in endpoint_config generation. * Add a test for writing the Basic Information "location" attribute. Turns out it did not work due to ZAP bugs.
- Loading branch information
1 parent
4fe7c02
commit 4323952
Showing
17 changed files
with
3,463 additions
and
3,090 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Basic Information Cluster Tests | ||
|
||
config: | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Read location" | ||
command: "readAttribute" | ||
attribute: "location" | ||
response: | ||
value: "" | ||
|
||
- label: "Write location" | ||
command: "writeAttribute" | ||
attribute: "location" | ||
arguments: | ||
value: "us" | ||
|
||
- label: "Read back location" | ||
command: "readAttribute" | ||
attribute: "location" | ||
response: | ||
value: "us" | ||
|
||
- label: "Restore initial location value" | ||
command: "writeAttribute" | ||
attribute: "location" | ||
arguments: | ||
value: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Submodule repo
updated
18 files
+5 −2 | docs/releasenotes.md | |
+5 −5 | package-lock.json | |
+1 −1 | package.json | |
+74 −66 | src-electron/db/query-zcl.js | |
+17 −9 | src-electron/generator/helper-endpointconfig.js | |
+38 −36 | src-electron/importexport/export.js | |
+41 −45 | src-electron/importexport/import-json.js | |
+1 −1 | src-electron/importexport/import.js | |
+1 −1 | src-electron/util/env.ts | |
+70 −6 | src-electron/util/script-api.js | |
+2 −0 | src-electron/util/types.js | |
+12 −5 | src-script/script-util.js | |
+6 −1 | src-script/zap-start.js | |
+28 −2 | src/components/ZclClusterManager.vue | |
+66 −96 | test/gen-zigbee.test.js | |
+3 −0 | test/resource/test-script-3.js | |
+43 −0 | test/resource/test-script-4.js | |
+34 −11 | test/script-api.test.js |
Oops, something went wrong.