Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPoienar committed Jul 9, 2024
1 parent b4f53b6 commit a4c1b06
Show file tree
Hide file tree
Showing 6 changed files with 1,217 additions and 1,201 deletions.
2 changes: 1 addition & 1 deletion Assets/Examples/Test/Editor/Driver/TestNotification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void TestLogNotification()
public void TestApplicationPaused()
{
var altElement = altDriver.FindObject(By.NAME, "AltTesterPrefab");
altElement.CallComponentMethod<string>("AltTester.AltTesterUnitySDK.AltRunner", "OnApplicationPause", "Assembly-CSharp", new object[] { true }, new string[] { "System.Boolean" });
altElement.CallComponentMethod<string>("AltTester.AltTesterUnitySDK.Commands.AltRunner", "OnApplicationPause", "Assembly-CSharp", new object[] { true }, new string[] { "System.Boolean" });
Assert.IsTrue(MockNotificationCallBacks.ApplicationPaused);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public void TestWaitForNonExistingComponentProperty()
[Category("WebGLUnsupported")] // Fails on WebGL in pipeline, skip until issue #1465 is fixed: https://github.com/alttester/AltTester-Unity-SDK/issues/1465
[TestCase("UNEXISTING", "InstrumentationSettings.AltServerPort", "AltTester.AltTesterUnitySDK", "Component not found")]
[TestCase("AltTester.AltTesterUnitySDK.Commands.AltRunner", "UNEXISTING", "AltTester.AltTesterUnitySDK", "Property UNEXISTING not found")]
// [TestCase( "AltTester.AltTesterUnitySDK.AltRunner","InstrumentationSettings.AltServerPort", "UNEXISTING", "Assembly UNEXISTING not found")] -> This test is failing because of https://github.com/alttester/AltTester-Unity-SDK/issues/1185. This test can be uncomment when the issue is fixed
// [TestCase( "AltTester.AltTesterUnitySDK.Commands.AltRunner","InstrumentationSettings.AltServerPort", "UNEXISTING", "Assembly UNEXISTING not found")] -> This test is failing because of https://github.com/alttester/AltTester-Unity-SDK/issues/1185. This test can be uncomment when the issue is fixed
public void TestWaitForComponentPropertyNonExistingParameters(string componentName, string propertyName, string assemblyName, string message)
{
var altElement = altDriver.FindObject(By.NAME, "AltTesterPrefab");
Expand Down
Loading

0 comments on commit a4c1b06

Please sign in to comment.