Commit graph

4 commits

Author SHA1 Message Date
Lars Kanis
85ce3b177c [ruby/win32-registry] Fix compatibility with JRuby
JRuby's fiddle implementation has quite some shortcomings compared with the CRuby impl.
Add JRuby tests in CI.

7f34184c2e
2024-10-17 01:51:41 +00:00
Lars Kanis
6a49bbd734 [ruby/win32-registry] Move all tests to volatile environment and use per-test individual registry key
This allows to run all tests in parallel.
Usage of `File` methods is avoided.
Since all tests are executed in the volatile environment of the registry,
the dedicated 'create_volatile' test is removed now.
Also add some documentation to the test setup.

Downside of this use of the "Volatile Environment" is that we can not use or test
the `create` method with default options.
This is because within this path only keys with option `REG_OPTION_VOLATILE` are allowed.

3c186ae7dd
2024-10-17 01:48:05 +00:00
Hiroshi SHIBATA
4eda289a13 Sync from ruby/win32-registry 2024-10-09 13:55:45 +09:00
Nobuyoshi Nakada
9f8e87c44b
Test for win32/registry.rb 2024-05-03 14:47:18 +09:00