Skip to content

Commit dd4fbb8

Browse files
Hot fix 2.2.7 (#1907)
* Update version * Initialize MockUpPointerInputModule in Start method and fix formatting in mouseDownTrigger method
1 parent ded8825 commit dd4fbb8

File tree

21 files changed

+86
-21
lines changed

21 files changed

+86
-21
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ assignees: ''
1414
(2019.4.40f1, 2020.3.31f1, 2020.3.40f1, 2021.3.2f1, 2021.3.11f1, etc)
1515

1616
**What version of AltTester® Unity SDK are you using?**
17-
(1.6.6, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.2, 2.2.4, 2.2.5, 2.2.6)
17+
(1.6.6, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.2, 2.2.4, 2.2.5, 2.2.6, 2.2.7)
1818

1919
**On what device are you trying to run the test?**
2020
(Android, iOS)

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
run: |
110110
cd "Bindings~/dotnet"
111111
dotnet pack AltDriver/AltDriver.csproj -c release
112-
dotnet nuget push AltDriver/bin/release/AltTester-Driver.2.2.6.nupkg --api-key $NUGET_DEPLOY_KEY --source https://api.nuget.org/v3/index.json
112+
dotnet nuget push AltDriver/bin/release/AltTester-Driver.2.2.7.nupkg --api-key $NUGET_DEPLOY_KEY --source https://api.nuget.org/v3/index.json
113113
114114
create-unity-package:
115115
runs-on: [self-hosted, MAC37]

.github/workflows/upload-package-to-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
1919
if [[ "$GITHUB_REF" == refs/heads/* ]]; then
2020
COMMIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
21-
VERSION="2.2.6-$COMMIT_HASH"
21+
VERSION="2.2.7-$COMMIT_HASH"
2222
sed -i '' "s/public static readonly string VERSION = \".*\";/public static readonly string VERSION = \"$VERSION\";/" Assets/AltTester/Runtime/Commands/AltRunner.cs
2323
sed -i '' "s/\"version\": \".*\";/\"version\": \"$VERSION\";/" Assets/AltTester/package.json
2424
fi

Assets/AltTester/Runtime/AltDriver/AltDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class AltDriver
3535
private static readonly NLog.Logger logger = DriverLogManager.Instance.GetCurrentClassLogger();
3636
private readonly IDriverCommunication communicationHandler;
3737
private static object driverLock = new object();
38-
public static readonly string VERSION = "2.2.6";
38+
public static readonly string VERSION = "2.2.7";
3939

4040
public IDriverCommunication CommunicationHandler { get { return communicationHandler; } }
4141

Assets/AltTester/Runtime/AltDriver/Proxy/Plugins/iOS/AltProxyFinder/Source/AltProxyFinder.h.meta

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/AltTester/Runtime/AltDriver/Proxy/Plugins/iOS/AltProxyFinder/Source/AltProxyFinderBridge.mm.meta

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/AltTester/Runtime/Commands/AltRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class AltRunner : UnityEngine.MonoBehaviour
3030
{
3131
private static readonly NLog.Logger logger = ServerLogManager.Instance.GetCurrentClassLogger();
3232

33-
public static readonly string VERSION = "2.2.6";
33+
public static readonly string VERSION = "2.2.7";
3434
public static AltRunner _altRunner;
3535
public static AltResponseQueue _responseQueue;
3636
public AltInstrumentationSettings InstrumentationSettings = null;

Assets/AltTester/Runtime/Input/AltInput.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public static AltMockUpPointerInputModule AltMockUpPointerInputModule
109109
public void Start()
110110
{
111111
Instance = this;
112+
MockUpPointerInputModule = AltMockUpPointerInputModule; //initialize
112113
LoadAxisList();
113114
}
114115

@@ -295,7 +296,7 @@ public static IEnumerator MultipointSwipeLifeCycle(Vector2[] positions, float du
295296
{
296297
MousePosition = new Vector3(Touches[0].position.x, Touches[0].position.y, 0);
297298
mouseTriggerInit(PointerEventData.InputButton.Left, out PointerEventData _, out GameObject eventSystemTarget, out GameObject monoBehaviourTarget);
298-
mouseDownTrigger(PointerEventData.InputButton.Left, ref pointerEventData, eventSystemTarget, monoBehaviourTarget);
299+
mouseDownTrigger(PointerEventData.InputButton.Left, ref pointerEventData, eventSystemTarget, monoBehaviourTarget);
299300
MouseDownPointerEventData = pointerEventData;
300301
}
301302
var keyStructure = new KeyStructure(KeyCode.Mouse0, 1.0f);
@@ -850,7 +851,7 @@ private static void mouseTriggerInit(PointerEventData.InputButton mouseButton, o
850851

851852
}
852853

853-
private static void mouseDownTrigger(PointerEventData.InputButton mouseButton,ref PointerEventData pointerEventData, GameObject eventSystemTarget, GameObject monoBehaviourTarget)
854+
private static void mouseDownTrigger(PointerEventData.InputButton mouseButton, ref PointerEventData pointerEventData, GameObject eventSystemTarget, GameObject monoBehaviourTarget)
854855
{
855856

856857
/* pointer/touch down */

Assets/AltTester/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.alttester.sdk",
3-
"version": "2.2.6",
3+
"version": "2.2.7",
44
"displayName": "AltTester Unity SDK",
55
"description": "AltTester Unity SDK is an open-source UI driven test automation tool that helps you find objects in your game and interacts with them using tests written in C#, Python, Java or Robot Framework.",
66
"unity": "2021.3",

Bindings~/dotnet/AltDriver/AltDriver.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
55
<RootNamespace>AltTester.AltTester-Driver</RootNamespace>
66
<IsPackable>true</IsPackable>
7-
<PackageVersion Condition="'$(PACKAGE_VERSION)' == ''">2.2.6</PackageVersion>
7+
<PackageVersion Condition="'$(PACKAGE_VERSION)' == ''">2.2.7</PackageVersion>
88
<PackageVersion Condition="'$(PACKAGE_VERSION)' != ''">$(PACKAGE_VERSION)</PackageVersion>
99
<Title>AltTester-Driver</Title>
1010
<Description>

0 commit comments

Comments
 (0)