Varioius IsolatedNetworkTablesExtension fixes - #126
Merged
Conversation
kcooney
force-pushed
the
kcooney/isolated-nt-ex-fixes
branch
from
February 1, 2026 18:01
104f792 to
0f1dbd4
Compare
kcooney
force-pushed
the
kcooney/isolated-nt-ex-fixes
branch
3 times, most recently
from
February 1, 2026 19:34
0eb6ee7 to
c7fe89e
Compare
kcooney
force-pushed
the
kcooney/isolated-nt-ex-fixes
branch
from
February 1, 2026 19:39
c7fe89e to
7f317e2
Compare
Create `Namespace1 only from the extension class name (the method name is part of the `ExtensionContext` when `resolveParameter()` is called for test method parameter injection)
kcooney
force-pushed
the
kcooney/isolated-nt-ex-fixes
branch
2 times, most recently
from
February 1, 2026 19:50
a39e0bd to
5ab7d71
Compare
This ensures that tests that modify Preferences use a test instance even if they do not inject a NetworkTableInstance into the test method.
kcooney
force-pushed
the
kcooney/isolated-nt-ex-fixes
branch
from
February 1, 2026 21:00
5ab7d71 to
b2aeeff
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preferencesinstance before callingwaitForListenerQueue()Preferencesbefore draining thelistener queue
NetworkTableInstanceinbeforeEach()Preferencesuse a test instanceevent ifthey do not inject a
NetworkTableInstanceinto the test methodNamespaceNamespaceonly from the extension class name (the method nameis part of the
ExtensionContextwhenresolveParameter()is called fortest method parameter injection)