Skip to content

Commit

Permalink
Fix bugs of #77 fixed
Browse files Browse the repository at this point in the history
Fix ReceiveAsync of .netstandard1.3
Fix DeviceMonitor Dispose
Fix DeviceMonitorLoop exception catch
Catch NotSupportedException on Process.GetProcessesByName
Fix test on Linux
  • Loading branch information
wherewhere committed Oct 29, 2023
1 parent 76a5ac1 commit 42ad60d
Show file tree
Hide file tree
Showing 12 changed files with 713 additions and 642 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

- name: Publish
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
run: dotnet nuget push ./nugets/*nupkg --source "$env:NUGET_SOURCE" --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}
run: dotnet nuget push ./nugets/*nupkg --source $env:NUGET_SOURCE --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}

- name: Upload
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion AdvancedSharpAdbClient.Tests/AdbClientTests.Async.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ at com.android.server.input.InputManagerService.injectInputEventInternal(InputMa
at com.android.server.input.InputManagerService.injectInputEvent(InputManagerService.java:651)
at android.hardware.input.IInputManager$Stub.onTransact(IInputManager.java:430)
at android.os.Binder.execTransactInternal(Binder.java:1165)
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace);
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace, ignoreLineEndingDifferences: true);
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion AdvancedSharpAdbClient.Tests/AdbClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ at com.android.server.input.InputManagerService.injectInputEventInternal(InputMa
at com.android.server.input.InputManagerService.injectInputEvent(InputManagerService.java:651)
at android.hardware.input.IInputManager$Stub.onTransact(IInputManager.java:430)
at android.os.Binder.execTransactInternal(Binder.java:1165)
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace);
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace, ignoreLineEndingDifferences: true);
}

/// <summary>
Expand Down

0 comments on commit 42ad60d

Please sign in to comment.