inicial
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
[Serializable]
|
||||
internal class BuildSettingsMessage : Message
|
||||
{
|
||||
public BuildSettingsMessage()
|
||||
{
|
||||
type = "BuildSettings";
|
||||
}
|
||||
|
||||
public BuildSettings BuildSettings;
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b3dcba2081245eb916aee8fd3459fc8
|
||||
timeCreated: 1685970410
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
internal class EditorVersionMessage : Message
|
||||
{
|
||||
public EditorVersionMessage()
|
||||
{
|
||||
type = "EditorVersion";
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 02ef7627f46742ae83071af8bf22f1af
|
||||
timeCreated: 1685970427
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
[Serializable]
|
||||
internal abstract class Message
|
||||
{
|
||||
public string type;
|
||||
// Milliseconds since unix epoch
|
||||
public ulong time;
|
||||
public int version;
|
||||
public string phase;
|
||||
public int processId;
|
||||
|
||||
protected Message()
|
||||
{
|
||||
version = 2;
|
||||
phase = "Immediate";
|
||||
processId = Process.GetCurrentProcess().Id;
|
||||
AddTimeStamp();
|
||||
}
|
||||
|
||||
public void AddTimeStamp()
|
||||
{
|
||||
time = Convert.ToUInt64((DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalMilliseconds);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 321dc2c0720f8dd4f9396ecdc12b8746
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
[Serializable]
|
||||
internal class PlayerSettingsMessage : Message
|
||||
{
|
||||
public PlayerSettings PlayerSettings;
|
||||
public PlayerSettingsMessage()
|
||||
{
|
||||
type = "PlayerSettings";
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa5e75ed0aae4030a1720d08f7a5322e
|
||||
timeCreated: 1685970448
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
[Serializable]
|
||||
internal class PlayerSystemInfoMessage : Message
|
||||
{
|
||||
public PlayerSystemInfo PlayerSystemInfo;
|
||||
public PlayerSystemInfoMessage()
|
||||
{
|
||||
type = "PlayerSystemInfo";
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f33b8e923ff41deaa73bc2c1f90d9a1
|
||||
timeCreated: 1685970484
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
[Serializable]
|
||||
internal class QualitySettingsMessage : Message
|
||||
{
|
||||
public QualitySettings QualitySettings;
|
||||
public QualitySettingsMessage()
|
||||
{
|
||||
type = "QualitySettings";
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6cf74526594248e88be90b91eb2dbe1c
|
||||
timeCreated: 1685970506
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
internal class ScreenSettingsMessage : Message
|
||||
{
|
||||
public ScreenSettings ScreenSettings;
|
||||
|
||||
public ScreenSettingsMessage()
|
||||
{
|
||||
type = "ScreenSettings";
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3936a208997f4266b0b2d48aaca1e904
|
||||
timeCreated: 1685970523
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
internal class TestFinishedMessage : Message
|
||||
{
|
||||
public string name;
|
||||
public TestState state;
|
||||
public string message;
|
||||
public ulong duration; // milliseconds
|
||||
public ulong durationMicroseconds;
|
||||
public string stackTrace;
|
||||
public string fileName;
|
||||
public int lineNumber;
|
||||
public int iteration;
|
||||
|
||||
public TestFinishedMessage()
|
||||
{
|
||||
type = "TestStatus";
|
||||
phase = "End";
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 423fe2ef878fa1140a7e1f7f9e365815
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
internal class TestPlanMessage : Message
|
||||
{
|
||||
public List<string> tests;
|
||||
|
||||
public TestPlanMessage()
|
||||
{
|
||||
type = "TestPlan";
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28f79a0d7e64c2345bc46f8c4cf788f8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
|
||||
{
|
||||
internal class TestStartedMessage : Message
|
||||
{
|
||||
public string name;
|
||||
public TestState state;
|
||||
|
||||
public TestStartedMessage()
|
||||
{
|
||||
type = "TestStatus";
|
||||
phase = "Begin";
|
||||
state = TestState.Inconclusive;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bd3e81baa10021f4d877fa36382bab16
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user