-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev' into release-candidate
- Loading branch information
Showing
172 changed files
with
9,433 additions
and
1,003 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,4 +63,7 @@ PVS-Studio.log | |
|
||
.gdbinit | ||
|
||
/fbt_options_local.py | ||
/fbt_options_local.py | ||
|
||
# JS packages | ||
node_modules/ |
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
11 changes: 11 additions & 0 deletions
11
applications/debug/unit_tests/resources/unit_tests/js/basic.js
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 |
---|---|---|
@@ -1,4 +1,15 @@ | ||
let tests = require("tests"); | ||
let flipper = require("flipper"); | ||
|
||
tests.assert_eq(1337, 1337); | ||
tests.assert_eq("hello", "hello"); | ||
|
||
tests.assert_eq("compatible", sdkCompatibilityStatus(0, 1)); | ||
tests.assert_eq("firmwareTooOld", sdkCompatibilityStatus(100500, 0)); | ||
tests.assert_eq("firmwareTooNew", sdkCompatibilityStatus(-100500, 0)); | ||
tests.assert_eq(true, doesSdkSupport(["baseline"])); | ||
tests.assert_eq(false, doesSdkSupport(["abobus", "other-nonexistent-feature"])); | ||
|
||
tests.assert_eq("flipperdevices", flipper.firmwareVendor); | ||
tests.assert_eq(0, flipper.jsSdkVersion[0]); | ||
tests.assert_eq(1, flipper.jsSdkVersion[1]); |
205 changes: 0 additions & 205 deletions
205
applications/debug/unit_tests/tests/furi/furi_event_loop.c
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.