-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mono.Android-Tests] Remove obsolete .shproj
file.
#9758
Conversation
4302875
to
9c80d50
Compare
.shproj
file..shproj
file.
d9a90d6
to
817e1bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did I misread the diff, or did a couple tests get deleted on accident?
[TestFixture] | ||
public class HandlerTest { | ||
|
||
[Test] | ||
public void RemoveDisposedInstance () | ||
{ | ||
using (var t = new HandlerThread ("RemoveDisposedInstance")) { | ||
t.Start (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should delete this one?
namespace Xamarin.Android.RuntimeTests | ||
{ | ||
[TestFixture] | ||
public class LocalizationTests | ||
{ | ||
// https://bugzilla.xamarin.com/show_bug.cgi?id=31705 | ||
[Test] | ||
public void EmbeddedResources_ShouldBeLocalized () | ||
{ | ||
CultureInfo culture = Thread.CurrentThread.CurrentCulture; | ||
CultureInfo uiCulture = Thread.CurrentThread.CurrentUICulture; | ||
|
||
Assert.AreEqual ("a", AppResources.String1, "Embedded string resource did not contain expected value."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test also looks good?
I removed tests that are not being run today in |
The two above look like they should pass, but |
3c993eb
to
36cabc7
Compare
👍 Tests enabled. |
36cabc7
to
678d36d
Compare
Context: #9758 While enabling new tests for `Mono.Android-Tests`, git somehow ate my files and made them all empty. I fixed the ones that CI found but didn't notice the other empty files. Add the content of these files back. Verified on CI run that the 2 new tests are indeed being run and succeed.
Mono.Android-Tests
still uses a.shproj
file from the time when we had both a Classic XA and .NET version. However, VS does not seem to support this anymore, and none of the included files appear in the IDE, making it hard to write new tests.Remove the
.shproj
file and update the.csproj
file to directly point to needed files.Also do some other cleanups like removing tests that are no longer run and fixing directory structure.
Verified that both the
main
version and this PR run 885 tests on CI.