Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
6731cc44ab
chore(web): rename file missed in #12704 2024-11-27 12:13:57 +01:00
Eberhard Beilharz
21736d8817
refactor(developer): output number of tests when running on TC
This change adds the mocha-teamcity-reporter which outputs the running
tests in a special format that TeamCity can interpret. This allows TC
to show which tests run as well as the number of tests run.

Also refactor some of the build scripts to use functions.

Note that we had to explicitly add `--check-coverage=false` (which is the
default) to get successful builds when we run on TC.
2024-11-27 11:41:06 +01:00
Eberhard Beilharz
d151d0999f
refactor(common): output number of tests when running on TC
This change adds the mocha-teamcity-reporter which outputs the running
tests in a special format that TeamCity can interpret. This allows TC
to show which tests run as well as the number of tests run.
2024-11-27 11:15:43 +01:00
Eberhard Beilharz
06cd709790
Merge pull request #12706 from keymanapp/chore/linux/rename-tests
chore(linux): rename test files
2024-11-27 16:17:49 +07:00
Eberhard Beilharz
7edda3beca
chore(linux): address code review comments 2024-11-27 10:16:58 +01:00
Eberhard Beilharz
7832be93a2
Merge pull request #12705 from keymanapp/chore/core/rename-tests
chore(core): rename test files
2024-11-27 16:08:10 +07:00
Eberhard Beilharz
08b4b6c2eb
Merge pull request #12704 from keymanapp/chore/web/rename-tests
chore(web): rename test files and folders
2024-11-27 16:07:56 +07:00
sgschantz
221ba7b977 fix(ios): attempt to reload in-app keyboard on keyboard height change 2024-11-27 16:03:40 +07:00
Darcy Wong
5dee258dac docs(android): Add android/docs/internal/README 2024-11-27 15:37:06 +07:00
Marc Durdin
18d00c7701 fix(core): use NDEBUG flag to disable assertions in release build for VC++
This disables assertions in release builds in Windows only. Other
platforms may have different outcomes.

Fixes: #12619
2024-11-27 15:34:34 +07:00
Dr Mark C. Sinclair
bf7f4c2bc2 chore(common/web): add initial removeExtension test cases 2024-11-27 08:34:06 +00:00
Dr Mark C. Sinclair
acf156b965 chore(common/web): add test-unicodeset-parser.ts to test UnicodeSet 2024-11-27 07:02:44 +00:00
Dr Mark C. Sinclair
60967375a3 chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-string-list 2024-11-27 06:25:53 +00:00
Marc Durdin
e388361e84
Merge pull request #12713 from keymanapp/refactor/common/LdmlKeyboardTypes
refactor(common): move remaining LDML keyboard types into `LdmlKeyboardTypes`
2024-11-27 07:21:06 +01:00
Marc Durdin
2dc703f74b
Merge pull request #12712 from keymanapp/refactor/common/12516-LexicalModelTypes
refactor(common): move all lexical model types into `LexicalModelTypes` container
2024-11-27 07:20:54 +01:00
Dr Mark C. Sinclair
35545a3caf
Merge pull request #12612 from keymanapp/test/developer/kmcmplib-compiler-unit-tests-5
test(developer): kmcmplib compiler unit tests 5
2024-11-27 06:15:08 +00:00
Dr Mark C. Sinclair
402b4065e0 chore(common/web): refactor tests for readability 2024-11-27 06:10:45 +00:00
rc-swag
ba2b3016bc feat(windows): Wip dont want to lose 2024-11-27 15:55:55 +10:00
Dr Mark C. Sinclair
19da0c73ae chore(developer): add four additional test cases 2024-11-27 05:48:51 +00:00
Dr Mark C. Sinclair
b3398fb941 chore(developer): add test cases for ListItem.toString() and toStringArray() 2024-11-27 05:39:56 +00:00
Dr Mark C. Sinclair
04a8a0a5d5 chore(developer): add seven test cases for ListItem.compareTo 2024-11-27 05:33:07 +00:00
Dr Mark C. Sinclair
d77c5aeb6b chore(developer): add seven additional test cases for ListItem.isEqual 2024-11-27 05:16:24 +00:00
Dr Mark C. Sinclair
769259e6f6 chore(developer): add four test cases for ListItem.isEqual, plus refactor for length 2024-11-27 05:04:20 +00:00
Marc Durdin
b54b005830 refactor(common): move remaining LDML keyboard types into LdmlKeyboardTypes
Follows: #12712
2024-11-27 11:52:53 +07:00
Dr Mark C. Sinclair
88b0f712d0 chore(developer): add three ListItem.getItemOrder() test cases 2024-11-27 03:47:28 +00:00
Dr Mark C. Sinclair
15c71d7b95 chore(developer): add a further ListItem.fromStrings() test case 2024-11-27 03:38:24 +00:00
sgschantz
c3c8e0bc08 fix(ios): fix rotation and resize animations 2024-11-27 10:38:03 +07:00
Dr Mark C. Sinclair
ef46a8eab1 chore(developer): add a ListItem.fromStrings() test case 2024-11-27 03:28:36 +00:00
Marc Durdin
dc2b9b2ad9 refactor(developer): LexicalModelTypes tests 2024-11-27 10:13:09 +07:00
Marc Durdin
e8bc0773df refactor(common): LexicalModelTypes tests
Fixes: #12516
2024-11-27 10:03:13 +07:00
Marc Durdin
b10634eb97 refactor(common): move all lexical model types into LexicalModelTypes container
Many of the types had very generic names (e.g. `Configuration`), and as
the types are now exported from `@keymanapp/common-types`, this was
unhelpful.

For units with many references, I used TypeScript's import-equals to
reduce the change impact. For units with only a few references, I added
the `LexicalModelTypes.` prefix to the references in source.

(Best reference I could find for import-equals: b722fa4e49)

Fixes: #12516
2024-11-27 09:46:09 +07:00
Dr Mark C. Sinclair
a5c80243e7 chore(developer): add six test cases for ListIndex 2024-11-27 02:24:11 +00:00
Dr Mark C. Sinclair
f641b3cc08 chore(developer): remove unnecessary assignment to sFlag block variable 2024-11-27 01:27:59 +00:00
Eberhard Beilharz
4a852c9522
chore(linux): rename test files
This change rename the test files for Linux according to the discussion
at the Keyman conference in November 2024.

Python is pretty opinionated about the naming of files, so we have to
use `*_tests.py` as test filename instead of the usual `*.tests.py`.
2024-11-26 19:06:02 +01:00
Keyman Server
4d11fb225a
Merge pull request #12708 from keymanapp/auto/version-master-18.0.146
auto: increment master version to 18.0.146
2024-11-26 10:02:02 -08:00
Keyman Build Agent
9f938d1b27 auto: increment master version to 18.0.146 2024-11-26 13:01:27 -05:00
Eberhard Beilharz
718881a027
chore(core): rename test files
This change rename the test files for Core according to the discussion
at the Keyman conference in November 2024.
2024-11-26 17:47:11 +01:00
Steven R. Loomis
3904d78773
Merge branch 'master' into fix/core/12298-get-key-list 2024-11-26 08:14:32 -08:00
Eberhard Beilharz
432ab7055f
chore(web): rename test files and folders
This change renames the test files for Web according to the discussion at
the Keyman conference in November 2024. It also renames some folders from
`test` to `tests`.
2024-11-26 17:10:19 +01:00
Steven R. Loomis
f9862c3bdf feat(core): test improvements for get_key_list()
- just compare the key list to the key2.kmap table
- check the keylist for all LdmlTestSource instances - no syntax needed

Fixes: #12298
2024-11-26 09:36:11 -06:00
Dr Mark C. Sinclair
fa4f1e5d0f chore(developer): add one ListItem test case 2024-11-26 08:50:36 +00:00
rc-swag
d86e499f9c
docs(common): apply review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-11-26 18:47:44 +10:00
Dr Mark C. Sinclair
2cb2e8c4fb chore(developer): initial commit of test-string-lists.ts 2024-11-26 08:08:15 +00:00
sgschantz
625eed5ccf fix(ios): add strings to bundle for localization 2024-11-26 15:00:24 +07:00
Eberhard Beilharz
9a2e48ba9b
Merge pull request #12697 from keymanapp/chore/common/link_onboarding
chore(common): Add link to onboarding doc to `CONTRIBUTING.md`
2024-11-26 14:56:40 +07:00
Dr Mark C. Sinclair
c6ef37fdef chore(developer): remove ERROR_XXXInVirtualKeySection from kmn-compiler-messages.ts 2024-11-26 06:57:44 +00:00
rc-swag
84084e31cb
Merge pull request #12700 from keymanapp/docs/windows/windows-build-setup
docs(windows): update emscripten bash setup
2024-11-26 16:31:44 +10:00
rc-swag
f18bba2781 docs(linux): update emscripten bash setup
Update the linux and macos bash setup to documents.
2024-11-26 16:20:43 +10:00
sgschantz
fbfb7f3d3f fix(ios): use engine bundle -- not Keyman.bundle in engine 2024-11-26 13:13:17 +07:00
rc-swag
7a53c89277 docs(windows): update emscripten bash setup 2024-11-26 15:13:16 +10:00