Skip to content

Commit b57f700

Browse files
serjuerceg
serj
authored andcommitted
windows test lib WS update
1 parent 37df06a commit b57f700

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

Assets/Adjust/Test/TestLibraryWindows.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private readonly TestLibraryInterface.TestLibraryInterface _testLibraryInterface
1414
public TestLibraryWindows(string baseUrl, string controlUrl, string gdprUrl)
1515
{
1616
IAdjustCommandExecutor adjustCommandExecutor = new CommandExecutor(this, baseUrl, gdprUrl);
17-
_testLibraryInterface.Init(adjustCommandExecutor, baseUrl, UnityEngine.Debug.Log);
17+
_testLibraryInterface.Init(adjustCommandExecutor, baseUrl, controlUrl, UnityEngine.Debug.Log);
1818
}
1919

2020
public void StartTestSession()
Binary file not shown.
3 KB
Binary file not shown.
Binary file not shown.

ext/windows/bridge/WinSdkUnityBridge/TestLibraryInterface/TestLibraryInterface.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class TestLibraryInterface
99
private TestLibrary.TestLibrary _testLibrary;
1010
private Action<string> _logDelegate;
1111

12-
public void Init(IAdjustCommandExecutor adjustCommandExecutor, string baseUrl, Action<string> logDelegate = null)
12+
public void Init(IAdjustCommandExecutor adjustCommandExecutor, string baseUrl, string controlUrl, Action<string> logDelegate = null)
1313
{
1414
_logDelegate = logDelegate;
1515
Log("Initializing...");
@@ -20,7 +20,7 @@ public void Init(IAdjustCommandExecutor adjustCommandExecutor, string baseUrl, A
2020
var commandListener = new WindowsCommandListener(adjustCommandExecutor);
2121

2222
Log("Setting AdjustFactory.BaseUrl to: " + baseUrl);
23-
_testLibrary = new TestLibrary.TestLibrary(baseUrl, commandListener, localIp, _logDelegate);
23+
_testLibrary = new TestLibrary.TestLibrary(baseUrl, controlUrl, commandListener, _logDelegate);
2424
Log("Init finished.");
2525
}
2626

ext/windows/bridge/WinSdkUnityBridge/TestLibraryStub/TestLibraryInterface.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace TestLibraryInterface
44
{
55
public class TestLibraryInterface
66
{
7-
public void Init(IAdjustCommandExecutor adjustCommandExecutor, string baseUrl, Action<string> logDelegate = null)
7+
public void Init(IAdjustCommandExecutor adjustCommandExecutor, string baseUrl, string controlUrl, Action<string> logDelegate = null)
88
{
99
}
1010

0 commit comments

Comments
 (0)