Skip to content
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

[tests] Re-enable tests that were disabled in Xcode 12 beta 1. Fixes #9531. #16265

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions tests/monotouch-test/ARKit/AREnvironmentProbeAnchorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,15 @@ public void MarshallingTest ()
{
var probeAnchor = new AREnvironmentProbeAnchor (MatrixFloat4x4.Identity, new VectorFloat3 (1, 1, 1));
Assert.AreEqual (MatrixFloat4x4.Identity, probeAnchor.Transform, "Transform");
// broken since xcode 12 beta 1 on simulator (only)
if ((Runtime.Arch == Arch.DEVICE) || !TestRuntime.CheckXcodeVersion (12, 0))
Assert.AreEqual (new VectorFloat3 (1, 1, 1), probeAnchor.Extent, "Extent");
Assert.AreEqual (new VectorFloat3 (1, 1, 1), probeAnchor.Extent, "Extent");
}

[Test]
public void MarshallingTest2 ()
{
var probeAnchorWithName = new AREnvironmentProbeAnchor ("My Anchor", MatrixFloat4x4.Identity, new VectorFloat3 (1, 1, 1));
Assert.AreEqual (MatrixFloat4x4.Identity, probeAnchorWithName.Transform, "Transform");
// broken since xcode 12 beta 1 on simulator (only)
if ((Runtime.Arch == Arch.DEVICE) || !TestRuntime.CheckXcodeVersion (12, 0))
Assert.AreEqual (new VectorFloat3 (1, 1, 1), probeAnchorWithName.Extent, "Extent");
Assert.AreEqual (new VectorFloat3 (1, 1, 1), probeAnchorWithName.Extent, "Extent");
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions tests/monotouch-test/ARKit/ARReferenceObjectTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public void Setup ()
[Test]
public void MarshallingTest ()
{
if ((Runtime.Arch == Arch.SIMULATOR) && TestRuntime.CheckXcodeVersion (12, 0))
Assert.Ignore ("broken with beta 1 - can't instantiate the object");
var model3 = new ARReferenceObject (NSUrl.FromFilename ("Model3.arobject"), out NSError error);
Assert.AreEqual ("Model3", model3.Name, "Name");
Assert.NotNull (model3.Center, "Center");
Expand Down