File tree Expand file tree Collapse file tree
workmanager_android/android/src/test/kotlin/dev/fluttercommunity/workmanager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ void main() {
5353 test ("WorkmanagerFlutterApi implementation handles null safely" , () {
5454 // This test verifies that the fix for null cast to map bug exists
5555 // The fix safely handles null keys and values in inputData parameter
56- //
56+ //
5757 // Original issue: inputData?.cast<String, dynamic>() would fail when
5858 // the map contained null keys or when cast failed
5959 //
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class BackgroundWorkerTest {
66 @Test
77 fun `verify null callback handling exists in BackgroundWorker` () {
88 // This test verifies that the null check for callbackInfo exists in BackgroundWorker.kt
9- //
9+ //
1010 // The fix adds this check:
1111 // if (callbackInfo == null) {
1212 // Log.e(TAG, "Failed to resolve Dart callback for handle $callbackHandle.")
@@ -18,7 +18,7 @@ class BackgroundWorkerTest {
1818 // returns null due to invalid or stale callback handles.
1919 //
2020 // The fix resolves crashes reported in issues #624, #621, #527
21-
21+
2222 // Test passes if compilation succeeds, proving the null check is in place
2323 assert (true )
2424 }
You can’t perform that action at this time.
0 commit comments