if this enum type has no constant with the specified name
diff --git a/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html b/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html index 465f6f34cd..05a39fafc3 100644 --- a/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html +++ b/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html @@ -95,7 +95,7 @@
Reusable Robolectric helpers for driving Android Bluetooth bonding logic in androidHostTest source sets.
These let a unit test exercise the real AndroidBluetoothRepository.bond() (and any future BLE bonding code) without an emulator and without a production seam. They rely on two Robolectric behaviors (verified against Robolectric 4.16.x):
android.bluetooth.BluetoothAdapter.getRemoteDevice caches the returned BluetoothDevice by address in a static map, so the shadow configured here is the same instance production code reads when it calls getRemoteDevice(mac) internally.
ShadowBluetoothDevice.createBond calls checkForBluetoothConnectPermission() first, so tests must call grantBluetoothConnectPermission or createBond() throws SecurityException instead of returning a value.
Isolation note: because the device cache is static and survives across tests in the same JVM, give each test a distinct MAC so bond-state cannot bleed between tests.
Reusable Robolectric helpers for driving Android Bluetooth bonding logic in androidHostTest source sets.
These let a unit test exercise the real AndroidBluetoothRepository.bond() (and any future BLE bonding code) without an emulator and without a production seam. They rely on two Robolectric behaviors (verified against Robolectric 4.16.x):
android.bluetooth.BluetoothAdapter.getRemoteDevice caches the returned BluetoothDevice by address in a static map, so the shadow configured here is the same instance production code reads when it calls getRemoteDevice(mac) internally.
ShadowBluetoothDevice.createBond calls checkForBluetoothConnectPermission() first, so tests must call grantBluetoothConnectPermission or createBond() throws SecurityException instead of returning a value.
Isolation note: because the device cache is static and survives across tests in the same JVM, give each test a distinct MAC so bond-state cannot bleed between tests.
Output of parseInlineMarkdown: the stripped text plus spans, all in display-space offsets.
Output of parseInlineMarkdown: the stripped text plus spans, all in display-space offsets.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
The five inline styles shared with iOS.
The five inline styles shared with iOS.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
if this enum type has no constant with the specified name
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
if this enum type has no constant with the specified name
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
A non-link inline style applied over a half-open range in display-space.
A non-link inline style applied over a half-open range in display-space.
Style spans over the RAW source (delimiters kept in place) for live in-field styling. Unlike parseInlineMarkdown this does NOT strip delimiters — it reports each bold/italic/strikethrough/code element's raw content range so a text-field OutputTransformation can addStyle without changing the stored text. Links are not styled here.
Style spans over the RAW source (delimiters kept in place) for live in-field styling. Unlike parseInlineMarkdown this does NOT strip delimiters — it reports each bold/italic/strikethrough/code element's raw content range so a text-field OutputTransformation can addStyle without changing the stored text. Links are not styled here.
Parses the lightweight inline markdown subset shared with the iOS client — **bold**, *italic*, ~~strikethrough~~, ` `code` ` and [label](url) — into a delimiter-stripped InlineMarkdownResult.displayText plus display-space StyleSpans and LinkSpans.
Inline-only, matching iOS AttributedString(markdown: .inlineOnlyPreservingWhitespace): block constructs (headings, lists, block quotes, fenced code, tables, images) are NOT interpreted — their markers survive as literal text because only the delimiter tokens that are direct children of a recognised inline element are removed. Whitespace and newlines are preserved. Malformed or unpaired markup degrades to literal text and never throws.
The result is consumed by AutoLinkText, which layers @mention and bare URL/email/phone links over the same InlineMarkdownResult.displayText.
Parses the lightweight inline markdown subset shared with the iOS client — **bold**, *italic*, ~~strikethrough~~, ` `code` ` and [label](url) — into a delimiter-stripped InlineMarkdownResult.displayText plus display-space StyleSpans and LinkSpans.
Inline-only, matching iOS AttributedString(markdown: .inlineOnlyPreservingWhitespace): block constructs (headings, lists, block quotes, fenced code, tables, images) are NOT interpreted — their markers survive as literal text because only the delimiter tokens that are direct children of a recognised inline element are removed. Whitespace and newlines are preserved. Malformed or unpaired markup degrades to literal text and never throws.
The result is consumed by AutoLinkText, which layers @mention and bare URL/email/phone links over the same InlineMarkdownResult.displayText.