Skip to content

Commit

Permalink
[Xamarin.Android.Build.Tests] Fix ActionBarSherlock URL (#8926)
Browse files Browse the repository at this point in the history
On 2024-May-01, xamarin/monodroid-samples was updated so that the
`main` branch no longer contained samples for Classic Xamarin.Android.
This in turn meant the removal of the ActionBarSherlock sample.

This change in turn broke xamarin-android unit tests, which attempt
to download this URL, which no longer exists:

  * <https://github.com/xamarin/monodroid-samples/blob/main/ActionBarSherlock/ActionBarSherlock/Jars/ActionBarSherlock-4.3.1.zip?raw=true>

Oops.

As part of the removal of Classic Xamarin.Android samples, a new
`monodroid-samples/archived-xamarin` branch was created, which is
the state of the `main` branch before all old samples were removed.

Update the `BindingBuildTest.RemoveEventHandlerResolution()`
integration test to use the correct URL for ActionBarSherlock.
  • Loading branch information
jonpryor authored and jonathanpeppers committed May 7, 2024
1 parent 0315e89 commit d9cde75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ public void RemoveEventHandlerResolution ()
IsRelease = true,
Jars = {
new AndroidItem.LibraryProjectZip ("Jars\\ActionBarSherlock-4.3.1.zip") {
WebContent = "https://github.com/xamarin/monodroid-samples/blob/main/ActionBarSherlock/ActionBarSherlock/Jars/ActionBarSherlock-4.3.1.zip?raw=true"
WebContent = "https://github.com/xamarin/monodroid-samples/blob/archived-xamarin/ActionBarSherlock/ActionBarSherlock/Jars/ActionBarSherlock-4.3.1.zip?raw=true"
}
},
AndroidClassParser = "class-parse",
Expand Down

0 comments on commit d9cde75

Please sign in to comment.