Skip to content
Merged
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
9 changes: 0 additions & 9 deletions Assets/AssetStoreTools.meta

This file was deleted.

9 changes: 0 additions & 9 deletions Assets/AssetStoreTools/Editor.meta

This file was deleted.

Binary file removed Assets/AssetStoreTools/Editor/AssetStoreTools.dll
Binary file not shown.
22 changes: 0 additions & 22 deletions Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta

This file was deleted.

Binary file not shown.
22 changes: 0 additions & 22 deletions Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll.meta

This file was deleted.

Binary file removed Assets/AssetStoreTools/Editor/DroidSansMono.ttf
Binary file not shown.
16 changes: 0 additions & 16 deletions Assets/AssetStoreTools/Editor/DroidSansMono.ttf.meta

This file was deleted.

Binary file removed Assets/AssetStoreTools/Editor/icon.png
Binary file not shown.
53 changes: 0 additions & 53 deletions Assets/AssetStoreTools/Editor/icon.png.meta

This file was deleted.

4 changes: 2 additions & 2 deletions Assets/Editor/BuildScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ public static void BuildWindows64Development()

public static void BuildOSX64Release()
{
Build(BuildTarget.StandaloneOSXIntel64, false);
Build(BuildTargetOsx.Get(), false);
}

public static void BuildOSX64Development()
{
Build(BuildTarget.StandaloneOSXIntel64, true);
Build(BuildTargetOsx.Get(), true);
}

public static void BuildLinux32Release()
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Assets/Editor/Tests/AppFinderTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using NSubstitute;
using NUnit.Framework;
using PatchKit.Unity.Patcher;
Expand Down Expand Up @@ -45,3 +46,4 @@ public void FindLinuxApp()
Assert.AreEqual(dest, executable);
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/BaseHttpDownloaderTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using System.Net;
using NUnit.Framework;
using NSubstitute;
Expand Down Expand Up @@ -147,4 +148,5 @@ public void DownloadThrowsException_For_WebException()

Assert.Catch<ConnectionFailureException>(() => baseHttpDownloader.Download(CancellationToken.Empty));
}
}
}
#endif
2 changes: 2 additions & 0 deletions Assets/Editor/Tests/ChunkedFileStreamTest.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_2018
using System;
using System.IO;
using NUnit.Framework;
Expand Down Expand Up @@ -184,3 +185,4 @@ public void SaveInvalidSecondPass()
}
}
}
#endif
2 changes: 2 additions & 0 deletions Assets/Editor/Tests/ChunkedHttpDownloaderTest.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_2018
using System.IO;
using System.Linq;
using System.Collections;
Expand Down Expand Up @@ -231,3 +232,4 @@ public void JobQueuing_SinglePartScenario()
Assert.That(job.Range.End, Is.EqualTo(-1).Or.EqualTo(127));
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/DownloadDirectoryTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using NUnit.Framework;
using PatchKit.Unity.Patcher.AppData.Local;

Expand Down Expand Up @@ -76,4 +77,5 @@ public void Clear()

Assert.IsFalse(File.Exists(filePath));
}
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/DownloadSpeedCalculatorTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#if UNITY_2018
using System;
using NUnit.Framework;
using PatchKit.Unity.Patcher.AppUpdater.Status;

Expand All @@ -15,4 +16,5 @@ public void DownloadSpeed_For3Samples_ReturnsAverage()

Assert.AreEqual(1000.0, downloadSpeedCalculator.BytesPerSecond, 0.1, "Download speed is not correct.");
}
}
}
#endif
4 changes: 3 additions & 1 deletion Assets/Editor/Tests/GZipStreamWrapperTest.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_2018
using System;
using System.IO;
using System.Text;
Expand Down Expand Up @@ -151,4 +152,5 @@ public void Wrapped_Read_Succeeds_On_Mocked_Stream()

Assert.That(decompressed == RawData);
}
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/InstallContentCommandTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using NSubstitute;
using NUnit.Framework;
using PatchKit.Unity.Patcher.AppData.Local;
Expand Down Expand Up @@ -34,4 +35,5 @@ public void Install()

//var command = new InstallContentCommand(1, )
}
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/LocalDirectoryTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using NUnit.Framework;
using PatchKit.Unity.Patcher.AppData.Local;

Expand Down Expand Up @@ -29,4 +30,5 @@ public void PrepareForWriting_CreatesDirectory()

Assert.IsTrue(Directory.Exists(_dirPath));
}
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/LocalMetaDataTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using NUnit.Framework;
using PatchKit.Unity.Patcher.AppData.Local;

Expand Down Expand Up @@ -51,4 +52,5 @@ public void SaveValidFileSinglePass()
Assert.AreEqual(1, localMetaData2.GetEntryVersionId("a"));
Assert.AreEqual(2, localMetaData2.GetEntryVersionId("b"));
}
}
}
#endif
4 changes: 3 additions & 1 deletion Assets/Editor/Tests/MagicBytesTest.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_2018
using NUnit.Framework;
using PatchKit.Unity.Patcher.Data;

Expand Down Expand Up @@ -50,4 +51,5 @@ public void IsLinuxExecutable_ForLinuxApp_ReturnsTrue()
{
Assert.IsTrue(MagicBytes.IsLinuxExecutable(_linuxApp));
}
}
}
#endif
4 changes: 3 additions & 1 deletion Assets/Editor/Tests/MockCache.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
#if UNITY_2018
using System.Collections.Generic;
using PatchKit.Unity.Patcher.AppData.Local;

class MockCache : ICache
Expand All @@ -19,3 +20,4 @@ public string GetValue(string key, string defaultValue = null)
return defaultValue;
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/Pack1UnarchiverTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.IO;
#if UNITY_2018
using System.IO;
using System.Security.Cryptography;
using System.Text;
using NUnit.Framework;
Expand Down Expand Up @@ -61,4 +62,5 @@ private string Md5File(string path)
}
}
}
}
}
#endif
6 changes: 4 additions & 2 deletions Assets/Editor/Tests/RemoteResourceDownloaderTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#if UNITY_2018
using System;
using System.IO;
using NSubstitute;
using NUnit.Framework;
Expand Down Expand Up @@ -123,4 +124,5 @@ public void UseHttpDownloaderIfChunksAreNotAvailable()
httpDownloader.ReceivedWithAnyArgs().Download(CancellationToken.Empty);
chunkedHttpDownloader.DidNotReceiveWithAnyArgs().Download(CancellationToken.Empty);
}
}
}
#endif
Loading