diff --git a/Jump Game/Library/APIUpdater/project-dependencies.graph b/Jump Game/Library/APIUpdater/project-dependencies.graph
deleted file mode 100644
index 52fabe4..0000000
Binary files a/Jump Game/Library/APIUpdater/project-dependencies.graph and /dev/null differ
diff --git a/Jump Game/Library/AnnotationManager b/Jump Game/Library/AnnotationManager
deleted file mode 100644
index c9ecb89..0000000
Binary files a/Jump Game/Library/AnnotationManager and /dev/null differ
diff --git a/Jump Game/Library/AssetImportState b/Jump Game/Library/AssetImportState
deleted file mode 100644
index 6b75fc6..0000000
--- a/Jump Game/Library/AssetImportState
+++ /dev/null
@@ -1 +0,0 @@
-5;0;4;0;0
\ No newline at end of file
diff --git a/Jump Game/Library/BuildPlayer.prefs b/Jump Game/Library/BuildPlayer.prefs
deleted file mode 100644
index e69de29..0000000
diff --git a/Jump Game/Library/BuildSettings.asset b/Jump Game/Library/BuildSettings.asset
deleted file mode 100644
index 81ef305..0000000
Binary files a/Jump Game/Library/BuildSettings.asset and /dev/null differ
diff --git a/Jump Game/Library/CurrentLayout-default.dwlt b/Jump Game/Library/CurrentLayout-default.dwlt
deleted file mode 100644
index c98b1b1..0000000
--- a/Jump Game/Library/CurrentLayout-default.dwlt
+++ /dev/null
@@ -1,736 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!114 &1
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12004, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_PixelRect:
- serializedVersion: 2
- x: 0
- y: 43.2
- width: 1536
- height: 780.8
- m_ShowMode: 4
- m_Title:
- m_RootView: {fileID: 6}
- m_MinSize: {x: 950, y: 300}
- m_MaxSize: {x: 10000, y: 10000}
---- !u!114 &2
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children:
- - {fileID: 9}
- - {fileID: 3}
- m_Position:
- serializedVersion: 2
- x: 0
- y: 30
- width: 1536
- height: 731
- m_MinSize: {x: 683, y: 494}
- m_MaxSize: {x: 14004, y: 14044}
- vertical: 0
- controlID: 33
---- !u!114 &3
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children: []
- m_Position:
- serializedVersion: 2
- x: 1225
- y: 0
- width: 311
- height: 731
- m_MinSize: {x: 277, y: 72}
- m_MaxSize: {x: 4002, y: 4022}
- m_ActualView: {fileID: 14}
- m_Panes:
- - {fileID: 14}
- m_Selected: 0
- m_LastSelected: 0
---- !u!114 &4
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children: []
- m_Position:
- serializedVersion: 2
- x: 0
- y: 0
- width: 303
- height: 442
- m_MinSize: {x: 202, y: 222}
- m_MaxSize: {x: 4002, y: 4022}
- m_ActualView: {fileID: 15}
- m_Panes:
- - {fileID: 15}
- m_Selected: 0
- m_LastSelected: 0
---- !u!114 &5
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children: []
- m_Position:
- serializedVersion: 2
- x: 0
- y: 442
- width: 1225
- height: 289
- m_MinSize: {x: 232, y: 272}
- m_MaxSize: {x: 10002, y: 10022}
- m_ActualView: {fileID: 13}
- m_Panes:
- - {fileID: 13}
- - {fileID: 18}
- m_Selected: 0
- m_LastSelected: 0
---- !u!114 &6
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12008, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children:
- - {fileID: 7}
- - {fileID: 2}
- - {fileID: 8}
- m_Position:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1536
- height: 781
- m_MinSize: {x: 950, y: 300}
- m_MaxSize: {x: 10000, y: 10000}
---- !u!114 &7
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12011, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children: []
- m_Position:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1536
- height: 30
- m_MinSize: {x: 0, y: 0}
- m_MaxSize: {x: 0, y: 0}
- m_LastLoadedLayoutName:
---- !u!114 &8
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12042, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children: []
- m_Position:
- serializedVersion: 2
- x: 0
- y: 761
- width: 1536
- height: 20
- m_MinSize: {x: 0, y: 0}
- m_MaxSize: {x: 0, y: 0}
---- !u!114 &9
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children:
- - {fileID: 10}
- - {fileID: 5}
- m_Position:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1225
- height: 731
- m_MinSize: {x: 406, y: 494}
- m_MaxSize: {x: 10002, y: 14044}
- vertical: 1
- controlID: 34
---- !u!114 &10
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children:
- - {fileID: 4}
- - {fileID: 11}
- m_Position:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1225
- height: 442
- m_MinSize: {x: 406, y: 222}
- m_MaxSize: {x: 8006, y: 4022}
- vertical: 0
- controlID: 35
---- !u!114 &11
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_Children: []
- m_Position:
- serializedVersion: 2
- x: 303
- y: 0
- width: 922
- height: 442
- m_MinSize: {x: 204, y: 222}
- m_MaxSize: {x: 4004, y: 4022}
- m_ActualView: {fileID: 16}
- m_Panes:
- - {fileID: 16}
- - {fileID: 17}
- - {fileID: 12}
- m_Selected: 0
- m_LastSelected: 1
---- !u!114 &12
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12111, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 400, y: 100}
- m_MaxSize: {x: 2048, y: 2048}
- m_TitleContent:
- m_Text: Asset Store
- m_Image: {fileID: 357073275683767465, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 468
- y: 181
- width: 973
- height: 501
- m_ViewDataDictionary: {fileID: 0}
---- !u!114 &13
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 230, y: 250}
- m_MaxSize: {x: 10000, y: 10000}
- m_TitleContent:
- m_Text: Project
- m_Image: {fileID: -7501376956915960154, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 0
- y: 515.2
- width: 1225
- height: 270
- m_ViewDataDictionary: {fileID: 0}
- m_SearchFilter:
- m_NameFilter:
- m_ClassNames: []
- m_AssetLabels: []
- m_AssetBundleNames: []
- m_VersionControlStates: []
- m_SoftLockControlStates: []
- m_ReferencingInstanceIDs:
- m_SceneHandles:
- m_ShowAllHits: 0
- m_SkipHidden: 0
- m_SearchArea: 1
- m_Folders:
- - Assets
- m_ViewMode: 1
- m_StartGridSize: 64
- m_LastFolders:
- - Assets
- m_LastFoldersGridSize: -1
- m_LastProjectPath: C:\Users\Tomi\Documents\SAMK\Let's make a game!\Let's make a
- game-kurssi\Let's make a game!\Jump Game
- m_LockTracker:
- m_IsLocked: 0
- m_FolderTreeState:
- scrollPos: {x: 0, y: 0}
- m_SelectedIDs: c42d0000
- m_LastClickedID: 11716
- m_ExpandedIDs: 00000000c42d000000ca9a3b
- m_RenameOverlay:
- m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
- m_EditFieldRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 0
- height: 0
- m_UserData: 0
- m_IsWaitingForDelay: 0
- m_IsRenaming: 0
- m_OriginalEventType: 11
- m_IsRenamingFilename: 1
- m_ClientGUIView: {fileID: 0}
- m_SearchString:
- m_CreateAssetUtility:
- m_EndAction: {fileID: 0}
- m_InstanceID: 0
- m_Path:
- m_Icon: {fileID: 0}
- m_ResourceFile:
- m_AssetTreeState:
- scrollPos: {x: 0, y: 0}
- m_SelectedIDs:
- m_LastClickedID: 0
- m_ExpandedIDs:
- m_RenameOverlay:
- m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
- m_EditFieldRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 0
- height: 0
- m_UserData: 0
- m_IsWaitingForDelay: 0
- m_IsRenaming: 0
- m_OriginalEventType: 11
- m_IsRenamingFilename: 1
- m_ClientGUIView: {fileID: 0}
- m_SearchString:
- m_CreateAssetUtility:
- m_EndAction: {fileID: 0}
- m_InstanceID: 0
- m_Path:
- m_Icon: {fileID: 0}
- m_ResourceFile:
- m_ListAreaState:
- m_SelectedInstanceIDs:
- m_LastClickedInstanceID: 0
- m_HadKeyboardFocusLastEvent: 0
- m_ExpandedInstanceIDs: c6230000
- m_RenameOverlay:
- m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
- m_EditFieldRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 0
- height: 0
- m_UserData: 0
- m_IsWaitingForDelay: 0
- m_IsRenaming: 0
- m_OriginalEventType: 11
- m_IsRenamingFilename: 1
- m_ClientGUIView: {fileID: 0}
- m_CreateAssetUtility:
- m_EndAction: {fileID: 0}
- m_InstanceID: 0
- m_Path:
- m_Icon: {fileID: 0}
- m_ResourceFile:
- m_NewAssetIndexInList: -1
- m_ScrollPosition: {x: 0, y: 0}
- m_GridSize: 64
- m_SkipHiddenPackages: 0
- m_DirectoriesAreaWidth: 115
---- !u!114 &14
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 275, y: 50}
- m_MaxSize: {x: 4000, y: 4000}
- m_TitleContent:
- m_Text: Inspector
- m_Image: {fileID: -6905738622615590433, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 1224.8
- y: 73.6
- width: 309
- height: 712
- m_ViewDataDictionary: {fileID: 0}
- m_OpenAddComponentMenu: 0
- m_ObjectsLockedBeforeSerialization: []
- m_InstanceIDsLockedBeforeSerialization:
- m_LockTracker:
- m_IsLocked: 0
- m_PreviewResizer:
- m_CachedPref: 160
- m_ControlHash: -371814159
- m_PrefName: Preview_InspectorPreview
- m_PreviewWindow: {fileID: 0}
- m_LastInspectedObjectInstanceID: -1
- m_LastVerticalScrollValue: 0
---- !u!114 &15
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 200, y: 200}
- m_MaxSize: {x: 4000, y: 4000}
- m_TitleContent:
- m_Text: Hierarchy
- m_Image: {fileID: -590624980919486359, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 0
- y: 73.6
- width: 303
- height: 423
- m_ViewDataDictionary: {fileID: 0}
- m_SceneHierarchy:
- m_TreeViewState:
- scrollPos: {x: 0, y: 0}
- m_SelectedIDs:
- m_LastClickedID: 0
- m_ExpandedIDs: 6cfbffff
- m_RenameOverlay:
- m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
- m_EditFieldRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 0
- height: 0
- m_UserData: 0
- m_IsWaitingForDelay: 0
- m_IsRenaming: 0
- m_OriginalEventType: 11
- m_IsRenamingFilename: 0
- m_ClientGUIView: {fileID: 0}
- m_SearchString:
- m_ExpandedScenes: []
- m_CurrenRootInstanceID: 0
- m_LockTracker:
- m_IsLocked: 0
- m_CurrentSortingName: TransformSorting
- m_WindowGUID: 1ddb1fc7138cdaa429a5585c1cbd56db
---- !u!114 &16
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 200, y: 200}
- m_MaxSize: {x: 4000, y: 4000}
- m_TitleContent:
- m_Text: Scene
- m_Image: {fileID: 2318424515335265636, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 303.2
- y: 73.6
- width: 920
- height: 423
- m_ViewDataDictionary: {fileID: 0}
- m_ShowContextualTools: 0
- m_WindowGUID: ffb7c86cfaff9354fbe1bf5fb7e71be5
- m_Gizmos: 1
- m_SceneIsLit: 1
- m_SceneLighting: 1
- m_2DMode: 1
- m_isRotationLocked: 0
- m_PlayAudio: 0
- m_AudioPlay: 0
- m_Position:
- m_Target: {x: 0, y: 0, z: 0}
- speed: 2
- m_Value: {x: 0, y: 0, z: 0}
- m_RenderMode: 0
- m_CameraMode:
- drawMode: 0
- name: Shaded
- section: Shading Mode
- m_ValidateTrueMetals: 0
- m_DoValidateTrueMetals: 0
- m_SceneViewState:
- showFog: 1
- showMaterialUpdate: 0
- showSkybox: 1
- showFlares: 1
- showImageEffects: 1
- showParticleSystems: 1
- grid:
- xGrid:
- m_Target: 0
- speed: 2
- m_Value: 0
- yGrid:
- m_Target: 0
- speed: 2
- m_Value: 0
- zGrid:
- m_Target: 1
- speed: 2
- m_Value: 1
- m_Rotation:
- m_Target: {x: 0, y: 0, z: 0, w: 1}
- speed: 2
- m_Value: {x: 0, y: 0, z: 0, w: 1}
- m_Size:
- m_Target: 10
- speed: 2
- m_Value: 10
- m_Ortho:
- m_Target: 1
- speed: 2
- m_Value: 1
- m_CameraSettings:
- m_Speed: 1
- m_SpeedNormalized: 0.5
- m_SpeedMin: 0.01
- m_SpeedMax: 2
- m_EasingEnabled: 1
- m_EasingDuration: 0.4
- m_AccelerationEnabled: 1
- m_FieldOfView: 90
- m_NearClip: 0.03
- m_FarClip: 10000
- m_DynamicClip: 1
- m_OcclusionCulling: 0
- m_ShowGlobalGrid: 1
- m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
- m_LastSceneViewOrtho: 0
- m_ReplacementShader: {fileID: 0}
- m_ReplacementString:
- m_SceneVisActive: 1
- m_LastLockedObject: {fileID: 0}
- m_ViewIsLockedToObject: 0
---- !u!114 &17
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 200, y: 200}
- m_MaxSize: {x: 4000, y: 4000}
- m_TitleContent:
- m_Text: Game
- m_Image: {fileID: -2087823869225018852, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 303.2
- y: 73.6
- width: 920
- height: 423
- m_ViewDataDictionary: {fileID: 0}
- m_VSyncEnabled: 0
- m_MaximizeOnPlay: 0
- m_Gizmos: 0
- m_Stats: 0
- m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
- m_TargetDisplay: 0
- m_ZoomArea:
- m_HRangeLocked: 0
- m_VRangeLocked: 0
- hZoomLockedByDefault: 0
- vZoomLockedByDefault: 0
- m_HBaseRangeMin: -368
- m_HBaseRangeMax: 368
- m_VBaseRangeMin: -162.40001
- m_VBaseRangeMax: 162.40001
- m_HAllowExceedBaseRangeMin: 1
- m_HAllowExceedBaseRangeMax: 1
- m_VAllowExceedBaseRangeMin: 1
- m_VAllowExceedBaseRangeMax: 1
- m_ScaleWithWindow: 0
- m_HSlider: 0
- m_VSlider: 0
- m_IgnoreScrollWheelUntilClicked: 0
- m_EnableMouseInput: 0
- m_EnableSliderZoomHorizontal: 0
- m_EnableSliderZoomVertical: 0
- m_UniformScale: 1
- m_UpDirection: 1
- m_DrawArea:
- serializedVersion: 2
- x: 0
- y: 17
- width: 920
- height: 406
- m_Scale: {x: 1, y: 1}
- m_Translation: {x: 460, y: 203}
- m_MarginLeft: 0
- m_MarginRight: 0
- m_MarginTop: 0
- m_MarginBottom: 0
- m_LastShownAreaInsideMargins:
- serializedVersion: 2
- x: -460
- y: -203
- width: 920
- height: 406
- m_MinimalGUI: 1
- m_defaultScale: 1
- m_TargetTexture: {fileID: 0}
- m_CurrentColorSpace: 0
- m_LastWindowPixelSize: {x: 1150, y: 528.75}
- m_ClearInEditMode: 1
- m_NoCameraWarning: 1
- m_LowResolutionForAspectRatios: 01000000000000000000
- m_XRRenderMode: 0
---- !u!114 &18
-MonoBehaviour:
- m_ObjectHideFlags: 52
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 1
- m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_MinSize: {x: 100, y: 100}
- m_MaxSize: {x: 4000, y: 4000}
- m_TitleContent:
- m_Text: Console
- m_Image: {fileID: 111653112392082826, guid: 0000000000000000d000000000000000,
- type: 0}
- m_Tooltip:
- m_Pos:
- serializedVersion: 2
- x: 8
- y: 718
- width: 1366
- height: 308
- m_ViewDataDictionary: {fileID: 0}
diff --git a/Jump Game/Library/EditorOnlyScriptingUserSettings.json b/Jump Game/Library/EditorOnlyScriptingUserSettings.json
deleted file mode 100644
index 278d630..0000000
--- a/Jump Game/Library/EditorOnlyScriptingUserSettings.json
+++ /dev/null
@@ -1 +0,0 @@
-{"m_ScriptingRuntimeVersion":1,"m_DefineSymbols":[],"m_AllowUnsafeCode":false}
\ No newline at end of file
diff --git a/Jump Game/Library/EditorUserBuildSettings.asset b/Jump Game/Library/EditorUserBuildSettings.asset
deleted file mode 100644
index cef6f3a..0000000
Binary files a/Jump Game/Library/EditorUserBuildSettings.asset and /dev/null differ
diff --git a/Jump Game/Library/EditorUserSettings.asset b/Jump Game/Library/EditorUserSettings.asset
deleted file mode 100644
index a66c287..0000000
--- a/Jump Game/Library/EditorUserSettings.asset
+++ /dev/null
@@ -1,21 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!162 &1
-EditorUserSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 4
- m_ConfigSettings:
- vcSharedLogLevel:
- value: 0d5e400f0650
- flags: 0
- m_VCAutomaticAdd: 1
- m_VCDebugCom: 0
- m_VCDebugCmd: 0
- m_VCDebugOut: 0
- m_SemanticMergeMode: 2
- m_VCShowFailedCheckout: 1
- m_VCOverwriteFailedCheckoutAssets: 1
- m_VCAllowAsyncUpdate: 0
- m_AssetPipelineMode: 0
- m_CacheServerMode: 0
- m_CacheServers: []
diff --git a/Jump Game/Library/InspectorExpandedItems.asset b/Jump Game/Library/InspectorExpandedItems.asset
deleted file mode 100644
index 1fde53b..0000000
Binary files a/Jump Game/Library/InspectorExpandedItems.asset and /dev/null differ
diff --git a/Jump Game/Library/LastSceneManagerSetup.txt b/Jump Game/Library/LastSceneManagerSetup.txt
deleted file mode 100644
index 6a5704f..0000000
--- a/Jump Game/Library/LastSceneManagerSetup.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-sceneSetups:
-- path: Assets/Scenes/SampleScene.unity
- isLoaded: 1
- isActive: 1
- isSubScene: 0
diff --git a/Jump Game/Library/LibraryFormatVersion.txt b/Jump Game/Library/LibraryFormatVersion.txt
deleted file mode 100644
index 6185f09..0000000
--- a/Jump Game/Library/LibraryFormatVersion.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-unityRebuildLibraryVersion: 11
-unityForwardCompatibleVersion: 40
diff --git a/Jump Game/Library/MonoManager.asset b/Jump Game/Library/MonoManager.asset
deleted file mode 100644
index 55d4ba3..0000000
Binary files a/Jump Game/Library/MonoManager.asset and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/.npmignore b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/.npmignore
deleted file mode 100644
index 1586aea..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/.npmignore
+++ /dev/null
@@ -1,6 +0,0 @@
-
-automation/**
-utr_output/**
-.Editor/**
-.yamato/**
-*.zip*
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/CHANGELOG.md b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/CHANGELOG.md
deleted file mode 100644
index 3c6c85d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/CHANGELOG.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Changelog
-All notable changes to this package will be documented in this file.
-
-The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
-
-## [1.2.16] - 2019-02-11
-Update stylesheet to pass USS validation
-
-## [1.2.15] - 2018-11-16
-Added support for non-experimental UIElements.
-
-## [1.2.11] - 2018-09-04
-Made some performance improvements to reduce impact on ReloadAssemblies.
-
-## [1.2.9] - 2018-08-13
-Test issues for the Collab History Window are now fixed.
-
-## [1.2.7] - 2018-08-07
-Toolbar drop-down will no longer show up when package is uninstalled.
-
-## [1.2.6] - 2018-06-15
-Fixed an issue where Collab's History window wouldn't load properly.
-
-## [1.2.5] - 2018-05-21
-This is the first release of *Unity Package CollabProxy*.
-
-### Added
-- Collab history and toolbar windows
-- Collab view and presenter classes
-- Collab Editor tests for view and presenter
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/CHANGELOG.md.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/CHANGELOG.md.meta
deleted file mode 100644
index 38274a6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/CHANGELOG.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 782c49e6e68074dc7ba12c95537825ce
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/DEPENDENCIES.md b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/DEPENDENCIES.md
deleted file mode 100644
index 57808d5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/DEPENDENCIES.md
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Unity.CollabProxy.Dependencies
- 1.1.0-experimental
- Rohit Garg
- Dependencies for the CollabProxy package
-
-
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/DEPENDENCIES.md.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/DEPENDENCIES.md.meta
deleted file mode 100644
index 24e45c2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/DEPENDENCIES.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 470530e667ad4475786b28fa3187ce95
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Documentation~/collab-proxy.md b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Documentation~/collab-proxy.md
deleted file mode 100644
index c1800d6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Documentation~/collab-proxy.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# About Unity Collaborate
-
-Collaborate is a simple way for teams to save, share, and sync their Unity project.
-
-Please refer to the online documentation [here.](https://docs.unity3d.com/Manual/UnityCollaborate.html)
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor.meta
deleted file mode 100644
index b54ca87..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d31e5d760880a4e52a3a75322481d0d2
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/AssemblyInfo.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/AssemblyInfo.cs
deleted file mode 100644
index d7266b6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/AssemblyInfo.cs
+++ /dev/null
@@ -1,4 +0,0 @@
-using System.Runtime.CompilerServices;
-using UnityEngine;
-
-[assembly: InternalsVisibleTo("Unity.CollabProxy.EditorTests")]
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/AssemblyInfo.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/AssemblyInfo.cs.meta
deleted file mode 100644
index e384b31..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/AssemblyInfo.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d4ef26aa386b44923b61c9c4b505a67c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab.meta
deleted file mode 100644
index 694fc4e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c18cb9388313e4287ad5895ee735c47d
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Bootstrap.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Bootstrap.cs
deleted file mode 100644
index 029ce1c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Bootstrap.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using UnityEditor;
-using UnityEditor.Collaboration;
-using UnityEngine;
-
-namespace CollabProxy.UI
-{
- [InitializeOnLoad]
- public class Bootstrap
- {
- private const float kCollabToolbarButtonWidth = 78.0f;
-
- static Bootstrap()
- {
- Collab.ShowHistoryWindow = CollabHistoryWindow.ShowHistoryWindow;
- Collab.ShowToolbarAtPosition = CollabToolbarWindow.ShowCenteredAtPosition;
- Collab.IsToolbarVisible = CollabToolbarWindow.IsVisible;
- Collab.CloseToolbar = CollabToolbarWindow.CloseToolbar;
- Toolbar.AddSubToolbar(new CollabToolbarButton
- {
- Width = kCollabToolbarButtonWidth
- });
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Bootstrap.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Bootstrap.cs.meta
deleted file mode 100644
index 641d54b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Bootstrap.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8aa8171e088f94069bbd1978a053f7dd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabAnalytics.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabAnalytics.cs
deleted file mode 100644
index c7f90aa..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabAnalytics.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System;
-
-namespace UnityEditor.Collaboration
-{
- internal static class CollabAnalytics
- {
- [Serializable]
- private struct CollabUserActionAnalyticsEvent
- {
- public string category;
- public string action;
- }
-
- public static void SendUserAction(string category, string action)
- {
- EditorAnalytics.SendCollabUserAction(new CollabUserActionAnalyticsEvent() { category = category, action = action });
- }
-
- public static readonly string historyCategoryString = "History";
- };
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabAnalytics.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabAnalytics.cs.meta
deleted file mode 100644
index 2f46e9b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabAnalytics.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f944311c8fff2479fa3ba741f6039fc8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabHistoryWindow.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabHistoryWindow.cs
deleted file mode 100644
index b855bce..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabHistoryWindow.cs
+++ /dev/null
@@ -1,330 +0,0 @@
-using System;
-using System.Linq;
-using System.Collections.Generic;
-using UnityEditor.Collaboration;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEditor.UIElements;
-using UnityEngine.UIElements;
-#else
-using UnityEditor.Experimental.UIElements;
-using UnityEngine.Experimental.UIElements;
-using UnityEngine.Experimental.UIElements.StyleEnums;
-#endif
-
-using UnityEngine;
-using UnityEditor.Connect;
-
-namespace UnityEditor
-{
- internal class CollabHistoryWindow : EditorWindow, ICollabHistoryWindow
- {
-#if UNITY_2019_1_OR_NEWER
- private const string ResourcesPath = "Packages/com.unity.collab-proxy/Editor/Resources/Styles/";
-#else
- private const string ResourcesPath = "StyleSheets/";
-#endif
-
-
- const string kWindowTitle = "Collab History";
- const string kServiceUrl = "developer.cloud.unity3d.com";
-
- [MenuItem("Window/Asset Management/Collab History", false, 1)]
- public static void ShowHistoryWindow()
- {
- EditorWindow.GetWindow(kWindowTitle);
- }
-
- [MenuItem("Window/Asset Management/Collab History", true)]
- public static bool ValidateShowHistoryWindow()
- {
- return Collab.instance.IsCollabEnabledForCurrentProject();
- }
-
- CollabHistoryPresenter m_Presenter;
- Dictionary m_Views;
- List m_HistoryItems = new List();
- HistoryState m_State;
- VisualElement m_Container;
- PagedListView m_Pager;
- ScrollView m_HistoryView;
- int m_ItemsPerPage = 5;
- string m_InProgressRev;
- bool m_RevisionActionsEnabled;
-
- public CollabHistoryWindow()
- {
- minSize = new Vector2(275, 50);
- }
-
- public void OnEnable()
- {
- SetupGUI();
- name = "CollabHistory";
-
- if (m_Presenter == null)
- {
- m_Presenter = new CollabHistoryPresenter(this, new CollabHistoryItemFactory(), new RevisionsService(Collab.instance, UnityConnect.instance));
- }
- m_Presenter.OnWindowEnabled();
- }
-
- public void OnDisable()
- {
- m_Presenter.OnWindowDisabled();
- }
-
- public bool revisionActionsEnabled
- {
- get { return m_RevisionActionsEnabled; }
- set
- {
- if (m_RevisionActionsEnabled == value)
- return;
-
- m_RevisionActionsEnabled = value;
- foreach (var historyItem in m_HistoryItems)
- {
- historyItem.RevisionActionsEnabled = value;
- }
- }
- }
-
- private void AddStyleSheetPath(VisualElement root, string path)
- {
-#if UNITY_2019_1_OR_NEWER
- root.styleSheets.Add(EditorGUIUtility.Load(path) as StyleSheet);
-#else
- root.AddStyleSheetPath(path);
-#endif
- }
-
-
- public void SetupGUI()
- {
-#if UNITY_2019_1_OR_NEWER
- var root = this.rootVisualElement;
-#else
- var root = this.GetRootVisualContainer();
-#endif
- AddStyleSheetPath(root, ResourcesPath + "CollabHistoryCommon.uss");
- if (EditorGUIUtility.isProSkin)
- {
- AddStyleSheetPath(root, ResourcesPath + "CollabHistoryDark.uss");
- }
- else
- {
- AddStyleSheetPath(root, ResourcesPath + "CollabHistoryLight.uss");
- }
-
- m_Container = new VisualElement();
- m_Container.StretchToParentSize();
- root.Add(m_Container);
-
- m_Pager = new PagedListView()
- {
- name = "PagedElement",
- pageSize = m_ItemsPerPage
- };
-
- var errorView = new StatusView()
- {
- message = "An Error Occurred",
- icon = EditorGUIUtility.LoadIconRequired("Collab.Warning") as Texture,
- };
-
- var noInternetView = new StatusView()
- {
- message = "No Internet Connection",
- icon = EditorGUIUtility.LoadIconRequired("Collab.NoInternet") as Texture,
- };
-
- var maintenanceView = new StatusView()
- {
- message = "Maintenance",
- };
-
- var loginView = new StatusView()
- {
- message = "Sign in to access Collaborate",
- buttonText = "Sign in...",
- callback = SignInClick,
- };
-
- var noSeatView = new StatusView()
- {
- message = "Ask your project owner for access to Unity Teams",
- buttonText = "Learn More",
- callback = NoSeatClick,
- };
-
- var waitingView = new StatusView()
- {
- message = "Updating...",
- };
-
- m_HistoryView = new ScrollView() { name = "HistoryContainer", showHorizontal = false};
- m_HistoryView.contentContainer.StretchToParentWidth();
- m_HistoryView.Add(m_Pager);
-
- m_Views = new Dictionary()
- {
- {HistoryState.Error, errorView},
- {HistoryState.Offline, noInternetView},
- {HistoryState.Maintenance, maintenanceView},
- {HistoryState.LoggedOut, loginView},
- {HistoryState.NoSeat, noSeatView},
- {HistoryState.Waiting, waitingView},
- {HistoryState.Ready, m_HistoryView}
- };
- }
-
- public void UpdateState(HistoryState state, bool force)
- {
- if (state == m_State && !force)
- return;
-
- m_State = state;
- switch (state)
- {
- case HistoryState.Ready:
- UpdateHistoryView(m_Pager);
- break;
- case HistoryState.Disabled:
- Close();
- return;
- }
-
- m_Container.Clear();
- m_Container.Add(m_Views[m_State]);
- }
-
- public void UpdateRevisions(IEnumerable datas, string tip, int totalRevisions, int currentPage)
- {
- var elements = new List();
- var isFullDateObtained = false; // Has everything from this date been obtained?
- m_HistoryItems.Clear();
-
- if (datas != null)
- {
- DateTime currentDate = DateTime.MinValue;
- foreach (var data in datas)
- {
- if (data.timeStamp.Date != currentDate.Date)
- {
- elements.Add(new CollabHistoryRevisionLine(data.timeStamp, isFullDateObtained));
- currentDate = data.timeStamp;
- }
-
- var item = new CollabHistoryItem(data);
- m_HistoryItems.Add(item);
-
- var container = new VisualElement();
- container.style.flexDirection = FlexDirection.Row;
- if (data.current)
- {
- isFullDateObtained = true;
- container.AddToClassList("currentRevision");
- container.AddToClassList("obtainedRevision");
- }
- else if (data.obtained)
- {
- container.AddToClassList("obtainedRevision");
- }
- else
- {
- container.AddToClassList("absentRevision");
- }
- // If we use the index as-is, the latest commit will become #1, but we want it to be last
- container.Add(new CollabHistoryRevisionLine(data.index));
- container.Add(item);
- elements.Add(container);
- }
- }
-
- m_HistoryView.scrollOffset = new Vector2(0, 0);
- m_Pager.totalItems = totalRevisions;
- m_Pager.curPage = currentPage;
- m_Pager.items = elements;
- }
-
- public string inProgressRevision
- {
- get { return m_InProgressRev; }
- set
- {
- m_InProgressRev = value;
- foreach (var historyItem in m_HistoryItems)
- {
- historyItem.SetInProgressStatus(value);
- }
- }
- }
-
- public int itemsPerPage
- {
- set
- {
- if (m_ItemsPerPage == value)
- return;
- m_Pager.pageSize = m_ItemsPerPage;
- }
- }
-
- public PageChangeAction OnPageChangeAction
- {
- set { m_Pager.OnPageChanged = value; }
- }
-
- public RevisionAction OnGoBackAction
- {
- set { CollabHistoryItem.s_OnGoBack = value; }
- }
-
- public RevisionAction OnUpdateAction
- {
- set { CollabHistoryItem.s_OnUpdate = value; }
- }
-
- public RevisionAction OnRestoreAction
- {
- set { CollabHistoryItem.s_OnRestore = value; }
- }
-
- public ShowBuildAction OnShowBuildAction
- {
- set { CollabHistoryItem.s_OnShowBuild = value; }
- }
-
- public Action OnShowServicesAction
- {
- set { CollabHistoryItem.s_OnShowServices = value; }
- }
-
- void UpdateHistoryView(VisualElement history)
- {
- }
-
- void NoSeatClick()
- {
- var connection = UnityConnect.instance;
- var env = connection.GetEnvironment();
- // Map environment to url - prod is special
- if (env == "production")
- env = "";
- else
- env += "-";
-
- var url = "https://" + env + kServiceUrl
- + "/orgs/" + connection.GetOrganizationId()
- + "/projects/" + connection.GetProjectName()
- + "/unity-teams/";
- Application.OpenURL(url);
- }
-
- void SignInClick()
- {
- UnityConnect.instance.ShowLogin();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabHistoryWindow.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabHistoryWindow.cs.meta
deleted file mode 100644
index 74358d4..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabHistoryWindow.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fed9dda667cab45d398d06402bba03f4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarButton.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarButton.cs
deleted file mode 100644
index eebe4ac..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarButton.cs
+++ /dev/null
@@ -1,297 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Collaboration;
-using UnityEditor.Connect;
-using UnityEditor.Web;
-using UnityEngine;
-
-namespace UnityEditor
-{
- internal class CollabToolbarButton : SubToolbar, IDisposable
- {
- // Must match s_CollabIcon array
- enum CollabToolbarState
- {
- NeedToEnableCollab,
- UpToDate,
- Conflict,
- OperationError,
- ServerHasChanges,
- FilesToPush,
- InProgress,
- Disabled,
- Offline
- }
-
- private class CollabToolbarContent
- {
- readonly string m_iconName;
- readonly string m_toolTip;
- readonly CollabToolbarState m_state;
-
- static Dictionary m_CollabIcons;
-
- public CollabToolbarState RegisteredForState
- {
- get { return m_state; }
- }
-
- public GUIContent GuiContent
- {
- get
- {
- if (m_CollabIcons == null)
- {
- m_CollabIcons = new Dictionary();
- }
-
- if (!m_CollabIcons.ContainsKey(this))
- {
- m_CollabIcons.Add(this, EditorGUIUtility.TrTextContentWithIcon("Collab", m_toolTip, m_iconName));
- }
-
- return m_CollabIcons[this];
- }
- }
-
- public CollabToolbarContent(CollabToolbarState state, string iconName, string toolTip)
- {
- m_state = state;
- m_iconName = iconName;
- m_toolTip = toolTip;
- }
- }
-
- CollabToolbarContent[] m_toolbarContents;
- CollabToolbarState m_CollabToolbarState = CollabToolbarState.UpToDate;
- const float kCollabButtonWidth = 78.0f;
- ButtonWithAnimatedIconRotation m_CollabButton;
- string m_DynamicTooltip;
- static bool m_ShowCollabTooltip = false;
-
- private GUIContent currentCollabContent
- {
- get
- {
- CollabToolbarContent toolbarContent =
- m_toolbarContents.FirstOrDefault(c => c.RegisteredForState.Equals(m_CollabToolbarState));
- GUIContent content = new GUIContent(toolbarContent == null? m_toolbarContents.First().GuiContent : toolbarContent.GuiContent);
- if (!m_ShowCollabTooltip)
- {
- content.tooltip = null;
- }
- else if (m_DynamicTooltip != "")
- {
- content.tooltip = m_DynamicTooltip;
- }
-
- if (Collab.instance.AreTestsRunning())
- {
- content.text = "CTF";
- }
-
- return content;
- }
- }
-
- public CollabToolbarButton()
- {
- m_toolbarContents = new[]
- {
- new CollabToolbarContent(CollabToolbarState.NeedToEnableCollab, "CollabNew", " You need to enable collab."),
- new CollabToolbarContent(CollabToolbarState.UpToDate, "Collab", " You are up to date."),
- new CollabToolbarContent(CollabToolbarState.Conflict, "CollabConflict", " Please fix your conflicts prior to publishing."),
- new CollabToolbarContent(CollabToolbarState.OperationError, "CollabError", " Last operation failed. Please retry later."),
- new CollabToolbarContent(CollabToolbarState.ServerHasChanges, "CollabPull", " Please update, there are server changes."),
- new CollabToolbarContent(CollabToolbarState.FilesToPush, "CollabPush", " You have files to publish."),
- new CollabToolbarContent(CollabToolbarState.InProgress, "CollabProgress", " Operation in progress."),
- new CollabToolbarContent(CollabToolbarState.Disabled, "CollabNew", " Collab is disabled."),
- new CollabToolbarContent(CollabToolbarState.Offline, "CollabNew", " Please check your network connection.")
- };
-
- Collab.instance.StateChanged += OnCollabStateChanged;
- UnityConnect.instance.StateChanged += OnUnityConnectStateChanged;
- UnityConnect.instance.UserStateChanged += OnUnityConnectUserStateChanged;
- }
-
- void OnUnityConnectUserStateChanged(UserInfo state)
- {
- UpdateCollabToolbarState();
- }
-
- void OnUnityConnectStateChanged(ConnectInfo state)
- {
- UpdateCollabToolbarState();
- }
-
- public override void OnGUI(Rect rect)
- {
- DoCollabDropDown(rect);
- }
-
- Rect GUIToScreenRect(Rect guiRect)
- {
- Vector2 screenPoint = GUIUtility.GUIToScreenPoint(new Vector2(guiRect.x, guiRect.y));
- guiRect.x = screenPoint.x;
- guiRect.y = screenPoint.y;
- return guiRect;
- }
-
- void ShowPopup(Rect rect)
- {
- // window should be centered on the button
- ReserveRight(kCollabButtonWidth / 2, ref rect);
- ReserveBottom(5, ref rect);
- // calculate screen rect before saving assets since it might open the AssetSaveDialog window
- var screenRect = GUIToScreenRect(rect);
- // save all the assets
- AssetDatabase.SaveAssets();
- if (Collab.ShowToolbarAtPosition != null && Collab.ShowToolbarAtPosition(screenRect))
- {
- GUIUtility.ExitGUI();
- }
- }
-
- void DoCollabDropDown(Rect rect)
- {
- UpdateCollabToolbarState();
- GUIStyle collabButtonStyle = "OffsetDropDown";
- bool showPopup = Toolbar.requestShowCollabToolbar;
- Toolbar.requestShowCollabToolbar = false;
-
- bool enable = !EditorApplication.isPlaying;
-
- using (new EditorGUI.DisabledScope(!enable))
- {
- bool animate = m_CollabToolbarState == CollabToolbarState.InProgress;
-
- EditorGUIUtility.SetIconSize(new Vector2(12, 12));
- if (GetCollabButton().OnGUI(rect, currentCollabContent, animate, collabButtonStyle))
- {
- showPopup = true;
- }
- EditorGUIUtility.SetIconSize(Vector2.zero);
- }
-
- if (m_CollabToolbarState == CollabToolbarState.Disabled)
- return;
-
- if (showPopup)
- {
- ShowPopup(rect);
- }
- }
-
- public void OnCollabStateChanged(CollabInfo info)
- {
- UpdateCollabToolbarState();
- }
-
- public void UpdateCollabToolbarState()
- {
- var currentCollabState = CollabToolbarState.UpToDate;
- bool networkAvailable = UnityConnect.instance.connectInfo.online && UnityConnect.instance.connectInfo.loggedIn;
- m_DynamicTooltip = "";
-
- if (UnityConnect.instance.isDisableCollabWindow)
- {
- currentCollabState = CollabToolbarState.Disabled;
- }
- else if (networkAvailable)
- {
- Collab collab = Collab.instance;
- CollabInfo currentInfo = collab.collabInfo;
- UnityErrorInfo errInfo;
- bool error = false;
- if (collab.GetError((UnityConnect.UnityErrorFilter.ByContext | UnityConnect.UnityErrorFilter.ByChild), out errInfo))
- {
- error = (errInfo.priority <= (int)UnityConnect.UnityErrorPriority.Error);
- m_DynamicTooltip = errInfo.shortMsg;
- }
-
- if (!currentInfo.ready)
- {
- currentCollabState = CollabToolbarState.InProgress;
- }
- else if (error)
- {
- currentCollabState = CollabToolbarState.OperationError;
- }
- else if (currentInfo.inProgress)
- {
- currentCollabState = CollabToolbarState.InProgress;
- }
- else
- {
- bool collabEnable = Collab.instance.IsCollabEnabledForCurrentProject();
-
- if (UnityConnect.instance.projectInfo.projectBound == false || !collabEnable)
- {
- currentCollabState = CollabToolbarState.NeedToEnableCollab;
- }
- else if (currentInfo.update)
- {
- currentCollabState = CollabToolbarState.ServerHasChanges;
- }
- else if (currentInfo.conflict)
- {
- currentCollabState = CollabToolbarState.Conflict;
- }
- else if (currentInfo.publish)
- {
- currentCollabState = CollabToolbarState.FilesToPush;
- }
- }
- }
- else
- {
- currentCollabState = CollabToolbarState.Offline;
- }
-
- if (Collab.IsToolbarVisible != null)
- {
- if (currentCollabState != m_CollabToolbarState ||
- Collab.IsToolbarVisible() == m_ShowCollabTooltip)
- {
- m_CollabToolbarState = currentCollabState;
- m_ShowCollabTooltip = !Collab.IsToolbarVisible();
- Toolbar.RepaintToolbar();
- }
- }
- }
-
- void ReserveRight(float width, ref Rect pos)
- {
- pos.x += width;
- }
-
- void ReserveBottom(float height, ref Rect pos)
- {
- pos.y += height;
- }
-
- ButtonWithAnimatedIconRotation GetCollabButton()
- {
- if (m_CollabButton == null)
- {
- const int repaintsPerSecond = 20;
- const float animSpeed = 500f;
- const bool mouseDownButton = true;
- m_CollabButton = new ButtonWithAnimatedIconRotation(() => (float)EditorApplication.timeSinceStartup * animSpeed, Toolbar.RepaintToolbar, repaintsPerSecond, mouseDownButton);
- }
-
- return m_CollabButton;
- }
-
- public void Dispose()
- {
- Collab.instance.StateChanged -= OnCollabStateChanged;
- UnityConnect.instance.StateChanged -= OnUnityConnectStateChanged;
- UnityConnect.instance.UserStateChanged -= OnUnityConnectUserStateChanged;
-
- if (m_CollabButton != null)
- m_CollabButton.Clear();
- }
- }
-} // namespace
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarButton.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarButton.cs.meta
deleted file mode 100644
index 949d8db..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarButton.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 882f1a4147a284f028899b9c018e63eb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarWindow.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarWindow.cs
deleted file mode 100644
index 2793875..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarWindow.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using UnityEngine;
-using UnityEditor.Collaboration;
-using UnityEditor.Web;
-using UnityEditor.Connect;
-
-namespace UnityEditor
-{
- [InitializeOnLoad]
- internal class WebViewStatic : ScriptableSingleton
- {
- [SerializeField]
- WebView m_WebView;
-
- static public WebView GetWebView()
- {
- return instance.m_WebView;
- }
-
- static public void SetWebView(WebView webView)
- {
- instance.m_WebView = webView;
- }
- }
-
- [InitializeOnLoad]
- internal class CollabToolbarWindow : WebViewEditorStaticWindow, IHasCustomMenu
- {
- internal override WebView webView
- {
- get {return WebViewStatic.GetWebView(); }
- set {WebViewStatic.SetWebView(value); }
- }
-
- private const string kWindowName = "Unity Collab Toolbar";
-
- private static long s_LastClosedTime;
- private static CollabToolbarWindow s_CollabToolbarWindow;
-
- public static bool s_ToolbarIsVisible = false;
-
- const int kWindowWidth = 320;
- const int kWindowHeight = 350;
-
- public static void CloseToolbar()
- {
- foreach (CollabToolbarWindow window in Resources.FindObjectsOfTypeAll())
- window.Close();
- }
-
- [MenuItem("Window/Asset Management/Collab Toolbar", false /*IsValidateFunction*/, 2, true /* IsInternalMenu */)]
- public static CollabToolbarWindow ShowToolbarWindow()
- {
- //Create a new window if it does not exist
- if (s_CollabToolbarWindow == null)
- {
- s_CollabToolbarWindow = GetWindow(false, kWindowName) as CollabToolbarWindow;
- }
-
- return s_CollabToolbarWindow;
- }
-
- [MenuItem("Window/Asset Management/Collab Toolbar", true /*IsValidateFunction*/)]
- public static bool ValidateShowToolbarWindow()
- {
- return true;
- }
-
- public static bool IsVisible()
- {
- return s_ToolbarIsVisible;
- }
-
- public static bool ShowCenteredAtPosition(Rect buttonRect)
- {
- buttonRect.x -= kWindowWidth / 2;
- // We could not use realtimeSinceStartUp since it is set to 0 when entering/exitting playmode, we assume an increasing time when comparing time.
- long nowMilliSeconds = System.DateTime.Now.Ticks / System.TimeSpan.TicksPerMillisecond;
- bool justClosed = nowMilliSeconds < s_LastClosedTime + 50;
- if (!justClosed)
- {
- // Method may have been triggered programmatically, without a user event to consume.
- if (Event.current.type != EventType.Layout)
- {
- Event.current.Use();
- }
- if (s_CollabToolbarWindow == null)
- s_CollabToolbarWindow = CreateInstance() as CollabToolbarWindow;
- var windowSize = new Vector2(kWindowWidth, kWindowHeight);
- s_CollabToolbarWindow.initialOpenUrl = "file:///" + EditorApplication.userJavascriptPackagesPath + "unityeditor-collab-toolbar/dist/index.html";
- s_CollabToolbarWindow.Init();
- s_CollabToolbarWindow.ShowAsDropDown(buttonRect, windowSize);
- s_CollabToolbarWindow.OnFocus();
- return true;
- }
- return false;
- }
-
- // Receives HTML title
- public void OnReceiveTitle(string title)
- {
- titleContent.text = title;
- }
-
- public new void OnInitScripting()
- {
- base.OnInitScripting();
- }
-
- public override void OnEnable()
- {
- minSize = new Vector2(kWindowWidth, kWindowHeight);
- maxSize = new Vector2(kWindowWidth, kWindowHeight);
- initialOpenUrl = "file:///" + EditorApplication.userJavascriptPackagesPath + "unityeditor-collab-toolbar/dist/index.html";
- base.OnEnable();
- s_ToolbarIsVisible = true;
- }
-
- internal new void OnDisable()
- {
- s_LastClosedTime = System.DateTime.Now.Ticks / System.TimeSpan.TicksPerMillisecond;
- if (s_CollabToolbarWindow)
- {
- s_ToolbarIsVisible = false;
- NotifyVisibility(s_ToolbarIsVisible);
- }
- s_CollabToolbarWindow = null;
-
- base.OnDisable();
- }
-
- public new void OnDestroy()
- {
- OnLostFocus();
- base.OnDestroy();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarWindow.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarWindow.cs.meta
deleted file mode 100644
index b08bf2a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/CollabToolbarWindow.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6f516f1ec21a54a59a92bf99db2d9535
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters.meta
deleted file mode 100644
index 9133153..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d437fe60bb34f45728664a5d930c1635
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs
deleted file mode 100644
index 91d500b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs
+++ /dev/null
@@ -1,228 +0,0 @@
-using System.Collections.Generic;
-using UnityEditor.Connect;
-using UnityEditor.Web;
-
-namespace UnityEditor.Collaboration
-{
- internal class CollabHistoryPresenter
- {
- public const int ItemsPerPage = 5;
- ICollabHistoryWindow m_Window;
- ICollabHistoryItemFactory m_Factory;
- IRevisionsService m_Service;
- ConnectInfo m_ConnectState;
- CollabInfo m_CollabState;
- bool m_IsCollabError;
- int m_TotalRevisions;
- int m_CurrentPage;
- int m_RequestedPage;
- bool m_FetchInProgress;
-
- BuildAccess m_BuildAccess;
- string m_ProgressRevision;
- public bool BuildServiceEnabled {get; set; }
-
- public CollabHistoryPresenter(ICollabHistoryWindow window, ICollabHistoryItemFactory factory, IRevisionsService service)
- {
- m_Window = window;
- m_Factory = factory;
- m_Service = service;
- m_CurrentPage = 0;
- m_BuildAccess = new BuildAccess();
- m_Service.FetchRevisionsCallback += OnFetchRevisions;
- }
-
- public void OnWindowEnabled()
- {
- UnityConnect.instance.StateChanged += OnConnectStateChanged;
- Collab.instance.StateChanged += OnCollabStateChanged;
- Collab.instance.RevisionUpdated += OnCollabRevisionUpdated;
- Collab.instance.JobsCompleted += OnCollabJobsCompleted;
- Collab.instance.ErrorOccurred += OnCollabError;
- Collab.instance.ErrorCleared += OnCollabErrorCleared;
- EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
- m_ConnectState = UnityConnect.instance.GetConnectInfo();
- m_CollabState = Collab.instance.GetCollabInfo();
-
- m_Window.revisionActionsEnabled = !EditorApplication.isPlayingOrWillChangePlaymode;
-
- // Setup window callbacks
- m_Window.OnPageChangeAction = OnUpdatePage;
- m_Window.OnUpdateAction = OnUpdate;
- m_Window.OnRestoreAction = OnRestore;
- m_Window.OnGoBackAction = OnGoBack;
- m_Window.OnShowBuildAction = ShowBuildForCommit;
- m_Window.OnShowServicesAction = ShowServicePage;
- m_Window.itemsPerPage = ItemsPerPage;
-
- // Initialize data
- UpdateBuildServiceStatus();
- var state = RecalculateState();
- // Only try to load the page if we're ready
- if (state == HistoryState.Ready)
- OnUpdatePage(m_CurrentPage);
- m_Window.UpdateState(state, true);
- }
-
- public void OnWindowDisabled()
- {
- UnityConnect.instance.StateChanged -= OnConnectStateChanged;
- Collab.instance.StateChanged -= OnCollabStateChanged;
- Collab.instance.RevisionUpdated -= OnCollabRevisionUpdated;
- Collab.instance.JobsCompleted -= OnCollabJobsCompleted;
- EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
- }
-
- private void OnConnectStateChanged(ConnectInfo state)
- {
- m_ConnectState = state;
-
- m_Window.UpdateState(RecalculateState(), false);
- }
-
- private void OnCollabStateChanged(CollabInfo state)
- {
- // Sometimes a collab state change will trigger even though everything is the same
- if (m_CollabState.Equals(state))
- return;
-
- if (m_CollabState.tip != state.tip)
- OnUpdatePage(m_CurrentPage);
-
- m_CollabState = state;
- m_Window.UpdateState(RecalculateState(), false);
- if (state.inProgress)
- {
- m_Window.inProgressRevision = m_ProgressRevision;
- }
- else
- {
- m_Window.inProgressRevision = null;
- }
- }
-
- private void OnCollabRevisionUpdated(CollabInfo state)
- {
- OnUpdatePage(m_CurrentPage);
- }
-
- private void OnCollabJobsCompleted(CollabInfo state)
- {
- m_ProgressRevision = null;
- }
-
- private void OnCollabError()
- {
- m_IsCollabError = true;
- m_Window.UpdateState(RecalculateState(), false);
- }
-
- private void OnCollabErrorCleared()
- {
- m_IsCollabError = false;
- m_FetchInProgress = true;
- m_Service.GetRevisions(m_CurrentPage * ItemsPerPage, ItemsPerPage);
- m_Window.UpdateState(RecalculateState(), false);
- }
-
- private void OnPlayModeStateChanged(PlayModeStateChange stateChange)
- {
- // If entering play mode, disable
- if (stateChange == PlayModeStateChange.ExitingEditMode ||
- stateChange == PlayModeStateChange.EnteredPlayMode)
- {
- m_Window.revisionActionsEnabled = false;
- }
- // If exiting play mode, enable!
- else if (stateChange == PlayModeStateChange.EnteredEditMode ||
- stateChange == PlayModeStateChange.ExitingPlayMode)
- {
- m_Window.revisionActionsEnabled = true;
- }
- }
-
- private HistoryState RecalculateState()
- {
- if (!m_ConnectState.online)
- return HistoryState.Offline;
- if (m_ConnectState.maintenance || m_CollabState.maintenance)
- return HistoryState.Maintenance;
- if (!m_ConnectState.loggedIn)
- return HistoryState.LoggedOut;
- if (!m_CollabState.seat)
- return HistoryState.NoSeat;
- if (!Collab.instance.IsCollabEnabledForCurrentProject())
- return HistoryState.Disabled;
- if (!Collab.instance.IsConnected() || !m_CollabState.ready || m_FetchInProgress)
- return HistoryState.Waiting;
- if (m_ConnectState.error || m_IsCollabError)
- return HistoryState.Error;
-
- return HistoryState.Ready;
- }
-
- // TODO: Eventually this can be a listener on the build service status
- public void UpdateBuildServiceStatus()
- {
- foreach (var service in UnityConnectServiceCollection.instance.GetAllServiceInfos())
- {
- if (service.name.Equals("Build"))
- {
- BuildServiceEnabled = service.enabled;
- }
- }
- }
-
- public void ShowBuildForCommit(string revisionID)
- {
- m_BuildAccess.ShowBuildForCommit(revisionID);
- }
-
- public void ShowServicePage()
- {
- m_BuildAccess.ShowServicePage();
- }
-
- public void OnUpdatePage(int page)
- {
- m_FetchInProgress = true;
- m_Service.GetRevisions(page * ItemsPerPage, ItemsPerPage);
- m_Window.UpdateState(RecalculateState(), false);
- m_RequestedPage = page;
- }
-
- private void OnFetchRevisions(RevisionsResult data)
- {
- m_FetchInProgress = false;
- IEnumerable items = null;
- if (data != null)
- {
- m_CurrentPage = m_RequestedPage;
- m_TotalRevisions = data.RevisionsInRepo;
- items = m_Factory.GenerateElements(data.Revisions, m_TotalRevisions, m_CurrentPage * ItemsPerPage, m_Service.tipRevision, m_Window.inProgressRevision, m_Window.revisionActionsEnabled, BuildServiceEnabled, m_Service.currentUser);
- }
-
- // State must be recalculated prior to inserting items
- m_Window.UpdateState(RecalculateState(), false);
- m_Window.UpdateRevisions(items, m_Service.tipRevision, m_TotalRevisions, m_CurrentPage);
- }
-
- private void OnRestore(string revisionId, bool updatetorevision)
- {
- m_ProgressRevision = revisionId;
- Collab.instance.ResyncToRevision(revisionId);
- }
-
- private void OnGoBack(string revisionId, bool updatetorevision)
- {
- m_ProgressRevision = revisionId;
- Collab.instance.GoBackToRevision(revisionId, false);
- }
-
- private void OnUpdate(string revisionId, bool updatetorevision)
- {
- m_ProgressRevision = revisionId;
- Collab.instance.Update(revisionId, updatetorevision);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs.meta
deleted file mode 100644
index 9c37ecd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a7c91a123806d41a0873fcdcb629b1c4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views.meta
deleted file mode 100644
index f62ac6b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: fd0a39b4d296d4d509b4f1dbd08d0630
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/BuildStatusButton.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/BuildStatusButton.cs
deleted file mode 100644
index ac3754d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/BuildStatusButton.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using System;
-using UnityEditor;
-using UnityEditor.Collaboration;
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal class BuildStatusButton : Button
- {
- private readonly string iconPrefix = "Icons/Collab.Build";
- private readonly string iconSuffix = ".png";
- Label labelElement = new Label();
- Image iconElement = new Image() {name = "BuildIcon"};
-
- public BuildStatusButton(Action clickEvent) : base(clickEvent)
- {
- iconElement.image = EditorGUIUtility.Load(iconPrefix + iconSuffix) as Texture;
- labelElement.text = "Build Now";
- Add(iconElement);
- Add(labelElement);
- }
-
- public BuildStatusButton(Action clickEvent, BuildState state, int failures) : base(clickEvent)
- {
- switch (state)
- {
- case BuildState.InProgress:
- iconElement.image = EditorGUIUtility.Load(iconPrefix + iconSuffix) as Texture;
- labelElement.text = "In progress";
- break;
-
- case BuildState.Failed:
- iconElement.image = EditorGUIUtility.Load(iconPrefix + "Failed" + iconSuffix) as Texture;
- labelElement.text = failures + ((failures == 1) ? " failure" : " failures");
- break;
-
- case BuildState.Success:
- iconElement.image = EditorGUIUtility.Load(iconPrefix + "Succeeded" + iconSuffix) as Texture;
- labelElement.text = "success";
- break;
- }
-
- Add(iconElement);
- Add(labelElement);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/BuildStatusButton.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/BuildStatusButton.cs.meta
deleted file mode 100644
index d74a58a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/BuildStatusButton.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0217a80286f79419daa202f69409f19b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDown.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDown.cs
deleted file mode 100644
index e3bb05a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDown.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-using UnityEngine;
-using System.Collections.Generic;
-using UnityEditor.Connect;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-#endif
-
-
-namespace UnityEditor.Collaboration
-{
- internal class CollabHistoryDropDown : VisualElement
- {
- private readonly VisualElement m_FilesContainer;
- private readonly Label m_ToggleLabel;
- private int m_ChangesTotal;
- private string m_RevisionId;
-
- public CollabHistoryDropDown(ICollection changes, int changesTotal, bool changesTruncated, string revisionId)
- {
- m_FilesContainer = new VisualElement();
- m_ChangesTotal = changesTotal;
- m_RevisionId = revisionId;
-
- m_ToggleLabel = new Label(ToggleText(false));
- m_ToggleLabel.AddManipulator(new Clickable(ToggleDropdown));
- Add(m_ToggleLabel);
-
- foreach (ChangeData change in changes)
- {
- m_FilesContainer.Add(new CollabHistoryDropDownItem(change.path, change.action));
- }
-
- if (changesTruncated)
- {
- m_FilesContainer.Add(new Button(ShowAllClick)
- {
- text = "Show all on dashboard"
- });
- }
- }
-
- private void ToggleDropdown()
- {
- if (Contains(m_FilesContainer))
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "CollapseAssets");
- Remove(m_FilesContainer);
- m_ToggleLabel.text = ToggleText(false);
- }
- else
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "ExpandAssets");
- Add(m_FilesContainer);
- m_ToggleLabel.text = ToggleText(true);
- }
- }
-
- private string ToggleText(bool open)
- {
- var icon = open ? "\u25bc" : "\u25b6";
- var change = m_ChangesTotal == 1 ? "Change" : "Changes";
- return string.Format("{0} {1} Asset {2}", icon, m_ChangesTotal, change);
- }
-
- private void ShowAllClick()
- {
- var host = UnityConnect.instance.GetConfigurationURL(CloudConfigUrl.CloudServicesDashboard);
- var org = UnityConnect.instance.GetOrganizationId();
- var proj = UnityConnect.instance.GetProjectGUID();
- var url = string.Format("{0}/collab/orgs/{1}/projects/{2}/commits?commit={3}", host, org, proj, m_RevisionId);
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "ShowAllOnDashboard");
- Application.OpenURL(url);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDown.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDown.cs.meta
deleted file mode 100644
index 513b66b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDown.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a483595b0257945278dc75c5ff7d82ee
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDownItem.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDownItem.cs
deleted file mode 100644
index 3ad43f2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDownItem.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-#endif
-
-
-namespace UnityEditor.Collaboration
-{
- internal class CollabHistoryDropDownItem : VisualElement
- {
- public CollabHistoryDropDownItem(string path, string action)
- {
- var fileName = Path.GetFileName(path);
- var isFolder = Path.GetFileNameWithoutExtension(path).Equals(fileName);
- var fileIcon = GetIconElement(action, fileName, isFolder);
- var metaContainer = new VisualElement();
- var fileNameLabel = new Label
- {
- name = "FileName",
- text = fileName
- };
- var filePathLabel = new Label
- {
- name = "FilePath",
- text = path
- };
- metaContainer.Add(fileNameLabel);
- metaContainer.Add(filePathLabel);
- Add(fileIcon);
- Add(metaContainer);
- }
-
- private Image GetIconElement(string action, string fileName, bool isFolder)
- {
- var prefix = isFolder ? "Folder" : "File";
- var actionName = action.First().ToString().ToUpper() + action.Substring(1);
- // Use the same icon for renamed and moved files
- actionName = actionName.Equals("Renamed") ? "Moved" : actionName;
- var iconElement = new Image
- {
- name = "FileIcon",
- image = EditorGUIUtility.LoadIcon("Icons/Collab." + prefix + actionName + ".png")
- };
- return iconElement;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDownItem.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDownItem.cs.meta
deleted file mode 100644
index 10bf40e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryDropDownItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d912d4873af534bd4a9d44bf1b52f14e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItem.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItem.cs
deleted file mode 100644
index 24e5d1d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItem.cs
+++ /dev/null
@@ -1,229 +0,0 @@
-using System;
-using System.Linq;
-using System.Security.Cryptography;
-using UnityEditor.Connect;
-using UnityEditor.Web;
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-using UnityEngine.Experimental.UIElements.StyleEnums;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal class CollabHistoryItem : VisualElement
- {
- public static RevisionAction s_OnRestore;
- public static RevisionAction s_OnGoBack;
- public static RevisionAction s_OnUpdate;
- public static ShowBuildAction s_OnShowBuild;
- public static Action s_OnShowServices;
-
- private readonly string m_RevisionId;
- private readonly string m_FullDescription;
- private readonly DateTime m_TimeStamp;
- private readonly Button m_Button;
- private readonly HistoryProgressSpinner m_ProgressSpinner;
- private VisualElement m_ActionsTray;
- private VisualElement m_Details;
- private Label m_Description;
- private Label m_TimeAgo;
- private readonly Button m_ExpandCollapseButton;
- private bool m_Expanded;
-
- private const int kMaxDescriptionChars = 500;
-
- public bool RevisionActionsEnabled
- {
- set
- {
- m_Button.SetEnabled(value);
- }
- }
-
- public DateTime timeStamp
- {
- get { return m_TimeStamp; }
- }
-
- public CollabHistoryItem(RevisionData data)
- {
- m_RevisionId = data.id;
- m_TimeStamp = data.timeStamp;
- name = "HistoryItem";
- m_ActionsTray = new VisualElement {name = "HistoryItemActionsTray"};
- m_ProgressSpinner = new HistoryProgressSpinner();
- m_Details = new VisualElement {name = "HistoryDetail"};
- var author = new Label(data.authorName) {name = "Author"};
- m_TimeAgo = new Label(TimeAgo.GetString(m_TimeStamp));
- m_FullDescription = data.comment;
- var shouldTruncate = ShouldTruncateDescription(m_FullDescription);
- if (shouldTruncate)
- {
- m_Description = new Label(GetTruncatedDescription(m_FullDescription));
- }
- else
- {
- m_Description = new Label(m_FullDescription);
- }
- m_Description.name = "RevisionDescription";
- var dropdown = new CollabHistoryDropDown(data.changes, data.changesTotal, data.changesTruncated, data.id);
- if (data.current)
- {
- m_Button = new Button(Restore) {name = "ActionButton", text = "Restore"};
- }
- else if (data.obtained)
- {
- m_Button = new Button(GoBackTo) {name = "ActionButton", text = "Go back to..."};
- }
- else
- {
- m_Button = new Button(UpdateTo) {name = "ActionButton", text = "Update"};
- }
- m_Button.SetEnabled(data.enabled);
- m_ProgressSpinner.ProgressEnabled = data.inProgress;
-
- m_ActionsTray.Add(m_ProgressSpinner);
- m_ActionsTray.Add(m_Button);
-
- m_Details.Add(author);
- m_Details.Add(m_TimeAgo);
- m_Details.Add(m_Description);
-
- if (shouldTruncate)
- {
- m_ExpandCollapseButton = new Button(ToggleDescription) { name = "ToggleDescription", text = "Show More" };
- m_Details.Add(m_ExpandCollapseButton);
- }
-
- if (data.buildState != BuildState.None)
- {
- BuildStatusButton buildButton;
- if (data.buildState == BuildState.Configure)
- buildButton = new BuildStatusButton(ShowServicePage);
- else
- buildButton = new BuildStatusButton(ShowBuildForCommit, data.buildState, data.buildFailures);
-
- m_Details.Add(buildButton);
- }
-
- m_Details.Add(m_ActionsTray);
- m_Details.Add(dropdown);
-
- Add(m_Details);
-
- this.schedule.Execute(UpdateTimeAgo).Every(1000 * 20);
- }
-
- public static void SetUpCallbacks(RevisionAction Restore, RevisionAction GoBack, RevisionAction Update)
- {
- s_OnRestore = Restore;
- s_OnGoBack = GoBack;
- s_OnUpdate = Update;
- }
-
- public void SetInProgressStatus(string revisionIdInProgress)
- {
- if (String.IsNullOrEmpty(revisionIdInProgress))
- {
- m_Button.SetEnabled(true);
- m_ProgressSpinner.ProgressEnabled = false;
- }
- else
- {
- m_Button.SetEnabled(false);
- if (m_RevisionId.Equals(revisionIdInProgress))
- {
- m_ProgressSpinner.ProgressEnabled = true;
- }
- }
- }
-
- void ShowBuildForCommit()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "ShowBuild");
- if (s_OnShowBuild != null)
- {
- s_OnShowBuild(m_RevisionId);
- }
- }
-
- void ShowServicePage()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "ShowServices");
- if (s_OnShowServices != null)
- {
- s_OnShowServices();
- }
- }
-
- void Restore()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "Restore");
- if (s_OnRestore != null)
- {
- s_OnRestore(m_RevisionId, false);
- }
- }
-
- void GoBackTo()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "GoBackTo");
- if (s_OnGoBack != null)
- {
- s_OnGoBack(m_RevisionId, false);
- }
- }
-
- void UpdateTo()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "Update");
- if (s_OnUpdate != null)
- {
- s_OnUpdate(m_RevisionId, true);
- }
- }
-
- void UpdateTimeAgo()
- {
- m_TimeAgo.text = TimeAgo.GetString(m_TimeStamp);
- }
-
- bool ShouldTruncateDescription(string description)
- {
- return description.Contains(Environment.NewLine) || description.Length > kMaxDescriptionChars;
- }
-
- string GetTruncatedDescription(string description)
- {
- string result = description.Contains(Environment.NewLine) ?
- description.Substring(0, description.IndexOf(Environment.NewLine)) : description;
- if (result.Length > kMaxDescriptionChars)
- {
- result = result.Substring(0, kMaxDescriptionChars) + "...";
- }
- return result;
- }
-
- void ToggleDescription()
- {
- if (m_Expanded)
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "CollapseDescription");
- m_Expanded = false;
- m_ExpandCollapseButton.text = "Show More";
- m_Description.text = GetTruncatedDescription(m_FullDescription);
- }
- else
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "ExpandDescription");
- m_Expanded = true;
- m_ExpandCollapseButton.text = "Show Less";
- m_Description.text = m_FullDescription;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItem.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItem.cs.meta
deleted file mode 100644
index 290bd28..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c4c1445ee948a4124bfa9fb818a17e36
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItemFactory.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItemFactory.cs
deleted file mode 100644
index e7d7aa6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItemFactory.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Collaboration;
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-using UnityEngine.Experimental.UIElements.StyleEnums;
-#endif
-
-
-namespace UnityEditor.Collaboration
-{
- internal class CollabHistoryItemFactory : ICollabHistoryItemFactory
- {
- const int k_MaxChangesPerRevision = 10;
-
- public IEnumerable GenerateElements(IEnumerable revisions, int totalRevisions, int startIndex, string tipRev, string inProgressRevision, bool revisionActionsEnabled, bool buildServiceEnabled, string currentUser)
- {
- int index = startIndex;
-
- foreach (var rev in revisions)
- {
- index++;
- var current = rev.revisionID == tipRev;
-
- // Calculate build status
- BuildState buildState = BuildState.None;
- int buildFailures = 0;
- if (rev.buildStatuses != null && rev.buildStatuses.Length > 0)
- {
- bool inProgress = false;
- foreach (CloudBuildStatus buildStatus in rev.buildStatuses)
- {
- if (buildStatus.complete)
- {
- if (!buildStatus.success)
- {
- buildFailures++;
- }
- }
- else
- {
- inProgress = true;
- break;
- }
- }
-
- if (inProgress)
- {
- buildState = BuildState.InProgress;
- }
- else if (buildFailures > 0)
- {
- buildState = BuildState.Failed;
- }
- else
- {
- buildState = BuildState.Success;
- }
- }
- else if (current && !buildServiceEnabled)
- {
- buildState = BuildState.Configure;
- }
-
- // Calculate the number of changes performed on files and folders (not meta files)
- var paths = new Dictionary();
- foreach (ChangeAction change in rev.entries)
- {
- if (change.path.EndsWith(".meta"))
- {
- var path = change.path.Substring(0, change.path.Length - 5);
- // Actions taken on meta files are secondary to any actions taken on the main file
- if (!paths.ContainsKey(path))
- paths[path] = new ChangeData() {path = path, action = change.action};
- }
- else
- {
- paths[change.path] = new ChangeData() {path = change.path, action = change.action};
- }
- }
-
- var displayName = (rev.author != currentUser) ? rev.authorName : "You";
-
- var item = new RevisionData
- {
- id = rev.revisionID,
- index = totalRevisions - index + 1,
- timeStamp = TimeStampToDateTime(rev.timeStamp),
- authorName = displayName,
- comment = rev.comment,
-
- obtained = rev.isObtained,
- current = current,
- inProgress = (rev.revisionID == inProgressRevision),
- enabled = revisionActionsEnabled,
-
- buildState = buildState,
- buildFailures = buildFailures,
-
- changes = paths.Values.Take(k_MaxChangesPerRevision).ToList(),
- changesTotal = paths.Values.Count,
- changesTruncated = paths.Values.Count > k_MaxChangesPerRevision,
- };
-
- yield return item;
- }
- }
-
- private static DateTime TimeStampToDateTime(double timeStamp)
- {
- DateTime dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
- dateTime = dateTime.AddSeconds(timeStamp).ToLocalTime();
- return dateTime;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItemFactory.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItemFactory.cs.meta
deleted file mode 100644
index 3250d96..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryItemFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fc46f91ea1e8e4ca2ab693fef9156dbe
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryRevisionLine.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryRevisionLine.cs
deleted file mode 100644
index 2b8fe65..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryRevisionLine.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-using System;
-using UnityEditor;
-using UnityEditor.Collaboration;
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal class CollabHistoryRevisionLine : VisualElement
- {
- public CollabHistoryRevisionLine(int number)
- {
- AddNumber(number);
- AddLine("topLine");
- AddLine("bottomLine");
- AddIndicator();
- }
-
- public CollabHistoryRevisionLine(DateTime date, bool isFullDateObtained)
- {
- AddLine(isFullDateObtained ? "obtainedDateLine" : "absentDateLine");
- AddHeader(GetFormattedHeader(date));
- AddToClassList("revisionLineHeader");
- }
-
- private void AddHeader(string content)
- {
- Add(new Label
- {
- text = content
- });
- }
-
- private void AddIndicator()
- {
- Add(new VisualElement
- {
- name = "RevisionIndicator"
- });
- }
-
- private void AddLine(string className = null)
- {
- var line = new VisualElement
- {
- name = "RevisionLine"
- };
- if (!String.IsNullOrEmpty(className))
- {
- line.AddToClassList(className);
- }
- Add(line);
- }
-
- private void AddNumber(int number)
- {
- Add(new Label
- {
- text = number.ToString(),
- name = "RevisionIndex"
- });
- }
-
- private string GetFormattedHeader(DateTime date)
- {
- string result = "Commits on " + date.ToString("MMM d");
- switch (date.Day)
- {
- case 1:
- case 21:
- case 31:
- result += "st";
- break;
- case 2:
- case 22:
- result += "nd";
- break;
- case 3:
- case 23:
- result += "rd";
- break;
- default:
- result += "th";
- break;
- }
- return result;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryRevisionLine.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryRevisionLine.cs.meta
deleted file mode 100644
index 2659a3c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/CollabHistoryRevisionLine.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3c737f7a9d78541d1ab25f28f045dd32
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/HistoryProgressSpinner.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/HistoryProgressSpinner.cs
deleted file mode 100644
index fad3b82..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/HistoryProgressSpinner.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal class HistoryProgressSpinner : Image
- {
- private readonly Texture2D[] m_StatusWheelTextures;
- private bool m_ProgressEnabled;
- private IVisualElementScheduledItem m_Animation;
-
- public bool ProgressEnabled
- {
- set
- {
- if (m_ProgressEnabled == value)
- return;
-
- m_ProgressEnabled = value;
- visible = value;
-
-
- if (value)
- {
- if (m_Animation == null)
- {
- m_Animation = this.schedule.Execute(AnimateProgress).Every(33);
- }
- else
- {
- m_Animation.Resume();
- }
- }
- else
- {
- if (m_Animation != null)
- {
- m_Animation.Pause();
- }
- }
- }
- }
-
- public HistoryProgressSpinner()
- {
- m_StatusWheelTextures = new Texture2D[12];
- for (int i = 0; i < 12; i++)
- {
- m_StatusWheelTextures[i] = EditorGUIUtility.LoadIcon("WaitSpin" + i.ToString("00"));
- }
- image = m_StatusWheelTextures[0];
- style.width = m_StatusWheelTextures[0].width;
- style.height = m_StatusWheelTextures[0].height;
- visible = false;
- }
-
- private void AnimateProgress(TimerState obj)
- {
- int frame = (int)Mathf.Repeat(Time.realtimeSinceStartup * 10, 11.99f);
- image = m_StatusWheelTextures[frame];
- MarkDirtyRepaint();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/HistoryProgressSpinner.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/HistoryProgressSpinner.cs.meta
deleted file mode 100644
index 0ded4e8..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/HistoryProgressSpinner.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: cf6aca931950a4a6a886e214e9e649c4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/ICollabHistoryItemFactory.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/ICollabHistoryItemFactory.cs
deleted file mode 100644
index 03239a3..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/ICollabHistoryItemFactory.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEditor.Collaboration;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal interface ICollabHistoryItemFactory
- {
- IEnumerable GenerateElements(IEnumerable revsRevisions, int mTotalRevisions, int startIndex, string tipRev, string inProgressRevision, bool revisionActionsEnabled, bool buildServiceEnabled, string currentUser);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/ICollabHistoryItemFactory.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/ICollabHistoryItemFactory.cs.meta
deleted file mode 100644
index 08e9085..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/ICollabHistoryItemFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 821f5482c5a3f4389885f4432433f56f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/PagedListView.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/PagedListView.cs
deleted file mode 100644
index 472a70e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/PagedListView.cs
+++ /dev/null
@@ -1,192 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-using UnityEngine.Experimental.UIElements.StyleEnums;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal interface IPagerData
- {
- int curPage { get; }
- int totalPages { get; }
- PageChangeAction OnPageChanged { get; }
- }
-
- internal class PagerElement : VisualElement
- {
- IPagerData m_Data;
- readonly Label m_PageText;
- readonly Button m_DownButton;
- readonly Button m_UpButton;
-
- public PagerElement(IPagerData dataSource)
- {
- m_Data = dataSource;
-
- this.style.flexDirection = FlexDirection.Row;
- this.style.alignSelf = Align.Center;
-
- Add(m_DownButton = new Button(OnPageDownClicked) {text = "\u25c5 Newer"});
- m_DownButton.AddToClassList("PagerDown");
-
- m_PageText = new Label();
- m_PageText.AddToClassList("PagerLabel");
- Add(m_PageText);
-
- Add(m_UpButton = new Button(OnPageUpClicked) {text = "Older \u25bb"});
- m_UpButton.AddToClassList("PagerUp");
-
- UpdateControls();
- }
-
- void OnPageDownClicked()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "NewerPage");
- m_Data.OnPageChanged(m_Data.curPage - 1);
- }
-
- void OnPageUpClicked()
- {
- CollabAnalytics.SendUserAction(CollabAnalytics.historyCategoryString, "OlderPage");
- m_Data.OnPageChanged(m_Data.curPage + 1);
- }
-
- public void Refresh()
- {
- UpdateControls();
- }
-
- void UpdateControls()
- {
- var curPage = m_Data.curPage;
- var totalPages = m_Data.totalPages;
-
- m_PageText.text = (curPage + 1) + " / " + totalPages;
- m_DownButton.SetEnabled(curPage > 0);
- m_UpButton.SetEnabled(curPage < totalPages - 1);
- }
- }
-
- internal enum PagerLocation
- {
- Top,
- Bottom,
- }
-
- internal class PagedListView : VisualElement, IPagerData
- {
- public const int DefaultItemsPerPage = 10;
-
- readonly VisualElement m_ItemContainer;
- readonly PagerElement m_PagerTop, m_PagerBottom;
- int m_PageSize = DefaultItemsPerPage;
- IEnumerable m_Items;
- int m_TotalItems;
- int m_CurPage;
-
- public int pageSize
- {
- set { m_PageSize = value; }
- }
-
- public IEnumerable items
- {
- set
- {
- m_Items = value;
- LayoutItems();
- }
- }
-
- public int totalItems
- {
- set
- {
- if (m_TotalItems == value)
- return;
-
- m_TotalItems = value;
- UpdatePager();
- }
- }
-
- public PageChangeAction OnPageChanged { get; set; }
-
- public PagedListView()
- {
- m_PagerTop = new PagerElement(this);
-
- m_ItemContainer = new VisualElement()
- {
- name = "PagerItems",
- };
- Add(m_ItemContainer);
- m_Items = new List();
-
- m_PagerBottom = new PagerElement(this);
- }
-
- void LayoutItems()
- {
- m_ItemContainer.Clear();
- foreach (var item in m_Items)
- {
- m_ItemContainer.Add(item);
- }
- }
-
- void UpdatePager()
- {
- if (m_PagerTop.parent != this && totalPages > 1 && curPage > 0)
- Insert(0, m_PagerTop);
- if (m_PagerTop.parent == this && (totalPages <= 1 || curPage == 0))
- Remove(m_PagerTop);
-
- if (m_PagerBottom.parent != this && totalPages > 1)
- Add(m_PagerBottom);
- if (m_PagerBottom.parent == this && totalPages <= 1)
- Remove(m_PagerBottom);
-
- m_PagerTop.Refresh();
- m_PagerBottom.Refresh();
- }
-
- int pageCount
- {
- get
- {
- var pages = m_TotalItems / m_PageSize;
- if (m_TotalItems % m_PageSize > 0)
- pages++;
-
- return pages;
- }
- }
-
- public int curPage
- {
- get { return m_CurPage; }
- set
- {
- m_CurPage = value;
- UpdatePager();
- }
- }
-
- public int totalPages
- {
- get
- {
- var extraPage = 0;
- if (m_TotalItems % m_PageSize > 0)
- extraPage = 1;
- return m_TotalItems / m_PageSize + extraPage;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/PagedListView.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/PagedListView.cs.meta
deleted file mode 100644
index 565f7a2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/PagedListView.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 50de529b6a28f4a7093045e08810a5df
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/StatusView.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/StatusView.cs
deleted file mode 100644
index 9b50e7a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/StatusView.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-using System;
-using UnityEditor;
-using UnityEngine;
-
-#if UNITY_2019_1_OR_NEWER
-using UnityEngine.UIElements;
-#else
-using UnityEngine.Experimental.UIElements;
-using UnityEngine.Experimental.UIElements.StyleEnums;
-#endif
-
-namespace UnityEditor.Collaboration
-{
- internal class StatusView : VisualElement
- {
- Image m_Image;
- Label m_Message;
- Button m_Button;
- Action m_Callback;
-
- public Texture icon
- {
- get { return m_Image.image; }
- set
- {
- m_Image.image = value;
- m_Image.visible = value != null;
- // Until "display: hidden" is added, this is the only way to hide an element
- m_Image.style.height = value != null ? 150 : 0;
- }
- }
-
- public string message
- {
- get { return m_Message.text; }
- set
- {
- m_Message.text = value;
- m_Message.visible = value != null;
- }
- }
-
- public string buttonText
- {
- get { return m_Button.text; }
- set
- {
- m_Button.text = value;
- UpdateButton();
- }
- }
-
- public Action callback
- {
- get { return m_Callback; }
- set
- {
- m_Callback = value;
- UpdateButton();
- }
- }
-
- public StatusView()
- {
- name = "StatusView";
-
- this.StretchToParentSize();
-
- m_Image = new Image() { name = "StatusIcon", visible = false, style = { height = 0f }};
- m_Message = new Label() { name = "StatusMessage", visible = false};
- m_Button = new Button(InternalCallaback) { name = "StatusButton", visible = false};
-
- Add(m_Image);
- Add(m_Message);
- Add(m_Button);
- }
-
- private void UpdateButton()
- {
- m_Button.visible = m_Button.text != null && m_Callback != null;
- }
-
- private void InternalCallaback()
- {
- m_Callback();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/StatusView.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/StatusView.cs.meta
deleted file mode 100644
index bb634b1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Views/StatusView.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 08e9894bdf0834710b22d3c0aa245ac0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources.meta
deleted file mode 100644
index 01229c2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a6ab6fd2b91214e8a9c8ec2224a528de
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles.meta
deleted file mode 100644
index 0ff0382..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 6b1ae1e78552c459d9ce27048ff51c7f
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryCommon.uss b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryCommon.uss
deleted file mode 100644
index b20f08e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryCommon.uss
+++ /dev/null
@@ -1,259 +0,0 @@
-.unity-button {
- min-height:0;
- -unity-text-align:middle-center;
- margin-left:4px;
- margin-top:3px;
- margin-right:4px;
- margin-bottom:3px;
- border-left-width:6px;
- border-top-width:4px;
- border-right-width:6px;
- border-bottom-width:4px;
- padding-left:6px;
- padding-top:2px;
- padding-right:6px;
- padding-bottom:3px;
-}
-
-.unity-label {
- overflow: hidden;
- margin-left:4px;
- margin-top:2px;
- margin-right:4px;
- margin-bottom:2px;
- padding-left:2px;
- padding-top:1px;
- min-height: 0;
-}
-
-#HistoryContainer {
- flex: 1 0 0;
-}
-
-#HistoryItem {
- flex: 1 0 0;
- flex-direction: row;
-}
-
-#HistoryDetail {
- margin-top: 10px;
- margin-left: 10px;
- margin-bottom: 10px;
- margin-right: 10px;
- padding-top: 4px;
- flex: 1 0 0;
-}
-
-#Author {
- -unity-font-style: bold;
- font-size: 12px;
-}
-
-#HistoryDetail > Button {
- align-self: flex-end;
-}
-
-CollabHistoryRevisionLine {
- width: 40px;
-}
-
-#RevisionLine {
- flex: 1 0 0;
- margin-left: 35px;
- width: 1.5px;
-}
-
-#RevisionLine.topLine {
- height: 20px;
- flex: 0 0 auto;
-}
-
-#RevisionLine.absentDateLine {
- background-color: #797676;
-}
-
-.absentRevision #RevisionLine {
- background-color: #797676;
-}
-
-.currentRevision #RevisionLine.topLine {
- background-color: #797676;
-}
-
-#RevisionIndex {
- position: absolute;
- min-width: 23px;
- -unity-text-align: middle-right;
- top: 15.8px;
- font-size: 9px;
-}
-
-#RevisionIndicator {
- position: absolute;
- background-color: #000;
- border-radius: 3px;
- width: 8px;
- height: 8px;
- border-bottom-width: 2px;
- border-left-width: 2px;
- border-right-width: 2px;
- border-top-width: 2px;
- top: 20px;
- left: 32px;
-}
-
-.revisionLineHeader {
- width: 200px;
- height: 20px;
-}
-
-.revisionLineHeader > .unity-label {
- position: absolute;
- margin-left: 47px;
- margin-top: 3px;
-}
-
-#PagerItems {
- flex-direction: column;
-}
-
-PagerElement > .unity-label {
- margin-top: 8px;
-}
-
-.absentRevision #RevisionIndicator {
- border-color: #797676;
-}
-
-.absentRevision #RevisionIndex {
- color: #797676;
-}
-
-.currentRevision #HistoryDetail {
- border-top-width: 2px;
-}
-
-#HistoryItem #RevisionDescription {
- white-space: normal;
-}
-
-#HistoryItem #ToggleDescription {
- align-self: flex-start;
- padding-top: 0;
- padding-left: 0;
- padding-right: 0;
- padding-bottom: 2px;
-}
-
-#HistoryItem #ActionButton {
- position: absolute;
- right: 0;
-}
-
-#HistoryItem #BuildIcon {
- width: 16px;
- height: 13px;
-}
-
-#HistoryItemActionsTray {
- flex: 1 0 0;
- flex-direction: row;
- align-items: center;
- height: 38px;
- margin-left: 10px;
- margin-right: 10px;
-}
-
-CollabHistoryDropDown {
- border-top-width: 1px;
-}
-
-CollabHistoryDropDown > .unity-label {
- padding-top: 10px;
- padding-bottom: 10px;
-}
-
-CollabHistoryDropDownItem {
- flex-direction: row;
- border-top-width: 1px;
- overflow: hidden;
-}
-
-#FileIcon {
- align-self: center;
- width: 26px;
- height: 26px;
-}
-
-#FileName {
- -unity-font-style: bold;
- padding-bottom: 0;
- margin-bottom: 0;
-}
-
-#FileIcon {
- padding-top: 0;
- margin-top: 0;
-}
-
-#ErrorBar {
- height: 24px;
- background-color: #ff0000;
- color: #000;
- font-size: 12px;
-}
-
-#ErrorBar > #CloseButton {
- position: absolute;
- right: 0;
- top: 0;
- width: 24px;
- height: 24px;
- color: #000;
- font-size: 18px;
- -unity-font-style: bold;
-}
-
-#StatusView {
- flex-direction: column;
- justify-content: center;
- align-self: center;
- align-items: center;
- flex: 1 0 0;
-}
-
-#StatusView > #StatusIcon {
- width: 115px;
- height: 150px;
-}
-
-#StatusView > #StatusMessage {
- font-size: 22px;
- width: 230px;
- white-space: normal;
- -unity-text-align: middle-center;
-}
-
-#StatusView > #StatusButton {
- font-size: 12px;
- margin-top: 20px;
- background-image: none;
- width: 108px;
- height: 29px;
-}
-
-BuildStatusButton.unity-button {
- flex-direction: row;
- align-self: flex-end;
- align-items: center;
- margin-right: 10px;
- padding-left:0;
- padding-top:0;
- padding-right:0;
- padding-bottom:0;
-}
-
-BuildStatusButton.unity-button .unity-label {
- padding-left: 2px;
-}
-
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryCommon.uss.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryCommon.uss.meta
deleted file mode 100644
index 035b662..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryCommon.uss.meta
+++ /dev/null
@@ -1,10 +0,0 @@
-fileFormatVersion: 2
-guid: 3a2d94c8977984b67984caeff9fa666e
-ScriptedImporter:
- fileIDToRecycleName:
- 11400000: stylesheet
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
- script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryDark.uss b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryDark.uss
deleted file mode 100644
index de436f8..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryDark.uss
+++ /dev/null
@@ -1,86 +0,0 @@
-#HistoryContainer {
- background-color: #292929;
-}
-
-.obtainedRevision #HistoryDetail {
- background-color: #333;
-}
-
-.absentRevision #HistoryDetail {
- background-color: #595959;
-}
-
-#StatusView {
- background-color: #292929;
-}
-
-#StatusView > #StatusMessage {
- color: #959995;
-}
-
-BuildStatusButton.unity-button {
- color: #B4B4B4;
- background-image: resource("Builtin Skins/DarkSkin/Images/btn.png");
-}
-
-BuildStatusButton.unity-button:hover {
- color: #FFF;
-}
-
-BuildStatusButton.unity-button:hover:active {
- background-image: resource("Builtin Skins/DarkSkin/Images/btn act.png");
-}
-
-BuildStatusButton.unity-button:checked {
- color: #F0F0F0;
- background-image: resource("Builtin Skins/DarkSkin/Images/btn on.png");
-}
-
-BuildStatusButton.unity-button:hover:checked {
- color: #FFF;
-}
-
-BuildStatusButton.unity-button:hover:active:checked {
- background-image: resource("Builtin Skins/DarkSkin/Images/btn onact.png");
-}
-
-BuildStatusButton.unity-button:focus:checked {
- background-image: resource("Builtin Skins/DarkSkin/Images/btn on focus.png");
-}
-
-CollabHistoryDropDown {
- border-color: #292929;
-}
-
-CollabHistoryDropDownItem {
- border-color: #292929;
-}
-
-#RevisionLine.obtainedDateLine {
- background-color: #0cb4cc;
-}
-
-.obtainedRevision #RevisionLine {
- background-color: #0cb4cc;
-}
-
-#RevisionIndex {
- color: #0cb4cc;
-}
-
-#RevisionIndicator {
- border-color: #0cb4cc;
-}
-
-.currentRevision #RevisionIndicator {
- background-color: #0cb4cc;
-}
-
-.currentRevision #HistoryDetail {
- border-color: #0cb4cc;
-}
-
-#StatusView > #StatusButton {
- background-color: #0cb4cc;
- border-color: #0cb4cc;
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryDark.uss.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryDark.uss.meta
deleted file mode 100644
index 35a7d09..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryDark.uss.meta
+++ /dev/null
@@ -1,10 +0,0 @@
-fileFormatVersion: 2
-guid: 70d4d75a2877243758b0750cbc75b6eb
-ScriptedImporter:
- fileIDToRecycleName:
- 11400000: stylesheet
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
- script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryLight.uss b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryLight.uss
deleted file mode 100644
index 3f9b85f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryLight.uss
+++ /dev/null
@@ -1,86 +0,0 @@
-#HistoryContainer {
- background-color: #a2a2a2;
-}
-
-.obtainedRevision #HistoryDetail {
- background-color: #c2c2c2;
-}
-
-.absentRevision #HistoryDetail {
- background-color: #dedede;
-}
-
-#StatusView {
- background-color: #a2a2a3;
-}
-
-#StatusView > #StatusMessage {
- color: #000;
-}
-
-BuildStatusButton.unity-button {
- color: #111;
- background-image: resource("Builtin Skins/LightSkin/Images/btn.png");
-}
-
-BuildStatusButton.unity-button:hover {
- color: #000;
-}
-
-BuildStatusButton.unity-button:hover:active {
- background-image: resource("Builtin Skins/LightSkin/Images/btn act.png");
-}
-
-BuildStatusButton.unity-button:checked {
- color: #F0F0F0;
- background-image: resource("Builtin Skins/LightSkin/Images/btn on.png");
-}
-
-BuildStatusButton.unity-button:hover:checked {
- color: #000;
-}
-
-BuildStatusButton.unity-button:hover:active:checked {
- background-image: resource("Builtin Skins/LightSkin/Images/btn onact.png");
-}
-
-BuildStatusButton.unity-button:focus:checked {
- background-image: resource("Builtin Skins/LightSkin/Images/btn on focus.png");
-}
-
-CollabHistoryDropDown {
- border-color: #a2a2a2;
-}
-
-CollabHistoryDropDownItem {
- border-color: #a2a2a2;
-}
-
-#RevisionLine.obtainedDateLine {
- background-color: #018d98;
-}
-
-.obtainedRevision #RevisionLine {
- background-color: #018d98;
-}
-
-#RevisionIndex {
- color: #018d98;
-}
-
-#RevisionIndicator {
- border-color: #018d98;
-}
-
-.currentRevision #RevisionIndicator {
- background-color: #018d98;
-}
-
-.currentRevision #HistoryDetail {
- border-color: #018d98;
-}
-
-#StatusView > #StatusButton {
- background-color: #018d98;
- border-color: #018d98;
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryLight.uss.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryLight.uss.meta
deleted file mode 100644
index 28c860e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Resources/Styles/CollabHistoryLight.uss.meta
+++ /dev/null
@@ -1,10 +0,0 @@
-fileFormatVersion: 2
-guid: b52bde26a83564960bcb90217f72b910
-ScriptedImporter:
- fileIDToRecycleName:
- 11400000: stylesheet
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
- script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Unity.CollabProxy.Editor.asmdef b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Unity.CollabProxy.Editor.asmdef
deleted file mode 100644
index 66511e1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Unity.CollabProxy.Editor.asmdef
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "name": "Unity.CollabProxy.Editor",
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": []
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Unity.CollabProxy.Editor.asmdef.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Unity.CollabProxy.Editor.asmdef.meta
deleted file mode 100644
index 03ebeca..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Unity.CollabProxy.Editor.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 645165c8169474bfbbeb8fb0bcfd26f5
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/LICENSE.md b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/LICENSE.md
deleted file mode 100644
index 31bde4e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/LICENSE.md
+++ /dev/null
@@ -1,31 +0,0 @@
-**Unity Companion Package License v1.0 ("_License_")**
-
-Copyright © 2017 Unity Technologies ApS ("**_Unity_**")
-
-Unity hereby grants to you a worldwide, non-exclusive, no-charge, and royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the software that is made available with this License ("**_Software_**"), subject to the following terms and conditions:
-
-1. *Unity Companion Use Only*. Exercise of the license granted herein is limited to exercise for the creation, use, and/or distribution of applications, software, or other content pursuant to a valid Unity development engine software license ("**_Engine License_**"). That means while use of the Software is not limited to use in the software licensed under the Engine License, the Software may not be used for any purpose other than the creation, use, and/or distribution of Engine License-dependent applications, software, or other content. No other exercise of the license granted herein is permitted.
-
-1. *No Modification of Engine License*. Neither this License nor any exercise of the license granted herein modifies the Engine License in any way.
-
-1. *Ownership & Grant Back to You*.
-
- 3.1. You own your content. In this License, "derivative works" means derivatives of the Software itself--works derived only from the Software by you under this License (for example, modifying the code of the Software itself to improve its efficacy); “derivative works” of the Software do not include, for example, games, apps, or content that you create using the Software. You keep all right, title, and interest to your own content.
-
- 3.2. Unity owns its content. While you keep all right, title, and interest to your own content per the above, as between Unity and you, Unity will own all right, title, and interest to all intellectual property rights (including patent, trademark, and copyright) in the Software and derivative works of the Software, and you hereby assign and agree to assign all such rights in those derivative works to Unity.
-
- 3.3. You have a license to those derivative works. Subject to this License, Unity grants to you the same worldwide, non-exclusive, no-charge, and royalty-free copyright license to derivative works of the Software you create as is granted to you for the Software under this License.
-
-1. *Trademarks*. You are not granted any right or license under this License to use any trademarks, service marks, trade names, products names, or branding of Unity or its affiliates ("**_Trademarks_**"). Descriptive uses of Trademarks are permitted; see, for example, Unity’s Branding Usage Guidelines at [https://unity3d.com/public-relations/brand](https://unity3d.com/public-relations/brand).
-
-1. *Notices & Third-Party Rights*. This License, including the copyright notice above, must be provided in all substantial portions of the Software and derivative works thereof (or, if that is impracticable, in any other location where such notices are customarily placed). Further, if the Software is accompanied by a Unity "third-party notices" or similar file, you acknowledge and agree that software identified in that file is governed by those separate license terms.
-
-1. *DISCLAIMER, LIMITATION OF LIABILITY*. THE SOFTWARE AND ANY DERIVATIVE WORKS THEREOF IS PROVIDED ON AN "AS IS" BASIS, AND IS PROVIDED WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND/OR NONINFRINGEMENT. IN NO EVENT SHALL ANY COPYRIGHT HOLDER OR AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES (WHETHER DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL, INCLUDING PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR PROFITS, AND BUSINESS INTERRUPTION), OR OTHER LIABILITY WHATSOEVER, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM OR OUT OF, OR IN CONNECTION WITH, THE SOFTWARE OR ANY DERIVATIVE WORKS THEREOF OR THE USE OF OR OTHER DEALINGS IN SAME, EVEN WHERE ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-1. *USE IS ACCEPTANCE and License Versions*. Your receipt and use of the Software constitutes your acceptance of this License and its terms and conditions. Software released by Unity under this License may be modified or updated and the License with it; upon any such modification or update, you will comply with the terms of the updated License for any use of any of the Software under the updated License.
-
-1. *Use in Compliance with Law and Termination*. Your exercise of the license granted herein will at all times be in compliance with applicable law and will not infringe any proprietary rights (including intellectual property rights); this License will terminate immediately on any breach by you of this License.
-
-1. *Severability*. If any provision of this License is held to be unenforceable or invalid, that provision will be enforced to the maximum extent possible and the other provisions will remain in full force and effect.
-
-1. *Governing Law and Venue*. This License is governed by and construed in accordance with the laws of Denmark, except for its conflict of laws rules; the United Nations Convention on Contracts for the International Sale of Goods will not apply. If you reside (or your principal place of business is) within the United States, you and Unity agree to submit to the personal and exclusive jurisdiction of and venue in the state and federal courts located in San Francisco County, California concerning any dispute arising out of this License ("**_Dispute_**"). If you reside (or your principal place of business is) outside the United States, you and Unity agree to submit to the personal and exclusive jurisdiction of and venue in the courts located in Copenhagen, Denmark concerning any Dispute.
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/LICENSE.md.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/LICENSE.md.meta
deleted file mode 100644
index 30f5c3a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/LICENSE.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: c754112a02f354a6696fa4f2b99e95a5
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/README.md b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/README.md
deleted file mode 100644
index 5cfbd88..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Collab Proxy UPM Package
-This is the packaged version of Collab, currently limited to containing the History and Toolbar windows, along with supporting classes.
-
-## Development
-Check this repository out in your {$PROJECT}/Packages/ folder, under the name com.unity.collab-proxy. The classes will be built by Unity.
-
-## Testing
-In order to run the tests, you will need to add this project to the testables key in your manifest.json - once you have done this, the tests will be picked up by the Unity Test Runner window.
-
-## Building
-You may build this project using msbuild. The commands to do so can be seen under .gitlab-ci.yml.
-
-## Deploying
-Gitlab will automatically build your project when you deploy. You can download the resulting artifact, which will be a dll, and place it in your Editor/bin/ folder. Open the package in Unity to generate the meta files, and then you will be able to publish.
-
-We're currently looking into a way to avoid this manual process.
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/README.md.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/README.md.meta
deleted file mode 100644
index b3ad993..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/README.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: ac281230df7b14becb40b3c479f1b429
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests.meta
deleted file mode 100644
index f43ddd3..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 1369382d2c5e64dc5b2ec0b6b0a94531
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor.meta
deleted file mode 100644
index b80cefd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4506ac79f5b274cb1b249ed7f4abfb9a
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/HistoryTests.cs b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/HistoryTests.cs
deleted file mode 100644
index ba79a20..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/HistoryTests.cs
+++ /dev/null
@@ -1,583 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEditor.Collaboration;
-using UnityEngine.TestTools;
-using NUnit.Framework;
-
-namespace UnityEditor.Collaboration.Tests
-{
- [TestFixture]
- internal class HistoryTests
- {
- private TestHistoryWindow _window;
- private TestRevisionsService _service;
- private CollabHistoryPresenter _presenter;
-
- [SetUp]
- public void SetUp()
- {
- _window = new TestHistoryWindow();
- _service = new TestRevisionsService();
- _presenter = new CollabHistoryPresenter(_window, new CollabHistoryItemFactory(), _service);
- }
-
- [TearDown]
- public void TearDown()
- {
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__PropagatesRevisionResult()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(authorName: "authorName", comment: "comment", revisionID: "revisionID"),
- }
- };
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual("revisionID", item.id);
- Assert.AreEqual("authorName", item.authorName);
- Assert.AreEqual("comment", item.comment);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__RevisionNumberingIsInOrder()
- {
- _service.result = new RevisionsResult()
- {
- RevisionsInRepo = 4,
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- new Revision(revisionID: "1"),
- new Revision(revisionID: "2"),
- new Revision(revisionID: "3"),
- }
- };
-
- _presenter.OnUpdatePage(0);
- var items = _window.items.ToArray();
-
- Assert.AreEqual(4, items[0].index);
- Assert.AreEqual(3, items[1].index);
- Assert.AreEqual(2, items[2].index);
- Assert.AreEqual(1, items[3].index);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__RevisionNumberingChangesForMorePages()
- {
- _service.result = new RevisionsResult()
- {
- RevisionsInRepo = 12,
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- new Revision(revisionID: "1"),
- new Revision(revisionID: "2"),
- new Revision(revisionID: "3"),
- new Revision(revisionID: "4"),
- }
- };
-
- _presenter.OnUpdatePage(1);
- var items = _window.items.ToArray();
-
- Assert.AreEqual(12, items[0].index);
- Assert.AreEqual(11, items[1].index);
- Assert.AreEqual(10, items[2].index);
- Assert.AreEqual(9, items[3].index);
- Assert.AreEqual(8, items[4].index);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__ObtainedIsCalculated()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(isObtained: false),
- new Revision(isObtained: true),
- }
- };
-
- _presenter.OnUpdatePage(0);
- var items = _window.items.ToArray();
-
- Assert.IsFalse(items[0].obtained);
- Assert.IsTrue(items[1].obtained);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__CurrentIsCalculated()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "1"),
- new Revision(revisionID: "2"),
- new Revision(revisionID: "3"),
- }
- };
- _service.tipRevision = "2";
-
- _presenter.OnUpdatePage(0);
- var items = _window.items.ToArray();
-
- Assert.AreEqual(false, items[0].current);
- Assert.AreEqual(true, items[1].current);
- Assert.AreEqual(false, items[2].current);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__InProgressIsCalculated()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "1"),
- new Revision(revisionID: "2"),
- new Revision(revisionID: "3"),
- }
- };
- _window.inProgressRevision = "2";
-
- _presenter.OnUpdatePage(0);
- var items = _window.items.ToArray();
-
- Assert.IsFalse(items[0].inProgress);
- Assert.IsTrue(items[1].inProgress);
- Assert.IsFalse(items[2].inProgress);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__EnabledIsCalculated()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- }
- };
- _window.revisionActionsEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(true, item.enabled);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__DisabledIsCalculated()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- }
- };
- _window.revisionActionsEnabled = false;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(false, item.enabled);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasNoneWhenNotTip()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "1"),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = false;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.None, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateTipHasNoneWhenEnabled()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.None, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasConfigureWhenTip()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = false;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.Configure, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasConfigureWhenZeroBuildStatus()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = false;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.Configure, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasNoneWhenZeroBuildStatuses()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0"),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.None, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasSuccessWhenCompleteAndSucceeded()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision
- (
- revisionID: "0",
- buildStatuses: new CloudBuildStatus[1]
- {
- new CloudBuildStatus(complete: true, success: true),
- }
- ),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.Success, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasInProgress()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision
- (
- revisionID: "0",
- buildStatuses: new CloudBuildStatus[1]
- {
- new CloudBuildStatus(complete: false),
- }
- ),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.InProgress, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasFailure()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision
- (
- revisionID: "0",
- buildStatuses: new CloudBuildStatus[1]
- {
- new CloudBuildStatus(complete: true, success: false),
- }
- ),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.Failed, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__BuildStateHasFailureWhenAnyBuildsFail()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision
- (
- revisionID: "0",
- buildStatuses: new CloudBuildStatus[3]
- {
- new CloudBuildStatus(complete: true, success: false),
- new CloudBuildStatus(complete: true, success: false),
- new CloudBuildStatus(complete: true, success: true),
- }
- ),
- }
- };
- _service.tipRevision = "0";
- _presenter.BuildServiceEnabled = true;
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(BuildState.Failed, item.buildState);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__ChangesPropagateThrough()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0", entries: GenerateChangeActions(3)),
- }
- };
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
- var changes = item.changes.ToList();
-
- Assert.AreEqual("Path0", changes[0].path);
- Assert.AreEqual("Path1", changes[1].path);
- Assert.AreEqual("Path2", changes[2].path);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__ChangesTotalIsCalculated()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0", entries: GenerateChangeActions(3)),
- }
- };
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(3, item.changes.Count);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__ChangesTruncatedIsCalculated()
- {
- for (var i = 0; i < 20; i++)
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(revisionID: "0", entries: GenerateChangeActions(i)),
- }
- };
-
- _presenter.OnUpdatePage(0);
- var item = _window.items.First();
-
- Assert.AreEqual(i > 10, item.changesTruncated);
- }
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__OnlyKeeps10ChangeActions()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision(authorName: "Test", author: "test", entries: GenerateChangeActions(12)),
- }
- };
-
- _presenter.OnUpdatePage(1);
- var item = _window.items.First();
-
- Assert.AreEqual(10, item.changes.Count);
- Assert.AreEqual(12, item.changesTotal);
- Assert.AreEqual(true, item.changesTruncated);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__DeduplicatesMetaFiles()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision
- (
- authorName: "Test",
- author: "test",
- revisionID: "",
- entries: new ChangeAction[2]
- {
- new ChangeAction(path: "Path1", action: "Action1"),
- new ChangeAction(path: "Path1.meta", action: "Action1"),
- }
- ),
- }
- };
-
- _presenter.OnUpdatePage(1);
- var item = _window.items.First();
-
- Assert.AreEqual(1, item.changes.Count);
- Assert.AreEqual(1, item.changesTotal);
- Assert.AreEqual("Path1", item.changes.First().path);
- }
-
- [Test]
- public void CollabHistoryPresenter_OnUpdatePage__FolderMetaFilesAreCounted()
- {
- _service.result = new RevisionsResult()
- {
- Revisions = new List()
- {
- new Revision
- (
- authorName: "Test",
- author: "test",
- entries: new ChangeAction[1]
- {
- new ChangeAction(path: "Folder1.meta", action: "Action1"),
- }
- ),
- }
- };
-
- _presenter.OnUpdatePage(1);
- var item = _window.items.First();
-
- Assert.AreEqual(1, item.changes.Count);
- Assert.AreEqual(1, item.changesTotal);
- Assert.AreEqual("Folder1", item.changes.First().path);
- }
-
- private static ChangeAction[] GenerateChangeActions(int count)
- {
- var entries = new ChangeAction[count];
- for (var i = 0; i < count; i++)
- entries[i] = new ChangeAction(path: "Path" + i, action: "Action" + i);
- return entries;
- }
- }
-
- internal class TestRevisionsService : IRevisionsService
- {
- public RevisionsResult result;
- public event RevisionsDelegate FetchRevisionsCallback;
-
- public string tipRevision { get; set; }
- public string currentUser { get; set; }
-
- public void GetRevisions(int offset, int count)
- {
- if(FetchRevisionsCallback != null)
- {
- FetchRevisionsCallback(result);
- }
- }
- }
-
- internal class TestHistoryWindow : ICollabHistoryWindow
- {
- public IEnumerable items;
-
- public bool revisionActionsEnabled { get; set; }
- public int itemsPerPage { get; set; }
- public string errMessage { get; set; }
- public string inProgressRevision { get; set; }
- public PageChangeAction OnPageChangeAction { get; set; }
- public RevisionAction OnGoBackAction { get; set; }
- public RevisionAction OnUpdateAction { get; set; }
- public RevisionAction OnRestoreAction { get; set; }
- public ShowBuildAction OnShowBuildAction { get; set; }
- public Action OnShowServicesAction { get; set; }
-
- public void UpdateState(HistoryState state, bool force)
- {
- }
-
- public void UpdateRevisions(IEnumerable items, string tip, int totalRevisions, int currPage)
- {
- this.items = items;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/HistoryTests.cs.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/HistoryTests.cs.meta
deleted file mode 100644
index d648a7f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/HistoryTests.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 23a56a19774ed42b6b65646af08a003c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/Unity.CollabProxy.EditorTests.asmdef b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/Unity.CollabProxy.EditorTests.asmdef
deleted file mode 100644
index 3467a9e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/Unity.CollabProxy.EditorTests.asmdef
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "name": "Unity.CollabProxy.EditorTests",
- "references": [
- "Unity.CollabProxy.Editor"
- ],
- "optionalUnityReferences": [
- "TestAssemblies"
- ],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": []
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/Unity.CollabProxy.EditorTests.asmdef.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/Unity.CollabProxy.EditorTests.asmdef.meta
deleted file mode 100644
index 57db5c7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/Tests/Editor/Unity.CollabProxy.EditorTests.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 782de34c17796430ba8d0ceddb60944e
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/package.json b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/package.json
deleted file mode 100644
index 3402274..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/package.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "name": "com.unity.collab-proxy",
- "displayName": "Unity Collaborate",
- "version": "1.2.16",
- "unity": "2018.3",
- "description": "Collaborate is a simple way for teams to save, share, and sync their Unity project",
- "keywords": [
- "collab",
- "collaborate",
- "teams",
- "team",
- "cloud",
- "backup"
- ],
- "dependencies": {},
- "repository": {
- "type": "git",
- "url": "https://gitlab.cds.internal.unity3d.com/upm-packages/cloud-services/collab-proxy.git",
- "revision": "070e173b6a36e1d6097b1d95e09c08840c23f6ca"
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/package.json.meta b/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/package.json.meta
deleted file mode 100644
index c52d0c6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.collab-proxy@1.2.16/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 57b0c806ba25b48aa8a6ecb3345a4a9b
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/.gitlab-ci.yml b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/.gitlab-ci.yml
deleted file mode 100644
index 4c64e22..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/.gitlab-ci.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-image: node:6.10.0
-
-stages:
- - push_to_packman_staging
-
-push_to_packman_staging:
- stage: push_to_packman_staging
- only:
- - tags
- script:
- - sed -i "s/0.0.1-PLACEHOLDERVERSION/$CI_COMMIT_TAG/g" package.json
- - sed -i "s/PLACEHOLDERSHA/$CI_COMMIT_SHA/g" package.json
- - sed -i "s/0.0.1-PLACEHOLDERVERSION/$CI_COMMIT_TAG/g" CHANGELOG.md
- - curl -u $USER_NAME:$API_KEY https://staging-packages.unity.com/auth > .npmrc
- - npm publish
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/CHANGELOG.md b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/CHANGELOG.md
deleted file mode 100644
index 225baea..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/CHANGELOG.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Changelog
-All notable changes to this package will be documented in this file.
-
-The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
-
-## [1.0.0] - 2019-02-21
-
-### This is the first release of *Unity Package com.unity.ext.nunit*.
-
-- Migrated the custom version of nunit from inside of unity.
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/CHANGELOG.md.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/CHANGELOG.md.meta
deleted file mode 100644
index d91fbde..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/CHANGELOG.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: f49bbe06ffa5ae24abe32abdab430c24
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/Documentation~/ext.nunit.md b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/Documentation~/ext.nunit.md
deleted file mode 100644
index 2a38b9d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/Documentation~/ext.nunit.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Custom Nunit build to work with Unity
-
-This version of nunit works with all platforms, il2cpp and Mono AOT.
-
-For Nunit Documentation:
-https://github.com/nunit/docs/wiki/NUnit-Documentation
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/LICENSE.md b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/LICENSE.md
deleted file mode 100644
index ccc1f59..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/LICENSE.md
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2018 Charlie Poole, Rob Prouse
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/LICENSE.md.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/LICENSE.md.meta
deleted file mode 100644
index 90df748..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/LICENSE.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: f91a00d2dca52b843b2d50ccf750737d
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/README.md b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/README.md
deleted file mode 100644
index 2a38b9d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Custom Nunit build to work with Unity
-
-This version of nunit works with all platforms, il2cpp and Mono AOT.
-
-For Nunit Documentation:
-https://github.com/nunit/docs/wiki/NUnit-Documentation
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/README.md.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/README.md.meta
deleted file mode 100644
index e9a7f9f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/README.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 5da62a0c1c5218c4aa16b74546a7822d
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35.meta
deleted file mode 100644
index 278a2fa..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a36d8b72880a8004f96ac54ce4598ff9
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom.meta
deleted file mode 100644
index 750f82c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 2347243c7aa3e224f9282dc94e6fc3b2
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/This is a custom build DONT include.txt b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/This is a custom build DONT include.txt
deleted file mode 100644
index 0839eb9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/This is a custom build DONT include.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-This is a custom nUnit build meant to be used by Unity editor and players. It shoul not be included or referenced from anywhere (unless you know what you're doing)
-
-Build from this repo
-https://github.com/Unity-Technologies/nunit
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/This is a custom build DONT include.txt.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/This is a custom build DONT include.txt.meta
deleted file mode 100644
index 5e251ee..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/This is a custom build DONT include.txt.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 3d67ccdf81bed8247ad0db2d5f47a7d1
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll
deleted file mode 100644
index 3af863c..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.mdb b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.mdb
deleted file mode 100644
index cb688df..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.mdb and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.mdb.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.mdb.meta
deleted file mode 100644
index 1e81d1e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.mdb.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 6f768c3714a34a549960ea903fbadcc2
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.meta
deleted file mode 100644
index 2870dbc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll.meta
+++ /dev/null
@@ -1,37 +0,0 @@
-fileFormatVersion: 2
-guid: f1605f5534186904fa2c4c42acbfe01e
-PluginImporter:
- externalObjects: {}
- serializedVersion: 2
- iconMap: {}
- executionOrder: {}
- defineConstraints: ["UNITY_INCLUDE_TESTS"]
- isPreloaded: 0
- isOverridable: 1
- isExplicitlyReferenced: 1
- platformData:
- - first:
- '': Any
- second:
- enabled: 0
- settings: {}
- - first:
- Any:
- second:
- enabled: 1
- settings: {}
- - first:
- Editor: Editor
- second:
- enabled: 0
- settings:
- DefaultValueInitialized: true
- - first:
- Windows Store Apps: WindowsStoreApps
- second:
- enabled: 0
- settings:
- CPU: AnyCPU
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.pdb b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.pdb
deleted file mode 100644
index cae9b39..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.pdb and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.pdb.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.pdb.meta
deleted file mode 100644
index dc02745..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.pdb.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: f136f1f122a53c64c9af51baecaa9c96
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.xml b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.xml
deleted file mode 100644
index aea2099..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.xml
+++ /dev/null
@@ -1,18101 +0,0 @@
-
-
-
- nunit.framework
-
-
-
-
- Basic Asserts on strings.
-
-
-
-
- The Equals method throws an InvalidOperationException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an InvalidOperationException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string is not found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string does not start with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string does not start with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string does not end with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string does not end with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
-
-
-
- Asserts that two strings are not equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that two strings are not equal, without regard to case.
-
- The expected string
- The actual string
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The regex pattern to be matched
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The regex pattern to be matched
- The actual string
-
-
-
- Asserts that a string does not match an expected regular expression pattern.
-
- The regex pattern to be used
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string does not match an expected regular expression pattern.
-
- The regex pattern to be used
- The actual string
-
-
-
- Combines multiple filters so that a test must pass all
- of them in order to pass this filter.
-
-
-
-
- A base class for multi-part filters
-
-
-
-
- Interface to be implemented by filters applied to tests.
- The filter applies when running the test, after it has been
- loaded, since this is the only time an ITest exists.
-
-
-
-
- Interface to be implemented by filters applied to tests.
- The filter applies when running the test, after it has been
- loaded, since this is the only time an ITest exists.
-
-
-
-
- An object implementing IXmlNodeBuilder is able to build
- an XML representation of itself and any children.
-
-
-
-
- Returns a TNode representing the current object.
-
- If true, children are included where applicable
- A TNode representing the result
-
-
-
- Returns a TNode representing the current object after
- adding it as a child of the supplied parent node.
-
- The parent node.
- If true, children are included, where applicable
-
-
-
-
- Determine if a particular test passes the filter criteria. Pass
- may examine the parents and/or descendants of a test, depending
- on the semantics of the particular filter
-
- The test to which the filter is applied
- True if the test passes the filter, otherwise false
-
-
-
- Determine if a test matches the filter expicitly. That is, it must
- be a direct match of the test itself or one of it's children.
-
- The test to which the filter is applied
- True if the test matches the filter explicityly, otherwise false
-
-
-
- Unique Empty filter.
-
-
-
-
- Determine if a particular test passes the filter criteria. The default
- implementation checks the test itself, its parents and any descendants.
-
- Derived classes may override this method or any of the Match methods
- to change the behavior of the filter.
-
- The test to which the filter is applied
- True if the test passes the filter, otherwise false
-
-
-
- Determine if a test matches the filter expicitly. That is, it must
- be a direct match of the test itself or one of it's children.
-
- The test to which the filter is applied
- True if the test matches the filter explicityly, otherwise false
-
-
-
- Determine whether the test itself matches the filter criteria, without
- examining either parents or descendants. This is overridden by each
- different type of filter to perform the necessary tests.
-
- The test to which the filter is applied
- True if the filter matches the any parent of the test
-
-
-
- Determine whether any ancestor of the test matches the filter criteria
-
- The test to which the filter is applied
- True if the filter matches the an ancestor of the test
-
-
-
- Determine whether any descendant of the test matches the filter criteria.
-
- The test to be matched
- True if at least one descendant matches the filter criteria
-
-
-
- Create a TestFilter instance from an xml representation.
-
-
-
-
- Create a TestFilter from it's TNode representation
-
-
-
-
- Adds an XML node
-
- True if recursive
- The added XML node
-
-
-
- Adds an XML node
-
- Parent node
- True if recursive
- The added XML node
-
-
-
- Indicates whether this is the EmptyFilter
-
-
-
-
- Indicates whether this is a top-level filter,
- not contained in any other filter.
-
-
-
-
- Nested class provides an empty filter - one that always
- returns true when called. It never matches explicitly.
-
-
-
-
- Constructs an empty CompositeFilter
-
-
-
-
- Constructs a CompositeFilter from an array of filters
-
-
-
-
-
- Adds a filter to the list of filters
-
- The filter to be added
-
-
-
- Checks whether the CompositeFilter is matched by a test.
-
- The test to be matched
-
-
-
- Checks whether the CompositeFilter is matched by a test.
-
- The test to be matched
-
-
-
- Checks whether the CompositeFilter is explicit matched by a test.
-
- The test to be matched
-
-
-
- Adds an XML node
-
- Parent node
- True if recursive
- The added XML node
-
-
-
- Return a list of the composing filters.
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- Constructs an empty AndFilter
-
-
-
-
- Constructs an AndFilter from an array of filters
-
-
-
-
-
- Checks whether the AndFilter is matched by a test
-
- The test to be matched
- True if all the component filters pass, otherwise false
-
-
-
- Checks whether the AndFilter is matched by a test
-
- The test to be matched
- True if all the component filters match, otherwise false
-
-
-
- Checks whether the AndFilter is explicit matched by a test.
-
- The test to be matched
- True if all the component filters explicit match, otherwise false
-
-
-
- Gets the element name
-
- Element name
-
-
-
- SubstringConstraint can test whether a string contains
- the expected substring.
-
-
-
-
- StringConstraint is the abstract base for constraints
- that operate on strings. It supports the IgnoreCase
- modifier for string operations.
-
-
-
-
- The Constraint class is the base of all built-in constraints
- within NUnit. It provides the operator overloads used to combine
- constraints.
-
-
-
-
- Interface for all constraints
-
-
-
-
- The IResolveConstraint interface is implemented by all
- complete and resolvable constraints and expressions.
-
-
-
-
- Return the top-level constraint for this expression
-
-
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- Applies the constraint to an ActualValueDelegate that returns
- the value to be tested. The default implementation simply evaluates
- the delegate but derived classes may override it to provide for
- delayed processing.
-
- An ActualValueDelegate
- A ConstraintResult
-
-
-
- Test whether the constraint is satisfied by a given reference.
- The default implementation simply dereferences the value but
- derived classes may override it to provide for delayed processing.
-
- A reference to the value to be tested
- A ConstraintResult
-
-
-
- The display name of this Constraint for use by ToString().
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Arguments provided to this Constraint, for use in
- formatting the description.
-
-
-
-
- The ConstraintBuilder holding this constraint
-
-
-
-
- Construct a constraint with optional arguments
-
- Arguments to be saved
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- Applies the constraint to an ActualValueDelegate that returns
- the value to be tested. The default implementation simply evaluates
- the delegate but derived classes may override it to provide for
- delayed processing.
-
- An ActualValueDelegate
- A ConstraintResult
-
-
-
- Test whether the constraint is satisfied by a given reference.
- The default implementation simply dereferences the value but
- derived classes may override it to provide for delayed processing.
-
- A reference to the value to be tested
- A ConstraintResult
-
-
-
- Retrieves the value to be tested from an ActualValueDelegate.
- The default implementation simply evaluates the delegate but derived
- classes may override it to provide for delayed processing.
-
- An ActualValueDelegate
- Delegate evaluation result
-
-
-
- Default override of ToString returns the constraint DisplayName
- followed by any arguments within angle brackets.
-
-
-
-
-
- Returns the string representation of this constraint
-
-
-
-
- This operator creates a constraint that is satisfied only if both
- argument constraints are satisfied.
-
-
-
-
- This operator creates a constraint that is satisfied if either
- of the argument constraints is satisfied.
-
-
-
-
- This operator creates a constraint that is satisfied if the
- argument constraint is not satisfied.
-
-
-
-
- Returns a DelayedConstraint with the specified delay time.
-
- The delay in milliseconds.
-
-
-
-
- Returns a DelayedConstraint with the specified delay time
- and polling interval.
-
- The delay in milliseconds.
- The interval at which to test the constraint.
-
-
-
-
- Resolves any pending operators and returns the resolved constraint.
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Arguments provided to this Constraint, for use in
- formatting the description.
-
-
-
-
- The ConstraintBuilder holding this constraint
-
-
-
-
- Returns a ConstraintExpression by appending And
- to the current constraint.
-
-
-
-
- Returns a ConstraintExpression by appending And
- to the current constraint.
-
-
-
-
- Returns a ConstraintExpression by appending Or
- to the current constraint.
-
-
-
-
- The expected value
-
-
-
-
- Indicates whether tests should be case-insensitive
-
-
-
-
- Description of this constraint
-
-
-
-
- Constructs a StringConstraint without an expected value
-
-
-
-
- Constructs a StringConstraint given an expected value
-
- The expected value
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Test whether the constraint is satisfied by a given string
-
- The string to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Modify the constraint to ignore case in matching.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Abstract base class used for prefixes
-
-
-
-
- Construct given a base constraint
-
-
-
-
-
- The base constraint
-
-
-
-
- Prefix used in forming the constraint description
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- AssignableToConstraint is used to test that an object
- can be assigned to a given Type.
-
-
-
-
- TypeConstraint is the abstract base for constraints
- that take a Type as their expected value.
-
-
-
-
- The expected Type used by the constraint
-
-
-
-
- The type of the actual argument to which the constraint was applied
-
-
-
-
- Construct a TypeConstraint for a given Type
-
- The expected type for the constraint
- Prefix used in forming the constraint description
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- Apply the constraint to an actual value, returning true if it succeeds
-
- The actual argument
- True if the constraint succeeds, otherwise false.
-
-
-
- Construct an AssignableToConstraint for the type provided
-
-
-
-
-
- Apply the constraint to an actual value, returning true if it succeeds
-
- The actual argument
- True if the constraint succeeds, otherwise false.
-
-
-
- Summary description for MaxTimeAttribute.
-
-
-
-
- PropertyAttribute is used to attach information to a test as a name/value pair..
-
-
-
-
- The abstract base class for all custom attributes defined by NUnit.
-
-
-
-
- Default constructor
-
-
-
-
- The IApplyToTest interface is implemented by self-applying
- attributes that modify the state of a test in some way.
-
-
-
-
- Modifies a test as defined for the specific attribute.
-
- The test to modify
-
-
-
- Construct a PropertyAttribute with a name and string value
-
- The name of the property
- The property value
-
-
-
- Construct a PropertyAttribute with a name and int value
-
- The name of the property
- The property value
-
-
-
- Construct a PropertyAttribute with a name and double value
-
- The name of the property
- The property value
-
-
-
- Constructor for derived classes that set the
- property dictionary directly.
-
-
-
-
- Constructor for use by derived classes that use the
- name of the type as the property name. Derived classes
- must ensure that the Type of the property value is
- a standard type supported by the BCL. Any custom
- types will cause a serialization Exception when
- in the client.
-
-
-
-
- Modifies a test by adding properties to it.
-
- The test to modify
-
-
-
- Gets the property dictionary for this attribute
-
-
-
-
- Objects implementing this interface are used to wrap
- the entire test, including SetUp and TearDown.
-
-
-
-
- ICommandWrapper is implemented by attributes and other
- objects able to wrap a TestCommand with another command.
-
-
- Attributes or other objects should implement one of the
- derived interfaces, rather than this one, since they
- indicate in which part of the command chain the wrapper
- should be applied.
-
-
-
-
- Wrap a command and return the result.
-
- The command to be wrapped
- The wrapped command
-
-
-
- Construct a MaxTimeAttribute, given a time in milliseconds.
-
- The maximum elapsed time in milliseconds
-
-
-
- Randomizer returns a set of random _values in a repeatable
- way, to allow re-running of tests if necessary. It extends
- the .NET Random class, providing random values for a much
- wider range of types.
-
- The class is used internally by the framework to generate
- test case data and is also exposed for use by users through
- the TestContext.Random property.
-
-
- For consistency with the underlying Random Type, methods
- returning a single value use the prefix "Next..." Those
- without an argument return a non-negative value up to
- the full positive range of the Type. Overloads are provided
- for specifying a maximum or a range. Methods that return
- arrays or strings use the prefix "Get..." to avoid
- confusion with the single-value methods.
-
-
-
-
- Default characters for random functions.
-
- Default characters are the English alphabet (uppercase & lowercase), arabic numerals, and underscore
-
-
-
- Get a Randomizer for a particular member, returning
- one that has already been created if it exists.
- This ensures that the same _values are generated
- each time the tests are reloaded.
-
-
-
-
- Get a randomizer for a particular parameter, returning
- one that has already been created if it exists.
- This ensures that the same values are generated
- each time the tests are reloaded.
-
-
-
-
- Create a new Randomizer using the next seed
- available to ensure that each randomizer gives
- a unique sequence of values.
-
-
-
-
-
- Default constructor
-
-
-
-
- Construct based on seed value
-
-
-
-
-
- Returns a random unsigned int.
-
-
-
-
- Returns a random unsigned int less than the specified maximum.
-
-
-
-
- Returns a random unsigned int within a specified range.
-
-
-
-
- Returns a non-negative random short.
-
-
-
-
- Returns a non-negative random short less than the specified maximum.
-
-
-
-
- Returns a non-negative random short within a specified range.
-
-
-
-
- Returns a random unsigned short.
-
-
-
-
- Returns a random unsigned short less than the specified maximum.
-
-
-
-
- Returns a random unsigned short within a specified range.
-
-
-
-
- Returns a random long.
-
-
-
-
- Returns a random long less than the specified maximum.
-
-
-
-
- Returns a non-negative random long within a specified range.
-
-
-
-
- Returns a random ulong.
-
-
-
-
- Returns a random ulong less than the specified maximum.
-
-
-
-
- Returns a non-negative random long within a specified range.
-
-
-
-
- Returns a random Byte
-
-
-
-
- Returns a random Byte less than the specified maximum.
-
-
-
-
- Returns a random Byte within a specified range
-
-
-
-
- Returns a random SByte
-
-
-
-
- Returns a random sbyte less than the specified maximum.
-
-
-
-
- Returns a random sbyte within a specified range
-
-
-
-
- Returns a random bool
-
-
-
-
- Returns a random bool based on the probablility a true result
-
-
-
-
- Returns a random double between 0.0 and the specified maximum.
-
-
-
-
- Returns a random double within a specified range.
-
-
-
-
- Returns a random float.
-
-
-
-
- Returns a random float between 0.0 and the specified maximum.
-
-
-
-
- Returns a random float within a specified range.
-
-
-
-
- Returns a random enum value of the specified Type as an object.
-
-
-
-
- Returns a random enum value of the specified Type.
-
-
-
-
- Generate a random string based on the characters from the input string.
-
- desired length of output string.
- string representing the set of characters from which to construct the resulting string
- A random string of arbitrary length
-
-
-
- Generate a random string based on the characters from the input string.
-
- desired length of output string.
- A random string of arbitrary length
- Uses DefaultStringChars as the input character set
-
-
-
- Generate a random string based on the characters from the input string.
-
- A random string of the default length
- Uses DefaultStringChars as the input character set
-
-
-
- Returns a random decimal.
-
-
-
-
- Returns a random decimal between positive zero and the specified maximum.
-
-
-
-
- Returns a random decimal within a specified range, which is not
- permitted to exceed decimal.MaxVal in the current implementation.
-
-
- A limitation of this implementation is that the range from min
- to max must not exceed decimal.MaxVal.
-
-
-
-
- Initial seed used to create randomizers for this run
-
-
-
-
- The IFixtureBuilder interface is exposed by a class that knows how to
- build a TestFixture from one or more Types. In general, it is exposed
- by an attribute, but may be implemented in a helper class used by the
- attribute in some cases.
-
-
-
-
- Build one or more TestFixtures from type provided. At least one
- non-null TestSuite must always be returned, since the method is
- generally called because the user has marked the target class as
- a fixture. If something prevents the fixture from being used, it
- will be returned nonetheless, labelled as non-runnable.
-
- The type info of the fixture to be used.
- A TestSuite object or one derived from TestSuite.
-
-
-
- The ITestBuilder interface is exposed by a class that knows how to
- build one or more TestMethods from a MethodInfo. In general, it is exposed
- by an attribute, which has additional information available to provide
- the necessary test parameters to distinguish the test cases built.
-
-
-
-
- Build one or more TestMethods from the provided MethodInfo.
-
- The method to be used as a test
- The TestSuite to which the method will be added
- A TestMethod object
-
-
-
- The IReflectionInfo interface is implemented by NUnit wrapper objects that perform reflection.
-
-
-
-
- Returns an array of custom attributes of the specified type applied to this object
-
-
-
-
- Returns a value indicating whether an attribute of the specified type is defined on this object.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the result of running a test suite
-
-
-
-
- The TestResult class represents the result of a test.
-
-
-
-
- The ITestResult interface represents the result of a test.
-
-
-
-
- Gets the ResultState of the test result, which
- indicates the success or failure of the test.
-
-
-
-
- Gets the name of the test result
-
-
-
-
- Gets the full name of the test result
-
-
-
-
- Gets the elapsed time for running the test in seconds
-
-
-
-
- Gets or sets the time the test started running.
-
-
-
-
- Gets or sets the time the test finished running.
-
-
-
-
- Gets the message associated with a test
- failure or with not running the test
-
-
-
-
- Gets any stacktrace associated with an
- error or failure. Not available in
- the Compact Framework 1.0.
-
-
-
-
- Gets the number of asserts executed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that failed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that passed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were skipped
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were inconclusive
- when running the test and all its children.
-
-
-
-
- Indicates whether this result has any child results.
- Accessing HasChildren should not force creation of the
- Children collection in classes implementing this interface.
-
-
-
-
- Gets the the collection of child results.
-
-
-
-
- Gets the Test to which this result applies.
-
-
-
-
- Gets any text output written to this result.
-
-
-
-
- The minimum duration for tests
-
-
-
-
- Error message for when child tests have errors
-
-
-
-
- Error message for when child tests are ignored
-
-
-
-
- Aggregate assertion count
-
-
-
-
- Construct a test result given a Test
-
- The test to be used
-
-
-
- Returns the Xml representation of the result.
-
- If true, descendant results are included
- An XmlNode representing the result
-
-
-
- Adds the XML representation of the result as a child of the
- supplied parent node..
-
- The parent node.
- If true, descendant results are included
-
-
-
-
- Set the result of the test
-
- The ResultState to use in the result
-
-
-
- Set the result of the test
-
- The ResultState to use in the result
- A message associated with the result state
-
-
-
- Set the result of the test
-
- The ResultState to use in the result
- A message associated with the result state
- Stack trace giving the location of the command
-
-
-
- Set the test result based on the type of exception thrown
-
- The exception that was thrown
-
-
-
- Set the test result based on the type of exception thrown
-
- The exception that was thrown
- THe FailureSite to use in the result
-
-
-
- RecordTearDownException appends the message and stacktrace
- from an exception arising during teardown of the test
- to any previously recorded information, so that any
- earlier failure information is not lost. Note that
- calling Assert.Ignore, Assert.Inconclusive, etc. during
- teardown is treated as an error. If the current result
- represents a suite, it may show a teardown error even
- though all contained tests passed.
-
- The Exception to be recorded
-
-
-
- Adds a reason element to a node and returns it.
-
- The target node.
- The new reason element.
-
-
-
- Adds a failure element to a node and returns it.
-
- The target node.
- The new failure element.
-
-
-
- Gets the test with which this result is associated.
-
-
-
-
- Gets the ResultState of the test result, which
- indicates the success or failure of the test.
-
-
-
-
- Gets the name of the test result
-
-
-
-
- Gets the full name of the test result
-
-
-
-
- Gets or sets the elapsed time for running the test in seconds
-
-
-
-
- Gets or sets the time the test started running.
-
-
-
-
- Gets or sets the time the test finished running.
-
-
-
-
- Gets the message associated with a test
- failure or with not running the test
-
-
-
-
- Gets any stacktrace associated with an
- error or failure.
-
-
-
-
- Gets or sets the count of asserts executed
- when running the test.
-
-
-
-
- Gets the number of test cases that failed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that passed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were skipped
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were inconclusive
- when running the test and all its children.
-
-
-
-
- Indicates whether this result has any child results.
-
-
-
-
- Gets the collection of child results.
-
-
-
-
- Gets a TextWriter, which will write output to be included in the result.
-
-
-
-
- Gets any text output written to this result.
-
-
-
-
- Construct a TestSuiteResult base on a TestSuite
-
- The TestSuite to which the result applies
-
-
-
- Adds a child result to this result, setting this result's
- ResultState to Failure if the child result failed.
-
- The result to be added
-
-
-
- Gets the number of test cases that failed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that passed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were skipped
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were inconclusive
- when running the test and all its children.
-
-
-
-
- Indicates whether this result has any child results.
-
-
-
-
- Gets the collection of child results.
-
-
-
-
- TestSuite represents a composite test, which contains other tests.
-
-
-
-
- The Test abstract class represents a test within the framework.
-
-
-
-
- Common interface supported by all representations
- of a test. Only includes informational fields.
- The Run method is specifically excluded to allow
- for data-only representations of a test.
-
-
-
-
- Gets the id of the test
-
-
-
-
- Gets the name of the test
-
-
-
-
- Gets the fully qualified name of the test
-
-
-
-
- Gets the name of the class containing this test. Returns
- null if the test is not associated with a class.
-
-
-
-
- Gets the name of the method implementing this test.
- Returns null if the test is not implemented as a method.
-
-
-
-
- Gets the Type of the test fixture, if applicable, or
- null if no fixture type is associated with this test.
-
-
-
-
- Gets an IMethod for the method implementing this test.
- Returns null if the test is not implemented as a method.
-
-
-
-
- Gets the RunState of the test, indicating whether it can be run.
-
-
-
-
- Count of the test cases ( 1 if this is a test case )
-
-
-
-
- Gets the properties of the test
-
-
-
-
- Gets the parent test, if any.
-
- The parent test or null if none exists.
-
-
-
- Returns true if this is a test suite
-
-
-
-
- Gets a bool indicating whether the current test
- has any descendant tests.
-
-
-
-
- Gets this test's child tests
-
- A list of child tests
-
-
-
- Gets a fixture object for running this test.
-
-
-
-
- Static value to seed ids. It's started at 1000 so any
- uninitialized ids will stand out.
-
-
-
-
- The SetUp methods.
-
-
-
-
- The teardown methods
-
-
-
-
- Used to cache the declaring type for this MethodInfo
-
-
-
-
- Method property backing field
-
-
-
-
- Constructs a test given its name
-
- The name of the test
-
-
-
- Constructs a test given the path through the
- test hierarchy to its parent and a name.
-
- The parent tests full name
- The name of the test
-
-
-
- TODO: Documentation needed for constructor
-
-
-
-
-
- Construct a test from a MethodInfo
-
-
-
-
-
- Creates a TestResult for this test.
-
- A TestResult suitable for this type of test.
-
-
-
- Modify a newly constructed test by applying any of NUnit's common
- attributes, based on a supplied ICustomAttributeProvider, which is
- usually the reflection element from which the test was constructed,
- but may not be in some instances. The attributes retrieved are
- saved for use in subsequent operations.
-
- An object implementing ICustomAttributeProvider
-
-
-
- Add standard attributes and members to a test node.
-
-
-
-
-
-
- Returns the Xml representation of the test
-
- If true, include child tests recursively
-
-
-
-
- Returns an XmlNode representing the current result after
- adding it as a child of the supplied parent node.
-
- The parent node.
- If true, descendant results are included
-
-
-
-
- Compares this test to another test for sorting purposes
-
- The other test
- Value of -1, 0 or +1 depending on whether the current test is less than, equal to or greater than the other test
-
-
-
- Gets or sets the id of the test
-
-
-
-
-
- Gets or sets the name of the test
-
-
-
-
- Gets or sets the fully qualified name of the test
-
-
-
-
-
- Gets the name of the class where this test was declared.
- Returns null if the test is not associated with a class.
-
-
-
-
- Gets the name of the method implementing this test.
- Returns null if the test is not implemented as a method.
-
-
-
-
- Gets the TypeInfo of the fixture used in running this test
- or null if no fixture type is associated with it.
-
-
-
-
- Gets a MethodInfo for the method implementing this test.
- Returns null if the test is not implemented as a method.
-
-
-
-
- Whether or not the test should be run
-
-
-
-
- Gets the name used for the top-level element in the
- XML representation of this test
-
-
-
-
- Gets a string representing the type of test. Used as an attribute
- value in the XML representation of a test and has no other
- function in the framework.
-
-
-
-
- Gets a count of test cases represented by
- or contained under this test.
-
-
-
-
- Gets the properties for this test
-
-
-
-
- Returns true if this is a TestSuite
-
-
-
-
- Gets a bool indicating whether the current test
- has any descendant tests.
-
-
-
-
- Gets the parent as a Test object.
- Used by the core to set the parent.
-
-
-
-
- Gets this test's child tests
-
- A list of child tests
-
-
-
- Gets or sets a fixture object for running this test.
-
-
-
-
- Static prefix used for ids in this AppDomain.
- Set by FrameworkController.
-
-
-
-
- Gets or Sets the Int value representing the seed for the RandomGenerator
-
-
-
-
-
- Our collection of child tests
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the suite.
-
-
-
- Initializes a new instance of the class.
-
- Name of the parent suite.
- The name of the suite.
-
-
-
- Initializes a new instance of the class.
-
- Type of the fixture.
-
-
-
- Initializes a new instance of the class.
-
- Type of the fixture.
-
-
-
- Sorts tests under this suite.
-
-
-
-
- Adds a test to the suite.
-
- The test.
-
-
-
- Overridden to return a TestSuiteResult.
-
- A TestResult for this test.
-
-
-
- Returns an XmlNode representing the current result after
- adding it as a child of the supplied parent node.
-
- The parent node.
- If true, descendant results are included
-
-
-
-
- Check that setup and teardown methods marked by certain attributes
- meet NUnit's requirements and mark the tests not runnable otherwise.
-
- The attribute type to check for
-
-
-
- Gets this test's child tests
-
- The list of child tests
-
-
-
- Gets a count of test cases represented by
- or contained under this test.
-
-
-
-
-
- The arguments to use in creating the fixture
-
-
-
-
- Set to true to suppress sorting this suite's contents
-
-
-
-
- Gets a bool indicating whether the current test
- has any descendant tests.
-
-
-
-
- Gets the name used for the top-level element in the
- XML representation of this test
-
-
-
-
- A PropertyBag represents a collection of name value pairs
- that allows duplicate entries with the same key. Methods
- are provided for adding a new pair as well as for setting
- a key to a single value. All keys are strings but _values
- may be of any type. Null _values are not permitted, since
- a null entry represents the absence of the key.
-
-
-
-
- A PropertyBag represents a collection of name/value pairs
- that allows duplicate entries with the same key. Methods
- are provided for adding a new pair as well as for setting
- a key to a single value. All keys are strings but _values
- may be of any type. Null _values are not permitted, since
- a null entry represents the absence of the key.
-
- The entries in a PropertyBag are of two kinds: those that
- take a single value and those that take multiple _values.
- However, the PropertyBag has no knowledge of which entries
- fall into each category and the distinction is entirely
- up to the code using the PropertyBag.
-
- When working with multi-valued properties, client code
- should use the Add method to add name/value pairs and
- indexing to retrieve a list of all _values for a given
- key. For example:
-
- bag.Add("Tag", "one");
- bag.Add("Tag", "two");
- Assert.That(bag["Tag"],
- Is.EqualTo(new string[] { "one", "two" }));
-
- When working with single-valued propeties, client code
- should use the Set method to set the value and Get to
- retrieve the value. The GetSetting methods may also be
- used to retrieve the value in a type-safe manner while
- also providing default. For example:
-
- bag.Set("Priority", "low");
- bag.Set("Priority", "high"); // replaces value
- Assert.That(bag.Get("Priority"),
- Is.EqualTo("high"));
- Assert.That(bag.GetSetting("Priority", "low"),
- Is.EqualTo("high"));
-
-
-
-
- Adds a key/value pair to the property bag
-
- The key
- The value
-
-
-
- Sets the value for a key, removing any other
- _values that are already in the property set.
-
-
-
-
-
-
- Gets a single value for a key, using the first
- one if multiple _values are present and returning
- null if the value is not found.
-
-
-
-
- Gets a flag indicating whether the specified key has
- any entries in the property set.
-
- The key to be checked
- True if their are _values present, otherwise false
-
-
-
- Gets or sets the list of _values for a particular key
-
- The key for which the _values are to be retrieved or set
-
-
-
- Gets a collection containing all the keys in the property set
-
-
-
-
- Adds a key/value pair to the property set
-
- The key
- The value
-
-
-
- Sets the value for a key, removing any other
- _values that are already in the property set.
-
-
-
-
-
-
- Gets a single value for a key, using the first
- one if multiple _values are present and returning
- null if the value is not found.
-
-
-
-
-
-
- Gets a flag indicating whether the specified key has
- any entries in the property set.
-
- The key to be checked
-
- True if their are _values present, otherwise false
-
-
-
-
- Returns an XmlNode representating the current PropertyBag.
-
- Not used
- An XmlNode representing the PropertyBag
-
-
-
- Returns an XmlNode representing the PropertyBag after
- adding it as a child of the supplied parent node.
-
- The parent node.
- Not used
-
-
-
-
- Gets a collection containing all the keys in the property set
-
-
-
-
-
- Gets or sets the list of _values for a particular key
-
-
-
-
- Thrown when an assertion failed. Here to preserve the inner
- exception and hence its stack trace.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The error message that explains
- the reason for the exception
-
-
-
- Initializes a new instance of the class.
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- FullName filter selects tests based on their FullName
-
-
-
-
- ValueMatchFilter selects tests based on some value, which
- is expected to be contained in the test.
-
-
-
-
- Construct a ValueMatchFilter for a single value.
-
- The value to be included.
-
-
-
- Match the input provided by the derived class
-
- The value to be matchedT
- True for a match, false otherwise.
-
-
-
- Adds an XML node
-
- Parent node
- True if recursive
- The added XML node
-
-
-
- Returns the value matched by the filter - used for testing
-
-
-
-
- Indicates whether the value is a regular expression
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- Construct a FullNameFilter for a single name
-
- The name the filter will recognize.
-
-
-
- Match a test against a single value.
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- NotFilter negates the operation of another filter
-
-
-
-
- Construct a not filter on another filter
-
- The filter to be negated
-
-
-
- Determine if a particular test passes the filter criteria. The default
- implementation checks the test itself, its parents and any descendants.
-
- Derived classes may override this method or any of the Match methods
- to change the behavior of the filter.
-
- The test to which the filter is applied
- True if the test passes the filter, otherwise false
-
-
-
- Check whether the filter matches a test
-
- The test to be matched
- True if it matches, otherwise false
-
-
-
- Determine if a test matches the filter expicitly. That is, it must
- be a direct match of the test itself or one of it's children.
-
- The test to which the filter is applied
- True if the test matches the filter explicityly, otherwise false
-
-
-
- Adds an XML node
-
- Parent node
- True if recursive
- The added XML node
-
-
-
- Gets the base filter
-
-
-
-
- SequentialStrategy creates test cases by using all of the
- parameter data sources in parallel, substituting null
- when any of them run out of data.
-
-
-
-
- CombiningStrategy is the abstract base for classes that
- know how to combine values provided for individual test
- parameters to create a set of test cases.
-
-
-
-
- Gets the test cases generated by the CombiningStrategy.
-
- The test cases.
-
-
-
- Gets the test cases generated by the CombiningStrategy.
-
- The test cases.
-
-
-
- NUnitTestFixtureBuilder is able to build a fixture given
- a class marked with a TestFixtureAttribute or an unmarked
- class containing test methods. In the first case, it is
- called by the attribute and in the second directly by
- NUnitSuiteBuilder.
-
-
-
-
- Build a TestFixture from type provided. A non-null TestSuite
- must always be returned, since the method is generally called
- because the user has marked the target class as a fixture.
- If something prevents the fixture from being used, it should
- be returned nonetheless, labelled as non-runnable.
-
- An ITypeInfo for the fixture to be used.
- A TestSuite object or one derived from TestSuite.
-
-
-
- Overload of BuildFrom called by tests that have arguments.
- Builds a fixture using the provided type and information
- in the ITestFixtureData object.
-
- The TypeInfo for which to construct a fixture.
- An object implementing ITestFixtureData or null.
-
-
-
-
- Method to add test cases to the newly constructed fixture.
-
- The fixture to which cases should be added
-
-
-
- Method to create a test case from a MethodInfo and add
- it to the fixture being built. It first checks to see if
- any global TestCaseBuilder addin wants to build the
- test case. If not, it uses the internal builder
- collection maintained by this fixture builder.
-
- The default implementation has no test case builders.
- Derived classes should add builders to the collection
- in their constructor.
-
- The method for which a test is to be created
- The test suite being built.
- A newly constructed Test
-
-
-
- UniqueItemsConstraint tests whether all the items in a
- collection are unique.
-
-
-
-
- CollectionItemsEqualConstraint is the abstract base class for all
- collection constraints that apply some notion of item equality
- as a part of their operation.
-
-
-
-
- CollectionConstraint is the abstract base class for
- constraints that operate on collections.
-
-
-
-
- Construct an empty CollectionConstraint
-
-
-
-
- Construct a CollectionConstraint
-
-
-
-
-
- Determines whether the specified enumerable is empty.
-
- The enumerable.
-
- true if the specified enumerable is empty; otherwise, false.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Protected method to be implemented by derived classes
-
-
-
-
-
-
- Construct an empty CollectionConstraint
-
-
-
-
- Construct a CollectionConstraint
-
-
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied Comparison object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IEqualityComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IEqualityComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Compares two collection members for equality
-
-
-
-
- Return a new CollectionTally for use in making tests
-
- The collection to be included in the tally
-
-
-
- Flag the constraint to ignore case and return self.
-
-
-
-
- Check that all items are unique.
-
-
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- SamePathOrUnderConstraint tests that one path is under another
-
-
-
-
- PathConstraint serves as the abstract base of constraints
- that operate on paths and provides several helper methods.
-
-
-
-
- Construct a PathConstraint for a give expected path
-
- The expected path
-
-
-
- Returns the string representation of this constraint
-
-
-
-
- Canonicalize the provided path
-
-
- The path in standardized form
-
-
-
- Test whether one path in canonical form is a subpath of another path
-
- The first path - supposed to be the parent path
- The second path - supposed to be the child path
-
-
-
-
- Modifies the current instance to be case-sensitive
- and returns it.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected path
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- NoItemConstraint applies another constraint to each
- item in a collection, failing if any of them succeeds.
-
-
-
-
- Construct a SomeItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- EndsWithConstraint can test whether a string ends
- with an expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected string
-
-
-
- Test whether the constraint is matched by the actual value.
- This is a template method, which calls the IsMatch method
- of the derived class.
-
-
-
-
-
-
- ValuesAttribute is used to provide literal arguments for
- an individual parameter of a test.
-
-
-
-
- The abstract base class for all data-providing attributes
- defined by NUnit. Used to select all data sources for a
- method, class or parameter.
-
-
-
-
- Default constructor
-
-
-
-
- The IParameterDataSource interface is implemented by types
- that can provide data for a test method parameter.
-
-
-
-
- Gets an enumeration of data items for use as arguments
- for a test method parameter.
-
- The parameter for which data is needed
- An enumeration containing individual data items
-
-
-
- The collection of data to be returned. Must
- be set by any derived attribute classes.
- We use an object[] so that the individual
- elements may have their type changed in GetData
- if necessary
-
-
-
-
- Constructs for use with an Enum parameter. Will pass every enum
- value in to the test.
-
-
-
-
- Construct with one argument
-
-
-
-
-
- Construct with two arguments
-
-
-
-
-
-
- Construct with three arguments
-
-
-
-
-
-
-
- Construct with an array of arguments
-
-
-
-
-
- Get the collection of _values to be used as arguments
-
-
-
-
- Marks a test to use a pairwise join of any argument
- data provided. Arguments will be combined in such a
- way that all possible pairs of arguments are used.
-
-
-
-
- Marks a test to use a particular CombiningStrategy to join
- any parameter data provided. Since this is the default, the
- attribute is optional.
-
-
-
-
- Construct a CombiningStrategyAttribute incorporating an
- ICombiningStrategy and an IParamterDataProvider.
-
- Combining strategy to be used in combining data
- An IParameterDataProvider to supply data
-
-
-
- Construct a CombiningStrategyAttribute incorporating an object
- that implements ICombiningStrategy and an IParameterDataProvider.
- This constructor is provided for CLS compliance.
-
- Combining strategy to be used in combining data
- An IParameterDataProvider to supply data
-
-
-
- Construct one or more TestMethods from a given MethodInfo,
- using available parameter data.
-
- The MethodInfo for which tests are to be constructed.
- The suite to which the tests will be added.
- One or more TestMethods
-
-
-
- Modify the test by adding the name of the combining strategy
- to the properties.
-
- The test to modify
-
-
-
- Default constructor
-
-
-
-
- CultureAttribute is used to mark a test fixture or an
- individual method as applying to a particular Culture only.
-
-
-
-
- Abstract base for Attributes that are used to include tests
- in the test run based on environmental settings.
-
-
-
-
- Constructor with no included items specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more included items
-
- Comma-delimited list of included items
-
-
-
- Name of the item that is needed in order for
- a test to run. Multiple items may be given,
- separated by a comma.
-
-
-
-
- Name of the item to be excluded. Multiple items
- may be given, separated by a comma.
-
-
-
-
- The reason for including or excluding the test
-
-
-
-
- Constructor with no cultures specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more cultures
-
- Comma-deliminted list of cultures
-
-
-
- Causes a test to be skipped if this CultureAttribute is not satisfied.
-
- The test to modify
-
-
-
- Tests to determine if the current culture is supported
- based on the properties of this attribute.
-
- True, if the current culture is supported
-
-
-
- Test to determine if the a particular culture or comma-
- delimited set of cultures is in use.
-
- Name of the culture or comma-separated list of culture ids
- True if the culture is in use on the system
-
-
-
- Test to determine if one of a collection of cultures
- is being used currently.
-
-
-
-
-
-
- The current state of a work item
-
-
-
-
- Ready to run or continue
-
-
-
-
- Work Item is executing
-
-
-
-
- Complete
-
-
-
-
- A WorkItem may be an individual test case, a fixture or
- a higher level grouping of tests. All WorkItems inherit
- from the abstract WorkItem class, which uses the template
- pattern to allow derived classes to perform work in
- whatever way is needed.
-
- A WorkItem is created with a particular TestExecutionContext
- and is responsible for re-establishing that context in the
- current thread before it begins or resumes execution.
-
-
-
-
- Creates a work item.
-
- The test for which this WorkItem is being created.
- The filter to be used in selecting any child Tests.
-
-
-
-
- Construct a WorkItem for a particular test.
-
- The test that the WorkItem will run
-
-
-
- Initialize the TestExecutionContext. This must be done
- before executing the WorkItem.
-
-
- Originally, the context was provided in the constructor
- but delaying initialization of the context until the item
- is about to be dispatched allows changes in the parent
- context during OneTimeSetUp to be reflected in the child.
-
- The TestExecutionContext to use
-
-
-
- Execute the current work item, including any
- child work items.
-
-
-
-
- Cancel (abort or stop) a WorkItem
-
- true if the WorkItem should be aborted, false if it should run to completion
-
-
-
- Method that performs actually performs the work. It should
- set the State to WorkItemState.Complete when done.
-
-
-
-
- Method called by the derived class when all work is complete
-
-
-
-
- Event triggered when the item is complete
-
-
-
-
- Gets the current state of the WorkItem
-
-
-
-
- The test being executed by the work item
-
-
-
-
- The execution context
-
-
-
-
- The unique id of the worker executing this item.
-
-
-
-
- The test actions to be performed before and after this test
-
-
-
-
- The test result
-
-
-
-
- TODO: Documentation needed for class
-
-
-
-
- TODO: Documentation needed for class
-
-
-
-
- TestCommand is the abstract base class for all test commands
- in the framework. A TestCommand represents a single stage in
- the execution of a test, e.g.: SetUp/TearDown, checking for
- Timeout, verifying the returned result from a method, etc.
-
- TestCommands may decorate other test commands so that the
- execution of a lower-level command is nested within that
- of a higher level command. All nested commands are executed
- synchronously, as a single unit. Scheduling test execution
- on separate threads is handled at a higher level, using the
- task dispatcher.
-
-
-
-
- Construct a TestCommand for a test.
-
- The test to be executed
-
-
-
- Runs the test in a specified context, returning a TestResult.
-
- The TestExecutionContext to be used for running the test.
- A TestResult
-
-
-
- Gets the test associated with this command.
-
-
-
- TODO: Documentation needed for field
-
-
- TODO: Documentation needed for method
-
-
-
- TODO: Documentation needed for constructor
-
-
-
-
-
- Initializes a new instance of the class.
-
- The inner command.
- The max time allowed in milliseconds
-
-
-
- Runs the test, saving a TestResult in the supplied TestExecutionContext
-
- The context in which the test should run.
- A TestResult
-
-
-
- The ITestListener interface is used internally to receive
- notifications of significant events while a test is being
- run. The events are propagated to clients by means of an
- AsyncCallback. NUnit extensions may also monitor these events.
-
-
-
-
- Called when a test has just started
-
- The test that is starting
-
-
-
- Called when a test has finished
-
- The result of the test
-
-
-
- Called when a test produces output for immediate display
-
- A TestOutput object containing the text to display
-
-
-
- The ITestAssemblyBuilder interface is implemented by a class
- that is able to build a suite of tests given an assembly or
- an assembly filename.
-
-
-
-
- Build a suite of tests from a provided assembly
-
- The assembly from which tests are to be built
- A dictionary of options to use in building the suite
- A TestSuite containing the tests found in the assembly
-
-
-
- Build a suite of tests given the filename of an assembly
-
- The filename of the assembly from which tests are to be built
- A dictionary of options to use in building the suite
- A TestSuite containing the tests found in the assembly
-
-
-
- InternalTrace provides facilities for tracing the execution
- of the NUnit framework. Tests and classes under test may make use
- of Console writes, System.Diagnostics.Trace or various loggers and
- NUnit itself traps and processes each of them. For that reason, a
- separate internal trace is needed.
-
- Note:
- InternalTrace uses a global lock to allow multiple threads to write
- trace messages. This can easily make it a bottleneck so it must be
- used sparingly. Keep the trace Level as low as possible and only
- insert InternalTrace writes where they are needed.
- TODO: add some buffering and a separate writer thread as an option.
- TODO: figure out a way to turn on trace in specific classes only.
-
-
-
-
- Initialize the internal trace facility using the name of the log
- to be written to and the trace level.
-
- The log name
- The trace level
-
-
-
- Initialize the internal trace using a provided TextWriter and level
-
- A TextWriter
- The InternalTraceLevel
-
-
-
- Get a named Logger
-
-
-
-
-
- Get a logger named for a particular Type.
-
-
-
-
- Gets a flag indicating whether the InternalTrace is initialized
-
-
-
-
- The ITypeInfo interface is an abstraction of a .NET Type
-
-
-
-
- Returns true if the Type wrapped is equal to the argument
-
-
-
-
- Get the display name for this typeInfo.
-
-
-
-
- Get the display name for an oject of this type, constructed with specific arguments
-
-
-
-
- Returns a Type representing a generic type definition from which this Type can be constructed.
-
-
-
-
- Returns a new ITypeInfo representing an instance of this generic Type using the supplied Type arguments
-
-
-
-
- Returns a value indicating whether this type has a method with a specified public attribute
-
-
-
-
- Returns an array of IMethodInfos for methods of this Type
- that match the specified flags.
-
-
-
-
- Gets the public constructor taking the specified argument Types
-
-
-
-
- Returns a value indicating whether this Type has a public constructor taking the specified argument Types.
-
-
-
-
- Construct an object of this Type, using the specified arguments.
-
-
-
-
- Gets the underlying Type on which this ITypeInfo is based
-
-
-
-
- Gets the base type of this type as an ITypeInfo
-
-
-
-
- Gets the Name of the Type
-
-
-
-
- Gets the FullName of the Type
-
-
-
-
- Gets the assembly in which the type is declared
-
-
-
-
- Gets the Namespace of the Type
-
-
-
-
- Gets a value indicating whether the type is abstract.
-
-
-
-
- Gets a value indicating whether the Type is a generic Type
-
-
-
-
- Gets a value indicating whether the Type has generic parameters that have not been replaced by specific Types.
-
-
-
-
- Gets a value indicating whether the Type is a generic Type definition
-
-
-
-
- Gets a value indicating whether the type is sealed.
-
-
-
-
- Gets a value indicating whether this type is a static class.
-
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Defines methods to manipulate thread-safe collections intended for producer/consumer usage.
-
- Specifies the type of elements in the collection.
-
- All implementations of this interface must enable all members of this interface
- to be used concurrently from multiple threads.
-
-
-
-
- Attempts to add an object to the .
-
- The object to add to the .
- true if the object was added successfully; otherwise, false.
- The was invalid for this collection.
-
-
-
- Attempts to remove and return an object from the .
-
-
- When this method returns, if the object was removed and returned successfully, contains the removed object. If no object was available to be removed, the value is
- unspecified.
-
- true if an object was removed and returned successfully; otherwise, false.
-
-
-
- Copies the elements contained in the to a new array.
-
- A new array containing the elements copied from the .
-
-
-
- Copies the elements of the to
- an
- , starting at a specified index.
-
- The one-dimensional that is the destination of
- the elements copied from the .
- The array must have zero-based indexing.
- The zero-based index in at which copying
- begins.
- is a null reference (Nothing in
- Visual Basic).
- is less than
- zero.
- is equal to or greater than the
- length of the
- -or- The number of elements in the source is greater than the
- available space from to the end of the destination .
-
-
-
-
- Provide the context information of the current test.
- This is an adapter for the internal ExecutionContext
- class, hiding the internals from the user test.
-
-
-
-
-
-
-
-
-
- Construct a TestContext for an ExecutionContext
-
- The ExecutionContext to adapt
-
-
-
- Gets a TextWriter that will send output directly to Console.Error
-
-
-
-
- Gets a TextWriter for use in displaying immediate progress messages
-
-
-
-
- TestParameters object holds parameters for the test run, if any are specified
-
-
-
- Write the string representation of a boolean value to the current result
-
-
- Write a char to the current result
-
-
- Write a char array to the current result
-
-
- Write the string representation of a double to the current result
-
-
- Write the string representation of an Int32 value to the current result
-
-
- Write the string representation of an Int64 value to the current result
-
-
- Write the string representation of a decimal value to the current result
-
-
- Write the string representation of an object to the current result
-
-
- Write the string representation of a Single value to the current result
-
-
- Write a string to the current result
-
-
- Write the string representation of a UInt32 value to the current result
-
-
- Write the string representation of a UInt64 value to the current result
-
-
- Write a formatted string to the current result
-
-
- Write a formatted string to the current result
-
-
- Write a formatted string to the current result
-
-
- Write a formatted string to the current result
-
-
- Write a line terminator to the current result
-
-
- Write the string representation of a boolean value to the current result followed by a line terminator
-
-
- Write a char to the current result followed by a line terminator
-
-
- Write a char array to the current result followed by a line terminator
-
-
- Write the string representation of a double to the current result followed by a line terminator
-
-
- Write the string representation of an Int32 value to the current result followed by a line terminator
-
-
- Write the string representation of an Int64 value to the current result followed by a line terminator
-
-
- Write the string representation of a decimal value to the current result followed by a line terminator
-
-
- Write the string representation of an object to the current result followed by a line terminator
-
-
- Write the string representation of a Single value to the current result followed by a line terminator
-
-
- Write a string to the current result followed by a line terminator
-
-
- Write the string representation of a UInt32 value to the current result followed by a line terminator
-
-
- Write the string representation of a UInt64 value to the current result followed by a line terminator
-
-
- Write a formatted string to the current result followed by a line terminator
-
-
- Write a formatted string to the current result followed by a line terminator
-
-
- Write a formatted string to the current result followed by a line terminator
-
-
- Write a formatted string to the current result followed by a line terminator
-
-
-
- This method adds the a new ValueFormatterFactory to the
- chain of responsibility used for fomatting values in messages.
- The scope of the change is the current TestContext.
-
- The factory delegate
-
-
-
- This method provides a simplified way to add a ValueFormatter
- delegate to the chain of responsibility, creating the factory
- delegate internally. It is useful when the Type of the object
- is the only criterion for selection of the formatter, since
- it can be used without getting involved with a compould function.
-
- The type supported by this formatter
- The ValueFormatter delegate
-
-
-
- Get the current test context. This is created
- as needed. The user may save the context for
- use within a test, but it should not be used
- outside the test for which it is created.
-
-
-
-
- Gets a TextWriter that will send output to the current test result.
-
-
-
-
- Get a representation of the current test.
-
-
-
-
- Gets a Representation of the TestResult for the current test.
-
-
-
-
- Gets the unique name of the Worker that is executing this test.
-
-
-
-
- Gets the directory containing the current test assembly.
-
-
-
-
- Gets the directory to be used for outputting files created
- by this test run.
-
-
-
-
- Gets the random generator.
-
-
- The random generator.
-
-
-
-
- TestAdapter adapts a Test for consumption by
- the user test code.
-
-
-
-
- Construct a TestAdapter for a Test
-
- The Test to be adapted
-
-
-
- Gets the unique Id of a test
-
-
-
-
- The name of the test, which may or may not be
- the same as the method name.
-
-
-
-
- The name of the method representing the test.
-
-
-
-
- The FullName of the test
-
-
-
-
- The ClassName of the test
-
-
-
-
- The properties of the test.
-
-
-
-
- ResultAdapter adapts a TestResult for consumption by
- the user test code.
-
-
-
-
- Construct a ResultAdapter for a TestResult
-
- The TestResult to be adapted
-
-
-
- Gets a ResultState representing the outcome of the test.
-
-
-
-
- Gets the message associated with a test
- failure or with not running the test
-
-
-
-
- Gets any stacktrace associated with an
- error or failure.
-
-
-
-
- Gets the number of test cases that failed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that passed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were skipped
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were inconclusive
- when running the test and all its children.
-
-
-
-
- ExceptionHelper provides static methods for working with exceptions
-
-
-
-
- Rethrows an exception, preserving its stack trace
-
- The exception to rethrow
-
-
-
- Builds up a message, using the Message field of the specified exception
- as well as any InnerExceptions.
-
- The exception.
- A combined message string.
-
-
-
- Builds up a message, using the Message field of the specified exception
- as well as any InnerExceptions.
-
- The exception.
- A combined stack trace.
-
-
-
- Gets the stack trace of the exception.
-
- The exception.
- A string representation of the stack trace.
-
-
-
- CultureDetector is a helper class used by NUnit to determine
- whether a test should be run based on the current culture.
-
-
-
-
- Default constructor uses the current culture.
-
-
-
-
- Construct a CultureDetector for a particular culture for testing.
-
- The culture to be used
-
-
-
- Test to determine if one of a collection of cultures
- is being used currently.
-
-
-
-
-
-
- Tests to determine if the current culture is supported
- based on a culture attribute.
-
- The attribute to examine
-
-
-
-
- Test to determine if the a particular culture or comma-
- delimited set of cultures is in use.
-
- Name of the culture or comma-separated list of culture ids
- True if the culture is in use on the system
-
-
-
- Return the last failure reason. Results are not
- defined if called before IsSupported( Attribute )
- is called.
-
-
-
-
- PairwiseStrategy creates test cases by combining the parameter
- data so that all possible pairs of data items are used.
-
-
-
- The number of test cases that cover all possible pairs of test function
- parameters values is significantly less than the number of test cases
- that cover all possible combination of test function parameters values.
- And because different studies show that most of software failures are
- caused by combination of no more than two parameters, pairwise testing
- can be an effective ways to test the system when it's impossible to test
- all combinations of parameters.
-
-
- The PairwiseStrategy code is based on "jenny" tool by Bob Jenkins:
- http://burtleburtle.net/bob/math/jenny.html
-
-
-
-
-
- Gets the test cases generated by this strategy instance.
-
- A set of test cases.
-
-
-
- FleaRand is a pseudo-random number generator developed by Bob Jenkins:
- http://burtleburtle.net/bob/rand/talksmall.html#flea
-
-
-
-
- Initializes a new instance of the FleaRand class.
-
- The seed.
-
-
-
- FeatureInfo represents coverage of a single value of test function
- parameter, represented as a pair of indices, Dimension and Feature. In
- terms of unit testing, Dimension is the index of the test parameter and
- Feature is the index of the supplied value in that parameter's list of
- sources.
-
-
-
-
- Initializes a new instance of FeatureInfo class.
-
- Index of a dimension.
- Index of a feature.
-
-
-
- A FeatureTuple represents a combination of features, one per test
- parameter, which should be covered by a test case. In the
- PairwiseStrategy, we are only trying to cover pairs of features, so the
- tuples actually may contain only single feature or pair of features, but
- the algorithm itself works with triplets, quadruples and so on.
-
-
-
-
- Initializes a new instance of FeatureTuple class for a single feature.
-
- Single feature.
-
-
-
- Initializes a new instance of FeatureTuple class for a pair of features.
-
- First feature.
- Second feature.
-
-
-
- TestCase represents a single test case covering a list of features.
-
-
-
-
- Initializes a new instance of TestCaseInfo class.
-
- A number of features in the test case.
-
-
-
- PairwiseTestCaseGenerator class implements an algorithm which generates
- a set of test cases which covers all pairs of possible values of test
- function.
-
-
-
- The algorithm starts with creating a set of all feature tuples which we
- will try to cover (see method). This set
- includes every single feature and all possible pairs of features. We
- store feature tuples in the 3-D collection (where axes are "dimension",
- "feature", and "all combinations which includes this feature"), and for
- every two feature (e.g. "A" and "B") we generate both ("A", "B") and
- ("B", "A") pairs. This data structure extremely reduces the amount of
- time needed to calculate coverage for a single test case (this
- calculation is the most time-consuming part of the algorithm).
-
-
- Then the algorithm picks one tuple from the uncovered tuple, creates a
- test case that covers this tuple, and then removes this tuple and all
- other tuples covered by this test case from the collection of uncovered
- tuples.
-
-
- Picking a tuple to cover
-
-
- There are no any special rules defined for picking tuples to cover. We
- just pick them one by one, in the order they were generated.
-
-
- Test generation
-
-
- Test generation starts from creating a completely random test case which
- covers, nevertheless, previously selected tuple. Then the algorithm
- tries to maximize number of tuples which this test covers.
-
-
- Test generation and maximization process repeats seven times for every
- selected tuple and then the algorithm picks the best test case ("seven"
- is a magic number which provides good results in acceptable time).
-
- Maximizing test coverage
-
- To maximize tests coverage, the algorithm walks thru the list of mutable
- dimensions (mutable dimension is a dimension that are not included in
- the previously selected tuple). Then for every dimension, the algorithm
- walks thru the list of features and checks if this feature provides
- better coverage than randomly selected feature, and if yes keeps this
- feature.
-
-
- This process repeats while it shows progress. If the last iteration
- doesn't improve coverage, the process ends.
-
-
- In addition, for better results, before start every iteration, the
- algorithm "scrambles" dimensions - so for every iteration dimension
- probes in a different order.
-
-
-
-
-
- Creates a set of test cases for specified dimensions.
-
-
- An array which contains information about dimensions. Each element of
- this array represents a number of features in the specific dimension.
-
-
- A set of test cases.
-
-
-
-
- Provides data from fields marked with the DatapointAttribute or the
- DatapointsAttribute.
-
-
-
-
- The IDataPointProvider interface is used by extensions
- that provide data for a single test parameter.
-
-
-
-
- Determine whether any data is available for a parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
- True if any data is available, otherwise false.
-
-
-
- Return an IEnumerable providing data for use with the
- supplied parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
- An IEnumerable providing the required data
-
-
-
- Determine whether any data is available for a parameter.
-
- A ParameterInfo representing one
- argument to a parameterized test
-
- True if any data is available, otherwise false.
-
-
-
-
- Return an IEnumerable providing data for use with the
- supplied parameter.
-
- A ParameterInfo representing one
- argument to a parameterized test
-
- An IEnumerable providing the required data
-
-
-
-
- CombinatorialStrategy creates test cases by using all possible
- combinations of the parameter data.
-
-
-
-
- Gets the test cases generated by the CombiningStrategy.
-
- The test cases.
-
-
-
- ThrowsNothingConstraint tests that a delegate does not
- throw an exception.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True if no exception is thrown, otherwise false
-
-
-
- Applies the constraint to an ActualValueDelegate that returns
- the value to be tested. The default implementation simply evaluates
- the delegate but derived classes may override it to provide for
- delayed processing.
-
- An ActualValueDelegate
- A ConstraintResult
-
-
-
- Gets text describing a constraint
-
-
-
-
- Operator that requires at least one of it's arguments to succeed
-
-
-
-
- Abstract base class for all binary operators
-
-
-
-
- The ConstraintOperator class is used internally by a
- ConstraintBuilder to represent an operator that
- modifies or combines constraints.
-
- Constraint operators use left and right precedence
- _values to determine whether the top operator on the
- stack should be reduced before pushing a new operator.
-
-
-
-
- The precedence value used when the operator
- is about to be pushed to the stack.
-
-
-
-
- The precedence value used when the operator
- is on the top of the stack.
-
-
-
-
- Reduce produces a constraint from the operator and
- any arguments. It takes the arguments from the constraint
- stack and pushes the resulting constraint on it.
-
-
-
-
-
- The syntax element preceding this operator
-
-
-
-
- The syntax element following this operator
-
-
-
-
- The precedence value used when the operator
- is about to be pushed to the stack.
-
-
-
-
- The precedence value used when the operator
- is on the top of the stack.
-
-
-
-
- Reduce produces a constraint from the operator and
- any arguments. It takes the arguments from the constraint
- stack and pushes the resulting constraint on it.
-
-
-
-
-
- Abstract method that produces a constraint by applying
- the operator to its left and right constraint arguments.
-
-
-
-
- Gets the left precedence of the operator
-
-
-
-
- Gets the right precedence of the operator
-
-
-
-
- Construct an OrOperator
-
-
-
-
- Apply the operator to produce an OrConstraint
-
-
-
-
- The Numerics class contains common operations on numeric _values.
-
-
-
-
- Checks the type of the object, returning true if
- the object is a numeric type.
-
- The object to check
- true if the object is a numeric type
-
-
-
- Checks the type of the object, returning true if
- the object is a floating point numeric type.
-
- The object to check
- true if the object is a floating point numeric type
-
-
-
- Checks the type of the object, returning true if
- the object is a fixed point numeric type.
-
- The object to check
- true if the object is a fixed point numeric type
-
-
-
- Test two numeric _values for equality, performing the usual numeric
- conversions and using a provided or default tolerance. If the tolerance
- provided is Empty, this method may set it to a default tolerance.
-
- The expected value
- The actual value
- A reference to the tolerance in effect
- True if the _values are equal
-
-
-
- Compare two numeric _values, performing the usual numeric conversions.
-
- The expected value
- The actual value
- The relationship of the _values to each other
-
-
-
- FalseConstraint tests that the actual value is false
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- TestFixtureAttribute is used to mark a class that represents a TestFixture.
-
-
-
-
- The ITestCaseData interface is implemented by a class
- that is able to return the data required to create an
- instance of a parameterized test fixture.
-
-
-
-
- The ITestData interface is implemented by a class that
- represents a single instance of a parameterized test.
-
-
-
-
- Gets the name to be used for the test
-
-
-
-
- Gets the RunState for this test case.
-
-
-
-
- Gets the argument list to be provided to the test
-
-
-
-
- Gets the property dictionary for the test case
-
-
-
-
- Get the TypeArgs if separately set
-
-
-
-
- Default constructor
-
-
-
-
- Construct with a object[] representing a set of arguments.
- In .NET 2.0, the arguments may later be separated into
- type arguments and constructor arguments.
-
-
-
-
-
- Build a fixture from type provided. Normally called for a Type
- on which the attribute has been placed.
-
- The type info of the fixture to be used.
- A an IEnumerable holding one TestFixture object.
-
-
-
- Gets or sets the name of the test.
-
- The name of the test.
-
-
-
- Gets or sets the RunState of this test fixture.
-
-
-
-
- The arguments originally provided to the attribute
-
-
-
-
- Properties pertaining to this fixture
-
-
-
-
- Get or set the type arguments. If not set
- explicitly, any leading arguments that are
- Types are taken as type arguments.
-
-
-
-
- Descriptive text for this fixture
-
-
-
-
- The author of this fixture
-
-
-
-
- The type that this fixture is testing
-
-
-
-
- Gets or sets the ignore reason. May set RunState as a side effect.
-
- The ignore reason.
-
-
-
- Gets or sets the reason for not running the fixture.
-
- The reason.
-
-
-
- Gets or sets the ignore reason. When set to a non-null
- non-empty value, the test is marked as ignored.
-
- The ignore reason.
-
-
-
- Gets or sets a value indicating whether this is explicit.
-
-
- true if explicit; otherwise, false.
-
-
-
-
- Gets and sets the category for this fixture.
- May be a comma-separated list of categories.
-
-
-
-
- TestCaseAttribute is used to mark parameterized test cases
- and provide them with their arguments.
-
-
-
-
- The ITestCaseData interface is implemented by a class
- that is able to return complete testcases for use by
- a parameterized test method.
-
-
-
-
- Gets the expected result of the test case
-
-
-
-
- Returns true if an expected result has been set
-
-
-
-
- IImplyFixture is an empty marker interface used by attributes like
- TestAttribute that cause the class where they are used to be treated
- as a TestFixture even without a TestFixtureAttribute.
-
- Marker interfaces are not usually considered a good practice, but
- we use it here to avoid cluttering the attribute hierarchy with
- classes that don't contain any extra implementation.
-
-
-
-
- Construct a TestCaseAttribute with a list of arguments.
- This constructor is not CLS-Compliant
-
-
-
-
-
- Construct a TestCaseAttribute with a single argument
-
-
-
-
-
- Construct a TestCaseAttribute with a two arguments
-
-
-
-
-
-
- Construct a TestCaseAttribute with a three arguments
-
-
-
-
-
-
-
- Performs several special conversions allowed by NUnit in order to
- permit arguments with types that cannot be used in the constructor
- of an Attribute such as TestCaseAttribute or to simplify their use.
-
- The arguments to be converted
- The ParameterInfo array for the method
-
-
-
- Construct one or more TestMethods from a given MethodInfo,
- using available parameter data.
-
- The MethodInfo for which tests are to be constructed.
- The suite to which the tests will be added.
- One or more TestMethods
-
-
-
- Gets or sets the name of the test.
-
- The name of the test.
-
-
-
- Gets or sets the RunState of this test case.
-
-
-
-
- Gets the list of arguments to a test case
-
-
-
-
- Gets the properties of the test case
-
-
-
-
- Gets or sets the expected result.
-
- The result.
-
-
-
- Returns true if the expected result has been set
-
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- The author of this test
-
-
-
-
- The type that this test is testing
-
-
-
-
- Gets or sets the reason for ignoring the test
-
-
-
-
- Gets or sets a value indicating whether this is explicit.
-
-
- true if explicit; otherwise, false.
-
-
-
-
- Gets or sets the reason for not running the test.
-
- The reason.
-
-
-
- Gets or sets the ignore reason. When set to a non-null
- non-empty value, the test is marked as ignored.
-
- The ignore reason.
-
-
-
- Comma-delimited list of platforms to run the test for
-
-
-
-
- Comma-delimited list of platforms to not run the test for
-
-
-
-
- Gets and sets the category for this test case.
- May be a comma-separated list of categories.
-
-
-
-
- GenericMethodHelper is able to deduce the Type arguments for
- a generic method from the actual arguments provided.
-
-
-
-
- Construct a GenericMethodHelper for a method
-
- MethodInfo for the method to examine
-
-
-
- Return the type argments for the method, deducing them
- from the arguments actually provided.
-
- The arguments to the method
- An array of type arguments.
-
-
-
- TestActionCommand runs the BeforeTest actions for a test,
- then runs the test and finally runs the AfterTestActions.
-
-
-
-
- Initializes a new instance of the class.
-
- The inner command.
-
-
-
- Runs the test, saving a TestResult in the supplied TestExecutionContext.
-
- The context in which the test should run.
- A TestResult
-
-
-
- Provides internal logging to the NUnit framework
-
-
-
-
- Interface for logging within the engine
-
-
-
-
- Logs the specified message at the error level.
-
- The message.
-
-
-
- Logs the specified message at the error level.
-
- The message.
- The arguments.
-
-
-
- Logs the specified message at the warning level.
-
- The message.
-
-
-
- Logs the specified message at the warning level.
-
- The message.
- The arguments.
-
-
-
- Logs the specified message at the info level.
-
- The message.
-
-
-
- Logs the specified message at the info level.
-
- The message.
- The arguments.
-
-
-
- Logs the specified message at the debug level.
-
- The message.
-
-
-
- Logs the specified message at the debug level.
-
- The message.
- The arguments.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The log level.
- The writer where logs are sent.
-
-
-
- Logs the message at error level.
-
- The message.
-
-
-
- Logs the message at error level.
-
- The message.
- The message arguments.
-
-
-
- Logs the message at warm level.
-
- The message.
-
-
-
- Logs the message at warning level.
-
- The message.
- The message arguments.
-
-
-
- Logs the message at info level.
-
- The message.
-
-
-
- Logs the message at info level.
-
- The message.
- The message arguments.
-
-
-
- Logs the message at debug level.
-
- The message.
-
-
-
- Logs the message at debug level.
-
- The message.
- The message arguments.
-
-
-
- ClassName filter selects tests based on the class FullName
-
-
-
-
- Construct a FullNameFilter for a single name
-
- The name the filter will recognize.
-
-
-
- Match a test against a single value.
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- PropertyFilter is able to select or exclude tests
- based on their properties.
-
-
-
-
-
- Construct a PropertyFilter using a property name and expected value
-
- A property name
- The expected value of the property
-
-
-
- Check whether the filter matches a test
-
- The test to be matched
-
-
-
-
- Adds an XML node
-
- Parent node
- True if recursive
- The added XML node
-
-
-
- Gets the element name
-
- Element name
-
-
-
- Env is a static class that provides some of the features of
- System.Environment that are not available under all runtimes
-
-
-
-
- The newline sequence in the current environment.
-
-
-
-
- Path to the 'My Documents' folder
-
-
-
-
- Directory used for file output if not specified on commandline.
-
-
-
-
- The Assert class contains a collection of static methods that
- implement the most common assertions used in NUnit.
-
-
- The Assert class contains a collection of static methods that
- implement the most common assertions used in NUnit.
-
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null
then an
- is thrown.
-
- The object that is to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null
then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null
then an
- is thrown.
-
- The object that is to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null
then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null
then an
- is thrown.
-
- The object that is to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null
then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null
then an
- is thrown.
-
- The object that is to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null
then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Verifies that the double that is passed in is an NaN
value.
- If the object is not NaN
then an
- is thrown.
-
- The value that is to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the double that is passed in is an NaN
value.
- If the object is not NaN
then an
- is thrown.
-
- The value that is to be tested
-
-
-
- Verifies that the double that is passed in is an NaN
value.
- If the object is not NaN
then an
- is thrown.
-
- The value that is to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the double that is passed in is an NaN
value.
- If the object is not NaN
then an
- is thrown.
-
- The value that is to be tested
-
-
-
- Assert that a string is empty - that is equal to string.Empty
-
- The string to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Assert that a string is empty - that is equal to string.Empty
-
- The string to be tested
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing ICollection
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing ICollection
-
-
-
- Assert that a string is not empty - that is not equal to string.Empty
-
- The string to be tested
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Assert that a string is not empty - that is not equal to string.Empty
-
- The string to be tested
-
-
-
- Assert that an array, list or other collection is not empty
-
- An array, list or other collection implementing ICollection
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is not empty
-
- An array, list or other collection implementing ICollection
-
-
-
- Asserts that an int is zero.
-
- The number to be examined
-
-
-
- Asserts that an int is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned int is zero.
-
- The number to be examined
-
-
-
- Asserts that an unsigned int is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a Long is zero.
-
- The number to be examined
-
-
-
- Asserts that a Long is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned Long is zero.
-
- The number to be examined
-
-
-
- Asserts that an unsigned Long is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a decimal is zero.
-
- The number to be examined
-
-
-
- Asserts that a decimal is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a double is zero.
-
- The number to be examined
-
-
-
- Asserts that a double is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a float is zero.
-
- The number to be examined
-
-
-
- Asserts that a float is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an int is not zero.
-
- The number to be examined
-
-
-
- Asserts that an int is not zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned int is not zero.
-
- The number to be examined
-
-
-
- Asserts that an unsigned int is not zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a Long is not zero.
-
- The number to be examined
-
-
-
- Asserts that a Long is not zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned Long is not zero.
-
- The number to be examined
-
-
-
- Asserts that an unsigned Long is not zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a decimal is zero.
-
- The number to be examined
-
-
-
- Asserts that a decimal is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a double is zero.
-
- The number to be examined
-
-
-
- Asserts that a double is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a float is zero.
-
- The number to be examined
-
-
-
- Asserts that a float is zero.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an int is negative.
-
- The number to be examined
-
-
-
- Asserts that an int is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned int is negative.
-
- The number to be examined
-
-
-
- Asserts that an unsigned int is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a Long is negative.
-
- The number to be examined
-
-
-
- Asserts that a Long is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned Long is negative.
-
- The number to be examined
-
-
-
- Asserts that an unsigned Long is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a decimal is negative.
-
- The number to be examined
-
-
-
- Asserts that a decimal is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a double is negative.
-
- The number to be examined
-
-
-
- Asserts that a double is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a float is negative.
-
- The number to be examined
-
-
-
- Asserts that a float is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an int is negative.
-
- The number to be examined
-
-
-
- Asserts that an int is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned int is negative.
-
- The number to be examined
-
-
-
- Asserts that an unsigned int is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a Long is negative.
-
- The number to be examined
-
-
-
- Asserts that a Long is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an unsigned Long is negative.
-
- The number to be examined
-
-
-
- Asserts that an unsigned Long is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a decimal is negative.
-
- The number to be examined
-
-
-
- Asserts that a decimal is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a double is negative.
-
- The number to be examined
-
-
-
- Asserts that a double is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that a float is negative.
-
- The number to be examined
-
-
-
- Asserts that a float is negative.
-
- The number to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
-
-
-
- Verifies that a delegate throws a particular exception when called.
-
- A constraint to be satisfied by the exception
- A TestSnippet delegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate throws a particular exception when called.
-
- A constraint to be satisfied by the exception
- A TestSnippet delegate
-
-
-
- Verifies that a delegate throws a particular exception when called.
-
- The exception Type expected
- A TestDelegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate throws a particular exception when called.
-
- The exception Type expected
- A TestDelegate
-
-
-
- Verifies that a delegate throws a particular exception when called.
-
- Type of the expected exception
- A TestDelegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate throws a particular exception when called.
-
- Type of the expected exception
- A TestDelegate
-
-
-
- Verifies that a delegate throws an exception when called
- and returns it.
-
- A TestDelegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate throws an exception when called
- and returns it.
-
- A TestDelegate
-
-
-
- Verifies that a delegate throws an exception of a certain Type
- or one derived from it when called and returns it.
-
- The expected Exception Type
- A TestDelegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate throws an exception of a certain Type
- or one derived from it when called and returns it.
-
- The expected Exception Type
- A TestDelegate
-
-
-
- Verifies that a delegate throws an exception of a certain Type
- or one derived from it when called and returns it.
-
- A TestDelegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate throws an exception of a certain Type
- or one derived from it when called and returns it.
-
- A TestDelegate
-
-
-
- Verifies that a delegate does not throw an exception
-
- A TestDelegate
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that a delegate does not throw an exception.
-
- A TestDelegate
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- A function to build the message included with the Exception
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- A lambda that returns a Boolean
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- A lambda that returns a Boolean
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- A lambda that returns a Boolean
- A function to build the message included with the Exception
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- The Type being compared.
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- The Type being compared.
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- The Type being compared.
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- A function to build the message included with the Exception
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
- A function to build the message included with the Exception
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- The Type being compared.
- The actual value to test
- A Constraint to be applied
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- The Type being compared.
- The actual value to test
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- The Type being compared.
- The actual value to test
- A Constraint expression to be applied
- A function to build the message included with the Exception
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
- Used as a synonym for That in rare cases where a private setter
- causes a Visual Basic compilation error.
-
- The actual value to test
- A Constraint to be applied
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
- Used as a synonym for That in rare cases where a private setter
- causes a Visual Basic compilation error.
-
-
- This method is provided for use by VB developers needing to test
- the value of properties with private setters.
-
- The actual value to test
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- We don't actually want any instances of this object, but some people
- like to inherit from it to add other static methods. Hence, the
- protected constructor disallows any instances of this object.
-
-
-
-
- The Equals method throws an InvalidOperationException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an InvalidOperationException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Throws a with the message and arguments
- that are passed in. This allows a test to be cut short, with a result
- of success returned to NUnit.
-
- The message to initialize the with.
- Arguments to be used in formatting the message
-
-
-
- Throws a with the message and arguments
- that are passed in. This allows a test to be cut short, with a result
- of success returned to NUnit.
-
- The message to initialize the with.
-
-
-
- Throws a with the message and arguments
- that are passed in. This allows a test to be cut short, with a result
- of success returned to NUnit.
-
-
-
-
- Throws an with the message and arguments
- that are passed in. This is used by the other Assert functions.
-
- The message to initialize the with.
- Arguments to be used in formatting the message
-
-
-
- Throws an with the message that is
- passed in. This is used by the other Assert functions.
-
- The message to initialize the with.
-
-
-
- Throws an .
- This is used by the other Assert functions.
-
-
-
-
- Throws an with the message and arguments
- that are passed in. This causes the test to be reported as ignored.
-
- The message to initialize the with.
- Arguments to be used in formatting the message
-
-
-
- Throws an with the message that is
- passed in. This causes the test to be reported as ignored.
-
- The message to initialize the with.
-
-
-
- Throws an .
- This causes the test to be reported as ignored.
-
-
-
-
- Throws an with the message and arguments
- that are passed in. This causes the test to be reported as inconclusive.
-
- The message to initialize the with.
- Arguments to be used in formatting the message
-
-
-
- Throws an with the message that is
- passed in. This causes the test to be reported as inconclusive.
-
- The message to initialize the with.
-
-
-
- Throws an .
- This causes the test to be reported as Inconclusive.
-
-
-
-
- Asserts that an object is contained in a list.
-
- The expected object
- The list to be examined
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object is contained in a list.
-
- The expected object
- The list to be examined
-
-
-
- Verifies that the first int is greater than the second
- int. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first int is greater than the second
- int. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equal then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equal then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equal then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equal then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
-
-
-
- Verifies that two objects are equal. Two objects are considered
- equal if both are null, or if both have the same value. NUnit
- has special semantics for some object types.
- If they are not equal an is thrown.
-
- The value that is expected
- The actual value
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that two objects are equal. Two objects are considered
- equal if both are null, or if both have the same value. NUnit
- has special semantics for some object types.
- If they are not equal an is thrown.
-
- The value that is expected
- The actual value
-
-
-
- Verifies that two objects are not equal. Two objects are considered
- equal if both are null, or if both have the same value. NUnit
- has special semantics for some object types.
- If they are equal an is thrown.
-
- The value that is expected
- The actual value
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Verifies that two objects are not equal. Two objects are considered
- equal if both are null, or if both have the same value. NUnit
- has special semantics for some object types.
- If they are equal an is thrown.
-
- The value that is expected
- The actual value
-
-
-
- Asserts that two objects refer to the same object. If they
- are not the same an is thrown.
-
- The expected object
- The actual object
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that two objects refer to the same object. If they
- are not the same an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two objects do not refer to the same object. If they
- are the same an is thrown.
-
- The expected object
- The actual object
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that two objects do not refer to the same object. If they
- are the same an is thrown.
-
- The expected object
- The actual object
-
-
-
- Helper for Assert.AreEqual(double expected, double actual, ...)
- allowing code generation to work consistently.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Represents a constraint that succeeds if all the
- members of a collection match a base constraint.
-
-
-
-
- Abstract base for operators that indicate how to
- apply a constraint to items in a collection.
-
-
-
-
- PrefixOperator takes a single constraint and modifies
- it's action in some way.
-
-
-
-
- Reduce produces a constraint from the operator and
- any arguments. It takes the arguments from the constraint
- stack and pushes the resulting constraint on it.
-
-
-
-
-
- Returns the constraint created by applying this
- prefix to another constraint.
-
-
-
-
-
-
- Constructs a CollectionOperator
-
-
-
-
- Returns a constraint that will apply the argument
- to the members of a collection, succeeding if
- they all succeed.
-
-
-
-
- FileExistsConstraint is used to determine if a file exists
-
-
-
-
- FileOrDirectoryExistsConstraint is used to determine if a file or directory exists
-
-
-
-
- Initializes a new instance of the class that
- will check files and directories.
-
-
-
-
- Initializes a new instance of the class that
- will only check files if ignoreDirectories is true.
-
- if set to true [ignore directories].
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- If true, the constraint will only check if files exist, not directories
-
-
-
-
- If true, the constraint will only check if directories exist, not files
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- TestAssemblyDirectoryResolveAttribute is used to mark a test assembly as needing a
- special assembly resolution hook that will explicitly search the test assembly's
- directory for dependent assemblies. This works around a conflict between mixed-mode
- assembly initialization and tests running in their own AppDomain in some cases.
-
-
-
-
- Helper methods for inspecting a type by reflection.
-
- Many of these methods take ICustomAttributeProvider as an
- argument to avoid duplication, even though certain attributes can
- only appear on specific types of members, like MethodInfo or Type.
-
- In the case where a type is being examined for the presence of
- an attribute, interface or named member, the Reflect methods
- operate with the full name of the member being sought. This
- removes the necessity of the caller having a reference to the
- assembly that defines the item being sought and allows the
- NUnit core to inspect assemblies that reference an older
- version of the NUnit framework.
-
-
-
-
- Examine a fixture type and return an array of methods having a
- particular attribute. The array is order with base methods first.
-
- The type to examine
- The attribute Type to look for
- Specifies whether to search the fixture type inheritance chain
- The array of methods found
-
-
-
- Examine a fixture type and return true if it has a method with
- a particular attribute.
-
- The type to examine
- The attribute Type to look for
- True if found, otherwise false
-
-
-
- Invoke the default constructor on a Type
-
- The Type to be constructed
- An instance of the Type
-
-
-
- Invoke a constructor on a Type with arguments
-
- The Type to be constructed
- Arguments to the constructor
- An instance of the Type
-
-
-
- Returns an array of types from an array of objects.
- Used because the compact framework doesn't support
- Type.GetTypeArray()
-
- An array of objects
- An array of Types
-
-
-
- Invoke a parameterless method returning void on an object.
-
- A MethodInfo for the method to be invoked
- The object on which to invoke the method
-
-
-
- Invoke a method, converting any TargetInvocationException to an NUnitException.
-
- A MethodInfo for the method to be invoked
- The object on which to invoke the method
- The argument list for the method
- The return value from the invoked method
-
-
-
-
-
-
-
-
- Constructor delegate, makes it possible to use a factory to create objects
-
-
-
-
- InvalidTestFixtureException is thrown when an appropriate test
- fixture constructor using the provided arguments cannot be found.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner.
-
-
-
- Serialization Constructor
-
-
-
-
- Class to build ether a parameterized or a normal NUnitTestMethod.
- There are four cases that the builder must deal with:
- 1. The method needs no params and none are provided
- 2. The method needs params and they are provided
- 3. The method needs no params but they are provided in error
- 4. The method needs params but they are not provided
- This could have been done using two different builders, but it
- turned out to be simpler to have just one. The BuildFrom method
- takes a different branch depending on whether any parameters are
- provided, but all four cases are dealt with in lower-level methods
-
-
-
-
- The ITestCaseBuilder interface is exposed by a class that knows how to
- build a test case from certain methods.
-
-
- This interface is not the same as the ITestCaseBuilder interface in NUnit 2.x.
- We have reused the name because the two products don't interoperate at all.
-
-
-
-
- Examine the method and determine if it is suitable for
- this builder to use in building a TestCase to be
- included in the suite being populated.
-
- Note that returning false will cause the method to be ignored
- in loading the tests. If it is desired to load the method
- but label it as non-runnable, ignored, etc., then this
- method must return true.
-
- The test method to examine
- The suite being populated
- True is the builder can use this method
-
-
-
- Build a TestCase from the provided MethodInfo for
- inclusion in the suite being constructed.
-
- The method to be used as a test case
- The test suite being populated, or null
- A TestCase or null
-
-
-
- Determines if the method can be used to build an NUnit test
- test method of some kind. The method must normally be marked
- with an identifying attribute for this to be true.
-
- Note that this method does not check that the signature
- of the method for validity. If we did that here, any
- test methods with invalid signatures would be passed
- over in silence in the test run. Since we want such
- methods to be reported, the check for validity is made
- in BuildFrom rather than here.
-
- An IMethodInfo for the method being used as a test method
- True if the builder can create a test case from this method
-
-
-
- Build a Test from the provided MethodInfo. Depending on
- whether the method takes arguments and on the availability
- of test case data, this method may return a single test
- or a group of tests contained in a ParameterizedMethodSuite.
-
- The method for which a test is to be built
- A Test representing one or more method invocations
-
-
-
- Determines if the method can be used to build an NUnit test
- test method of some kind. The method must normally be marked
- with an identifying attribute for this to be true.
-
- Note that this method does not check that the signature
- of the method for validity. If we did that here, any
- test methods with invalid signatures would be passed
- over in silence in the test run. Since we want such
- methods to be reported, the check for validity is made
- in BuildFrom rather than here.
-
- An IMethodInfo for the method being used as a test method
- The test suite being built, to which the new test would be added
- True if the builder can create a test case from this method
-
-
-
- Build a Test from the provided MethodInfo. Depending on
- whether the method takes arguments and on the availability
- of test case data, this method may return a single test
- or a group of tests contained in a ParameterizedMethodSuite.
-
- The method for which a test is to be built
- The test fixture being populated, or null
- A Test representing one or more method invocations
-
-
-
- Builds a ParameterizedMethodSuite containing individual test cases.
-
- The method for which a test is to be built.
- The list of test cases to include.
- A ParameterizedMethodSuite populated with test cases
-
-
-
- Build a simple, non-parameterized TestMethod for this method.
-
- The MethodInfo for which a test is to be built
- The test suite for which the method is being built
- A TestMethod.
-
-
-
- Abstract base class for operators that are able to reduce to a
- constraint whether or not another syntactic element follows.
-
-
-
-
- NUnitEqualityComparer encapsulates NUnit's handling of
- equality tests between objects.
-
-
-
-
- If true, all string comparisons will ignore case
-
-
-
-
- If true, arrays will be treated as collections, allowing
- those of different dimensions to be compared
-
-
-
-
- Comparison objects used in comparisons for some constraints.
-
-
-
-
- List of points at which a failure occurred.
-
-
-
-
- Compares two objects for equality within a tolerance.
-
-
-
-
- Helper method to compare two arrays
-
-
-
-
- Method to compare two DirectoryInfo objects
-
- first directory to compare
- second directory to compare
- true if equivalent, false if not
-
-
-
- Returns the default NUnitEqualityComparer
-
-
-
-
- Gets and sets a flag indicating whether case should
- be ignored in determining equality.
-
-
-
-
- Gets and sets a flag indicating that arrays should be
- compared as collections, without regard to their shape.
-
-
-
-
- Gets the list of external comparers to be used to
- test for equality. They are applied to members of
- collections, in place of NUnit's own logic.
-
-
-
-
- Gets the list of failure points for the last Match performed.
- The list consists of objects to be interpreted by the caller.
- This generally means that the caller may only make use of
- objects it has placed on the list at a particular depthy.
-
-
-
-
- Flags the comparer to include
- property in comparison of two values.
-
-
- Using this modifier does not allow to use the
- modifier.
-
-
-
-
- FailurePoint class represents one point of failure
- in an equality test.
-
-
-
-
- The location of the failure
-
-
-
-
- The expected value
-
-
-
-
- The actual value
-
-
-
-
- Indicates whether the expected value is valid
-
-
-
-
- Indicates whether the actual value is valid
-
-
-
-
- NullConstraint tests that the actual value is null
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- CollectionSubsetConstraint is used to determine whether
- one collection is a subset of another
-
-
-
-
- Construct a CollectionSubsetConstraint
-
- The collection that the actual value is expected to be a subset of
-
-
-
- Test whether the actual collection is a subset of
- the expected collection provided.
-
-
-
-
-
-
- Flag the constraint to use the supplied predicate function
-
- The comparison function to use.
- Self.
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- AndConstraint succeeds only if both members succeed.
-
-
-
-
- BinaryConstraint is the abstract base of all constraints
- that combine two other constraints in some fashion.
-
-
-
-
- The first constraint being combined
-
-
-
-
- The second constraint being combined
-
-
-
-
- Construct a BinaryConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Create an AndConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Apply both member constraints to an actual value, succeeding
- succeeding only if both of them succeed.
-
- The actual value
- True if the constraints both succeeded
-
-
-
- Gets text describing a constraint
-
-
-
-
- Contain the result of matching a against an actual value.
-
-
-
-
- Constructs a for a particular .
-
- The Constraint to which this result applies.
- The actual value to which the Constraint was applied.
-
-
-
- Constructs a for a particular .
-
- The Constraint to which this result applies.
- The actual value to which the Constraint was applied.
- The status of the new ConstraintResult.
-
-
-
- Constructs a for a particular .
-
- The Constraint to which this result applies.
- The actual value to which the Constraint was applied.
- If true, applies a status of Success to the result, otherwise Failure.
-
-
-
- Write the failure message to the MessageWriter provided
- as an argument. The default implementation simply passes
- the result and the actual value to the writer, which
- then displays the constraint description and the value.
-
- Constraints that need to provide additional details,
- such as where the error occured can override this.
-
- The MessageWriter on which to display the message
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- The actual value that was passed to the method.
-
-
-
-
- Gets and sets the ResultStatus for this result.
-
-
-
-
- True if actual value meets the Constraint criteria otherwise false.
-
-
-
-
- Display friendly name of the constraint.
-
-
-
-
- Description of the constraint may be affected by the state the constraint had
- when was performed against the actual value.
-
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- Attribute used to identify a method that is called after
- all the tests in a fixture have run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- Attribute used to identify a method that is called once
- after all the child tests have run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- PlatformAttribute is used to mark a test fixture or an
- individual method as applying to a particular platform only.
-
-
-
-
- Constructor with no platforms specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more platforms
-
- Comma-delimited list of platforms
-
-
-
- Causes a test to be skipped if this PlatformAttribute is not satisfied.
-
- The test to modify
-
-
-
- Attribute used to mark a test that is to be ignored.
- Ignored tests result in a warning message when the
- tests are run.
-
-
-
-
- Constructs the attribute giving a reason for ignoring the test
- GetActionsFromAttributeProvider
- The reason for ignoring the test
-
-
-
- Modifies a test by marking it as Ignored.
-
- The test to modify
-
-
-
-
-
-
-
-
- The date in the future to stop ignoring the test as a string in UTC time.
- For example for a date and time, "2014-12-25 08:10:00Z" or for just a date,
- "2014-12-25". If just a date is given, the Ignore will expire at midnight UTC.
-
-
- Once the ignore until date has passed, the test will be marked
- as runnable. Tests with an ignore until date will have an IgnoreUntilDate
- property set which will appear in the test results.
-
- The string does not contain a valid string representation of a date and time.
-
-
-
- The IApplyToContext interface is implemented by attributes
- that want to make changes to the execution context before
- a test is run.
-
-
-
-
- Apply changes to the execution context
-
- The execution context
-
-
-
- A SimpleWorkItem represents a single test case and is
- marked as completed immediately upon execution. This
- class is also used for skipped or ignored test suites.
-
-
-
-
- Construct a simple work item for a test.
-
- The test to be executed
- The filter used to select this test
-
-
-
- Method that performs actually performs the work.
-
-
-
-
- ContextSettingsCommand applies specified changes to the
- TestExecutionContext prior to running a test. No special
- action is needed after the test runs, since the prior
- context will be restored automatically.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The RunState enum indicates whether a test can be executed.
-
-
-
-
- The test is not runnable.
-
-
-
-
- The test is runnable.
-
-
-
-
- The test can only be run explicitly
-
-
-
-
- The test has been skipped. This value may
- appear on a Test when certain attributes
- are used to skip the test.
-
-
-
-
- The test has been ignored. May appear on
- a Test, when the IgnoreAttribute is used.
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a new ContainsConstraint. This constraint
- will, in turn, make use of the appropriate second-level
- constraint, depending on the type of the actual argument.
- This overload is only used if the item sought is a string,
- since any other type implies that we are looking for a
- collection member.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a constraint that succeeds if the value
- is a file or directory and it exists.
-
-
-
-
- AssemblyHelper provides static methods for working
- with assemblies.
-
-
-
-
- Gets the path from which an assembly was loaded.
- For builds where this is not possible, returns
- the name of the assembly.
-
- The assembly.
- The path.
-
-
-
- Gets the path to the directory from which an assembly was loaded.
-
- The assembly.
- The path.
-
-
-
- Gets the AssemblyName of an assembly.
-
- The assembly
- An AssemblyName
-
-
-
- Loads an assembly given a string, which may be the
- path to the assembly or the AssemblyName
-
-
-
-
-
-
- Gets the assembly path from code base.
-
- Public for testing purposes
- The code base.
-
-
-
-
- FrameworkController provides a facade for use in loading, browsing
- and running tests without requiring a reference to the NUnit
- framework. All calls are encapsulated in constructors for
- this class and its nested classes, which only require the
- types of the Common Type System as arguments.
-
- The controller supports four actions: Load, Explore, Count and Run.
- They are intended to be called by a driver, which should allow for
- proper sequencing of calls. Load must be called before any of the
- other actions. The driver may support other actions, such as
- reload on run, by combining these calls.
-
-
-
-
- A MarshalByRefObject that lives forever
-
-
-
-
- Obtains a lifetime service object to control the lifetime policy for this instance.
-
-
-
-
- Construct a FrameworkController using the default builder and runner.
-
- The AssemblyName or path to the test assembly
- A prefix used for all test ids created under this controller.
- A Dictionary of settings to use in loading and running the tests
-
-
-
- Construct a FrameworkController using the default builder and runner.
-
- The test assembly
- A prefix used for all test ids created under this controller.
- A Dictionary of settings to use in loading and running the tests
-
-
-
- Construct a FrameworkController, specifying the types to be used
- for the runner and builder. This constructor is provided for
- purposes of development.
-
- The full AssemblyName or the path to the test assembly
- A prefix used for all test ids created under this controller.
- A Dictionary of settings to use in loading and running the tests
- The Type of the test runner
- The Type of the test builder
-
-
-
- Construct a FrameworkController, specifying the types to be used
- for the runner and builder. This constructor is provided for
- purposes of development.
-
- The test assembly
- A prefix used for all test ids created under this controller.
- A Dictionary of settings to use in loading and running the tests
- The Type of the test runner
- The Type of the test builder
-
-
-
- Loads the tests in the assembly
-
-
-
-
-
- Returns info about the tests in an assembly
-
- A string containing the XML representation of the filter to use
- The XML result of exploring the tests
-
-
-
- Runs the tests in an assembly
-
- A string containing the XML representation of the filter to use
- The XML result of the test run
-
-
-
- Runs the tests in an assembly syncronously reporting back the test results through the callback
- or through the return value
-
- The callback that receives the test results
- A string containing the XML representation of the filter to use
- The XML result of the test run
-
-
-
- Runs the tests in an assembly asyncronously reporting back the test results through the callback
-
- The callback that receives the test results
- A string containing the XML representation of the filter to use
-
-
-
- Stops the test run
-
- True to force the stop, false for a cooperative stop
-
-
-
- Counts the number of test cases in the loaded TestSuite
-
- A string containing the XML representation of the filter to use
- The number of tests
-
-
-
- Inserts environment element
-
- Target node
- The new node
-
-
-
- Inserts settings element
-
- Target node
- Settings dictionary
- The new node
-
-
-
- Gets the ITestAssemblyBuilder used by this controller instance.
-
- The builder.
-
-
-
- Gets the ITestAssemblyRunner used by this controller instance.
-
- The runner.
-
-
-
- Gets the AssemblyName or the path for which this FrameworkController was created
-
-
-
-
- Gets the Assembly for which this
-
-
-
-
- Gets a dictionary of settings for the FrameworkController
-
-
-
-
- A shim of the .NET interface for platforms that do not support it.
- Used to indicate that a control can be the target of a callback event on the server.
-
-
-
-
- Processes a callback event that targets a control.
-
-
-
-
-
- Returns the results of a callback event that targets a control.
-
-
-
-
-
- FrameworkControllerAction is the base class for all actions
- performed against a FrameworkController.
-
-
-
-
- LoadTestsAction loads a test into the FrameworkController
-
-
-
-
- LoadTestsAction loads the tests in an assembly.
-
- The controller.
- The callback handler.
-
-
-
- ExploreTestsAction returns info about the tests in an assembly
-
-
-
-
- Initializes a new instance of the class.
-
- The controller for which this action is being performed.
- Filter used to control which tests are included (NYI)
- The callback handler.
-
-
-
- CountTestsAction counts the number of test cases in the loaded TestSuite
- held by the FrameworkController.
-
-
-
-
- Construct a CountsTestAction and perform the count of test cases.
-
- A FrameworkController holding the TestSuite whose cases are to be counted
- A string containing the XML representation of the filter to use
- A callback handler used to report results
-
-
-
- RunTestsAction runs the loaded TestSuite held by the FrameworkController.
-
-
-
-
- Construct a RunTestsAction and run all tests in the loaded TestSuite.
-
- A FrameworkController holding the TestSuite to run
- A string containing the XML representation of the filter to use
- A callback handler used to report results
-
-
-
- RunAsyncAction initiates an asynchronous test run, returning immediately
-
-
-
-
- Construct a RunAsyncAction and run all tests in the loaded TestSuite.
-
- A FrameworkController holding the TestSuite to run
- A string containing the XML representation of the filter to use
- A callback handler used to report results
-
-
-
- StopRunAction stops an ongoing run.
-
-
-
-
- Construct a StopRunAction and stop any ongoing run. If no
- run is in process, no error is raised.
-
- The FrameworkController for which a run is to be stopped.
- True the stop should be forced, false for a cooperative stop.
- >A callback handler used to report results
- A forced stop will cause threads and processes to be killed as needed.
-
-
-
- ExceptionTypeConstraint is a special version of ExactTypeConstraint
- used to provided detailed info about the exception thrown in
- an error message.
-
-
-
-
- ExactTypeConstraint is used to test that an object
- is of the exact type provided in the constructor
-
-
-
-
- Construct an ExactTypeConstraint for a given Type
-
- The expected Type.
-
-
-
- Apply the constraint to an actual value, returning true if it succeeds
-
- The actual argument
- True if the constraint succeeds, otherwise false.
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- Constructs an ExceptionTypeConstraint
-
-
-
-
- Applies the constraint to an actual value, returning a ConstraintResult.
-
- The value to be tested
- A ConstraintResult
-
-
-
- TestProgressReporter translates ITestListener events into
- the async callbacks that are used to inform the client
- software about the progress of a test run.
-
-
-
-
- Initializes a new instance of the class.
-
- The callback handler to be used for reporting progress.
-
-
-
- Called when a test has just started
-
- The test that is starting
-
-
-
- Called when a test has finished. Sends a result summary to the callback.
- to
-
- The result of the test
-
-
-
- Called when a test produces output for immediate display
-
- A TestOutput object containing the text to display
-
-
-
- Returns the parent test item for the targer test item if it exists
-
-
- parent test item
-
-
-
- Makes a string safe for use as an attribute, replacing
- characters characters that can't be used with their
- corresponding xml representations.
-
- The string to be used
- A new string with the _values replaced
-
-
-
- Operator used to test for the presence of a named Property
- on an object and optionally apply further tests to the
- value of that property.
-
-
-
-
- Constructs a PropOperator for a particular named property
-
-
-
-
- Reduce produces a constraint from the operator and
- any arguments. It takes the arguments from the constraint
- stack and pushes the resulting constraint on it.
-
-
-
-
-
- Gets the name of the property to which the operator applies
-
-
-
-
- NaNConstraint tests that the actual value is a double or float NaN
-
-
-
-
- Test that the actual value is an NaN
-
-
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- CollectionContainsConstraint is used to test whether a collection
- contains an expected object as a member.
-
-
-
-
- Construct a CollectionContainsConstraint
-
-
-
-
-
- Test whether the expected item is contained in the collection
-
-
-
-
-
-
- Flag the constraint to use the supplied predicate function
-
- The comparison function to use.
- Self.
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Gets the expected object
-
-
-
-
- Attribute used to mark a class that contains one-time SetUp
- and/or TearDown methods that apply to all the tests in a
- namespace or an assembly.
-
-
-
-
- Attribute used to mark a class that contains one-time SetUp
- and/or TearDown methods that apply to all the tests in a
- namespace or an assembly.
-
-
-
-
- Attribute used to mark a class that contains one-time SetUp
- and/or TearDown methods that apply to all the tests in a
- namespace or an assembly.
-
-
-
-
- RepeatAttribute may be applied to test case in order
- to run it multiple times.
-
-
-
-
- Construct a RepeatAttribute
-
- The number of times to run the test
-
-
-
- Wrap a command and return the result.
-
- The command to be wrapped
- The wrapped command
-
-
-
- The test command for the RepeatAttribute
-
-
-
-
- Initializes a new instance of the class.
-
- The inner command.
- The number of repetitions
-
-
-
- Runs the test, saving a TestResult in the supplied TestExecutionContext.
-
- The context in which the test should run.
- A TestResult
-
-
-
- A simplified implementation of .NET 4 CountdownEvent
- for use in earlier versions of .NET. Only the methods
- used by NUnit are implemented.
-
-
-
-
- Construct a CountdownEvent
-
- The initial count
-
-
-
- Decrement the count by one
-
-
-
-
- Block the thread until the count reaches zero
-
-
-
-
- Gets the initial count established for the CountdownEvent
-
-
-
-
- Gets the current count remaining for the CountdownEvent
-
-
-
-
- TheoryResultCommand adjusts the result of a Theory so that
- it fails if all the results were inconclusive.
-
-
-
-
- Constructs a TheoryResultCommand
-
- The command to be wrapped by this one
-
-
-
- Overridden to call the inner command and adjust the result
- in case all chlid results were inconclusive.
-
-
-
-
-
-
- NUnitTestCaseBuilder is a utility class used by attributes
- that build test cases.
-
-
-
-
- Constructs an
-
-
-
-
- Builds a single NUnitTestMethod, either as a child of the fixture
- or as one of a set of test cases under a ParameterizedTestMethodSuite.
-
- The MethodInfo from which to construct the TestMethod
- The suite or fixture to which the new test will be added
- The ParameterSet to be used, or null
-
-
-
-
- Helper method that checks the signature of a TestMethod and
- any supplied parameters to determine if the test is valid.
-
- Currently, NUnitTestMethods are required to be public,
- non-abstract methods, either static or instance,
- returning void. They may take arguments but the _values must
- be provided or the TestMethod is not considered runnable.
-
- Methods not meeting these criteria will be marked as
- non-runnable and the method will return false in that case.
-
- The TestMethod to be checked. If it
- is found to be non-runnable, it will be modified.
- Parameters to be used for this test, or null
- True if the method signature is valid, false if not
-
- The return value is no longer used internally, but is retained
- for testing purposes.
-
-
-
-
- The TestStatus enum indicates the result of running a test
-
-
-
-
- The test was inconclusive
-
-
-
-
- The test has skipped
-
-
-
-
- The test succeeded
-
-
-
-
- The test failed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- TestNameGenerator is able to create test names according to
- a coded pattern.
-
-
-
-
- Default pattern used to generate names
-
-
-
-
- Construct a TestNameGenerator
-
-
-
-
- Construct a TestNameGenerator
-
- The pattern used by this generator.
-
-
-
- Get the display name for a TestMethod and it's arguments
-
- A TestMethod
- The display name
-
-
-
- Get the display name for a TestMethod and it's arguments
-
- A TestMethod
- Arguments to be used
- The display name
-
-
-
- The EqualConstraintResult class is tailored for formatting
- and displaying the result of an EqualConstraint.
-
-
-
-
- Construct an EqualConstraintResult
-
-
-
-
- Write a failure message. Overridden to provide custom
- failure messages for EqualConstraint.
-
- The MessageWriter to write to
-
-
-
- Display the failure information for two collections that did not match.
-
- The MessageWriter on which to display
- The expected collection.
- The actual collection
- The depth of this failure in a set of nested collections
-
-
-
- Displays a single line showing the types and sizes of the expected
- and actual collections or arrays. If both are identical, the value is
- only shown once.
-
- The MessageWriter on which to display
- The expected collection or array
- The actual collection or array
- The indentation level for the message line
-
-
-
- Displays a single line showing the point in the expected and actual
- arrays at which the comparison failed. If the arrays have different
- structures or dimensions, both _values are shown.
-
- The MessageWriter on which to display
- The expected array
- The actual array
- Index of the failure point in the underlying collections
- The indentation level for the message line
-
-
-
- Display the failure information for two IEnumerables that did not match.
-
- The MessageWriter on which to display
- The expected enumeration.
- The actual enumeration
- The depth of this failure in a set of nested collections
-
-
-
- Provides NUnit specific extensions to aid in Reflection
- across multiple frameworks
-
-
- This version of the class supplies GetTypeInfo() on platforms
- that don't support it.
-
-
-
-
- GetTypeInfo gives access to most of the Type information we take for granted
- on .NET Core and Windows Runtime. Rather than #ifdef different code for different
- platforms, it is easiest to just code all platforms as if they worked this way,
- thus the simple passthrough.
-
-
-
-
-
-
- Extensions for Assembly that are not available in pre-4.5 .NET releases
-
-
-
-
- An easy way to get a single custom attribute from an assembly
-
- The attribute Type
- The assembly
- An attribute of Type T
-
-
-
- Type extensions that apply to all target frameworks
-
-
-
-
- Determines if the given array is castable/matches the array.
-
-
-
-
-
-
-
- Determines if one type can be implicitly converted from another
-
-
-
-
-
-
-
- This class is used as a flag when we get a parameter list for a method/constructor, but
- we do not know one of the types because null was passed in.
-
-
-
-
- The TestCaseData class represents a set of arguments
- and other parameter info to be used for a parameterized
- test case. It is derived from TestCaseParameters and adds a
- fluent syntax for use in initializing the test case.
-
-
-
-
- The TestCaseParameters class encapsulates method arguments and
- other selected parameters needed for constructing
- a parameterized test case.
-
-
-
-
- TestParameters is the abstract base class for all classes
- that know how to provide data for constructing a test.
-
-
-
-
- Default Constructor creates an empty parameter set
-
-
-
-
- Construct a parameter set with a list of arguments
-
-
-
-
-
- Construct a non-runnable ParameterSet, specifying
- the provider exception that made it invalid.
-
-
-
-
- Construct a ParameterSet from an object implementing ITestData
-
-
-
-
-
- Applies ParameterSet _values to the test itself.
-
- A test.
-
-
-
- The RunState for this set of parameters.
-
-
-
-
- The arguments to be used in running the test,
- which must match the method signature.
-
-
-
-
- A name to be used for this test case in lieu
- of the standard generated name containing
- the argument list.
-
-
-
-
- Gets the property dictionary for this test
-
-
-
-
- The original arguments provided by the user,
- used for display purposes.
-
-
-
-
- The expected result to be returned
-
-
-
-
- Default Constructor creates an empty parameter set
-
-
-
-
- Construct a non-runnable ParameterSet, specifying
- the provider exception that made it invalid.
-
-
-
-
- Construct a parameter set with a list of arguments
-
-
-
-
-
- Construct a ParameterSet from an object implementing ITestCaseData
-
-
-
-
-
- The expected result of the test, which
- must match the method return type.
-
-
-
-
- Gets a value indicating whether an expected result was specified.
-
-
-
-
- Initializes a new instance of the class.
-
- The arguments.
-
-
-
- Initializes a new instance of the class.
-
- The argument.
-
-
-
- Initializes a new instance of the class.
-
- The first argument.
- The second argument.
-
-
-
- Initializes a new instance of the class.
-
- The first argument.
- The second argument.
- The third argument.
-
-
-
- Sets the expected result for the test
-
- The expected result
- A modified TestCaseData
-
-
-
- Sets the name of the test case
-
- The modified TestCaseData instance
-
-
-
- Sets the description for the test case
- being constructed.
-
- The description.
- The modified TestCaseData instance.
-
-
-
- Applies a category to the test
-
-
-
-
-
-
- Applies a named property to the test
-
-
-
-
-
-
-
- Applies a named property to the test
-
-
-
-
-
-
-
- Applies a named property to the test
-
-
-
-
-
-
-
- Marks the test case as explicit.
-
-
-
-
- Marks the test case as explicit, specifying the reason.
-
-
-
-
- Ignores this TestCase, specifying the reason.
-
- The reason.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets or sets the current test
-
-
-
-
- The time the current test started execution
-
-
-
-
- The time the current test started in Ticks
-
-
-
-
- Gets or sets the current test result
-
-
-
-
- Gets a TextWriter that will send output to the current test result.
-
-
-
-
- The current test object - that is the user fixture
- object on which tests are being executed.
-
-
-
-
- Get or set the working directory
-
-
-
-
- Get or set indicator that run should stop on the first error
-
-
-
-
- Gets an enum indicating whether a stop has been requested.
-
-
-
-
- The current WorkItemDispatcher. Made public for
- use by nunitlite.tests
-
-
-
-
- The ParallelScope to be used by tests running in this context.
- For builds with out the parallel feature, it has no effect.
-
-
-
-
- The unique name of the worker that spawned the context.
- For builds with out the parallel feature, it is null.
-
-
-
-
- Gets the RandomGenerator specific to this Test
-
-
-
-
- Gets or sets the test case timeout value
-
-
-
-
- Gets a list of ITestActions set by upstream tests
-
-
-
-
- Saves or restores the CurrentCulture
-
-
-
-
- Saves or restores the CurrentUICulture
-
-
-
-
- The current head of the ValueFormatter chain, copied from MsgUtils.ValueFormatter
-
-
-
-
- If true, all tests must run on the same thread. No new thread may be spawned.
-
-
-
-
- Helper class used to save and restore certain static or
- singleton settings in the environment that affect tests
- or which might be changed by the user tests.
-
- An internal class is used to hold settings and a stack
- of these objects is pushed and popped as Save and Restore
- are called.
-
-
-
-
- Link to a prior saved context
-
-
-
-
- Indicates that a stop has been requested
-
-
-
-
- The event listener currently receiving notifications
-
-
-
-
- The number of assertions for the current test
-
-
-
-
- The current culture
-
-
-
-
- The current UI culture
-
-
-
-
- The current test result
-
-
-
-
- The current Principal.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- An existing instance of TestExecutionContext.
-
-
-
- Get the current context or return null if none is found.
-
-
-
-
-
- Clear the current context. This is provided to
- prevent "leakage" of the CallContext containing
- the current context back to any runners.
-
-
-
-
- Record any changes in the environment made by
- the test code in the execution context so it
- will be passed on to lower level tests.
-
-
-
-
- Set up the execution environment to match a context.
- Note that we may be running on the same thread where the
- context was initially created or on a different thread.
-
-
-
-
- Increments the assert count by one.
-
-
-
-
- Increments the assert count by a specified amount.
-
-
-
-
- Adds a new ValueFormatterFactory to the chain of formatters
-
- The new factory
-
-
-
- Obtain lifetime service object
-
-
-
-
-
- Gets and sets the current context.
-
-
-
-
- Gets or sets the current test
-
-
-
-
- The time the current test started execution
-
-
-
-
- The time the current test started in Ticks
-
-
-
-
- Gets or sets the current test result
-
-
-
-
- Gets a TextWriter that will send output to the current test result.
-
-
-
-
- The current test object - that is the user fixture
- object on which tests are being executed.
-
-
-
-
- Get or set the working directory
-
-
-
-
- Get or set indicator that run should stop on the first error
-
-
-
-
- Gets an enum indicating whether a stop has been requested.
-
-
-
-
- The current test event listener
-
-
-
-
- The current WorkItemDispatcher. Made public for
- use by nunitlite.tests
-
-
-
-
- The ParallelScope to be used by tests running in this context.
- For builds with out the parallel feature, it has no effect.
-
-
-
-
- The unique name of the worker that spawned the context.
- For builds with out the parallel feature, it is null.
-
-
-
-
- Gets the RandomGenerator specific to this Test
-
-
-
-
- Gets the assert count.
-
- The assert count.
-
-
-
- Gets or sets the test case timeout value
-
-
-
-
- Gets a list of ITestActions set by upstream tests
-
-
-
-
- Saves or restores the CurrentCulture
-
-
-
-
- Saves or restores the CurrentUICulture
-
-
-
-
- Gets or sets the current for the Thread.
-
-
-
-
- The current head of the ValueFormatter chain, copied from MsgUtils.ValueFormatter
-
-
-
-
- If true, all tests must run on the same thread. No new thread may be spawned.
-
-
-
-
- Thrown when a test executes inconclusively.
-
-
-
-
- Abstract base for Exceptions that terminate a test and provide a ResultState.
-
-
-
- The error message that explains
- the reason for the exception
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- Gets the ResultState provided by this exception
-
-
-
- The error message that explains
- the reason for the exception
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- Gets the ResultState provided by this exception
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a new DictionaryContainsKeyConstraint checking for the
- presence of a particular key in the dictionary.
-
-
-
-
- Returns a new DictionaryContainsValueConstraint checking for the
- presence of a particular value in the dictionary.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- EqualConstraint is able to compare an actual value with the
- expected value provided in its constructor. Two objects are
- considered equal if both are null, or if both have the same
- value. NUnit has special semantics for some object types.
-
-
-
-
- NUnitEqualityComparer used to test equality.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Flag the constraint to use a tolerance when determining equality.
-
- Tolerance value to be used
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied Comparison object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IEqualityComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IEqualityComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Gets the tolerance for this comparison.
-
-
- The tolerance.
-
-
-
-
- Gets a value indicating whether to compare case insensitive.
-
-
- true if comparing case insensitive; otherwise, false.
-
-
-
-
- Gets a value indicating whether or not to clip strings.
-
-
- true if set to clip strings otherwise, false.
-
-
-
-
- Gets the failure points.
-
-
- The failure points.
-
-
-
-
- Flag the constraint to ignore case and return self.
-
-
-
-
- Flag the constraint to suppress string clipping
- and return self.
-
-
-
-
- Flag the constraint to compare arrays as collections
- and return self.
-
-
-
-
- Flags the constraint to include
- property in comparison of two values.
-
-
- Using this modifier does not allow to use the
- constraint modifier.
-
-
-
-
- Switches the .Within() modifier to interpret its tolerance as
- a distance in representable _values (see remarks).
-
- Self.
-
- Ulp stands for "unit in the last place" and describes the minimum
- amount a given value can change. For any integers, an ulp is 1 whole
- digit. For floating point _values, the accuracy of which is better
- for smaller numbers and worse for larger numbers, an ulp depends
- on the size of the number. Using ulps for comparison of floating
- point results instead of fixed tolerances is safer because it will
- automatically compensate for the added inaccuracy of larger numbers.
-
-
-
-
- Switches the .Within() modifier to interpret its tolerance as
- a percentage that the actual _values is allowed to deviate from
- the expected value.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in days.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in hours.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in minutes.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in seconds.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in milliseconds.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in clock ticks.
-
- Self
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Applies a delay to the match so that a match can be evaluated in the future.
-
-
-
-
- Creates a new DelayedConstraint
-
- The inner constraint to decorate
- The time interval after which the match is performed
- If the value of is less than 0
-
-
-
- Creates a new DelayedConstraint
-
- The inner constraint to decorate
- The time interval after which the match is performed, in milliseconds
- The time interval used for polling, in milliseconds
- If the value of is less than 0
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for if the base constraint fails, false if it succeeds
-
-
-
- Test whether the constraint is satisfied by a delegate
-
- The delegate whose value is to be tested
- A ConstraintResult
-
-
-
- Test whether the constraint is satisfied by a given reference.
- Overridden to wait for the specified delay period before
- calling the base constraint with the dereferenced value.
-
- A reference to the value to be tested
- True for success, false for failure
-
-
-
- Returns the string representation of the constraint.
-
-
-
-
- Adjusts a Timestamp by a given TimeSpan
-
-
-
-
-
-
-
- Returns the difference between two Timestamps as a TimeSpan
-
-
-
-
-
-
-
- Gets text describing a constraint
-
-
-
-
- CollectionOrderedConstraint is used to test whether a collection is ordered.
-
-
-
-
- Construct a CollectionOrderedConstraint
-
-
-
-
- Modifies the constraint to use an and returns self.
-
-
-
-
- Modifies the constraint to use an and returns self.
-
-
-
-
- Modifies the constraint to use a and returns self.
-
-
-
-
- Modifies the constraint to test ordering by the value of
- a specified property and returns self.
-
-
-
-
- Test whether the collection is ordered
-
-
-
-
-
-
- Returns the string representation of the constraint.
-
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- If used performs a default ascending comparison
-
-
-
-
- If used performs a reverse comparison
-
-
-
-
- Then signals a break between two ordering steps
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- An OrderingStep represents one stage of the sort
-
-
-
-
- Attribute used to provide descriptive text about a
- test case or fixture.
-
-
-
-
- Construct a description Attribute
-
- The text of the description
-
-
-
- InvalidTestFixtureException is thrown when an appropriate test
- fixture constructor using the provided arguments cannot be found.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner.
-
-
-
- Serialization Constructor
-
-
-
-
- A CompositeWorkItem represents a test suite and
- encapsulates the execution of the suite as well
- as all its child tests.
-
-
-
-
- A count of how many tests in the work item have a value for the Order Property
-
-
-
-
- Construct a CompositeWorkItem for executing a test suite
- using a filter to select child tests.
-
- The TestSuite to be executed
- A filter used to select child tests
-
-
-
- Method that actually performs the work. Overridden
- in CompositeWorkItem to do setup, run all child
- items and then do teardown.
-
-
-
-
- Sorts tests under this suite.
-
-
-
-
- Cancel (abort or stop) a CompositeWorkItem and all of its children
-
- true if the CompositeWorkItem and all of its children should be aborted, false if it should allow all currently running tests to complete
-
-
-
- List of Child WorkItems
-
-
-
-
- Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
-
-
- A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than .
-
- The first object to compare.The second object to compare.
-
-
-
- The ISimpleTestBuilder interface is exposed by a class that knows how to
- build a single TestMethod from a suitable MethodInfo Types. In general,
- it is exposed by an attribute, but may be implemented in a helper class
- used by the attribute in some cases.
-
-
-
-
- Build a TestMethod from the provided MethodInfo.
-
- The method to be used as a test
- The TestSuite to which the method will be added
- A TestMethod object
-
-
-
- The TypeWrapper class wraps a Type so it may be used in
- a platform-independent manner.
-
-
-
-
- Construct a TypeWrapper for a specified Type.
-
-
-
-
- Returns true if the Type wrapped is T
-
-
-
-
- Get the display name for this type
-
-
-
-
- Get the display name for an object of this type, constructed with the specified args.
-
-
-
-
- Returns a new ITypeInfo representing an instance of this generic Type using the supplied Type arguments
-
-
-
-
- Returns a Type representing a generic type definition from which this Type can be constructed.
-
-
-
-
- Returns an array of custom attributes of the specified type applied to this type
-
-
-
-
- Returns a value indicating whether the type has an attribute of the specified type.
-
-
-
-
-
-
-
- Returns a flag indicating whether this type has a method with an attribute of the specified type.
-
-
-
-
-
-
- Returns an array of IMethodInfos for methods of this Type
- that match the specified flags.
-
-
-
-
- Gets the public constructor taking the specified argument Types
-
-
-
-
- Returns a value indicating whether this Type has a public constructor taking the specified argument Types.
-
-
-
-
- Construct an object of this Type, using the specified arguments.
-
-
-
-
- Override ToString() so that error messages in NUnit's own tests make sense
-
-
-
-
- Gets the underlying Type on which this TypeWrapper is based.
-
-
-
-
- Gets the base type of this type as an ITypeInfo
-
-
-
-
- Gets the Name of the Type
-
-
-
-
- Gets the FullName of the Type
-
-
-
-
- Gets the assembly in which the type is declared
-
-
-
-
- Gets the namespace of the Type
-
-
-
-
- Gets a value indicating whether the type is abstract.
-
-
-
-
- Gets a value indicating whether the Type is a generic Type
-
-
-
-
- Gets a value indicating whether the Type has generic parameters that have not been replaced by specific Types.
-
-
-
-
- Gets a value indicating whether the Type is a generic Type definition
-
-
-
-
- Gets a value indicating whether the type is sealed.
-
-
-
-
- Gets a value indicating whether this type represents a static class.
-
-
-
-
- DictionaryContainsValueConstraint is used to test whether a dictionary
- contains an expected object as a value.
-
-
-
-
- Construct a DictionaryContainsValueConstraint
-
-
-
-
-
- Test whether the expected value is contained in the dictionary
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- TestCaseSourceAttribute indicates the source to be used to
- provide test fixture instances for a test class.
-
-
-
-
- Error message string is public so the tests can use it
-
-
-
-
- Construct with the name of the method, property or field that will provide data
-
- The name of a static method, property or field that will provide data.
-
-
-
- Construct with a Type and name
-
- The Type that will provide data
- The name of a static method, property or field that will provide data.
-
-
-
- Construct with a Type
-
- The type that will provide data
-
-
-
- Construct one or more TestFixtures from a given Type,
- using available parameter data.
-
- The TypeInfo for which fixures are to be constructed.
- One or more TestFixtures as TestSuite
-
-
-
- Returns a set of ITestFixtureData items for use as arguments
- to a parameterized test fixture.
-
- The type for which data is needed.
-
-
-
-
- The name of a the method, property or fiend to be used as a source
-
-
-
-
- A Type to be used as a source
-
-
-
-
- Gets or sets the category associated with every fixture created from
- this attribute. May be a single category or a comma-separated list.
-
-
-
-
- Attribute used to identify a method that is called once
- to perform setup before any child tests are run.
-
-
-
-
- Provides the Author of a test or test fixture.
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the author.
-
-
-
- Initializes a new instance of the class.
-
- The name of the author.
- The email address of the author.
-
-
-
- The different targets a test action attribute can be applied to
-
-
-
-
- Default target, which is determined by where the action attribute is attached
-
-
-
-
- Target a individual test case
-
-
-
-
- Target a suite of test cases
-
-
-
-
- TestListener provides an implementation of ITestListener that
- does nothing. It is used only through its NULL property.
-
-
-
-
- Called when a test has just started
-
- The test that is starting
-
-
-
- Called when a test case has finished
-
- The result of the test
-
-
-
- Called when a test produces output for immediate display
-
- A TestOutput object containing the text to display
-
-
-
- Construct a new TestListener - private so it may not be used.
-
-
-
-
- Get a listener that does nothing
-
-
-
-
- PlatformHelper class is used by the PlatformAttribute class to
- determine whether a platform is supported.
-
-
-
-
- Comma-delimited list of all supported OS platform constants
-
-
-
-
- Comma-delimited list of all supported Runtime platform constants
-
-
-
-
- Default constructor uses the operating system and
- common language runtime of the system.
-
-
-
-
- Construct a PlatformHelper for a particular operating
- system and common language runtime. Used in testing.
-
- OperatingSystem to be used
- RuntimeFramework to be used
-
-
-
- Test to determine if one of a collection of platforms
- is being used currently.
-
-
-
-
-
-
- Tests to determine if the current platform is supported
- based on a platform attribute.
-
- The attribute to examine
-
-
-
-
- Tests to determine if the current platform is supported
- based on a platform attribute.
-
- The attribute to examine
-
-
-
-
- Test to determine if the a particular platform or comma-
- delimited set of platforms is in use.
-
- Name of the platform or comma-separated list of platform ids
- True if the platform is in use on the system
-
-
-
- Return the last failure reason. Results are not
- defined if called before IsSupported( Attribute )
- is called.
-
-
-
-
- DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite
- containing test fixtures present in the assembly.
-
-
-
-
- The default suite builder used by the test assembly builder.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Build a suite of tests from a provided assembly
-
- The assembly from which tests are to be built
- A dictionary of options to use in building the suite
-
- A TestSuite containing the tests found in the assembly
-
-
-
-
- Build a suite of tests given the filename of an assembly
-
- The filename of the assembly from which tests are to be built
- A dictionary of options to use in building the suite
-
- A TestSuite containing the tests found in the assembly
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding only if a specified number of them succeed.
-
-
-
-
- Returns a new PropertyConstraintExpression, which will either
- test for the existence of the named property on the object
- being tested or apply any following constraint to that property.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if at least one of them succeeds.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them fail.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Length property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Count property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Message property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the InnerException property of the object being tested.
-
-
-
-
- EmptyConstraint tests a whether a string or collection is empty,
- postponing the decision about which test is applied until the
- type of the actual argument is known.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- ComparisonAdapter class centralizes all comparisons of
- _values in NUnit, adapting to the use of any provided
- ,
- or .
-
-
-
-
- Returns a ComparisonAdapter that wraps an
-
-
-
-
- Returns a ComparisonAdapter that wraps an
-
-
-
-
- Returns a ComparisonAdapter that wraps a
-
-
-
-
- Compares two objects
-
-
-
-
- Gets the default ComparisonAdapter, which wraps an
- NUnitComparer object.
-
-
-
-
- Construct a ComparisonAdapter for an
-
-
-
-
- Compares two objects
-
-
-
-
-
-
-
- Construct a default ComparisonAdapter
-
-
-
-
- ComparerAdapter extends and
- allows use of an or
- to actually perform the comparison.
-
-
-
-
- Construct a ComparisonAdapter for an
-
-
-
-
- Compare a Type T to an object
-
-
-
-
- Construct a ComparisonAdapter for a
-
-
-
-
- Compare a Type T to an object
-
-
-
-
- AssignableFromConstraint is used to test that an object
- can be assigned from a given Type.
-
-
-
-
- Construct an AssignableFromConstraint for the type provided
-
-
-
-
-
- Apply the constraint to an actual value, returning true if it succeeds
-
- The actual argument
- True if the constraint succeeds, otherwise false.
-
-
-
- Marks a test to use a Sequential join of any argument
- data provided. Arguments will be combined into test cases,
- taking the next value of each argument until all are used.
-
-
-
-
- Default constructor
-
-
-
-
- RangeAttribute is used to supply a range of _values to an
- individual parameter of a parameterized test.
-
-
-
-
- Construct a range of ints using default step of 1
-
-
-
-
-
-
- Construct a range of ints specifying the step size
-
-
-
-
-
-
-
- Construct a range of unsigned ints using default step of 1
-
-
-
-
-
-
- Construct a range of unsigned ints specifying the step size
-
-
-
-
-
-
-
- Construct a range of longs using a default step of 1
-
-
-
-
-
-
- Construct a range of longs
-
-
-
-
-
-
-
- Construct a range of unsigned longs using default step of 1
-
-
-
-
-
-
- Construct a range of unsigned longs specifying the step size
-
-
-
-
-
-
-
- Construct a range of doubles
-
-
-
-
-
-
-
- Construct a range of floats
-
-
-
-
-
-
-
- Used to mark a field, property or method providing a set of datapoints to
- be used in executing any theories within the same fixture that require an
- argument of the Type provided. The data source may provide an array of
- the required Type or an .
- Synonymous with DatapointsAttribute.
-
-
-
-
- StackFilter class is used to remove internal NUnit
- entries from a stack trace so that the resulting
- trace provides better information about the test.
-
-
-
-
- Filters a raw stack trace and returns the result.
-
- The original stack trace
- A filtered stack trace
-
-
-
- A utility class to create TestCommands
-
-
-
-
- Gets the command to be executed before any of
- the child tests are run.
-
- A TestCommand
-
-
-
- Gets the command to be executed after all of the
- child tests are run.
-
- A TestCommand
-
-
-
- Creates a test command for use in running this test.
-
-
-
-
-
- Creates a command for skipping a test. The result returned will
- depend on the test RunState.
-
-
-
-
- Builds the set up tear down list.
-
- Type of the fixture.
- Type of the set up attribute.
- Type of the tear down attribute.
- A list of SetUpTearDownItems
-
-
-
- The ParameterWrapper class wraps a ParameterInfo so that it may
- be used in a platform-independent manner.
-
-
-
-
- The IParameterInfo interface is an abstraction of a .NET parameter.
-
-
-
-
- Gets a value indicating whether the parameter is optional
-
-
-
-
- Gets an IMethodInfo representing the method for which this is a parameter
-
-
-
-
- Gets the underlying .NET ParameterInfo
-
-
-
-
- Gets the Type of the parameter
-
-
-
-
- Construct a ParameterWrapper for a given method and parameter
-
-
-
-
-
-
- Returns an array of custom attributes of the specified type applied to this method
-
-
-
-
- Gets a value indicating whether one or more attributes of the specified type are defined on the parameter.
-
-
-
-
- Gets a value indicating whether the parameter is optional
-
-
-
-
- Gets an IMethodInfo representing the method for which this is a parameter.
-
-
-
-
- Gets the underlying ParameterInfo
-
-
-
-
- Gets the Type of the parameter
-
-
-
-
- A trace listener that writes to a separate file per domain
- and process using it.
-
-
-
-
- Construct an InternalTraceWriter that writes to a file.
-
- Path to the file to use
-
-
-
- Construct an InternalTraceWriter that writes to a
- TextWriter provided by the caller.
-
-
-
-
-
- Writes a character to the text string or stream.
-
- The character to write to the text stream.
-
-
-
- Writes a string to the text string or stream.
-
- The string to write.
-
-
-
- Writes a string followed by a line terminator to the text string or stream.
-
- The string to write. If is null, only the line terminator is written.
-
-
-
- Releases the unmanaged resources used by the and optionally releases the managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
-
-
-
-
- Returns the character encoding in which the output is written.
-
- The character encoding in which the output is written.
-
-
-
- FullName filter selects tests based on their FullName
-
-
-
-
- Construct a MethodNameFilter for a single name
-
- The name the filter will recognize.
-
-
-
- Match a test against a single value.
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Provides a platform-independent methods for getting attributes
- for use by AttributeConstraint and AttributeExistsConstraint.
-
-
-
-
- Gets the custom attributes from the given object.
-
- Portable libraries do not have an ICustomAttributeProvider, so we need to cast to each of
- it's direct subtypes and try to get attributes off those instead.
- The actual.
- Type of the attribute.
- if set to true [inherit].
- A list of the given attribute on the given object.
-
-
-
- The SpecialValue enum is used to represent TestCase arguments
- that cannot be used as arguments to an Attribute.
-
-
-
-
- Null represents a null value, which cannot be used as an
- argument to an attriute under .NET 1.x
-
-
-
-
- TypeHelper provides static methods that operate on Types.
-
-
-
-
- A special value, which is used to indicate that BestCommonType() method
- was unable to find a common type for the specified arguments.
-
-
-
-
- Gets the display name for a Type as used by NUnit.
-
- The Type for which a display name is needed.
- The display name for the Type
-
-
-
- Gets the display name for a Type as used by NUnit.
-
- The Type for which a display name is needed.
- The arglist provided.
- The display name for the Type
-
-
-
- Returns the best fit for a common type to be used in
- matching actual arguments to a methods Type parameters.
-
- The first type.
- The second type.
- Either type1 or type2, depending on which is more general.
-
-
-
- Determines whether the specified type is numeric.
-
- The type to be examined.
-
- true if the specified type is numeric; otherwise, false.
-
-
-
-
- Convert an argument list to the required parameter types.
- Currently, only widening numeric conversions are performed.
-
- An array of args to be converted
- A ParameterInfo[] whose types will be used as targets
-
-
-
- Determines whether this instance can deduce type args for a generic type from the supplied arguments.
-
- The type to be examined.
- The arglist.
- The type args to be used.
-
- true if this the provided args give sufficient information to determine the type args to be used; otherwise, false.
-
-
-
-
- Gets the _values for an enumeration, using Enum.GetTypes
- where available, otherwise through reflection.
-
-
-
-
-
-
- Gets the ids of the _values for an enumeration,
- using Enum.GetNames where available, otherwise
- through reflection.
-
-
-
-
-
-
- ThreadUtility provides a set of static methods convenient
- for working with threads.
-
-
-
-
- Do our best to Kill a thread
-
- The thread to kill
-
-
-
- Do our best to kill a thread, passing state info
-
- The thread to kill
- Info for the ThreadAbortException handler
-
-
-
- TestFixture is a surrogate for a user test fixture class,
- containing one or more tests.
-
-
-
-
- Any ITest that implements this interface is at a level that the implementing
- class should be disposed at the end of the test run
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the fixture.
-
-
-
- Predicate constraint wraps a Predicate in a constraint,
- returning success if the predicate is true.
-
-
-
-
- Construct a PredicateConstraint from a predicate
-
-
-
-
- Determines whether the predicate succeeds when applied
- to the actual value.
-
-
-
-
- Gets text describing a constraint
-
-
-
-
- NotConstraint negates the effect of some other constraint
-
-
-
-
- Initializes a new instance of the class.
-
- The base constraint to be negated.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for if the base constraint fails, false if it succeeds
-
-
-
- Custom value formatter function
-
- The value
-
-
-
-
- Custom value formatter factory function
-
- The next formatter function
- ValueFormatter
- If the given formatter is unable to handle a certain format, it must call the next formatter in the chain
-
-
-
- Static methods used in creating messages
-
-
-
-
- Static string used when strings are clipped
-
-
-
-
- Formatting strings used for expected and actual _values
-
-
-
-
- Add a formatter to the chain of responsibility.
-
-
-
-
-
- Formats text to represent a generalized value.
-
- The value
- The formatted text
-
-
-
- Formats text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Returns the representation of a type as used in NUnitLite.
- This is the same as Type.ToString() except for arrays,
- which are displayed with their declared sizes.
-
-
-
-
-
-
- Converts any control characters in a string
- to their escaped representation.
-
- The string to be converted
- The converted string
-
-
-
- Converts any null characters in a string
- to their escaped representation.
-
- The string to be converted
- The converted string
-
-
-
- Return the a string representation for a set of indices into an array
-
- Array of indices for which a string is needed
-
-
-
- Get an array of indices representing the point in a collection or
- array corresponding to a single int index into the collection.
-
- The collection to which the indices apply
- Index in the collection
- Array of indices
-
-
-
- Clip a string to a given length, starting at a particular offset, returning the clipped
- string with ellipses representing the removed parts
-
- The string to be clipped
- The maximum permitted length of the result string
- The point at which to start clipping
- The clipped string
-
-
-
- Clip the expected and actual strings in a coordinated fashion,
- so that they may be displayed together.
-
-
-
-
-
-
-
-
- Shows the position two strings start to differ. Comparison
- starts at the start index.
-
- The expected string
- The actual string
- The index in the strings at which comparison should start
- Boolean indicating whether case should be ignored
- -1 if no mismatch found, or the index where mismatch found
-
-
-
- Current head of chain of value formatters. Public for testing.
-
-
-
-
- Adding this attribute to a method within a
- class makes the method callable from the NUnit test runner. There is a property
- called Description which is optional which you can provide a more detailed test
- description. This class cannot be inherited.
-
-
-
- [TestFixture]
- public class Fixture
- {
- [Test]
- public void MethodToTest()
- {}
-
- [Test(Description = "more detailed description")]
- public void TestDescriptionMethod()
- {}
- }
-
-
-
-
-
- Construct the attribute, specifying a combining strategy and source of parameter data.
-
-
-
-
- Enumeration indicating whether the tests are
- running normally or being cancelled.
-
-
-
-
- Running normally with no stop requested
-
-
-
-
- A graceful stop has been requested
-
-
-
-
- A forced stop has been requested
-
-
-
-
- The TestCaseParameters class encapsulates method arguments and
- other selected parameters needed for constructing
- a parameterized test case.
-
-
-
-
- Default Constructor creates an empty parameter set
-
-
-
-
- Construct a non-runnable ParameterSet, specifying
- the provider exception that made it invalid.
-
-
-
-
- Construct a parameter set with a list of arguments
-
-
-
-
-
- Construct a ParameterSet from an object implementing ITestCaseData
-
-
-
-
-
- Type arguments used to create a generic fixture instance
-
-
-
-
- Provides methods to support legacy string comparison methods.
-
-
-
-
- Compares two strings for equality, ignoring case if requested.
-
- The first string.
- The second string..
- if set to true, the case of the letters in the strings is ignored.
- Zero if the strings are equivalent, a negative number if strA is sorted first, a positive number if
- strB is sorted first
-
-
-
- Compares two strings for equality, ignoring case if requested.
-
- The first string.
- The second string..
- if set to true, the case of the letters in the strings is ignored.
- True if the strings are equivalent, false if not.
-
-
-
- OneTimeSetUpCommand runs any one-time setup methods for a suite,
- constructing the user test object if necessary.
-
-
-
-
- Constructs a OneTimeSetUpCommand for a suite
-
- The suite to which the command applies
- A SetUpTearDownList for use by the command
- A List of TestActionItems to be run after Setup
-
-
-
- Overridden to run the one-time setup for a suite.
-
- The TestExecutionContext to be used.
- A TestResult
-
-
-
- The TestOutput class holds a unit of output from
- a test to a specific output stream
-
-
-
-
- Construct with text, ouput destination type and
- the name of the test that produced the output.
-
- Text to be output
- Name of the stream or channel to which the text should be written
- FullName of test that produced the output
-
-
-
- Return string representation of the object for debugging
-
-
-
-
-
- Convert the TestOutput object to an XML string
-
-
-
-
- Get the text
-
-
-
-
- Get the output type
-
-
-
-
- Get the name of the test that created the output
-
-
-
-
- The IMethodInfo class is used to encapsulate information
- about a method in a platform-independent manner.
-
-
-
-
- Gets the parameters of the method.
-
-
-
-
-
- Returns the Type arguments of a generic method or the Type parameters of a generic method definition.
-
-
-
-
- Replaces the type parameters of the method with the array of types provided and returns a new IMethodInfo.
-
- The type arguments to be used
- A new IMethodInfo with the type arguments replaced
-
-
-
- Invokes the method, converting any TargetInvocationException to an NUnitException.
-
- The object on which to invoke the method
- The argument list for the method
- The return value from the invoked method
-
-
-
- Gets the Type from which this method was reflected.
-
-
-
-
- Gets the MethodInfo for this method.
-
-
-
-
- Gets the name of the method.
-
-
-
-
- Gets a value indicating whether the method is abstract.
-
-
-
-
- Gets a value indicating whether the method is public.
-
-
-
-
- Gets a value indicating whether the method contains unassigned generic type parameters.
-
-
-
-
- Gets a value indicating whether the method is a generic method.
-
-
-
-
- Gets a value indicating whether the MethodInfo represents the definition of a generic method.
-
-
-
-
- Gets the return Type of the method.
-
-
-
-
- ThrowsExceptionConstraint tests that an exception has
- been thrown, without any further tests.
-
-
-
-
- Executes the code and returns success if an exception is thrown.
-
- A delegate representing the code to be tested
- True if an exception is thrown, otherwise false
-
-
-
- Returns the ActualValueDelegate itself as the value to be tested.
-
- A delegate representing the code to be tested
- The delegate itself
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- LevelOfParallelismAttribute is used to set the number of worker threads
- that may be allocated by the framework for running tests.
-
-
-
-
- Construct a LevelOfParallelismAttribute.
-
- The number of worker threads to be created by the framework.
-
-
-
- RepeatAttribute may be applied to test case in order
- to run it multiple times.
-
-
-
-
- Construct a RepeatAttribute
-
- The number of times to run the test
-
-
-
- Wrap a command and return the result.
-
- The command to be wrapped
- The wrapped command
-
-
-
- The test command for the RetryAttribute
-
-
-
-
- Initializes a new instance of the class.
-
- The inner command.
- The number of repetitions
-
-
-
- Runs the test, saving a TestResult in the supplied TestExecutionContext.
-
- The context in which the test should run.
- A TestResult
-
-
-
- Represents the result of running a single test case.
-
-
-
-
- Construct a TestCaseResult based on a TestMethod
-
- A TestMethod to which the result applies.
-
-
-
- Gets the number of test cases that failed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that passed
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were skipped
- when running the test and all its children.
-
-
-
-
- Gets the number of test cases that were inconclusive
- when running the test and all its children.
-
-
-
-
- Indicates whether this result has any child results.
-
-
-
-
- Gets the collection of child results.
-
-
-
-
- TestParameters class holds any named parameters supplied to the test run
-
-
-
-
- Gets a flag indicating whether a parameter with the specified name exists.N
-
- Name of the parameter
- True if it exists, otherwise false
-
-
-
- Get method is a simple alternative to the indexer
-
- Name of the paramter
- Value of the parameter or null if not present
-
-
-
- Get the value of a parameter or a default string
-
- Name of the parameter
- Default value of the parameter
- Value of the parameter or default value if not present
-
-
-
- Get the value of a parameter or return a default
-
- The return Type
- Name of the parameter
- Default value of the parameter
- Value of the parameter or default value if not present
-
-
-
- Adds a parameter to the list
-
- Name of the parameter
- Value of the parameter
-
-
-
- Gets the number of test parameters
-
-
-
-
- Gets a collection of the test parameter names
-
-
-
-
- Indexer provides access to the internal dictionary
-
- Name of the parameter
- Value of the parameter or null if not present
-
-
-
- ParameterDataSourceProvider supplies individual argument _values for
- single parameters using attributes implementing IParameterDataSource.
-
-
-
-
- Determine whether any data is available for a parameter.
-
- A ParameterInfo representing one
- argument to a parameterized test
-
- True if any data is available, otherwise false.
-
-
-
-
- Return an IEnumerable providing data for use with the
- supplied parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
-
- An IEnumerable providing the required data
-
-
-
-
- Thrown when an assertion failed.
-
-
-
-
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- Gets the ResultState provided by this exception
-
-
-
-
- OrConstraint succeeds if either member succeeds
-
-
-
-
- Create an OrConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Apply the member constraints to an actual value, succeeding
- succeeding as soon as one of them succeeds.
-
- The actual value
- True if either constraint succeeded
-
-
-
- Gets text describing a constraint
-
-
-
-
- Operator that tests for the presence of a particular attribute
- on a type and optionally applies further tests to the attribute.
-
-
-
-
- Construct an AttributeOperator for a particular Type
-
- The Type of attribute tested
-
-
-
- Reduce produces a constraint from the operator and
- any arguments. It takes the arguments from the constraint
- stack and pushes the resulting constraint on it.
-
-
-
-
- MessageWriter is the abstract base for classes that write
- constraint descriptions and messages in some form. The
- class has separate methods for writing various components
- of a message, allowing implementations to tailor the
- presentation as needed.
-
-
-
-
- Construct a MessageWriter given a culture
-
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message.
-
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a givel
- indentation level.
-
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
-
- The failing constraint result
-
-
-
- Display Expected and Actual lines for given _values. This
- method may be called by constraints that need more control over
- the display of actual and expected _values than is provided
- by the default implementation.
-
- The expected value
- The actual value causing the failure
-
-
-
- Display Expected and Actual lines for given _values, including
- a tolerance value on the Expected line.
-
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
-
-
- Display the expected and actual string _values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
-
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in locating the point where the strings differ
- If true, the strings should be clipped to fit the line
-
-
-
- Writes the text for an actual value.
-
- The actual value.
-
-
-
- Writes the text for a generalized value.
-
- The value.
-
-
-
- Writes the text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Abstract method to get the max line length
-
-
-
-
- Tests whether a value is less than the value supplied to its constructor
-
-
-
-
- Abstract base class for constraints that compare _values to
- determine if one is greater than, equal to or less than
- the other.
-
-
-
-
- The value against which a comparison is to be made
-
-
-
-
- If true, less than returns success
-
-
-
-
- if true, equal returns success
-
-
-
-
- if true, greater than returns success
-
-
-
-
- ComparisonAdapter to be used in making the comparison
-
-
-
-
- Initializes a new instance of the class.
-
- The value against which to make a comparison.
- if set to true less succeeds.
- if set to true equal succeeds.
- if set to true greater succeeds.
- String used in describing the constraint.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Modifies the constraint to use an and returns self
-
- The comparer used for comparison tests
- A constraint modified to use the given comparer
-
-
-
- Modifies the constraint to use an and returns self
-
- The comparer used for comparison tests
- A constraint modified to use the given comparer
-
-
-
- Modifies the constraint to use a and returns self
-
- The comparer used for comparison tests
- A constraint modified to use the given comparer
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- EmptyStringConstraint tests whether a string is empty.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- EmptyDirectoryConstraint is used to test that a directory is empty
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- ConstraintBuilder maintains the stacks that are used in
- processing a ConstraintExpression. An OperatorStack
- is used to hold operators that are waiting for their
- operands to be reorganized. a ConstraintStack holds
- input constraints as well as the results of each
- operator applied.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Appends the specified operator to the expression by first
- reducing the operator stack and then pushing the new
- operator on the stack.
-
- The operator to push.
-
-
-
- Appends the specified constraint to the expression by pushing
- it on the constraint stack.
-
- The constraint to push.
-
-
-
- Sets the top operator right context.
-
- The right context.
-
-
-
- Reduces the operator stack until the topmost item
- precedence is greater than or equal to the target precedence.
-
- The target precedence.
-
-
-
- Resolves this instance, returning a Constraint. If the Builder
- is not currently in a resolvable state, an exception is thrown.
-
- The resolved constraint
-
-
-
- Gets a value indicating whether this instance is resolvable.
-
-
- true if this instance is resolvable; otherwise, false.
-
-
-
-
- OperatorStack is a type-safe stack for holding ConstraintOperators
-
-
-
-
- Initializes a new instance of the class.
-
- The ConstraintBuilder using this stack.
-
-
-
- Pushes the specified operator onto the stack.
-
- The operator to put onto the stack.
-
-
-
- Pops the topmost operator from the stack.
-
- The topmost operator on the stack
-
-
-
- Gets a value indicating whether this is empty.
-
- true if empty; otherwise, false.
-
-
-
- Gets the topmost operator without modifying the stack.
-
-
-
-
- ConstraintStack is a type-safe stack for holding Constraints
-
-
-
-
- Initializes a new instance of the class.
-
- The ConstraintBuilder using this stack.
-
-
-
- Pushes the specified constraint. As a side effect,
- the constraint's Builder field is set to the
- ConstraintBuilder owning this stack.
-
- The constraint to put onto the stack
-
-
-
- Pops this topmost constraint from the stack.
- As a side effect, the constraint's Builder
- field is set to null.
-
- The topmost contraint on the stack
-
-
-
- Gets a value indicating whether this is empty.
-
- true if empty; otherwise, false.
-
-
-
- CollectionEquivalentConstraint is used to determine whether two
- collections are equivalent.
-
-
-
-
- Construct a CollectionEquivalentConstraint
-
-
-
-
-
- Test whether two collections are equivalent
-
-
-
-
-
-
- Flag the constraint to use the supplied predicate function
-
- The comparison function to use.
- Self.
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- AttributeExistsConstraint tests for the presence of a
- specified attribute on a Type.
-
-
-
-
- Constructs an AttributeExistsConstraint for a specific attribute Type
-
-
-
-
-
- Tests whether the object provides the expected attribute.
-
- A Type, MethodInfo, or other ICustomAttributeProvider
- True if the expected attribute is present, otherwise false
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Marks a test that must run on a separate thread.
-
-
-
-
- Construct a RequiresThreadAttribute
-
-
-
-
- Construct a RequiresThreadAttribute, specifying the apartment
-
-
-
-
- ExplicitAttribute marks a test or test fixture so that it will
- only be run if explicitly executed from the gui or command line
- or if it is included by use of a filter. The test will not be
- run simply because an enclosing suite is run.
-
-
-
-
- Default constructor
-
-
-
-
- Constructor with a reason
-
- The reason test is marked explicit
-
-
-
- Modifies a test by marking it as explicit.
-
- The test to modify
-
-
-
- OneTimeTearDownCommand performs any teardown actions
- specified for a suite and calls Dispose on the user
- test object, if any.
-
-
-
-
- Construct a OneTimeTearDownCommand
-
- The test suite to which the command applies
- A SetUpTearDownList for use by the command
- A List of TestActionItems to be run before teardown.
-
-
-
- Overridden to run the teardown methods specified on the test.
-
- The TestExecutionContext to be used.
- A TestResult
-
-
-
- Class that can build a tree of automatic namespace
- suites from a group of fixtures.
-
-
-
-
- NamespaceDictionary of all test suites we have created to represent
- namespaces. Used to locate namespace parent suites for fixtures.
-
-
-
-
- The root of the test suite being created by this builder.
-
-
-
-
- Initializes a new instance of the class.
-
- The root suite.
-
-
-
- Adds the specified fixtures to the tree.
-
- The fixtures to be added.
-
-
-
- Adds the specified fixture to the tree.
-
- The fixture to be added.
-
-
-
- Gets the root entry in the tree created by the NamespaceTreeBuilder.
-
- The root suite.
-
-
-
- Built-in SuiteBuilder for all types of test classes.
-
-
-
-
- The ISuiteBuilder interface is exposed by a class that knows how to
- build a suite from one or more Types.
-
-
-
-
- Examine the type and determine if it is suitable for
- this builder to use in building a TestSuite.
-
- Note that returning false will cause the type to be ignored
- in loading the tests. If it is desired to load the suite
- but label it as non-runnable, ignored, etc., then this
- method must return true.
-
- The type of the fixture to be used
- True if the type can be used to build a TestSuite
-
-
-
- Build a TestSuite from type provided.
-
- The type of the fixture to be used
- A TestSuite
-
-
-
- Checks to see if the provided Type is a fixture.
- To be considered a fixture, it must be a non-abstract
- class with one or more attributes implementing the
- IFixtureBuilder interface or one or more methods
- marked as tests.
-
- The fixture type to check
- True if the fixture can be built, false if not
-
-
-
- Build a TestSuite from TypeInfo provided.
-
- The fixture type to build
- A TestSuite built from that type
-
-
-
- We look for attributes implementing IFixtureBuilder at one level
- of inheritance at a time. Attributes on base classes are not used
- unless there are no fixture builder attributes at all on the derived
- class. This is by design.
-
- The type being examined for attributes
- A list of the attributes found.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Provide actions to execute before and after tests.
-
-
-
-
- When implemented by an attribute, this interface implemented to provide actions to execute before and after tests.
-
-
-
-
- Executed before each test is run
-
- The test that is going to be run.
-
-
-
- Executed after each test is run
-
- The test that has just been run.
-
-
-
- Provides the target for the action attribute
-
- The target for the action attribute
-
-
-
- Executed before each test is run
-
- The test that is going to be run.
-
-
-
- Executed after each test is run
-
- The test that has just been run.
-
-
-
- Provides the target for the action attribute
-
-
-
-
- Marks a test that must run in a particular threading apartment state, causing it
- to run in a separate thread if necessary.
-
-
-
-
- Construct an ApartmentAttribute
-
- The apartment state that this test must be run under. You must pass in a valid apartment state.
-
-
-
- The Iz class is a synonym for Is intended for use in VB,
- which regards Is as a keyword.
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a constraint that tests two items for equality
-
-
-
-
- Returns a constraint that tests that two references are the same object
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable to the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable to the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a collection containing the same elements as the
- collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a subset of the collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a superset of the collection supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same as an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is a subpath of the expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same path or under an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the actual value falls
- inclusively within a specified range.
-
- from must be less than or equal to true
- Inclusive beginning of the range. Must be less than or equal to to.
- Inclusive end of the range. Must be greater than or equal to from.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Returns a constraint that tests for null
-
-
-
-
- Returns a constraint that tests for True
-
-
-
-
- Returns a constraint that tests for False
-
-
-
-
- Returns a constraint that tests for a positive value
-
-
-
-
- Returns a constraint that tests for a negative value
-
-
-
-
- Returns a constraint that tests for equality with zero
-
-
-
-
- Returns a constraint that tests for NaN
-
-
-
-
- Returns a constraint that tests for empty
-
-
-
-
- Returns a constraint that tests whether a collection
- contains all unique items.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in binary format.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in xml format.
-
-
-
-
- Returns a constraint that tests whether a collection is ordered
-
-
-
-
- Objects implementing this interface are used to wrap
- the TestMethodCommand itself. They apply after SetUp
- has been run and before TearDown.
-
-
-
-
- The CommandStage enumeration represents the defined stages
- of execution for a series of TestCommands. The int _values
- of the enum are used to apply decorators in the proper
- order. Lower _values are applied first and are therefore
- "closer" to the actual test execution.
-
-
- No CommandStage is defined for actual invocation of the test or
- for creation of the context. Execution may be imagined as
- proceeding from the bottom of the list upwards, with cleanup
- after the test running in the opposite order.
-
-
-
-
- Use an application-defined default value.
-
-
-
-
- Make adjustments needed before and after running
- the raw test - that is, after any SetUp has run
- and before TearDown.
-
-
-
-
- Run SetUp and TearDown for the test. This stage is used
- internally by NUnit and should not normally appear
- in user-defined decorators.
-
-
-
-
- Make adjustments needed before and after running
- the entire test - including SetUp and TearDown.
-
-
-
-
- ThrowsConstraint is used to test the exception thrown by
- a delegate by applying a constraint to it.
-
-
-
-
- Initializes a new instance of the class,
- using a constraint to be applied to the exception.
-
- A constraint to apply to the caught exception.
-
-
-
- Executes the code of the delegate and captures any exception.
- If a non-null base constraint was provided, it applies that
- constraint to the exception.
-
- A delegate representing the code to be tested
- True if an exception is thrown and the constraint succeeds, otherwise false
-
-
-
- Converts an ActualValueDelegate to a TestDelegate
- before calling the primary overload.
-
-
-
-
-
-
- Get the actual exception thrown - used by Assert.Throws.
-
-
-
-
- Gets text describing a constraint
-
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. This override only handles the special message
- used when an exception is expected but none is thrown.
-
- The writer on which the actual value is displayed
-
-
-
- Summary description for SamePathConstraint.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected path
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Operator that requires both it's arguments to succeed
-
-
-
-
- Construct an AndOperator
-
-
-
-
- Apply the operator to produce an AndConstraint
-
-
-
-
- Provides static methods to express the assumptions
- that must be met for a test to give a meaningful
- result. If an assumption is not met, the test
- should produce an inconclusive result.
-
-
-
-
- The Equals method throws an InvalidOperationException. This is done
- to make sure there is no mistake by calling this function.
-
- The left object.
- The right object.
- Not applicable
-
-
-
- override the default ReferenceEquals to throw an InvalidOperationException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
- The left object.
- The right object.
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- The Type being compared.
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- The Type being compared.
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- The Type being compared.
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- A function to build the message included with the Exception
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the
- method throws an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- A function to build the message included with the Exception
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- A lambda that returns a Boolean
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- A lambda that returns a Boolean
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- A lambda that returns a Boolean
- A function to build the message included with the Exception
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- The Type being compared.
- The actual value to test
- A Constraint to be applied
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- The Type being compared.
- The actual value to test
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- The Type being compared.
- The actual value to test
- A Constraint to be applied
- A function to build the message included with the Exception
-
-
-
- TODO: Documentation needed for class
-
-
-
-
- Initializes a new instance of the class.
-
- The test being skipped.
-
-
-
- Overridden to simply set the CurrentResult to the
- appropriate Skipped state.
-
- The execution context for the test
- A TestResult
-
-
-
- The TextCapture class intercepts console output and writes it
- to the current execution context, if one is present on the thread.
- If no execution context is found, the output is written to a
- default destination, normally the original destination of the
- intercepted output.
-
-
-
-
- Construct a TextCapture object
-
- The default destination for non-intercepted output
-
-
-
- Writes a single character
-
- The char to write
-
-
-
- Writes a string
-
- The string to write
-
-
-
- Writes a string followed by a line terminator
-
- The string to write
-
-
-
- Gets the Encoding in use by this TextWriter
-
-
-
-
- SimpleWorkItemDispatcher handles execution of WorkItems by
- directly executing them. It is provided so that a dispatcher
- is always available in the context, thereby simplifying the
- code needed to run child tests.
-
-
-
-
- An IWorkItemDispatcher handles execution of work items.
-
-
-
-
- Dispatch a single work item for execution. The first
- work item dispatched is saved as the top-level
- work item and used when stopping the run.
-
- The item to dispatch
-
-
-
- Cancel the ongoing run completely.
- If no run is in process, the call has no effect.
-
- true if the IWorkItemDispatcher should abort all currently running WorkItems, false if it should allow all currently running WorkItems to complete
-
-
-
- Dispatch a single work item for execution. The first
- work item dispatched is saved as the top-level
- work item and a thread is created on which to
- run it. Subsequent calls come from the top level
- item or its descendants on the proper thread.
-
- The item to dispatch
-
-
-
- Cancel (abort or stop) the ongoing run.
- If no run is in process, the call has no effect.
-
- true if the run should be aborted, false if it should allow its currently running test to complete
-
-
-
- Asserts on Directories
-
-
-
-
- The Equals method throws an InvalidOperationException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an InvalidOperationException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Verifies that two directories are equal. Two directories are considered
- equal if both are null, or if both point to the same directory.
- If they are not equal an is thrown.
-
- A directory containing the value that is expected
- A directory containing the actual value
- The message to display if the directories are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two directories are equal. Two directories are considered
- equal if both are null, or if both point to the same directory.
- If they are not equal an is thrown.
-
- A directory containing the value that is expected
- A directory containing the actual value
-
-
-
- Asserts that two directories are not equal. If they are equal
- an is thrown.
-
- A directory containing the value that is expected
- A directory containing the actual value
- The message to display if directories are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that two directories are not equal. If they are equal
- an is thrown.
-
- A directory containing the value that is expected
- A directory containing the actual value
-
-
-
- Asserts that the directory exists. If it does not exist
- an is thrown.
-
- A directory containing the actual value
- The message to display if directories are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the directory exists. If it does not exist
- an is thrown.
-
- A directory containing the actual value
-
-
-
- Asserts that the directory exists. If it does not exist
- an is thrown.
-
- The path to a directory containing the actual value
- The message to display if directories are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the directory exists. If it does not exist
- an is thrown.
-
- The path to a directory containing the actual value
-
-
-
- Asserts that the directory does not exist. If it does exist
- an is thrown.
-
- A directory containing the actual value
- The message to display if directories are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the directory does not exist. If it does exist
- an is thrown.
-
- A directory containing the actual value
-
-
-
- Asserts that the directory does not exist. If it does exist
- an is thrown.
-
- The path to a directory containing the actual value
- The message to display if directories are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the directory does not exist. If it does exist
- an is thrown.
-
- The path to a directory containing the actual value
-
-
-
- TestName filter selects tests based on their Name
-
-
-
-
- Construct a TestNameFilter for a single name
-
- The name the filter will recognize.
-
-
-
- Match a test against a single value.
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- The ParameterDataProvider class implements IParameterDataProvider
- and hosts one or more individual providers.
-
-
-
-
- Construct with a collection of individual providers
-
-
-
-
- Determine whether any data is available for a parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
- True if any data is available, otherwise false.
-
-
-
- Return an IEnumerable providing data for use with the
- supplied parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
- An IEnumerable providing the required data
-
-
-
- ExactCountConstraint applies another constraint to each
- item in a collection, succeeding only if a specified
- number of items succeed.
-
-
-
-
- Construct an ExactCountConstraint on top of an existing constraint
-
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- succeeding only if the expected number of items pass.
-
-
-
-
-
-
- Thrown when an assertion failed.
-
-
-
- The error message that explains
- the reason for the exception
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- Gets the ResultState provided by this exception
-
-
-
-
- XmlSerializableConstraint tests whether
- an object is serializable in xml format.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Returns the string representation of this constraint
-
-
-
-
- Gets text describing a constraint
-
-
-
- Helper routines for working with floating point numbers
-
-
- The floating point comparison code is based on this excellent article:
- http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm
-
-
- "ULP" means Unit in the Last Place and in the context of this library refers to
- the distance between two adjacent floating point numbers. IEEE floating point
- numbers can only represent a finite subset of natural numbers, with greater
- accuracy for smaller numbers and lower accuracy for very large numbers.
-
-
- If a comparison is allowed "2 ulps" of deviation, that means the _values are
- allowed to deviate by up to 2 adjacent floating point _values, which might be
- as low as 0.0000001 for small numbers or as high as 10.0 for large numbers.
-
-
-
-
- Compares two floating point _values for equality
- First floating point value to be compared
- Second floating point value t be compared
-
- Maximum number of representable floating point _values that are allowed to
- be between the left and the right floating point _values
-
- True if both numbers are equal or close to being equal
-
-
- Floating point _values can only represent a finite subset of natural numbers.
- For example, the _values 2.00000000 and 2.00000024 can be stored in a float,
- but nothing inbetween them.
-
-
- This comparison will count how many possible floating point _values are between
- the left and the right number. If the number of possible _values between both
- numbers is less than or equal to maxUlps, then the numbers are considered as
- being equal.
-
-
- Implementation partially follows the code outlined here:
- http://www.anttirt.net/2007/08/19/proper-floating-point-comparisons/
-
-
-
-
- Compares two double precision floating point _values for equality
- First double precision floating point value to be compared
- Second double precision floating point value t be compared
-
- Maximum number of representable double precision floating point _values that are
- allowed to be between the left and the right double precision floating point _values
-
- True if both numbers are equal or close to being equal
-
-
- Double precision floating point _values can only represent a limited series of
- natural numbers. For example, the _values 2.0000000000000000 and 2.0000000000000004
- can be stored in a double, but nothing inbetween them.
-
-
- This comparison will count how many possible double precision floating point
- _values are between the left and the right number. If the number of possible
- _values between both numbers is less than or equal to maxUlps, then the numbers
- are considered as being equal.
-
-
- Implementation partially follows the code outlined here:
- http://www.anttirt.net/2007/08/19/proper-floating-point-comparisons/
-
-
-
-
-
- Reinterprets the memory contents of a floating point value as an integer value
-
-
- Floating point value whose memory contents to reinterpret
-
-
- The memory contents of the floating point value interpreted as an integer
-
-
-
-
- Reinterprets the memory contents of a double precision floating point
- value as an integer value
-
-
- Double precision floating point value whose memory contents to reinterpret
-
-
- The memory contents of the double precision floating point value
- interpreted as an integer
-
-
-
-
- Reinterprets the memory contents of an integer as a floating point value
-
- Integer value whose memory contents to reinterpret
-
- The memory contents of the integer value interpreted as a floating point value
-
-
-
-
- Reinterprets the memory contents of an integer value as a double precision
- floating point value
-
- Integer whose memory contents to reinterpret
-
- The memory contents of the integer interpreted as a double precision
- floating point value
-
-
-
- Union of a floating point variable and an integer
-
-
- The union's value as a floating point variable
-
-
- The union's value as an integer
-
-
- The union's value as an unsigned integer
-
-
- Union of a double precision floating point variable and a long
-
-
- The union's value as a double precision floating point variable
-
-
- The union's value as a long
-
-
- The union's value as an unsigned long
-
-
-
- EqualityAdapter class handles all equality comparisons
- that use an ,
- or a .
-
-
-
-
- Compares two objects, returning true if they are equal
-
-
-
-
- Returns true if the two objects can be compared by this adapter.
- The base adapter cannot handle IEnumerables except for strings.
-
-
-
-
- Returns an that wraps an .
-
-
-
-
- Returns an that wraps an .
-
-
-
-
- Returns an EqualityAdapter that uses a predicate function for items comparison.
-
-
-
-
-
-
-
-
- Returns an that wraps an .
-
-
-
-
- Returns an that wraps an .
-
-
-
-
- Returns an that wraps a .
-
-
-
-
- that wraps an .
-
-
-
-
- Returns true if the two objects can be compared by this adapter.
- The base adapter cannot handle IEnumerables except for strings.
-
-
-
-
- Compares two objects, returning true if they are equal
-
-
-
-
- Returns true if the two objects can be compared by this adapter.
- Generic adapter requires objects of the specified type.
-
-
-
-
- that wraps an .
-
-
-
-
- EmptyCollectionConstraint tests whether a collection is empty.
-
-
-
-
- Check that the collection is empty
-
-
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding only if a specified number of them succeed.
-
-
-
-
- Returns a new PropertyConstraintExpression, which will either
- test for the existence of the named property on the object
- being tested or apply any following constraint to that property.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a constraint that tests two items for equality
-
-
-
-
- Returns a constraint that tests that two references are the same object
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a collection containing the same elements as the
- collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a subset of the collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a superset of the collection supplied as an argument.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a new ContainsConstraint. This constraint
- will, in turn, make use of the appropriate second-level
- constraint, depending on the type of the actual argument.
- This overload is only used if the item sought is a string,
- since any other type implies that we are looking for a
- collection member.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value matches the pattern supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same as an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is a subpath of the expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same path or under an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the actual value falls
- within a specified range.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if at least one of them succeeds.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them fail.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Length property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Count property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Message property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the InnerException property of the object being tested.
-
-
-
-
- Returns a constraint that tests for null
-
-
-
-
- Returns a constraint that tests for True
-
-
-
-
- Returns a constraint that tests for False
-
-
-
-
- Returns a constraint that tests for a positive value
-
-
-
-
- Returns a constraint that tests for a negative value
-
-
-
-
- Returns a constraint that tests for equality with zero
-
-
-
-
- Returns a constraint that tests for NaN
-
-
-
-
- Returns a constraint that tests for empty
-
-
-
-
- Returns a constraint that tests whether a collection
- contains all unique items.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in binary format.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in xml format.
-
-
-
-
- Returns a constraint that tests whether a collection is ordered
-
-
-
-
- BinarySerializableConstraint tests whether
- an object is serializable in binary format.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Returns the string representation
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Used on a method, marks the test with a timeout value in milliseconds.
- The test will be run in a separate thread and is cancelled if the timeout
- is exceeded. Used on a class or assembly, sets the default timeout
- for all contained test methods.
-
-
-
-
- Construct a TimeoutAttribute given a time in milliseconds
-
- The timeout value in milliseconds
-
-
-
- Adding this attribute to a method within a
- class makes the method callable from the NUnit test runner. There is a property
- called Description which is optional which you can provide a more detailed test
- description. This class cannot be inherited.
-
-
-
- [TestFixture]
- public class Fixture
- {
- [Test]
- public void MethodToTest()
- {}
-
- [Test(Description = "more detailed description")]
- public void TestDescriptionMethod()
- {}
- }
-
-
-
-
-
- Modifies a test by adding a description, if not already set.
-
- The test to modify
-
-
-
- Construct a TestMethod from a given method.
-
- The method for which a test is to be constructed.
- The suite to which the test will be added.
- A TestMethod
-
-
-
- Descriptive text for this test
-
-
-
-
- The author of this test
-
-
-
-
- The type that this test is testing
-
-
-
-
- Gets or sets the expected result.
-
- The result.
-
-
-
- Returns true if an expected result has been set
-
-
-
-
- Summary description for SetUICultureAttribute.
-
-
-
-
- Construct given the name of a culture
-
-
-
-
-
- Marks a test that must run in the STA, causing it
- to run in a separate thread if necessary.
-
-
-
-
- Construct a RequiresSTAAttribute
-
-
-
-
- Used to mark a field, property or method providing a set of datapoints to
- be used in executing any theories within the same fixture that require an
- argument of the Type provided. The data source may provide an array of
- the required Type or an .
- Synonymous with DatapointSourceAttribute.
-
-
-
-
- TestActionItem represents a single execution of an
- ITestAction. It is used to track whether the BeforeTest
- method has been called and suppress calling the
- AfterTest method if it has not.
-
-
-
-
- Construct a TestActionItem
-
- The ITestAction to be included
-
-
-
- Run the BeforeTest method of the action and remember that it has been run.
-
- The test to which the action applies
-
-
-
- Run the AfterTest action, but only if the BeforeTest
- action was actually run.
-
- The test to which the action applies
-
-
-
- InternalTraceLevel is an enumeration controlling the
- level of detailed presented in the internal log.
-
-
-
-
- Use the default settings as specified by the user.
-
-
-
-
- Do not display any trace messages
-
-
-
-
- Display Error messages only
-
-
-
-
- Display Warning level and higher messages
-
-
-
-
- Display informational and higher messages
-
-
-
-
- Display debug messages and higher - i.e. all messages
-
-
-
-
- Display debug messages and higher - i.e. all messages
-
-
-
-
- The ParallelScope enumeration permits specifying the degree to
- which a test and its descendants may be run in parallel.
-
-
-
-
- No Parallelism is permitted
-
-
-
-
- The test itself may be run in parallel with others at the same level
-
-
-
-
- Descendants of the test may be run in parallel with one another
-
-
-
-
- Descendants of the test down to the level of TestFixtures may be run in parallel
-
-
-
-
- ListMapper is used to transform a collection used as an actual argument
- producing another collection to be used in the assertion.
-
-
-
-
- Construct a ListMapper based on a collection
-
- The collection to be transformed
-
-
-
- Produces a collection containing all the _values of a property
-
- The collection of property _values
-
-
-
-
- The List class is a helper class with properties and methods
- that supply a number of constraints used with lists and collections.
-
-
-
-
- List.Map returns a ListMapper, which can be used to map
- the original collection to another collection.
-
-
-
-
-
-
- TestAssembly is a TestSuite that represents the execution
- of tests in a managed assembly.
-
-
-
-
- Initializes a new instance of the class
- specifying the Assembly and the path from which it was loaded.
-
- The assembly this test represents.
- The path used to load the assembly.
-
-
-
- Initializes a new instance of the class
- for a path which could not be loaded.
-
- The path used to load the assembly.
-
-
-
- Gets the Assembly represented by this instance.
-
-
-
-
- Gets the name used for the top-level element in the
- XML representation of this test
-
-
-
-
- SetUpFixture extends TestSuite and supports
- Setup and TearDown methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- TrueConstraint tests that the actual value is true
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Tolerance class generalizes the notion of a tolerance
- within which an equality test succeeds. Normally, it is
- used with numeric types, but it can be used with any
- type that supports taking a difference between two
- objects and comparing that difference to a value.
-
-
-
-
- Constructs a linear tolerance of a specified amount
-
-
-
-
- Constructs a tolerance given an amount and
-
-
-
-
- Tests that the current Tolerance is linear with a
- numeric value, throwing an exception if it is not.
-
-
-
-
- Returns a default Tolerance object, equivalent to
- specifying an exact match unless
- is set, in which case, the
- will be used.
-
-
-
-
- Returns an empty Tolerance object, equivalent to
- specifying an exact match even if
- is set.
-
-
-
-
- Gets the for the current Tolerance
-
-
-
-
- Gets the value of the current Tolerance instance.
-
-
-
-
- Returns a new tolerance, using the current amount as a percentage.
-
-
-
-
- Returns a new tolerance, using the current amount in Ulps
-
-
-
-
- Returns a new tolerance with a as the amount, using
- the current amount as a number of days.
-
-
-
-
- Returns a new tolerance with a as the amount, using
- the current amount as a number of hours.
-
-
-
-
- Returns a new tolerance with a as the amount, using
- the current amount as a number of minutes.
-
-
-
-
- Returns a new tolerance with a as the amount, using
- the current amount as a number of seconds.
-
-
-
-
- Returns a new tolerance with a as the amount, using
- the current amount as a number of milliseconds.
-
-
-
-
- Returns a new tolerance with a as the amount, using
- the current amount as a number of clock ticks.
-
-
-
-
- Returns true if the current tolerance has not been set or is using the .
-
-
-
-
- StartsWithConstraint can test whether a string starts
- with an expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected string
-
-
-
- Test whether the constraint is matched by the actual value.
- This is a template method, which calls the IsMatch method
- of the derived class.
-
-
-
-
-
-
- Operator that tests that an exception is thrown and
- optionally applies further tests to the exception.
-
-
-
-
- Construct a ThrowsOperator
-
-
-
-
- Reduce produces a constraint from the operator and
- any arguments. It takes the arguments from the constraint
- stack and pushes the resulting constraint on it.
-
-
-
-
- ConstraintExpression represents a compound constraint in the
- process of being constructed from a series of syntactic elements.
-
- Individual elements are appended to the expression as they are
- reorganized. When a constraint is appended, it is returned as the
- value of the operation so that modifiers may be applied. However,
- any partially built expression is attached to the constraint for
- later resolution. When an operator is appended, the partial
- expression is returned. If it's a self-resolving operator, then
- a ResolvableConstraintExpression is returned.
-
-
-
-
- The ConstraintBuilder holding the elements recognized so far
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the
- class passing in a ConstraintBuilder, which may be pre-populated.
-
- The builder.
-
-
-
- Returns a string representation of the expression as it
- currently stands. This should only be used for testing,
- since it has the side-effect of resolving the expression.
-
-
-
-
-
- Appends an operator to the expression and returns the
- resulting expression itself.
-
-
-
-
- Appends a self-resolving operator to the expression and
- returns a new ResolvableConstraintExpression.
-
-
-
-
- Appends a constraint to the expression and returns that
- constraint, which is associated with the current state
- of the expression being built. Note that the constraint
- is not reduced at this time. For example, if there
- is a NotOperator on the stack we don't reduce and
- return a NotConstraint. The original constraint must
- be returned because it may support modifiers that
- are yet to be applied.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding only if a specified number of them succeed.
-
-
-
-
- Returns a new PropertyConstraintExpression, which will either
- test for the existence of the named property on the object
- being tested or apply any following constraint to that property.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns the constraint provided as an argument - used to allow custom
- custom constraints to easily participate in the syntax.
-
-
-
-
- Returns the constraint provided as an argument - used to allow custom
- custom constraints to easily participate in the syntax.
-
-
-
-
- Returns a constraint that tests two items for equality
-
-
-
-
- Returns a constraint that tests that two references are the same object
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the supplied argument
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a collection containing the same elements as the
- collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a subset of the collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a superset of the collection supplied as an argument.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a new ContainsConstraint. This constraint
- will, in turn, make use of the appropriate second-level
- constraint, depending on the type of the actual argument.
- This overload is only used if the item sought is a string,
- since any other type implies that we are looking for a
- collection member.
-
-
-
-
- Returns a new ContainsConstraint. This constraint
- will, in turn, make use of the appropriate second-level
- constraint, depending on the type of the actual argument.
- This overload is only used if the item sought is a string,
- since any other type implies that we are looking for a
- collection member.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the regular expression supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same as an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the a subpath of the expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same path or under an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the actual value falls
- within a specified range.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if at least one of them succeeds.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them fail.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Length property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Count property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Message property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the InnerException property of the object being tested.
-
-
-
-
- With is currently a NOP - reserved for future use.
-
-
-
-
- Returns a constraint that tests for null
-
-
-
-
- Returns a constraint that tests for True
-
-
-
-
- Returns a constraint that tests for False
-
-
-
-
- Returns a constraint that tests for a positive value
-
-
-
-
- Returns a constraint that tests for a negative value
-
-
-
-
- Returns a constraint that tests if item is equal to zero
-
-
-
-
- Returns a constraint that tests for NaN
-
-
-
-
- Returns a constraint that tests for empty
-
-
-
-
- Returns a constraint that tests whether a collection
- contains all unique items.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in binary format.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in xml format.
-
-
-
-
- Returns a constraint that tests whether a collection is ordered
-
-
-
-
- Returns a constraint that succeeds if the value
- is a file or directory and it exists.
-
-
-
-
- Attribute used to apply a category to a test
-
-
-
-
- The name of the category
-
-
-
-
- Construct attribute for a given category based on
- a name. The name may not contain the characters ',',
- '+', '-' or '!'. However, this is not checked in the
- constructor since it would cause an error to arise at
- as the test was loaded without giving a clear indication
- of where the problem is located. The error is handled
- in NUnitFramework.cs by marking the test as not
- runnable.
-
- The name of the category
-
-
-
- Protected constructor uses the Type name as the name
- of the category.
-
-
-
-
- Modifies a test by adding a category to it.
-
- The test to modify
-
-
-
- The name of the category
-
-
-
-
- IdFilter selects tests based on their id
-
-
-
-
- Construct an IdFilter for a single value
-
- The id the filter will recognize.
-
-
-
- Match a test against a single value.
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- Represents a constraint that succeeds if none of the
- members of a collection match a base constraint.
-
-
-
-
- Returns a constraint that will apply the argument
- to the members of a collection, succeeding if
- none of them succeed.
-
-
-
-
- Indicates which class the test or test fixture is testing
-
-
-
-
- Initializes a new instance of the class.
-
- The type that is being tested.
-
-
-
- Initializes a new instance of the class.
-
- The type that is being tested.
-
-
-
- Defines the order that the test will run in
-
-
-
-
- Defines the order that the test will run in
-
-
-
-
- Defines the order that the test will run in
-
-
-
-
-
- Modifies a test as defined for the specific attribute.
-
- The test to modify
-
-
-
- SingleThreadedAttribute applies to a test fixture and indicates
- that all the child tests must be run on the same thread as the
- OneTimeSetUp and OneTimeTearDown. It sets a flag in the
- TestExecutionContext and forces all tests to be run sequentially
- on the current thread. Any ParallelScope setting is ignored.
-
-
-
-
- Apply changes to the TestExecutionContext
-
- The TestExecutionContext
-
-
-
- FrameworkPackageSettings is a static class containing constant values that
- are used as keys in setting up a TestPackage. These values are used in
- the framework, and set in the runner. Setting values may be a string, int or bool.
-
-
-
-
- Flag (bool) indicating whether tests are being debugged.
-
-
-
-
- Flag (bool) indicating whether to pause execution of tests to allow
- the user to attache a debugger.
-
-
-
-
- The InternalTraceLevel for this run. Values are: "Default",
- "Off", "Error", "Warning", "Info", "Debug", "Verbose".
- Default is "Off". "Debug" and "Verbose" are synonyms.
-
-
-
-
- Full path of the directory to be used for work and result files.
- This path is provided to tests by the frameowrk TestContext.
-
-
-
-
- Integer value in milliseconds for the default timeout value
- for test cases. If not specified, there is no timeout except
- as specified by attributes on the tests themselves.
-
-
-
-
- A TextWriter to which the internal trace will be sent.
-
-
-
-
- A list of tests to be loaded.
-
-
-
-
- The number of test threads to run for the assembly. If set to
- 1, a single queue is used. If set to 0, tests are executed
- directly, without queuing.
-
-
-
-
- The random seed to be used for this assembly. If specified
- as the value reported from a prior run, the framework should
- generate identical random values for tests as were used for
- that run, provided that no change has been made to the test
- assembly. Default is a random value itself.
-
-
-
-
- If true, execution stops after the first error or failure.
-
-
-
-
- If true, use of the event queue is suppressed and test events are synchronous.
-
-
-
-
- The default naming pattern used in generating test names
-
-
-
-
- Parameters to be passed on to the test
-
-
-
-
- Represents a constraint that succeeds if the specified
- count of members of a collection match a base constraint.
-
-
-
-
- Construct an ExactCountOperator for a specified count
-
- The expected count
-
-
-
- Returns a constraint that will apply the argument
- to the members of a collection, succeeding if
- none of them succeed.
-
-
-
-
- ParameterizedFixtureSuite serves as a container for the set of test
- fixtures created from a given Type using various parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The ITypeInfo for the type that represents the suite.
-
-
-
- Gets a string representing the type of test
-
-
-
-
-
- ReusableConstraint wraps a constraint expression after
- resolving it so that it can be reused consistently.
-
-
-
-
- Construct a ReusableConstraint from a constraint expression
-
- The expression to be resolved and reused
-
-
-
- Converts a constraint to a ReusableConstraint
-
- The constraint to be converted
- A ReusableConstraint
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Return the top-level constraint for this expression
-
-
-
-
-
- PropertyExistsConstraint tests that a named property
- exists on the object provided through Match.
-
- Originally, PropertyConstraint provided this feature
- in addition to making optional tests on the value
- of the property. The two constraints are now separate.
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the property.
-
-
-
- Test whether the property exists for a given object
-
- The object to be tested
- True for success, false for failure
-
-
-
- Returns the string representation of the constraint.
-
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- PropertyConstraint extracts a named property and uses
- its value as the actual value for a chained constraint.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The constraint to apply to the property.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Returns the string representation of the constraint.
-
-
-
-
-
- Represents a constraint that simply wraps the
- constraint provided as an argument, without any
- further functionality, but which modifies the
- order of evaluation because of its precedence.
-
-
-
-
- Constructor for the WithOperator
-
-
-
-
- Returns a constraint that wraps its argument
-
-
-
-
- NUnitComparer encapsulates NUnit's default behavior
- in comparing two objects.
-
-
-
-
- Compares two objects
-
-
-
-
-
-
-
- Returns the default NUnitComparer.
-
-
-
-
- Tests whether a value is less than or equal to the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Attribute used to identify a method that is
- called before any tests in a fixture are run.
-
-
-
-
- Used to mark a field for use as a datapoint when executing a theory
- within the same fixture that requires an argument of the field's Type.
-
-
-
-
- AssertionHelper is an optional base class for user tests,
- allowing the use of shorter ids for constraints and
- asserts and avoiding conflict with the definition of
- , from which it inherits much of its
- behavior, in certain mock object frameworks.
-
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to
- .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to .
-
- The evaluated condition
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint expression to be applied
- An ActualValueDelegate returning the value to be tested
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint expression to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Returns a ListMapper based on a collection.
-
- The original collection
-
-
-
-
- TextMessageWriter writes constraint descriptions and messages
- in displayable form as a text stream. It tailors the display
- of individual message components to form the standard message
- format of NUnit assertion failure messages.
-
-
-
-
- Prefix used for the expected value line of a message
-
-
-
-
- Prefix used for the actual value line of a message
-
-
-
-
- Length of a message prefix
-
-
-
-
- Construct a TextMessageWriter
-
-
-
-
- Construct a TextMessageWriter, specifying a user message
- and optional formatting arguments.
-
-
-
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a given
- indentation level.
-
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
-
- The result of the constraint that failed
-
-
-
- Display Expected and Actual lines for given _values. This
- method may be called by constraints that need more control over
- the display of actual and expected _values than is provided
- by the default implementation.
-
- The expected value
- The actual value causing the failure
-
-
-
- Display Expected and Actual lines for given _values, including
- a tolerance value on the expected line.
-
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
-
-
- Display the expected and actual string _values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
-
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in string comparisons
- If true, clip the strings to fit the max line length
-
-
-
- Writes the text for an actual value.
-
- The actual value.
-
-
-
- Writes the text for a generalized value.
-
- The value.
-
-
-
- Writes the text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Write the generic 'Expected' line for a constraint
-
- The constraint that failed
-
-
-
- Write the generic 'Expected' line for a given value
-
- The expected value
-
-
-
- Write the generic 'Expected' line for a given value
- and tolerance.
-
- The expected value
- The tolerance within which the test was made
-
-
-
- Write the generic 'Actual' line for a constraint
-
- The ConstraintResult for which the actual value is to be written
-
-
-
- Write the generic 'Actual' line for a given value
-
- The actual value causing a failure
-
-
-
- Gets or sets the maximum line length for this writer
-
-
-
-
- EventListenerTextWriter sends text output to the currently active
- ITestEventListener in the form of a TestOutput object. If no event
- listener is active in the contet, or if there is no context,
- the output is forwarded to the supplied default writer.
-
-
-
-
- Construct an EventListenerTextWriter
-
- The name of the stream to use for events
- The default writer to use if no listener is available
-
-
-
- Write a single char
-
-
-
-
- Write a string
-
-
-
-
- Write a string followed by a newline
-
-
-
-
- Get the Encoding for this TextWriter
-
-
-
-
- CollectionSupersetConstraint is used to determine whether
- one collection is a superset of another
-
-
-
-
- Construct a CollectionSupersetConstraint
-
- The collection that the actual value is expected to be a superset of
-
-
-
- Test whether the actual collection is a superset of
- the expected collection provided.
-
-
-
-
-
-
- Flag the constraint to use the supplied predicate function
-
- The comparison function to use.
- Self.
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- ParameterizedMethodSuite holds a collection of individual
- TestMethods with their arguments applied.
-
-
-
-
- Construct from a MethodInfo
-
-
-
-
-
- Gets a string representing the type of test
-
-
-
-
-
- OSPlatform represents a particular operating system platform
-
-
-
-
- Platform ID for Unix as defined by Microsoft .NET 2.0 and greater
-
-
-
-
- Platform ID for Unix as defined by Mono
-
-
-
-
- Platform ID for XBox as defined by .NET and Mono, but not CF
-
-
-
-
- Platform ID for MacOSX as defined by .NET and Mono, but not CF
-
-
-
-
- Gets the actual OS Version, not the incorrect value that might be
- returned for Win 8.1 and Win 10
-
-
- If an application is not manifested as Windows 8.1 or Windows 10,
- the version returned from Environment.OSVersion will not be 6.3 and 10.0
- respectively, but will be 6.2 and 6.3. The correct value can be found in
- the registry.
-
- The original version
- The correct OS version
-
-
-
- Construct from a platform ID and version
-
-
-
-
- Construct from a platform ID, version and product type
-
-
-
-
- Get the OSPlatform under which we are currently running
-
-
-
-
- Get the platform ID of this instance
-
-
-
-
- Get the Version of this instance
-
-
-
-
- Get the Product Type of this instance
-
-
-
-
- Return true if this is a windows platform
-
-
-
-
- Return true if this is a Unix or Linux platform
-
-
-
-
- Return true if the platform is Win32S
-
-
-
-
- Return true if the platform is Win32Windows
-
-
-
-
- Return true if the platform is Win32NT
-
-
-
-
- Return true if the platform is Windows CE
-
-
-
-
- Return true if the platform is Xbox
-
-
-
-
- Return true if the platform is MacOSX
-
-
-
-
- Return true if the platform is Windows 95
-
-
-
-
- Return true if the platform is Windows 98
-
-
-
-
- Return true if the platform is Windows ME
-
-
-
-
- Return true if the platform is NT 3
-
-
-
-
- Return true if the platform is NT 4
-
-
-
-
- Return true if the platform is NT 5
-
-
-
-
- Return true if the platform is Windows 2000
-
-
-
-
- Return true if the platform is Windows XP
-
-
-
-
- Return true if the platform is Windows 2003 Server
-
-
-
-
- Return true if the platform is NT 6
-
-
-
-
- Return true if the platform is NT 6.0
-
-
-
-
- Return true if the platform is NT 6.1
-
-
-
-
- Return true if the platform is NT 6.2
-
-
-
-
- Return true if the platform is NT 6.3
-
-
-
-
- Return true if the platform is Vista
-
-
-
-
- Return true if the platform is Windows 2008 Server (original or R2)
-
-
-
-
- Return true if the platform is Windows 2008 Server (original)
-
-
-
-
- Return true if the platform is Windows 2008 Server R2
-
-
-
-
- Return true if the platform is Windows 2012 Server (original or R2)
-
-
-
-
- Return true if the platform is Windows 2012 Server (original)
-
-
-
-
- Return true if the platform is Windows 2012 Server R2
-
-
-
-
- Return true if the platform is Windows 7
-
-
-
-
- Return true if the platform is Windows 8
-
-
-
-
- Return true if the platform is Windows 8.1
-
-
-
-
- Return true if the platform is Windows 10
-
-
-
-
- Return true if the platform is Windows Server. This is named Windows
- Server 10 to distinguish it from previous versions of Windows Server.
-
-
-
-
- Product Type Enumeration used for Windows
-
-
-
-
- Product type is unknown or unspecified
-
-
-
-
- Product type is Workstation
-
-
-
-
- Product type is Domain Controller
-
-
-
-
- Product type is Server
-
-
-
-
- Combines multiple filters so that a test must pass one
- of them in order to pass this filter.
-
-
-
-
- Constructs an empty OrFilter
-
-
-
-
- Constructs an AndFilter from an array of filters
-
-
-
-
-
- Checks whether the OrFilter is matched by a test
-
- The test to be matched
- True if any of the component filters pass, otherwise false
-
-
-
- Checks whether the OrFilter is matched by a test
-
- The test to be matched
- True if any of the component filters match, otherwise false
-
-
-
- Checks whether the OrFilter is explicit matched by a test
-
- The test to be matched
- True if any of the component filters explicit match, otherwise false
-
-
-
- Gets the element name
-
- Element name
-
-
-
- InstanceOfTypeConstraint is used to test that an object
- is of the same type provided or derived from it.
-
-
-
-
- Construct an InstanceOfTypeConstraint for the type provided
-
- The expected Type
-
-
-
- Apply the constraint to an actual value, returning true if it succeeds
-
- The actual argument
- True if the constraint succeeds, otherwise false.
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- Tests whether a value is greater than the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- DictionaryContainsKeyConstraint is used to test whether a dictionary
- contains an expected object as a key.
-
-
-
-
- Construct a DictionaryContainsKeyConstraint
-
-
-
-
-
- Test whether the expected key is contained in the dictionary
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- ContainsConstraint tests a whether a string contains a substring
- or a collection contains an object. It postpones the decision of
- which test to use until the type of the actual argument is known.
- This allows testing whether a string is contained in a collection
- or as a substring of another string using the same syntax.
-
-
-
-
- Initializes a new instance of the class.
-
- The _expected.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- Flag the constraint to ignore case and return self.
-
-
-
-
- CollectionTally counts (tallies) the number of
- occurrences of each object in one or more enumerations.
-
-
-
-
- Construct a CollectionTally object from a comparer and a collection
-
-
-
-
- Try to remove an object from the tally
-
- The object to remove
- True if successful, false if the object was not found
-
-
-
- Try to remove a set of objects from the tally
-
- The objects to remove
- True if successful, false if any object was not found
-
-
-
- The number of objects remaining in the tally
-
-
-
-
- AllItemsConstraint applies another constraint to each
- item in a collection, succeeding if they all succeed.
-
-
-
-
- Construct an AllItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- A set of Assert methods operating on one or more collections
-
-
-
-
- The Equals method throws an InvalidOperationException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an InvalidOperationException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Asserts that all items contained in collection are of the type specified by expectedType.
-
- IEnumerable containing objects to be considered
- System.Type that all objects in collection must be instances of
-
-
-
- Asserts that all items contained in collection are of the type specified by expectedType.
-
- IEnumerable containing objects to be considered
- System.Type that all objects in collection must be instances of
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that all items contained in collection are not equal to null.
-
- IEnumerable containing objects to be considered
-
-
-
- Asserts that all items contained in collection are not equal to null.
-
- IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Ensures that every object contained in collection exists within the collection
- once and only once.
-
- IEnumerable of objects to be considered
-
-
-
- Ensures that every object contained in collection exists within the collection
- once and only once.
-
- IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are not exactly equal.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are not exactly equal.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
-
-
-
- Asserts that expected and actual are not exactly equal.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are not exactly equal.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are not equivalent.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are not equivalent.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that collection contains actual as an item.
-
- IEnumerable of objects to be considered
- Object to be found within collection
-
-
-
- Asserts that collection contains actual as an item.
-
- IEnumerable of objects to be considered
- Object to be found within collection
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that collection does not contain actual as an item.
-
- IEnumerable of objects to be considered
- Object that cannot exist within collection
-
-
-
- Asserts that collection does not contain actual as an item.
-
- IEnumerable of objects to be considered
- Object that cannot exist within collection
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that the superset does not contain the subset
-
- The IEnumerable subset to be considered
- The IEnumerable superset to be considered
-
-
-
- Asserts that the superset does not contain the subset
-
- The IEnumerable subset to be considered
- The IEnumerable superset to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that the superset contains the subset.
-
- The IEnumerable subset to be considered
- The IEnumerable superset to be considered
-
-
-
- Asserts that the superset contains the subset.
-
- The IEnumerable subset to be considered
- The IEnumerable superset to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that the subset does not contain the superset
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
-
-
-
- Asserts that the subset does not contain the superset
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that the subset contains the superset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
-
-
-
- Asserts that the subset contains the superset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array,list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array,list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
-
-
-
- Assert that an array, list or other collection is ordered
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is ordered
-
- An array, list or other collection implementing IEnumerable
-
-
-
- Assert that an array, list or other collection is ordered
-
- An array, list or other collection implementing IEnumerable
- A custom comparer to perform the comparisons
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is ordered
-
- An array, list or other collection implementing IEnumerable
- A custom comparer to perform the comparisons
-
-
-
- TestCaseSourceAttribute indicates the source to be used to
- provide test cases for a test method.
-
-
-
-
- Construct with the name of the method, property or field that will provide data
-
- The name of a static method, property or field that will provide data.
-
-
-
- Construct with a Type and name
-
- The Type that will provide data
- The name of a static method, property or field that will provide data.
- A set of parameters passed to the method, works only if the Source Name is a method.
- If the source name is a field or property has no effect.
-
-
-
- Construct with a Type and name
-
- The Type that will provide data
- The name of a static method, property or field that will provide data.
-
-
-
- Construct with a Type
-
- The type that will provide data
-
-
-
- Construct one or more TestMethods from a given MethodInfo,
- using available parameter data.
-
- The IMethod for which tests are to be constructed.
- The suite to which the tests will be added.
- One or more TestMethods
-
-
-
- Returns a set of ITestCaseDataItems for use as arguments
- to a parameterized test method.
-
- The method for which data is needed.
-
-
-
-
- A set of parameters passed to the method, works only if the Source Name is a method.
- If the source name is a field or property has no effect.
-
-
-
-
- The name of a the method, property or fiend to be used as a source
-
-
-
-
- A Type to be used as a source
-
-
-
-
- Gets or sets the category associated with every fixture created from
- this attribute. May be a single category or a comma-separated list.
-
-
-
-
- TestMethodCommand is the lowest level concrete command
- used to run actual test cases.
-
-
-
-
- Initializes a new instance of the class.
-
- The test.
-
-
-
- Runs the test, saving a TestResult in the execution context, as
- well as returning it. If the test has an expected result, it
- is asserts on that value. Since failed tests and errors throw
- an exception, this command must be wrapped in an outer command,
- will handle that exception and records the failure. This role
- is usually played by the SetUpTearDown command.
-
- The execution context
-
-
-
- SetUpTearDownCommand runs any SetUp methods for a suite,
- runs the test and then runs any TearDown methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The inner command.
-
-
-
- Runs the test, saving a TestResult in the supplied TestExecutionContext.
-
- The context in which the test should run.
- A TestResult
-
-
-
- SetUpTearDownItem holds the setup and teardown methods
- for a single level of the inheritance hierarchy.
-
-
-
-
- Construct a SetUpTearDownNode
-
- A list of setup methods for this level
- A list teardown methods for this level
-
-
-
- Run SetUp on this level.
-
- The execution context to use for running.
-
-
-
- Run TearDown for this level.
-
-
-
-
-
- Returns true if this level has any methods at all.
- This flag is used to discard levels that do nothing.
-
-
-
-
- Class used to guard against unexpected argument values
- or operations by throwing an appropriate exception.
-
-
-
-
- Throws an exception if an argument is null
-
- The value to be tested
- The name of the argument
-
-
-
- Throws an exception if a string argument is null or empty
-
- The value to be tested
- The name of the argument
-
-
-
- Throws an ArgumentOutOfRangeException if the specified condition is not met.
-
- The condition that must be met
- The exception message to be used
- The name of the argument
-
-
-
- Throws an ArgumentException if the specified condition is not met.
-
- The condition that must be met
- The exception message to be used
- The name of the argument
-
-
-
- Throws an InvalidOperationException if the specified condition is not met.
-
- The condition that must be met
- The exception message to be used
-
-
-
- SubPathConstraint tests that the actual path is under the expected path
-
-
-
-
- Initializes a new instance of the class.
-
- The expected path
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- ParallelizableAttribute is used to mark tests that may be run in parallel.
-
-
-
-
- Construct a ParallelizableAttribute using default ParallelScope.Self.
-
-
-
-
- Construct a ParallelizableAttribute with a specified scope.
-
- The ParallelScope associated with this attribute.
-
-
-
- Modify the context to be used for child tests
-
- The current TestExecutionContext
-
-
-
- Helper class with properties and methods that supply
- constraints that operate on exceptions.
-
-
-
-
- Creates a constraint specifying the exact type of exception expected
-
-
-
-
- Creates a constraint specifying the exact type of exception expected
-
-
-
-
- Creates a constraint specifying the type of exception expected
-
-
-
-
- Creates a constraint specifying the type of exception expected
-
-
-
-
- Creates a constraint specifying an expected exception
-
-
-
-
- Creates a constraint specifying an exception with a given InnerException
-
-
-
-
- Creates a constraint specifying an expected TargetInvocationException
-
-
-
-
- Creates a constraint specifying an expected ArgumentException
-
-
-
-
- Creates a constraint specifying an expected ArgumentNUllException
-
-
-
-
- Creates a constraint specifying an expected InvalidOperationException
-
-
-
-
- Creates a constraint specifying that no exception is thrown
-
-
-
-
- Enumeration identifying a common language
- runtime implementation.
-
-
-
- Any supported runtime framework
-
-
- Microsoft .NET Framework
-
-
- Microsoft .NET Compact Framework
-
-
- Microsoft Shared Source CLI
-
-
- Mono
-
-
- Silverlight
-
-
- MonoTouch
-
-
-
- RuntimeFramework represents a particular version
- of a common language runtime implementation.
-
-
-
-
- DefaultVersion is an empty Version, used to indicate that
- NUnit should select the CLR version to use for the test.
-
-
-
-
- Construct from a runtime type and version. If the version has
- two parts, it is taken as a framework version. If it has three
- or more, it is taken as a CLR version. In either case, the other
- version is deduced based on the runtime type and provided version.
-
- The runtime type of the framework
- The version of the framework
-
-
-
- Parses a string representing a RuntimeFramework.
- The string may be just a RuntimeType name or just
- a Version or a hyphenated RuntimeType-Version or
- a Version prefixed by 'versionString'.
-
-
-
-
-
-
- Overridden to return the short name of the framework
-
-
-
-
-
- Returns true if the current framework matches the
- one supplied as an argument. Two frameworks match
- if their runtime types are the same or either one
- is RuntimeType.Any and all specified version components
- are equal. Negative (i.e. unspecified) version
- components are ignored.
-
- The RuntimeFramework to be matched.
- True on match, otherwise false
-
-
-
- Static method to return a RuntimeFramework object
- for the framework that is currently in use.
-
-
-
-
- The type of this runtime framework
-
-
-
-
- The framework version for this runtime framework
-
-
-
-
- The CLR version for this runtime framework
-
-
-
-
- Return true if any CLR version may be used in
- matching this RuntimeFramework object.
-
-
-
-
- Returns the Display name for this framework
-
-
-
-
- CategoryFilter is able to select or exclude tests
- based on their categories.
-
-
-
-
-
- Construct a CategoryFilter using a single category name
-
- A category name
-
-
-
- Check whether the filter matches a test
-
- The test to be matched
-
-
-
-
- Gets the element name
-
- Element name
-
-
-
- GlobalSettings is a place for setting default values used
- by the framework in performing asserts. Anything set through
- this class applies to the entire test run. It should not normally
- be used from within a test, since it is not thread-safe.
-
-
-
-
- Default tolerance for floating point equality
-
-
-
-
- Asserts on Files
-
-
-
-
- The Equals method throws an InvalidOperationException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an InvalidOperationException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Verifies that two Streams are equal. Two Streams are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The expected Stream
- The actual Stream
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two Streams are equal. Two Streams are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The expected Stream
- The actual Stream
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
-
-
-
- Asserts that two Streams are not equal. If they are equal
- an is thrown.
-
- The expected Stream
- The actual Stream
- The message to be displayed when the two Stream are the same.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two Streams are not equal. If they are equal
- an is thrown.
-
- The expected Stream
- The actual Stream
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
-
-
-
- Asserts that the file exists. If it does not exist
- an is thrown.
-
- A file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the file exists. If it does not exist
- an is thrown.
-
- A file containing the actual value
-
-
-
- Asserts that the file exists. If it does not exist
- an is thrown.
-
- The path to a file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the file exists. If it does not exist
- an is thrown.
-
- The path to a file containing the actual value
-
-
-
- Asserts that the file does not exist. If it does exist
- an is thrown.
-
- A file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the file does not exist. If it does exist
- an is thrown.
-
- A file containing the actual value
-
-
-
- Asserts that the file does not exist. If it does exist
- an is thrown.
-
- The path to a file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that the file does not exist. If it does exist
- an is thrown.
-
- The path to a file containing the actual value
-
-
-
- Thrown when an assertion failed.
-
-
-
-
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- Gets the ResultState provided by this exception
-
-
-
-
- SomeItemsConstraint applies another constraint to each
- item in a collection, succeeding if any of them succeeds.
-
-
-
-
- Construct a SomeItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- succeeding if any item succeeds.
-
-
-
-
-
-
- The display name of this Constraint for use by ToString().
- The default value is the name of the constraint with
- trailing "Constraint" removed. Derived classes may set
- this to another name in their constructors.
-
-
-
-
- SameAsConstraint tests whether an object is identical to
- the object passed to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected object.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- The Description of what this constraint tests, for
- use in messages and in the ConstraintResult.
-
-
-
-
- RegexConstraint can test whether a string matches
- the pattern provided.
-
-
-
-
- Initializes a new instance of the class.
-
- The pattern.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- ConstraintStatus represents the status of a ConstraintResult
- returned by a Constraint being applied to an actual value.
-
-
-
-
- The status has not yet been set
-
-
-
-
- The constraint succeeded
-
-
-
-
- The constraint failed
-
-
-
-
- An error occured in applying the constraint (reserved for future use)
-
-
-
-
- Attribute used to identify a method that is called
- immediately after each test is run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- Marks a test to use a combinatorial join of any argument
- data provided. Since this is the default, the attribute is
- optional.
-
-
-
-
- Default constructor
-
-
-
-
- The PropertyNames class provides static constants for the
- standard property ids that NUnit uses on tests.
-
-
-
-
- The FriendlyName of the AppDomain in which the assembly is running
-
-
-
-
- The selected strategy for joining parameter data into test cases
-
-
-
-
- The process ID of the executing assembly
-
-
-
-
- The stack trace from any data provider that threw
- an exception.
-
-
-
-
- The reason a test was not run
-
-
-
-
- The author of the tests
-
-
-
-
- The ApartmentState required for running the test
-
-
-
-
- The categories applying to a test
-
-
-
-
- The Description of a test
-
-
-
-
- The number of threads to be used in running tests
-
-
-
-
- The maximum time in ms, above which the test is considered to have failed
-
-
-
-
- The ParallelScope associated with a test
-
-
-
-
- The number of times the test should be repeated
-
-
-
-
- Indicates that the test should be run on a separate thread
-
-
-
-
- The culture to be set for a test
-
-
-
-
- The UI culture to be set for a test
-
-
-
-
- The type that is under test
-
-
-
-
- The timeout value for the test
-
-
-
-
- The test will be ignored until the given date
-
-
-
-
- The optional Order the test will run in
-
-
-
-
- The MethodWrapper class wraps a MethodInfo so that it may
- be used in a platform-independent manner.
-
-
-
-
- Construct a MethodWrapper for a Type and a MethodInfo.
-
-
-
-
- Construct a MethodInfo for a given Type and method name.
-
-
-
-
- Gets the parameters of the method.
-
-
-
-
-
- Returns the Type arguments of a generic method or the Type parameters of a generic method definition.
-
-
-
-
- Replaces the type parameters of the method with the array of types provided and returns a new IMethodInfo.
-
- The type arguments to be used
- A new IMethodInfo with the type arguments replaced
-
-
-
- Returns an array of custom attributes of the specified type applied to this method
-
-
-
-
- Gets a value indicating whether one or more attributes of the spcified type are defined on the method.
-
-
-
-
- Invokes the method, converting any TargetInvocationException to an NUnitException.
-
- The object on which to invoke the method
- The argument list for the method
- The return value from the invoked method
-
-
-
- Override ToString() so that error messages in NUnit's own tests make sense
-
-
-
-
- Gets the Type from which this method was reflected.
-
-
-
-
- Gets the MethodInfo for this method.
-
-
-
-
- Gets the name of the method.
-
-
-
-
- Gets a value indicating whether the method is abstract.
-
-
-
-
- Gets a value indicating whether the method is public.
-
-
-
-
- Gets a value indicating whether the method contains unassigned generic type parameters.
-
-
-
-
- Gets a value indicating whether the method is a generic method.
-
-
-
-
- Gets a value indicating whether the MethodInfo represents the definition of a generic method.
-
-
-
-
- Gets the return Type of the method.
-
-
-
-
- Represents a constraint that succeeds if any of the
- members of a collection match a base constraint.
-
-
-
-
- Returns a constraint that will apply the argument
- to the members of a collection, succeeding if
- any of them succeed.
-
-
-
-
- The TestMethod class represents a Test implemented as a method.
-
-
-
-
- The ParameterSet used to create this test method
-
-
-
-
- Initializes a new instance of the class.
-
- The method to be used as a test.
-
-
-
- Initializes a new instance of the class.
-
- The method to be used as a test.
- The suite or fixture to which the new test will be added
-
-
-
- Overridden to return a TestCaseResult.
-
- A TestResult for this test.
-
-
-
- Returns a TNode representing the current result after
- adding it as a child of the supplied parent node.
-
- The parent node.
- If true, descendant results are included
-
-
-
-
- Gets a bool indicating whether the current test
- has any descendant tests.
-
-
-
-
- Gets this test's child tests
-
- A list of child tests
-
-
-
- Gets the name used for the top-level element in the
- XML representation of this test
-
-
-
-
- Returns the name of the method
-
-
-
-
- RangeConstraint tests whether two _values are within a
- specified range.
-
-
-
-
- Initializes a new instance of the class.
-
- from must be less than or equal to true
- Inclusive beginning of the range. Must be less than or equal to to.
- Inclusive end of the range. Must be greater than or equal to from.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Modifies the constraint to use an and returns self.
-
-
-
-
- Modifies the constraint to use an and returns self.
-
-
-
-
- Modifies the constraint to use a and returns self.
-
-
-
-
- Gets text describing a constraint
-
-
-
-
- Tests whether a value is greater than or equal to the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Delegate used to delay evaluation of the actual value
- to be used in evaluating a constraint
-
-
-
-
- AttributeConstraint tests that a specified attribute is present
- on a Type or other provider and that the value of the attribute
- satisfies some other constraint.
-
-
-
-
- Constructs an AttributeConstraint for a specified attribute
- Type and base constraint.
-
-
-
-
-
-
- Determines whether the Type or other provider has the
- expected attribute and if its value matches the
- additional constraint specified.
-
-
-
-
- Returns a string representation of the constraint.
-
-
-
-
- ValueSourceAttribute indicates the source to be used to
- provide data for one parameter of a test method.
-
-
-
-
- Construct with the name of the factory - for use with languages
- that don't support params arrays.
-
- The name of a static method, property or field that will provide data.
-
-
-
- Construct with a Type and name - for use with languages
- that don't support params arrays.
-
- The Type that will provide data
- The name of a static method, property or field that will provide data.
-
-
-
- Gets an enumeration of data items for use as arguments
- for a test method parameter.
-
- The parameter for which data is needed
-
- An enumeration containing individual data items
-
-
-
-
- The name of a the method, property or fiend to be used as a source
-
-
-
-
- A Type to be used as a source
-
-
-
-
- Summary description for SetCultureAttribute.
-
-
-
-
- Construct given the name of a culture
-
-
-
-
-
- RandomAttribute is used to supply a set of random _values
- to a single parameter of a parameterized test.
-
-
-
-
- Construct a random set of values appropriate for the Type of the
- parameter on which the attribute appears, specifying only the count.
-
-
-
-
-
- Construct a set of ints within a specified range
-
-
-
-
- Construct a set of unsigned ints within a specified range
-
-
-
-
- Construct a set of longs within a specified range
-
-
-
-
- Construct a set of unsigned longs within a specified range
-
-
-
-
- Construct a set of shorts within a specified range
-
-
-
-
- Construct a set of unsigned shorts within a specified range
-
-
-
-
- Construct a set of doubles within a specified range
-
-
-
-
- Construct a set of floats within a specified range
-
-
-
-
- Construct a set of bytes within a specified range
-
-
-
-
- Construct a set of sbytes within a specified range
-
-
-
-
- Get the collection of _values to be used as arguments.
-
-
-
-
- Delegate used by tests that execute code and
- capture any thrown exception.
-
-
-
-
- TNode represents a single node in the XML representation
- of a Test or TestResult. It replaces System.Xml.XmlNode and
- System.Xml.Linq.XElement, providing a minimal set of methods
- for operating on the XML in a platform-independent manner.
-
-
-
-
- Constructs a new instance of TNode
-
- The name of the node
-
-
-
- Constructs a new instance of TNode with a value
-
- The name of the node
- The text content of the node
-
-
-
- Constructs a new instance of TNode with a value
-
- The name of the node
- The text content of the node
- Flag indicating whether to use CDATA when writing the text
-
-
-
- Create a TNode from it's XML text representation
-
- The XML text to be parsed
- A TNode
-
-
-
- Adds a new element as a child of the current node and returns it.
-
- The element name.
- The newly created child element
-
-
-
- Adds a new element with a value as a child of the current node and returns it.
-
- The element name
- The text content of the new element
- The newly created child element
-
-
-
- Adds a new element with a value as a child of the current node and returns it.
- The value will be output using a CDATA section.
-
- The element name
- The text content of the new element
- The newly created child element
-
-
-
- Adds an attribute with a specified name and value to the XmlNode.
-
- The name of the attribute.
- The value of the attribute.
-
-
-
- Finds a single descendant of this node matching an xpath
- specification. The format of the specification is
- limited to what is needed by NUnit and its tests.
-
-
-
-
-
-
- Finds all descendants of this node matching an xpath
- specification. The format of the specification is
- limited to what is needed by NUnit and its tests.
-
-
-
-
- Writes the XML representation of the node to an XmlWriter
-
-
-
-
-
- Gets the name of the node
-
-
-
-
- Gets the value of the node
-
-
-
-
- Gets a flag indicating whether the value should be output using CDATA.
-
-
-
-
- Gets the dictionary of attributes
-
-
-
-
- Gets a list of child nodes
-
-
-
-
- Gets the first ChildNode
-
-
-
-
- Gets the XML representation of this node.
-
-
-
-
- Class used to represent a list of XmlResults
-
-
-
-
- Class used to represent the attributes of a node
-
-
-
-
- Gets or sets the value associated with the specified key.
- Overridden to return null if attribute is not found.
-
- The key.
- Value of the attribute or null
-
-
-
- The ITestAssemblyRunner interface is implemented by classes
- that are able to execute a suite of tests loaded
- from an assembly.
-
-
-
-
- Loads the tests found in an Assembly, returning an
- indication of whether or not the load succeeded.
-
- File name of the assembly to load
- Dictionary of options to use in loading the test
- An ITest representing the loaded tests
-
-
-
- Loads the tests found in an Assembly, returning an
- indication of whether or not the load succeeded.
-
- The assembly to load
- Dictionary of options to use in loading the test
- An ITest representing the loaded tests
-
-
-
- Count Test Cases using a filter
-
- The filter to apply
- The number of test cases found
-
-
-
- Run selected tests and return a test result. The test is run synchronously,
- and the listener interface is notified as it progresses.
-
- Interface to receive ITestListener notifications.
- A test filter used to select tests to be run
-
-
-
- Run selected tests asynchronously, notifying the listener interface as it progresses.
-
- Interface to receive EventListener notifications.
- A test filter used to select tests to be run
-
-
-
- Wait for the ongoing run to complete.
-
- Time to wait in milliseconds
- True if the run completed, otherwise false
-
-
-
- Signal any test run that is in process to stop. Return without error if no test is running.
-
- If true, kill any test-running threads
-
-
-
- Gets the tree of loaded tests, or null if
- no tests have been loaded.
-
-
-
-
- Gets the tree of test results, if the test
- run is completed, otherwise null.
-
-
-
-
- Indicates whether a test has been loaded
-
-
-
-
- Indicates whether a test is currently running
-
-
-
-
- Indicates whether a test run is complete
-
-
-
-
- Modes in which the tolerance value for a comparison can be interpreted.
-
-
-
-
- The tolerance was created with a value, without specifying
- how the value would be used. This is used to prevent setting
- the mode more than once and is generally changed to Linear
- upon execution of the test.
-
-
-
-
- The tolerance is used as a numeric range within which
- two compared _values are considered to be equal.
-
-
-
-
- Interprets the tolerance as the percentage by which
- the two compared _values my deviate from each other.
-
-
-
-
- Compares two _values based in their distance in
- representable numbers.
-
-
-
-
- ResolvableConstraintExpression is used to represent a compound
- constraint being constructed at a point where the last operator
- may either terminate the expression or may have additional
- qualifying constraints added to it.
-
- It is used, for example, for a Property element or for
- an Exception element, either of which may be optionally
- followed by constraints that apply to the property or
- exception.
-
-
-
-
- Create a new instance of ResolvableConstraintExpression
-
-
-
-
- Create a new instance of ResolvableConstraintExpression,
- passing in a pre-populated ConstraintBuilder.
-
-
-
-
- Resolve the current expression to a Constraint
-
-
-
-
- Appends an And Operator to the expression
-
-
-
-
- Appends an Or operator to the expression.
-
-
-
-
- Negates the test of the constraint it wraps.
-
-
-
-
- Constructs a new NotOperator
-
-
-
-
- Returns a NotConstraint applied to its argument.
-
-
-
-
- SetUpFixtureAttribute is used to identify a SetUpFixture
-
-
-
-
- Build a SetUpFixture from type provided. Normally called for a Type
- on which the attribute has been placed.
-
- The type info of the fixture to be used.
- A SetUpFixture object as a TestSuite.
-
-
-
- Marks a test that must run in the MTA, causing it
- to run in a separate thread if necessary.
-
- On methods, you may also use MTAThreadAttribute
- to serve the same purpose.
-
-
-
-
- Construct a RequiresMTAAttribute
-
-
-
-
- The ResultState class represents the outcome of running a test.
- It contains two pieces of information. The Status of the test
- is an enum indicating whether the test passed, failed, was
- skipped or was inconclusive. The Label provides a more
- detailed breakdown for use by client runners.
-
-
-
-
- Initializes a new instance of the class.
-
- The TestStatus.
-
-
-
- Initializes a new instance of the class.
-
- The TestStatus.
- The label.
-
-
-
- Initializes a new instance of the class.
-
- The TestStatus.
- The stage at which the result was produced
-
-
-
- Initializes a new instance of the class.
-
- The TestStatus.
- The label.
- The stage at which the result was produced
-
-
-
- The result is inconclusive
-
-
-
-
- The test has been skipped.
-
-
-
-
- The test has been ignored.
-
-
-
-
- The test was skipped because it is explicit
-
-
-
-
- The test succeeded
-
-
-
-
- The test failed
-
-
-
-
- The test encountered an unexpected exception
-
-
-
-
- The test was cancelled by the user
-
-
-
-
- The test was not runnable.
-
-
-
-
- A suite failed because one or more child tests failed or had errors
-
-
-
-
- A suite failed in its OneTimeSetUp
-
-
-
-
- A suite had an unexpected exception in its OneTimeSetUp
-
-
-
-
- A suite had an unexpected exception in its OneTimeDown
-
-
-
-
- Get a new ResultState, which is the same as the current
- one but with the FailureSite set to the specified value.
-
- The FailureSite to use
- A new ResultState
-
-
-
- Determines whether the specified , is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets the TestStatus for the test.
-
- The status.
-
-
-
- Gets the label under which this test result is
- categorized, if any.
-
-
-
-
- Gets the stage of test execution in which
- the failure or other result took place.
-
-
-
-
- The FailureSite enum indicates the stage of a test
- in which an error or failure occurred.
-
-
-
-
- Failure in the test itself
-
-
-
-
- Failure in the SetUp method
-
-
-
-
- Failure in the TearDown method
-
-
-
-
- Failure of a parent test
-
-
-
-
- Failure of a child test
-
-
-
-
- The TestFixtureData class represents a set of arguments
- and other parameter info to be used for a parameterized
- fixture. It is derived from TestFixtureParameters and adds a
- fluent syntax for use in initializing the fixture.
-
-
-
-
- Initializes a new instance of the class.
-
- The arguments.
-
-
-
- Initializes a new instance of the class.
-
- The argument.
-
-
-
- Initializes a new instance of the class.
-
- The first argument.
- The second argument.
-
-
-
- Initializes a new instance of the class.
-
- The first argument.
- The second argument.
- The third argument.
-
-
-
- Marks the test fixture as explicit.
-
-
-
-
- Marks the test fixture as explicit, specifying the reason.
-
-
-
-
- Ignores this TestFixture, specifying the reason.
-
- The reason.
-
-
-
-
- Represents a thread-safe first-in, first-out collection of objects.
-
- Specifies the type of elements in the queue.
-
- All public and protected members of are thread-safe and may be used
- concurrently from multiple threads.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the
- class that contains elements copied from the specified collection
-
- The collection whose elements are copied to the new .
- The argument is
- null.
-
-
-
- Adds an object to the end of the .
-
- The object to add to the end of the . The value can be a null reference
- (Nothing in Visual Basic) for reference types.
-
-
-
-
- Attempts to add an object to the .
-
- The object to add to the . The value can be a null
- reference (Nothing in Visual Basic) for reference types.
-
- true if the object was added successfully; otherwise, false.
- For , this operation will always add the object to the
- end of the
- and return true.
-
-
-
- Attempts to remove and return the object at the beginning of the .
-
-
- When this method returns, if the operation was successful, contains the
- object removed. If no object was available to be removed, the value is unspecified.
-
- true if an element was removed and returned from the beginning of the
- successfully; otherwise, false.
-
-
-
- Attempts to return an object from the beginning of the
- without removing it.
-
- When this method returns, contains an object from
- the beginning of the or an
- unspecified value if the operation failed.
- true if and object was returned successfully; otherwise, false.
-
-
-
- Returns an enumerator that iterates through a collection.
-
- An that can be used to iterate through the collection.
-
-
-
- Returns an enumerator that iterates through the .
-
- An enumerator for the contents of the .
-
- The enumeration represents a moment-in-time snapshot of the contents
- of the queue. It does not reflect any updates to the collection after
- was called. The enumerator is safe to use
- concurrently with reads from and writes to the queue.
-
-
-
-
- Copies the elements of the to an , starting at a particular
- index.
-
- The one-dimensional Array that is the
- destination of the elements copied from the
- . The Array must have zero-based indexing.
- The zero-based index in at which copying
- begins.
- is a null reference (Nothing in
- Visual Basic).
- is less than
- zero.
-
- is multidimensional. -or-
- does not have zero-based indexing. -or-
- is equal to or greater than the length of the
- -or- The number of elements in the source is
- greater than the available space from to the end of the destination
- . -or- The type of the source cannot be cast automatically to the type of the
- destination .
-
-
-
-
- Copies the elements to an existing one-dimensional Array, starting at the specified array index.
-
- The one-dimensional Array that is the
- destination of the elements copied from the
- . The Array must have zero-based
- indexing.
- The zero-based index in at which copying
- begins.
- is a null reference (Nothing in
- Visual Basic).
- is less than
- zero.
- is equal to or greater than the
- length of the
- -or- The number of elements in the source is greater than the
- available space from to the end of the destination .
-
-
-
-
- Copies the elements stored in the to a new array.
-
- A new array containing a snapshot of elements copied from the .
-
-
-
- Attempts to remove and return an object from the .
-
-
- When this method returns, if the operation was successful, contains the
- object removed. If no object was available to be removed, the value is unspecified.
-
- true if an element was removed and returned successfully; otherwise, false.
- For , this operation will attempt to remove the object
- from the beginning of the .
-
-
-
-
- Gets a value indicating whether access to the is
- synchronized with the SyncRoot.
-
- true if access to the is synchronized
- with the SyncRoot; otherwise, false. For , this property always
- returns false.
-
-
-
- Gets an object that can be used to synchronize access to the . This property is not supported.
-
- The SyncRoot property is not supported.
-
-
-
- Gets the number of elements contained in the .
-
- The number of elements contained in the .
-
- For determining whether the collection contains any items, use of the
- property is recommended rather than retrieving the number of items from the
- property and comparing it to 0.
-
-
-
-
- Gets a value that indicates whether the is empty.
-
- true if the is empty; otherwise, false.
-
- For determining whether the collection contains any items, use of this property is recommended
- rather than retrieving the number of items from the property and comparing it
- to 0. However, as this collection is intended to be accessed concurrently, it may be the case
- that another thread will modify the collection after returns, thus invalidating
- the result.
-
-
-
-
- Implementation of ITestAssemblyRunner
-
-
-
-
- Initializes a new instance of the class.
-
- The builder.
-
-
-
- Loads the tests found in an Assembly
-
- File name of the assembly to load
- Dictionary of option settings for loading the assembly
- True if the load was successful
-
-
-
- Loads the tests found in an Assembly
-
- The assembly to load
- Dictionary of option settings for loading the assembly
- True if the load was successful
-
-
-
- Count Test Cases using a filter
-
- The filter to apply
- The number of test cases found
-
-
-
- Run selected tests and return a test result. The test is run synchronously,
- and the listener interface is notified as it progresses.
-
- Interface to receive EventListener notifications.
- A test filter used to select tests to be run
-
-
-
-
- Run selected tests asynchronously, notifying the listener interface as it progresses.
-
- Interface to receive EventListener notifications.
- A test filter used to select tests to be run
-
- RunAsync is a template method, calling various abstract and
- virtual methods to be overridden by derived classes.
-
-
-
-
- Wait for the ongoing run to complete.
-
- Time to wait in milliseconds
- True if the run completed, otherwise false
-
-
-
- Signal any test run that is in process to stop. Return without error if no test is running.
-
- If true, kill any tests that are currently running
-
-
-
- Initiate the test run.
-
-
-
-
- Create the initial TestExecutionContext used to run tests
-
- The ITestListener specified in the RunAsync call
-
-
-
- Handle the the Completed event for the top level work item
-
-
-
-
- The tree of tests that was loaded by the builder
-
-
-
-
- The test result, if a run has completed
-
-
-
-
- Indicates whether a test is loaded
-
-
-
-
- Indicates whether a test is running
-
-
-
-
- Indicates whether a test run is complete
-
-
-
-
- Our settings, specified when loading the assembly
-
-
-
-
- The top level WorkItem created for the assembly as a whole
-
-
-
-
- The TestExecutionContext for the top level WorkItem
-
-
-
-
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.xml.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.xml.meta
deleted file mode 100644
index bed4a72..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.xml.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 9c7ad350fb20c854a9112cf4156d1b6e
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/package.json b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/package.json
deleted file mode 100644
index c0bc305..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "displayName": "Custom NUnit",
- "name": "com.unity.ext.nunit",
- "version": "1.0.0",
- "unity": "2019.1",
- "description": "Custom version of the nunit package build to work with Unity. Used by the Unity Test Framework.",
- "keywords": ["nunit", "unittest", "test"],
- "category": "Libraries",
- "repository": {
- "type": "git",
- "url": "git@gitlab.cds.internal.unity3d.com/upm-packages/core/com.unity.ext.nunit.git",
- "revision": "c8f5044ffe6adb909f9836160b0bdaa30f2d1ec9"
- },
- "dependencies": {
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/package.json.meta b/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/package.json.meta
deleted file mode 100644
index ad88492..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ext.nunit@1.0.0/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8143d3a8390f2c64685e3bc272bd9e90
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/.editorconfig b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/.editorconfig
deleted file mode 100644
index aca1979..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/.editorconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-root = true
-
-[*]
-indent_style = space
-indent_size = 2
-end_of_line = lf
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CHANGELOG.md b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CHANGELOG.md
deleted file mode 100644
index 0e14adc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CHANGELOG.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Code Editor Package for Rider
-
-## [1.1.0] - 2019-07-02
-
-new setting to manage list of extensions to be opened with Rider
-avoid breaking everything on any unhandled exception in RiderScriptEditor cctor
-hide Rider settings, when different Editor is selected
-dynamically load only newer rider plugins
-path detection (work on unix symlinks)
-speed up for project generation
-lots of bug fixing
-
-## [1.0.8] - 2019-05-20
-
-Fix NullReferenceException when External editor was pointing to non-existing Rider everything was broken by null-ref.
-
-## [1.0.7] - 2019-05-16
-
-Initial migration steps from rider plugin to package.
-Fix OSX check and opening of files.
-
-## [1.0.6] - 2019-04-30
-
-Ensure asset database is refreshed when generating csproj and solution files.
-
-## [1.0.5] - 2019-04-27
-
-Add support for generating all csproj files.
-
-## [1.0.4] - 2019-04-18
-
-Fix relative package paths.
-Fix opening editor on mac.
-
-## [1.0.3] - 2019-04-12
-
-Fixing null reference issue for callbacks to Asset pipeline.
-
-## [1.0.2] - 2019-01-01
-
-### This is the first release of *Unity Package rider_editor*.
-
-Using the newly created api to integrate Rider with Unity.
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CHANGELOG.md.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CHANGELOG.md.meta
deleted file mode 100644
index 344cac5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CHANGELOG.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8645aa9c3c74fb34ba9499e14fb332b5
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CONTRIBUTING.md b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CONTRIBUTING.md
deleted file mode 100644
index 576d096..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CONTRIBUTING.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Contributing
-
-## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement)
-By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.
-
-## Once you have a change ready following these ground rules. Simply make a pull request
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CONTRIBUTING.md.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CONTRIBUTING.md.meta
deleted file mode 100644
index 81c20c6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/CONTRIBUTING.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 5e83f8baac96eaa47bdd9ca781cd2002
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Documentation~/README.md b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Documentation~/README.md
deleted file mode 100644
index 9ddd634..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Documentation~/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Code Editor Package for Rider
-
-This package is not intended to be modified by users.
-Nor does it provide any api intended to be included in user projects.
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/LICENSE.md b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/LICENSE.md
deleted file mode 100644
index eb18dfb..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/LICENSE.md
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2019 Unity Technologies
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/LICENSE.md.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/LICENSE.md.meta
deleted file mode 100644
index be2f8e6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/LICENSE.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 5598b14661b5f4c43bed757f34b6d172
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider.meta
deleted file mode 100644
index cf6222d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 9129183a42052cd43b9c284d6dbd541e
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor.meta
deleted file mode 100644
index 49130a6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 1b393f6b29a9ee84c803af1ab4944b71
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Discovery.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Discovery.cs
deleted file mode 100644
index 4886aa7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Discovery.cs
+++ /dev/null
@@ -1,418 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using JetBrains.Annotations;
-using Microsoft.Win32;
-using Unity.CodeEditor;
-using UnityEngine;
-
-namespace Packages.Rider.Editor
-{
- public interface IDiscovery
- {
- CodeEditor.Installation[] PathCallback();
- }
-
- public class Discovery : IDiscovery
- {
- public CodeEditor.Installation[] PathCallback()
- {
- return RiderPathLocator.GetAllRiderPaths()
- .Select(riderInfo => new CodeEditor.Installation
- {
- Path = riderInfo.Path,
- Name = riderInfo.Presentation
- })
- .OrderBy(a=>a.Name)
- .ToArray();
- }
- }
-
- ///
- /// This code is a modified version of the JetBrains resharper-unity plugin listed here:
- /// https://github.com/JetBrains/resharper-unity/blob/master/unity/JetBrains.Rider.Unity.Editor/EditorPlugin/RiderPathLocator.cs
- ///
- public static class RiderPathLocator
- {
-#if !(UNITY_4_7 || UNITY_5_5)
- [UsedImplicitly] // Used in com.unity.ide.rider
- public static RiderInfo[] GetAllRiderPaths()
- {
- try
- {
- switch (SystemInfo.operatingSystemFamily)
- {
- case OperatingSystemFamily.Windows:
- {
- return CollectRiderInfosWindows();
- }
-
- case OperatingSystemFamily.MacOSX:
- {
- return CollectRiderInfosMac();
- }
-
- case OperatingSystemFamily.Linux:
- {
- return CollectAllRiderPathsLinux();
- }
- }
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- return new RiderInfo[0];
- }
-#endif
-
-#if RIDER_EDITOR_PLUGIN // can't be used in com.unity.ide.rider
- internal static RiderInfo[] GetAllFoundInfos(OperatingSystemFamilyRider operatingSystemFamily)
- {
- try
- {
- switch (operatingSystemFamily)
- {
- case OperatingSystemFamilyRider.Windows:
- {
- return CollectRiderInfosWindows();
- }
- case OperatingSystemFamilyRider.MacOSX:
- {
- return CollectRiderInfosMac();
- }
- case OperatingSystemFamilyRider.Linux:
- {
- return CollectAllRiderPathsLinux();
- }
- }
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- return new RiderInfo[0];
- }
-
- internal static string[] GetAllFoundPaths(OperatingSystemFamilyRider operatingSystemFamily)
- {
- return GetAllFoundInfos(operatingSystemFamily).Select(a=>a.Path).ToArray();
- }
-#endif
-
- private static RiderInfo[] CollectAllRiderPathsLinux()
- {
- var home = Environment.GetEnvironmentVariable("HOME");
- if (string.IsNullOrEmpty(home))
- return new RiderInfo[0];
-
- //$Home/.local/share/JetBrains/Toolbox/apps/Rider/ch-0/173.3994.1125/bin/rider.sh
- //$Home/.local/share/JetBrains/Toolbox/apps/Rider/ch-0/.channel.settings.json
- var toolboxRiderRootPath = Path.Combine(home, @".local/share/JetBrains/Toolbox/apps/Rider");
- var paths = CollectPathsFromToolbox(toolboxRiderRootPath, "bin", "rider.sh", false)
- .Select(a => new RiderInfo(a, true)).ToList();
-
- //$Home/.local/share/applications/jetbrains-rider.desktop
- var shortcut = new FileInfo(Path.Combine(home, @".local/share/applications/jetbrains-rider.desktop"));
-
- if (shortcut.Exists)
- {
- var lines = File.ReadAllLines(shortcut.FullName);
- foreach (var line in lines)
- {
- if (!line.StartsWith("Exec=\""))
- continue;
- var path = line.Split('"').Where((item, index) => index == 1).SingleOrDefault();
- if (string.IsNullOrEmpty(path))
- continue;
-
- if (paths.Any(a => a.Path == path)) // avoid adding similar build as from toolbox
- continue;
- paths.Add(new RiderInfo(path, false));
- }
- }
-
- // snap install
- var snapInstallPath = "/snap/rider/current/bin/rider.sh";
- if (new FileInfo(snapInstallPath).Exists)
- paths.Add(new RiderInfo(snapInstallPath, false));
-
- return paths.ToArray();
- }
-
- private static RiderInfo[] CollectRiderInfosMac()
- {
- // "/Applications/*Rider*.app"
- var folder = new DirectoryInfo("/Applications");
- if (!folder.Exists)
- return new RiderInfo[0];
-
- var results = folder.GetDirectories("*Rider*.app")
- .Select(a => new RiderInfo(a.FullName, false))
- .ToList();
-
- // /Users/user/Library/Application Support/JetBrains/Toolbox/apps/Rider/ch-1/181.3870.267/Rider EAP.app
- var home = Environment.GetEnvironmentVariable("HOME");
- if (!string.IsNullOrEmpty(home))
- {
- var toolboxRiderRootPath = Path.Combine(home, @"Library/Application Support/JetBrains/Toolbox/apps/Rider");
- var paths = CollectPathsFromToolbox(toolboxRiderRootPath, "", "Rider*.app", true)
- .Select(a => new RiderInfo(a, true));
- results.AddRange(paths);
- }
-
- return results.ToArray();
- }
-
- internal static string GetBuildNumber(string path)
- {
- var file = new FileInfo(Path.Combine(path, GetRelativePathToBuildTxt()));
- if (!file.Exists)
- return string.Empty;
- var text = File.ReadAllText(file.FullName);
- if (text.Length > 3)
- return text.Substring(3);
- return string.Empty;
- }
-
- private static RiderInfo[] CollectRiderInfosWindows()
- {
- var localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
- var toolboxRiderRootPath = Path.Combine(localAppData, @"JetBrains\Toolbox\apps\Rider");
- var installPathsToolbox = CollectPathsFromToolbox(toolboxRiderRootPath, "bin", "rider64.exe", false).ToList();
- var installInfosToolbox = installPathsToolbox
- .Select(a => new RiderInfo(a, true)).ToList();
-
- var installPaths = new List();
- const string registryKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall";
- CollectPathsFromRegistry(registryKey, installPaths);
- const string wowRegistryKey = @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall";
- CollectPathsFromRegistry(wowRegistryKey, installPaths);
-
- var installInfos = installPaths
- .Select(a => new RiderInfo(a, false)).ToList();
- installInfos.AddRange(installInfosToolbox);
-
- return installInfos.ToArray();
- }
-
- private static string GetRelativePathToBuildTxt()
- {
- switch (SystemInfo.operatingSystemFamily)
- {
- case OperatingSystemFamily.Windows:
- case OperatingSystemFamily.Linux:
- return "../../build.txt";
- case OperatingSystemFamily.MacOSX:
- return "Contents/Resources/build.txt";
- }
- throw new Exception("Unknown OS");
- }
-
- private static void CollectPathsFromRegistry(string registryKey, List installPaths)
- {
- using (var key = Registry.LocalMachine.OpenSubKey(registryKey))
- {
- if (key == null) return;
- foreach (var subkeyName in key.GetSubKeyNames().Where(a => a.Contains("Rider")))
- {
- using (var subkey = key.OpenSubKey(subkeyName))
- {
- var folderObject = subkey?.GetValue("InstallLocation");
- if (folderObject == null) continue;
- var folder = folderObject.ToString();
- var possiblePath = Path.Combine(folder, @"bin\rider64.exe");
- if (File.Exists(possiblePath))
- installPaths.Add(possiblePath);
- }
- }
- }
- }
-
- private static string[] CollectPathsFromToolbox(string toolboxRiderRootPath, string dirName, string searchPattern,
- bool isMac)
- {
- if (!Directory.Exists(toolboxRiderRootPath))
- return new string[0];
-
- var channelDirs = Directory.GetDirectories(toolboxRiderRootPath);
- var paths = channelDirs.SelectMany(channelDir =>
- {
- try
- {
- // use history.json - last entry stands for the active build https://jetbrains.slack.com/archives/C07KNP99D/p1547807024066500?thread_ts=1547731708.057700&cid=C07KNP99D
- var historyFile = Path.Combine(channelDir, ".history.json");
- if (File.Exists(historyFile))
- {
- var json = File.ReadAllText(historyFile);
- var build = ToolboxHistory.GetLatestBuildFromJson(json);
- if (build != null)
- {
- var buildDir = Path.Combine(channelDir, build);
- var executablePaths = GetExecutablePaths(dirName, searchPattern, isMac, buildDir);
- if (executablePaths.Any())
- return executablePaths;
- }
- }
-
- var channelFile = Path.Combine(channelDir, ".channel.settings.json");
- if (File.Exists(channelFile))
- {
- var json = File.ReadAllText(channelFile).Replace("active-application", "active_application");
- var build = ToolboxInstallData.GetLatestBuildFromJson(json);
- if (build != null)
- {
- var buildDir = Path.Combine(channelDir, build);
- var executablePaths = GetExecutablePaths(dirName, searchPattern, isMac, buildDir);
- if (executablePaths.Any())
- return executablePaths;
- }
- }
-
- // changes in toolbox json files format may brake the logic above, so return all found Rider installations
- return Directory.GetDirectories(channelDir)
- .SelectMany(buildDir => GetExecutablePaths(dirName, searchPattern, isMac, buildDir));
- }
- catch (Exception e)
- {
- // do not write to Debug.Log, just log it.
- Logger.Warn($"Failed to get RiderPath from {channelDir}", e);
- }
-
- return new string[0];
- })
- .Where(c => !string.IsNullOrEmpty(c))
- .ToArray();
- return paths;
- }
-
- private static string[] GetExecutablePaths(string dirName, string searchPattern, bool isMac, string buildDir)
- {
- var folder = new DirectoryInfo(Path.Combine(buildDir, dirName));
- if (!folder.Exists)
- return new string[0];
-
- if (!isMac)
- return new[] {Path.Combine(folder.FullName, searchPattern)}.Where(File.Exists).ToArray();
- return folder.GetDirectories(searchPattern).Select(f => f.FullName)
- .Where(Directory.Exists).ToArray();
- }
-
- // Disable the "field is never assigned" compiler warning. We never assign it, but Unity does.
- // Note that Unity disable this warning in the generated C# projects
-#pragma warning disable 0649
-
- [Serializable]
- class ToolboxHistory
- {
- public List history;
-
- [CanBeNull]
- public static string GetLatestBuildFromJson(string json)
- {
- try
- {
-#if UNITY_4_7 || UNITY_5_5
- return JsonConvert.DeserializeObject(json).history.LastOrDefault()?.item.build;
-#else
- return JsonUtility.FromJson(json).history.LastOrDefault()?.item.build;
-#endif
- }
- catch (Exception)
- {
- Logger.Warn($"Failed to get latest build from json {json}");
- }
-
- return null;
- }
- }
-
- [Serializable]
- class ItemNode
- {
- public BuildNode item;
- }
-
- [Serializable]
- class BuildNode
- {
- public string build;
- }
-
- // ReSharper disable once ClassNeverInstantiated.Global
- [Serializable]
- class ToolboxInstallData
- {
- // ReSharper disable once InconsistentNaming
- public ActiveApplication active_application;
-
- [CanBeNull]
- public static string GetLatestBuildFromJson(string json)
- {
- try
- {
-#if UNITY_4_7 || UNITY_5_5
- var toolbox = JsonConvert.DeserializeObject(json);
-#else
- var toolbox = JsonUtility.FromJson(json);
-#endif
- var builds = toolbox.active_application.builds;
- if (builds != null && builds.Any())
- return builds.First();
- }
- catch (Exception)
- {
- Logger.Warn($"Failed to get latest build from json {json}");
- }
-
- return null;
- }
- }
-
- [Serializable]
- class ActiveApplication
- {
- // ReSharper disable once InconsistentNaming
- public List builds;
- }
-
-#pragma warning restore 0649
-
- public struct RiderInfo
- {
- public string Presentation;
- public string BuildVersion;
- public string Path;
-
- public RiderInfo(string path, bool isToolbox)
- {
- BuildVersion = GetBuildNumber(path);
- Path = new FileInfo(path).FullName; // normalize separators
- var presentation = "Rider " + BuildVersion;
- if (isToolbox)
- presentation += " (JetBrains Toolbox)";
-
- Presentation = presentation;
- }
- }
-
- private static class Logger
- {
- internal static void Warn(string message, Exception e = null)
- {
-#if RIDER_EDITOR_PLUGIN // can't be used in com.unity.ide.rider
- Log.GetLog(typeof(RiderPathLocator).Name).Warn(message);
- if (e != null)
- Log.GetLog(typeof(RiderPathLocator).Name).Warn(e);
-#else
- Debug.LogError(message);
- if (e != null)
- Debug.LogException(e);
-#endif
- }
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Discovery.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Discovery.cs.meta
deleted file mode 100644
index ea4ef85..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Discovery.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: dab656c79e1985c40b31faebcda44442
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/EditorPluginInterop.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/EditorPluginInterop.cs
deleted file mode 100644
index 1c09b83..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/EditorPluginInterop.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using UnityEngine;
-
-namespace Packages.Rider.Editor
-{
- public static class EditorPluginInterop
- {
- private static string ourEntryPointTypeName = "JetBrains.Rider.Unity.Editor.PluginEntryPoint";
-
- private static void DisableSyncSolutionOnceCallBack()
- {
- // RiderScriptableSingleton.Instance.CsprojProcessedOnce = true;
- // Otherwise EditorPlugin regenerates all on every AppDomain reload
- var assembly = GetEditorPluginAssembly();
- if (assembly == null) return;
- var type = assembly.GetType("JetBrains.Rider.Unity.Editor.Utils.RiderScriptableSingleton");
- if (type == null) return;
- var baseType = type.BaseType;
- if (baseType == null) return;
- var instance = baseType.GetProperty("Instance");
- if (instance == null) return;
- var instanceVal = instance.GetValue(null);
- var member = type.GetProperty("CsprojProcessedOnce");
- if (member==null) return;
- member.SetValue(instanceVal, true);
- }
-
- public static string LogPath
- {
- get
- {
- try
- {
- var assembly = GetEditorPluginAssembly();
- if (assembly == null) return null;
- var type = assembly.GetType(ourEntryPointTypeName);
- if (type == null) return null;
- var field = type.GetField("LogPath", BindingFlags.NonPublic | BindingFlags.Static);
- if (field == null) return null;
- return field.GetValue(null) as string;
- }
- catch (Exception)
- {
- Debug.Log("Unable to do OpenFile to Rider from dll, fallback to com.unity.ide.rider implementation.");
- }
-
- return null;
- }
- }
-
- public static bool OpenFileDllImplementation(string path, int line, int column)
- {
- var openResult = false;
- // reflection for fast OpenFileLineCol, when Rider is started and protocol connection is established
- try
- {
- var assembly = GetEditorPluginAssembly();
- if (assembly == null) return false;
- var type = assembly.GetType(ourEntryPointTypeName);
- if (type == null) return false;
- var field = type.GetField("OpenAssetHandler", BindingFlags.NonPublic | BindingFlags.Static);
- if (field == null) return false;
- var handlerInstance = field.GetValue(null);
- var method = handlerInstance.GetType()
- .GetMethod("OnOpenedAsset", new[] {typeof(string), typeof(int), typeof(int)});
- if (method == null) return false;
- var assetFilePath = path;
- if (!string.IsNullOrEmpty(path))
- assetFilePath = Path.GetFullPath(path);
-
- openResult = (bool) method.Invoke(handlerInstance, new object[] {assetFilePath, line, column});
- }
- catch (Exception e)
- {
- Debug.Log("Unable to do OpenFile to Rider from dll, fallback to com.unity.ide.rider implementation.");
- Debug.LogException(e);
- }
-
- return openResult;
- }
-
- public static Assembly GetEditorPluginAssembly()
- {
- var assemblies = AppDomain.CurrentDomain.GetAssemblies();
- var assembly = assemblies.FirstOrDefault(a => a.GetName().Name.Equals("JetBrains.Rider.Unity.Editor.Plugin.Full.Repacked"));
- return assembly;
- }
-
- public static bool EditorPluginIsLoadedFromAssets()
- {
- var currentDir = Directory.GetCurrentDirectory();
- var assembly = GetEditorPluginAssembly();
- if (assembly == null)
- return false;
- var location = assembly.Location;
- return location.StartsWith(currentDir, StringComparison.InvariantCultureIgnoreCase);
- }
-
-
- internal static void InitEntryPoint()
- {
- try
- {
- DisableSyncSolutionOnceCallBack(); // is require for Rider prior to 2019.2
-
- var type = GetEditorPluginAssembly().GetType("JetBrains.Rider.Unity.Editor.AfterUnity56.EntryPoint");
- if (type == null)
- type = GetEditorPluginAssembly().GetType("JetBrains.Rider.Unity.Editor.UnitTesting.EntryPoint"); // oldRider
- RuntimeHelpers.RunClassConstructor(type.TypeHandle);
- }
- catch (TypeInitializationException ex)
- {
- Debug.LogException(ex);
- if (ex.InnerException != null)
- Debug.LogException(ex.InnerException);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/EditorPluginInterop.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/EditorPluginInterop.cs.meta
deleted file mode 100644
index fda18d3..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/EditorPluginInterop.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f9bd02a3a916be64c9b47b1305149423
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/LoggingLevel.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/LoggingLevel.cs
deleted file mode 100644
index 19ef8ab..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/LoggingLevel.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-namespace Packages.Rider.Editor
-{
- public enum LoggingLevel
- {
- ///
- /// Do not use it in logging. Only in config to disable logging.
- ///
- OFF,
- /// For errors that lead to application failure
- FATAL,
- /// For errors that must be shown in Exception Browser
- ERROR,
- /// Suspicious situations but not errors
- WARN,
- /// Regular level for important events
- INFO,
- /// Additional info for debbuging
- VERBOSE,
- /// Methods & callstacks tracing, more than verbose
- TRACE,
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/LoggingLevel.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/LoggingLevel.cs.meta
deleted file mode 100644
index c0494f3..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/LoggingLevel.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 71bb46b59a9a7a346bbab1e185c723df
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/PluginSettings.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/PluginSettings.cs
deleted file mode 100644
index 0f15979..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/PluginSettings.cs
+++ /dev/null
@@ -1,153 +0,0 @@
-using System.Reflection;
-using Unity.CodeEditor;
-using UnityEditor;
-using UnityEngine;
-
-namespace Packages.Rider.Editor
-{
- public class PluginSettings
- {
- public static LoggingLevel SelectedLoggingLevel
- {
- get => (LoggingLevel) EditorPrefs.GetInt("Rider_SelectedLoggingLevel", 0);
- set
- {
- EditorPrefs.SetInt("Rider_SelectedLoggingLevel", (int) value);
- }
- }
-
- public static bool OverrideLangVersion
- {
- get { return EditorPrefs.GetBool("Rider_OverrideLangVersion", false); }
- private set { EditorPrefs.SetBool("Rider_OverrideLangVersion", value);; }
- }
-
- public static string LangVersion
- {
- get { return EditorPrefs.GetString("Rider_LangVersion", "4"); }
- private set { EditorPrefs.SetString("Rider_LangVersion", value); }
- }
-
- public static bool LogEventsCollectorEnabled
- {
- get { return EditorPrefs.GetBool("Rider_LogEventsCollectorEnabled", true); }
- private set { EditorPrefs.SetBool("Rider_LogEventsCollectorEnabled", value); }
- }
-
-
- private static GUIStyle ourVersionInfoStyle = new GUIStyle()
- {
- normal = new GUIStyleState()
- {
- textColor = new Color(0, 0, 0, .6f),
- },
- margin = new RectOffset(4, 4, 4, 4),
- };
-
- ///
- /// Preferences menu layout
- ///
- ///
- /// Contains all 3 toggles: Enable/Disable; Debug On/Off; Writing Launch File On/Off
- ///
- [SettingsProvider]
- private static SettingsProvider RiderPreferencesItem()
- {
- if (!RiderScriptEditor.IsRiderInstallation(RiderScriptEditor.CurrentEditor))
- return null;
- if (!RiderScriptEditor.ShouldLoadEditorPlugin(RiderScriptEditor.CurrentEditor))
- return null;
- var provider = new SettingsProvider("Preferences/Rider", SettingsScope.User)
- {
- label = "Rider",
- keywords = new[] { "Rider" },
- guiHandler = (searchContext) =>
- {
- EditorGUIUtility.labelWidth = 200f;
- EditorGUILayout.BeginVertical();
-
- GUILayout.BeginVertical();
- LogEventsCollectorEnabled =
- EditorGUILayout.Toggle(new GUIContent("Pass Console to Rider:"), LogEventsCollectorEnabled);
-
- GUILayout.EndVertical();
-
- OverrideLangVersion = EditorGUILayout.Toggle(new GUIContent("Override LangVersion:"), OverrideLangVersion);
- if (OverrideLangVersion)
- {
- var workaroundUrl = "https://gist.github.com/van800/875ce55eaf88d65b105d010d7b38a8d4";
- var workaroundText = "Use this workaround if overriding doesn't work.";
- var helpLangVersion = @"Avoid overriding, unless there is no particular need.";
-
- LangVersion =
- EditorGUILayout.TextField(
- new GUIContent("LangVersion:",
- helpLangVersion), LangVersion);
- LinkButton(caption: workaroundText, url: workaroundUrl);
- EditorGUILayout.HelpBox(helpLangVersion, MessageType.None);
- }
-
- GUILayout.Label("");
-
- if (!string.IsNullOrEmpty(EditorPluginInterop.LogPath))
- {
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PrefixLabel("Log file:");
- var previous = GUI.enabled;
- GUI.enabled = previous && SelectedLoggingLevel != LoggingLevel.OFF;
- var button = GUILayout.Button(new GUIContent("Open log"));
- if (button)
- {
- //UnityEditorInternal.InternalEditorUtility.OpenFileAtLineExternal(PluginEntryPoint.LogPath, 0);
- // works much faster than the commented code, when Rider is already started
- CodeEditor.CurrentEditor.OpenProject(EditorPluginInterop.LogPath, 0, 0);
- }
-
- GUI.enabled = previous;
- GUILayout.EndHorizontal();
- }
-
- var loggingMsg =
- @"Sets the amount of Rider Debug output. If you are about to report an issue, please select Verbose logging level and attach Unity console output to the issue.";
- SelectedLoggingLevel =
- (LoggingLevel) EditorGUILayout.EnumPopup(new GUIContent("Logging Level:", loggingMsg),
- SelectedLoggingLevel);
-
-
- EditorGUILayout.HelpBox(loggingMsg, MessageType.None);
-
- var githubRepo = "https://github.com/JetBrains/resharper-unity";
- var caption = $"{githubRepo}";
- LinkButton(caption: caption, url: githubRepo);
-
- GUILayout.FlexibleSpace();
- GUILayout.BeginHorizontal();
-
- GUILayout.FlexibleSpace();
- var version = Assembly.GetExecutingAssembly().GetName().Version;
- GUILayout.Label("Plugin version: " + version, ourVersionInfoStyle);
-
- GUILayout.EndHorizontal();
-
- EditorGUILayout.EndVertical();
- }
- };
- return provider;
- }
-
- private static void LinkButton(string caption, string url)
- {
- var style = GUI.skin.label;
- style.richText = true;
-
- var bClicked = GUILayout.Button(caption, style);
-
- var rect = GUILayoutUtility.GetLastRect();
- rect.width = style.CalcSize(new GUIContent(caption)).x;
- EditorGUIUtility.AddCursorRect(rect, MouseCursor.Link);
-
- if (bClicked)
- Application.OpenURL(url);
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/PluginSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/PluginSettings.cs.meta
deleted file mode 100644
index 279a4cc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/PluginSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1bfe12aa306c0c74db4f4f1a1a0ae5ce
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/ProjectGeneration.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/ProjectGeneration.cs
deleted file mode 100644
index 7b7cd03..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/ProjectGeneration.cs
+++ /dev/null
@@ -1,938 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Security;
-using System.Security.Cryptography;
-using System.Text;
-using System.Text.RegularExpressions;
-using Packages.Rider.Editor.Util;
-using UnityEditor;
-using UnityEditor.Compilation;
-using UnityEditor.PackageManager;
-using UnityEditorInternal;
-using UnityEngine;
-
-namespace Packages.Rider.Editor
-{
- public interface IGenerator
- {
- bool SyncIfNeeded(IEnumerable affectedFiles, IEnumerable reimportedFiles);
- void Sync();
- bool HasSolutionBeenGenerated();
- string SolutionFile();
- string ProjectDirectory { get; }
- void GenerateAll(bool generateAll);
- }
-
- public interface IAssemblyNameProvider
- {
- string GetAssemblyNameFromScriptPath(string path);
- IEnumerable GetAllAssemblies(Func shouldFileBePartOfSolution);
- IEnumerable GetAllAssetPaths();
- UnityEditor.PackageManager.PackageInfo FindForAssetPath(string assetPath);
- }
-
- public struct TestSettings
- {
- public bool ShouldSync;
- public Dictionary SyncPath;
- }
-
- class AssemblyNameProvider : IAssemblyNameProvider
- {
- public string GetAssemblyNameFromScriptPath(string path)
- {
- return CompilationPipeline.GetAssemblyNameFromScriptPath(path);
- }
-
- public IEnumerable GetAllAssemblies(Func shouldFileBePartOfSolution)
- {
- return CompilationPipeline.GetAssemblies()
- .Where(i => 0 < i.sourceFiles.Length && i.sourceFiles.Any(shouldFileBePartOfSolution));
- }
-
- public IEnumerable GetAllAssetPaths()
- {
- return AssetDatabase.GetAllAssetPaths();
- }
-
- public UnityEditor.PackageManager.PackageInfo FindForAssetPath(string assetPath)
- {
- return UnityEditor.PackageManager.PackageInfo.FindForAssetPath(assetPath);
- }
- }
-
-
- public class ProjectGeneration : IGenerator
- {
- enum ScriptingLanguage
- {
- None,
- CSharp
- }
-
- public static readonly string MSBuildNamespaceUri = "http://schemas.microsoft.com/developer/msbuild/2003";
-
- const string k_WindowsNewline = "\r\n";
-
- ///
- /// Map source extensions to ScriptingLanguages
- ///
- static readonly Dictionary k_BuiltinSupportedExtensions =
- new Dictionary
- {
- {"cs", ScriptingLanguage.CSharp},
- {"uxml", ScriptingLanguage.None},
- {"uss", ScriptingLanguage.None},
- {"shader", ScriptingLanguage.None},
- {"compute", ScriptingLanguage.None},
- {"cginc", ScriptingLanguage.None},
- {"hlsl", ScriptingLanguage.None},
- {"glslinc", ScriptingLanguage.None}
- };
-
- string m_SolutionProjectEntryTemplate = string.Join("\r\n",
- @"Project(""{{{0}}}"") = ""{1}"", ""{2}"", ""{{{3}}}""",
- @"EndProject").Replace(" ", "\t");
-
- string m_SolutionProjectConfigurationTemplate = string.Join("\r\n",
- @" {{{0}}}.Debug|Any CPU.ActiveCfg = Debug|Any CPU",
- @" {{{0}}}.Debug|Any CPU.Build.0 = Debug|Any CPU",
- @" {{{0}}}.Release|Any CPU.ActiveCfg = Release|Any CPU",
- @" {{{0}}}.Release|Any CPU.Build.0 = Release|Any CPU").Replace(" ", "\t");
-
- static readonly string[] k_ReimportSyncExtensions = {".dll", ".asmdef"};
-
- ///
- /// Map ScriptingLanguages to project extensions
- ///
- /*static readonly Dictionary k_ProjectExtensions = new Dictionary
- {
- { ScriptingLanguage.CSharp, ".csproj" },
- { ScriptingLanguage.None, ".csproj" },
- };*/
- static readonly Regex k_ScriptReferenceExpression = new Regex(
- @"^Library.ScriptAssemblies.(?(?.*)\.dll$)",
- RegexOptions.Compiled | RegexOptions.IgnoreCase);
-
- string[] m_ProjectSupportedExtensions = new string[0];
- bool m_ShouldGenerateAll;
-
- public string ProjectDirectory { get; }
-
- public void GenerateAll(bool generateAll)
- {
- m_ShouldGenerateAll = generateAll;
- }
-
- public TestSettings Settings { get; set; }
- readonly string m_ProjectName;
- readonly IAssemblyNameProvider m_AssemblyNameProvider;
-
- const string k_ToolsVersion = "4.0";
- const string k_ProductVersion = "10.0.20506";
- const string k_BaseDirectory = ".";
- const string k_TargetFrameworkVersion = "v4.7.1";
- const string k_TargetLanguageVersion = "latest";
-
- public ProjectGeneration() : this(Directory.GetParent(Application.dataPath).FullName, new AssemblyNameProvider())
- {
- }
-
- public ProjectGeneration(string tempDirectory) : this(tempDirectory, new AssemblyNameProvider())
- {
- }
-
- public ProjectGeneration(string tempDirectory, IAssemblyNameProvider assemblyNameProvider)
- {
- Settings = new TestSettings {ShouldSync = true};
- ProjectDirectory = tempDirectory.Replace('\\', '/');
- m_ProjectName = Path.GetFileName(ProjectDirectory);
- m_AssemblyNameProvider = assemblyNameProvider;
- }
-
- ///
- /// Syncs the scripting solution if any affected files are relevant.
- ///
- ///
- /// Whether the solution was synced.
- ///
- ///
- /// A set of files whose status has changed
- ///
- ///
- /// A set of files that got reimported
- ///
- public bool SyncIfNeeded(IEnumerable affectedFiles, IEnumerable reimportedFiles)
- {
- SetupProjectSupportedExtensions();
-
- if (HasFilesBeenModified(affectedFiles, reimportedFiles))
- {
- Sync();
- return true;
- }
-
- return false;
- }
-
- bool HasFilesBeenModified(IEnumerable affectedFiles, IEnumerable reimportedFiles)
- {
- return affectedFiles.Any(ShouldFileBePartOfSolution) || reimportedFiles.Any(ShouldSyncOnReimportedAsset);
- }
-
- static bool ShouldSyncOnReimportedAsset(string asset)
- {
- return k_ReimportSyncExtensions.Contains(new FileInfo(asset).Extension);
- }
-
- public void Sync()
- {
- SetupProjectSupportedExtensions();
- var types = GetAssetPostprocessorTypes();
- bool externalCodeAlreadyGeneratedProjects = OnPreGeneratingCSProjectFiles(types);
-
- if (!externalCodeAlreadyGeneratedProjects)
- {
- GenerateAndWriteSolutionAndProjects(types);
- }
-
- OnGeneratedCSProjectFiles(types);
- }
-
- public bool HasSolutionBeenGenerated()
- {
- return File.Exists(SolutionFile());
- }
-
- void SetupProjectSupportedExtensions()
- {
- m_ProjectSupportedExtensions = EditorSettings.projectGenerationUserExtensions;
- }
-
- bool ShouldFileBePartOfSolution(string file)
- {
- string extension = Path.GetExtension(file);
-
- // Exclude files coming from packages except if they are internalized.
- if (!m_ShouldGenerateAll && IsInternalizedPackagePath(file))
- {
- return false;
- }
-
- // Dll's are not scripts but still need to be included..
- if (extension == ".dll")
- return true;
-
- if (file.ToLower().EndsWith(".asmdef"))
- return true;
-
- return IsSupportedExtension(extension);
- }
-
- bool IsSupportedExtension(string extension)
- {
- extension = extension.TrimStart('.');
- if (k_BuiltinSupportedExtensions.ContainsKey(extension))
- return true;
- if (m_ProjectSupportedExtensions.Contains(extension))
- return true;
- return false;
- }
-
- static ScriptingLanguage ScriptingLanguageFor(Assembly island)
- {
- return ScriptingLanguageFor(GetExtensionOfSourceFiles(island.sourceFiles));
- }
-
- static string GetExtensionOfSourceFiles(string[] files)
- {
- return files.Length > 0 ? GetExtensionOfSourceFile(files[0]) : "NA";
- }
-
- static string GetExtensionOfSourceFile(string file)
- {
- var ext = Path.GetExtension(file).ToLower();
- ext = ext.Substring(1); //strip dot
- return ext;
- }
-
- static ScriptingLanguage ScriptingLanguageFor(string extension)
- {
- return k_BuiltinSupportedExtensions.TryGetValue(extension.TrimStart('.'), out var result)
- ? result
- : ScriptingLanguage.None;
- }
-
- public void GenerateAndWriteSolutionAndProjects(Type[] types)
- {
- // Only synchronize islands that have associated source files and ones that we actually want in the project.
- // This also filters out DLLs coming from .asmdef files in packages.
- var assemblies = m_AssemblyNameProvider.GetAllAssemblies(ShouldFileBePartOfSolution);
-
- var allAssetProjectParts = GenerateAllAssetProjectParts();
-
- var monoIslands = assemblies.ToList();
-
- SyncSolution(monoIslands, types);
- var allProjectIslands = RelevantIslandsForMode(monoIslands).ToList();
- foreach (Assembly assembly in allProjectIslands)
- {
- var responseFileData = ParseResponseFileData(assembly);
- SyncProject(assembly, allAssetProjectParts, responseFileData, allProjectIslands, types);
- }
- }
-
- IEnumerable ParseResponseFileData(Assembly assembly)
- {
- var systemReferenceDirectories =
- CompilationPipeline.GetSystemAssemblyDirectories(assembly.compilerOptions.ApiCompatibilityLevel);
-
- Dictionary responseFilesData = assembly.compilerOptions.ResponseFiles.ToDictionary(
- x => x, x => CompilationPipeline.ParseResponseFile(
- Path.Combine(ProjectDirectory, x),
- ProjectDirectory,
- systemReferenceDirectories
- ));
-
- Dictionary responseFilesWithErrors = responseFilesData.Where(x => x.Value.Errors.Any())
- .ToDictionary(x => x.Key, x => x.Value);
-
- if (responseFilesWithErrors.Any())
- {
- foreach (var error in responseFilesWithErrors)
- foreach (var valueError in error.Value.Errors)
- {
- Debug.LogError($"{error.Key} Parse Error : {valueError}");
- }
- }
-
- return responseFilesData.Select(x => x.Value);
- }
-
- Dictionary GenerateAllAssetProjectParts()
- {
- Dictionary stringBuilders = new Dictionary();
-
- foreach (string asset in m_AssemblyNameProvider.GetAllAssetPaths())
- {
- // Exclude files coming from packages except if they are internalized.
- if (!m_ShouldGenerateAll && IsInternalizedPackagePath(asset))
- {
- continue;
- }
-
- string extension = Path.GetExtension(asset);
- if (IsSupportedExtension(extension) && ScriptingLanguage.None == ScriptingLanguageFor(extension))
- {
- // Find assembly the asset belongs to by adding script extension and using compilation pipeline.
- var assemblyName = m_AssemblyNameProvider.GetAssemblyNameFromScriptPath(asset + ".cs");
-
- if (string.IsNullOrEmpty(assemblyName))
- {
- continue;
- }
-
- assemblyName = FileSystemUtil.FileNameWithoutExtension(assemblyName);
-
- if (!stringBuilders.TryGetValue(assemblyName, out var projectBuilder))
- {
- projectBuilder = new StringBuilder();
- stringBuilders[assemblyName] = projectBuilder;
- }
-
- projectBuilder.Append(" ")
- .Append(k_WindowsNewline);
- }
- }
-
- var result = new Dictionary();
-
- foreach (var entry in stringBuilders)
- result[entry.Key] = entry.Value.ToString();
-
- return result;
- }
-
- bool IsInternalizedPackagePath(string file)
- {
- if (string.IsNullOrWhiteSpace(file))
- {
- return false;
- }
-
- var packageInfo = m_AssemblyNameProvider.FindForAssetPath(file);
- if (packageInfo == null)
- {
- return false;
- }
-
- var packageSource = packageInfo.source;
- return packageSource != PackageSource.Embedded && packageSource != PackageSource.Local;
- }
-
- void SyncProject(
- Assembly island,
- Dictionary allAssetsProjectParts,
- IEnumerable responseFilesData,
- List allProjectIslands,
- Type[] types)
- {
- SyncProjectFileIfNotChanged(ProjectFile(island),
- ProjectText(island, allAssetsProjectParts, responseFilesData, allProjectIslands), types);
- }
-
- void SyncProjectFileIfNotChanged(string path, string newContents, Type[] types)
- {
- if (Path.GetExtension(path) == ".csproj")
- {
- newContents = OnGeneratedCSProject(path, newContents, types);
- }
-
- SyncFileIfNotChanged(path, newContents);
- }
-
- void SyncSolutionFileIfNotChanged(string path, string newContents, Type[] types)
- {
- newContents = OnGeneratedSlnSolution(path, newContents, types);
-
- SyncFileIfNotChanged(path, newContents);
- }
-
- static List SafeGetTypes(System.Reflection.Assembly a)
- {
- List ret;
-
- try
- {
- ret = a.GetTypes().ToList();
- }
- catch (System.Reflection.ReflectionTypeLoadException rtl)
- {
- ret = rtl.Types.ToList();
- }
- catch (Exception)
- {
- return new List();
- }
-
- return ret.Where(r => r != null).ToList();
- }
-
- static void OnGeneratedCSProjectFiles(Type[] types)
- {
- var args = new object[0];
- foreach (var type in types)
- {
- var method = type.GetMethod("OnGeneratedCSProjectFiles",
- System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic |
- System.Reflection.BindingFlags.Static);
- if (method == null)
- {
- continue;
- }
-
- method.Invoke(null, args);
- }
- }
-
- public static Type[] GetAssetPostprocessorTypes()
- {
- return TypeCache.GetTypesDerivedFrom().ToArray(); // doesn't find types from EditorPlugin, which is fine
- }
-
- static bool OnPreGeneratingCSProjectFiles(Type[] types)
- {
- bool result = false;
- foreach (var type in types)
- {
- var args = new object[0];
- var method = type.GetMethod("OnPreGeneratingCSProjectFiles",
- System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic |
- System.Reflection.BindingFlags.Static);
- if (method == null)
- {
- continue;
- }
-
- var returnValue = method.Invoke(null, args);
- if (method.ReturnType == typeof(bool))
- {
- result |= (bool) returnValue;
- }
- }
-
- return result;
- }
-
- static string OnGeneratedCSProject(string path, string content, Type[] types)
- {
- foreach (var type in types)
- {
- var args = new[] {path, content};
- var method = type.GetMethod("OnGeneratedCSProject",
- System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic |
- System.Reflection.BindingFlags.Static);
- if (method == null)
- {
- continue;
- }
-
- var returnValue = method.Invoke(null, args);
- if (method.ReturnType == typeof(string))
- {
- content = (string) returnValue;
- }
- }
-
- return content;
- }
-
- static string OnGeneratedSlnSolution(string path, string content, Type[] types)
- {
- foreach (var type in types)
- {
- var args = new[] {path, content};
- var method = type.GetMethod("OnGeneratedSlnSolution",
- System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic |
- System.Reflection.BindingFlags.Static);
- if (method == null)
- {
- continue;
- }
-
- var returnValue = method.Invoke(null, args);
- if (method.ReturnType == typeof(string))
- {
- content = (string) returnValue;
- }
- }
-
- return content;
- }
-
- void SyncFileIfNotChanged(string filename, string newContents)
- {
- if (File.Exists(filename) &&
- newContents == File.ReadAllText(filename))
- {
- return;
- }
-
- if (Settings.ShouldSync)
- {
- File.WriteAllText(filename, newContents, Encoding.UTF8);
- }
- else
- {
- var utf8 = Encoding.UTF8;
- byte[] utfBytes = utf8.GetBytes(newContents);
- Settings.SyncPath[filename] = utf8.GetString(utfBytes, 0, utfBytes.Length);
- }
- }
-
- string ProjectText(Assembly assembly,
- Dictionary allAssetsProjectParts,
- IEnumerable responseFilesData,
- List allProjectIslands)
- {
- var projectBuilder = new StringBuilder(ProjectHeader(assembly, responseFilesData));
- var references = new List();
- var projectReferences = new List();
-
- foreach (string file in assembly.sourceFiles)
- {
- if (!ShouldFileBePartOfSolution(file))
- continue;
-
- var extension = Path.GetExtension(file).ToLower();
- var fullFile = EscapedRelativePathFor(file);
- if (".dll" != extension)
- {
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- }
- else
- {
- references.Add(fullFile);
- }
- }
-
- var assemblyName = FileSystemUtil.FileNameWithoutExtension(assembly.outputPath);
-
- // Append additional non-script files that should be included in project generation.
- if (allAssetsProjectParts.TryGetValue(assemblyName, out var additionalAssetsForProject))
- projectBuilder.Append(additionalAssetsForProject);
-
- var islandRefs = references.Union(assembly.allReferences);
-
- foreach (string reference in islandRefs)
- {
- if (reference.EndsWith("/UnityEditor.dll", StringComparison.Ordinal)
- || reference.EndsWith("/UnityEngine.dll", StringComparison.Ordinal)
- || reference.EndsWith("\\UnityEditor.dll", StringComparison.Ordinal)
- || reference.EndsWith("\\UnityEngine.dll", StringComparison.Ordinal))
- continue;
-
- var match = k_ScriptReferenceExpression.Match(reference);
- if (match.Success)
- {
- // assume csharp language
- // Add a reference to a project except if it's a reference to a script assembly
- // that we are not generating a project for. This will be the case for assemblies
- // coming from .assembly.json files in non-internalized packages.
- var dllName = match.Groups["dllname"].Value;
- if (allProjectIslands.Any(i => Path.GetFileName(i.outputPath) == dllName))
- {
- projectReferences.Add(match);
- continue;
- }
- }
-
- string fullReference = Path.IsPathRooted(reference) ? reference : Path.Combine(ProjectDirectory, reference);
-
- AppendReference(fullReference, projectBuilder);
- }
-
- var responseRefs = responseFilesData.SelectMany(x => x.FullPathReferences.Select(r => r));
- foreach (var reference in responseRefs)
- {
- AppendReference(reference, projectBuilder);
- }
-
- if (0 < projectReferences.Count)
- {
- projectBuilder.AppendLine(" ");
- projectBuilder.AppendLine(" ");
- foreach (Match reference in projectReferences)
- {
- var referencedProject = reference.Groups["project"].Value;
-
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- projectBuilder.Append(" {")
- .Append(ProjectGuid(Path.Combine("Temp", reference.Groups["project"].Value + ".dll"))).Append("}")
- .Append(k_WindowsNewline);
- projectBuilder.Append(" ").Append(referencedProject).Append("").Append(k_WindowsNewline);
- projectBuilder.AppendLine(" ");
- }
- }
-
- projectBuilder.Append(ProjectFooter());
- return projectBuilder.ToString();
- }
-
- static void AppendReference(string fullReference, StringBuilder projectBuilder)
- {
- //replace \ with / and \\ with /
- var escapedFullPath = SecurityElement.Escape(fullReference);
- escapedFullPath = escapedFullPath.Replace("\\\\", "/").Replace("\\", "/");
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- projectBuilder.Append(" ").Append(escapedFullPath).Append("").Append(k_WindowsNewline);
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- }
-
- public string ProjectFile(Assembly assembly)
- {
- return Path.Combine(ProjectDirectory, $"{FileSystemUtil.FileNameWithoutExtension(assembly.outputPath)}.csproj");
- }
-
- public string SolutionFile()
- {
- return Path.Combine(ProjectDirectory, $"{m_ProjectName}.sln");
- }
-
- string ProjectHeader(
- Assembly island,
- IEnumerable responseFilesData
- )
- {
- var arguments = new object[]
- {
- k_ToolsVersion, k_ProductVersion, ProjectGuid(island.outputPath),
- InternalEditorUtility.GetEngineAssemblyPath(),
- InternalEditorUtility.GetEditorAssemblyPath(),
- string.Join(";",
- new[] {"DEBUG", "TRACE"}.Concat(EditorUserBuildSettings.activeScriptCompilationDefines).Concat(island.defines)
- .Concat(responseFilesData.SelectMany(x => x.Defines)).Distinct().ToArray()),
- MSBuildNamespaceUri,
- FileSystemUtil.FileNameWithoutExtension(island.outputPath),
- EditorSettings.projectGenerationRootNamespace,
- k_TargetFrameworkVersion,
- PluginSettings.OverrideLangVersion?PluginSettings.LangVersion:k_TargetLanguageVersion,
- k_BaseDirectory,
- island.compilerOptions.AllowUnsafeCode | responseFilesData.Any(x => x.Unsafe)
- };
-
- try
- {
- return string.Format(GetProjectHeaderTemplate(), arguments);
- }
- catch (Exception)
- {
- throw new NotSupportedException(
- "Failed creating c# project because the c# project header did not have the correct amount of arguments, which is " +
- arguments.Length);
- }
- }
-
- static string GetSolutionText()
- {
- return string.Join("\r\n",
- @"",
- @"Microsoft Visual Studio Solution File, Format Version {0}",
- @"# Visual Studio {1}",
- @"{2}",
- @"Global",
- @" GlobalSection(SolutionConfigurationPlatforms) = preSolution",
- @" Debug|Any CPU = Debug|Any CPU",
- @" Release|Any CPU = Release|Any CPU",
- @" EndGlobalSection",
- @" GlobalSection(ProjectConfigurationPlatforms) = postSolution",
- @"{3}",
- @" EndGlobalSection",
- @" GlobalSection(SolutionProperties) = preSolution",
- @" HideSolutionNode = FALSE",
- @" EndGlobalSection",
- @"EndGlobal",
- @"").Replace(" ", "\t");
- }
-
- static string GetProjectFooterTemplate()
- {
- return string.Join("\r\n",
- @" ",
- @" ",
- @" ",
- @"",
- @"");
- }
-
- static string GetProjectHeaderTemplate()
- {
- var header = new[]
- {
- @"",
- @"",
- @" ",
- @" {10}",
- @" <_TargetFrameworkDirectories>non_empty_path_generated_by_unity.rider.package",
- @" <_FullFrameworkReferenceAssemblyPaths>non_empty_path_generated_by_unity.rider.package",
- @" true",
- @" ",
- @" ",
- @" Debug",
- @" AnyCPU",
- @" {1}",
- @" 2.0",
- @" {8}",
- @" {{{2}}}",
- @" Library",
- @" Properties",
- @" {7}",
- @" {9}",
- @" 512",
- @" {11}",
- @" ",
- @" ",
- @" true",
- @" full",
- @" false",
- @" Temp\bin\Debug\",
- @" {5}",
- @" prompt",
- @" 4",
- @" 0169",
- @" {12}",
- @" ",
- @" ",
- @" pdbonly",
- @" true",
- @" Temp\bin\Release\",
- @" prompt",
- @" 4",
- @" 0169",
- @" {12}",
- @" "
- };
-
- var forceExplicitReferences = new[]
- {
- @" ",
- @" true",
- @" true",
- @" false",
- @" false",
- @" false",
- @" "
- };
-
- var itemGroupStart = new[]
- {
- @" "
- };
-
- var footer = new[]
- {
- @" ",
- @" {3}",
- @" ",
- @" ",
- @" {4}",
- @" ",
- @" ",
- @" ",
- @""
- };
-
- var text = header.Concat(forceExplicitReferences).Concat(itemGroupStart).Concat(footer).ToArray();
- return string.Join("\r\n", text);
- }
-
- void SyncSolution(IEnumerable islands, Type[] types)
- {
- SyncSolutionFileIfNotChanged(SolutionFile(), SolutionText(islands), types);
- }
-
- string SolutionText(IEnumerable islands)
- {
- var fileversion = "11.00";
- var vsversion = "2010";
-
- var relevantIslands = RelevantIslandsForMode(islands);
- string projectEntries = GetProjectEntries(relevantIslands);
- string projectConfigurations = string.Join(k_WindowsNewline,
- relevantIslands.Select(i => GetProjectActiveConfigurations(ProjectGuid(i.outputPath))).ToArray());
- return string.Format(GetSolutionText(), fileversion, vsversion, projectEntries, projectConfigurations);
- }
-
- static IEnumerable RelevantIslandsForMode(IEnumerable islands)
- {
- IEnumerable relevantIslands = islands.Where(i => ScriptingLanguage.CSharp == ScriptingLanguageFor(i));
- return relevantIslands;
- }
-
- ///
- /// Get a Project("{guid}") = "MyProject", "MyProject.unityproj", "{projectguid}"
- /// entry for each relevant language
- ///
- string GetProjectEntries(IEnumerable islands)
- {
- var projectEntries = islands.Select(i => string.Format(
- m_SolutionProjectEntryTemplate,
- SolutionGuid(i), FileSystemUtil.FileNameWithoutExtension(i.outputPath), Path.GetFileName(ProjectFile(i)),
- ProjectGuid(i.outputPath)
- ));
-
- return string.Join(k_WindowsNewline, projectEntries.ToArray());
- }
-
- ///
- /// Generate the active configuration string for a given project guid
- ///
- string GetProjectActiveConfigurations(string projectGuid)
- {
- return string.Format(
- m_SolutionProjectConfigurationTemplate,
- projectGuid);
- }
-
- string EscapedRelativePathFor(string file)
- {
- var projectDir = ProjectDirectory.Replace('/', '\\');
- file = file.Replace('/', '\\');
- var path = SkipPathPrefix(file, projectDir);
-
- var packageInfo = m_AssemblyNameProvider.FindForAssetPath(path.Replace('\\', '/'));
- if (packageInfo != null)
- {
- // We have to normalize the path, because the PackageManagerRemapper assumes
- // dir seperators will be os specific.
- var absolutePath = Path.GetFullPath(NormalizePath(path)).Replace('/', '\\');
- path = SkipPathPrefix(absolutePath, projectDir);
- }
-
- return SecurityElement.Escape(path);
- }
-
- static string SkipPathPrefix(string path, string prefix)
- {
- if (path.Replace("\\", "/").StartsWith($"{prefix}/"))
- return path.Substring(prefix.Length + 1);
- return path;
- }
-
- static string NormalizePath(string path)
- {
- if (Path.DirectorySeparatorChar == '\\')
- return path.Replace('/', Path.DirectorySeparatorChar);
- return path.Replace('\\', Path.DirectorySeparatorChar);
- }
-
-
- string ProjectGuid(string assembly)
- {
- return SolutionGuidGenerator.GuidForProject(m_ProjectName + FileSystemUtil.FileNameWithoutExtension(assembly));
- }
-
- string SolutionGuid(Assembly island)
- {
- return SolutionGuidGenerator.GuidForSolution(m_ProjectName, GetExtensionOfSourceFiles(island.sourceFiles));
- }
-
- static string ProjectFooter()
- {
- return GetProjectFooterTemplate();
- }
-
- static string GetProjectExtension()
- {
- return ".csproj";
- }
- }
-
- public static class SolutionGuidGenerator
- {
- public static string GuidForProject(string projectName)
- {
- return ComputeGuidHashFor(projectName + "salt");
- }
-
- public static string GuidForSolution(string projectName, string sourceFileExtension)
- {
- if (sourceFileExtension.ToLower() == "cs")
- // GUID for a C# class library: http://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs
- return "FAE04EC0-301F-11D3-BF4B-00C04F79EFBC";
-
- return ComputeGuidHashFor(projectName);
- }
-
- static string ComputeGuidHashFor(string input)
- {
- var hash = MD5.Create().ComputeHash(Encoding.Default.GetBytes(input));
- return HashAsGuid(HashToString(hash));
- }
-
- static string HashAsGuid(string hash)
- {
- var guid = hash.Substring(0, 8) + "-" + hash.Substring(8, 4) + "-" + hash.Substring(12, 4) + "-" +
- hash.Substring(16, 4) + "-" + hash.Substring(20, 12);
- return guid.ToUpper();
- }
-
- static string HashToString(byte[] bs)
- {
- var sb = new StringBuilder();
- foreach (byte b in bs)
- sb.Append(b.ToString("x2"));
- return sb.ToString();
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/ProjectGeneration.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/ProjectGeneration.cs.meta
deleted file mode 100644
index d7faab9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/ProjectGeneration.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8df45492ff0815a488744d61efcecba7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderInitializer.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderInitializer.cs
deleted file mode 100644
index f70b792..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderInitializer.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using System.Reflection;
-using UnityEngine;
-
-namespace Packages.Rider.Editor
-{
- internal class RiderInitializer
- {
- public void Initialize(string editorPath)
- {
- if (EditorPluginInterop.EditorPluginIsLoadedFromAssets())
- {
- Debug.LogError($"Please delete {EditorPluginInterop.GetEditorPluginAssembly().Location}. Unity 2019.2+ loads it directly from Rider installation. To disable this, open Rider's settings, search and uncheck 'Automatically install and update Rider's Unity editor plugin'.");
- return;
- }
-
- var dllName = "JetBrains.Rider.Unity.Editor.Plugin.Full.Repacked.dll";
- var relPath = "../../plugins/rider-unity/EditorPlugin";
- if (SystemInfo.operatingSystemFamily == OperatingSystemFamily.MacOSX)
- relPath = "Contents/plugins/rider-unity/EditorPlugin";
- var dllFile = new FileInfo(Path.Combine(Path.Combine(editorPath, relPath), dllName));
-
- if (dllFile.Exists)
- {
- // doesn't lock assembly on disk
- var bytes = File.ReadAllBytes(dllFile.FullName);
- var pdbFile = new FileInfo(Path.ChangeExtension(dllFile.FullName, ".pdb"));
- if (pdbFile.Exists)
- {
- AppDomain.CurrentDomain.Load(bytes, File.ReadAllBytes(pdbFile.FullName));
- }
- else
- {
- AppDomain.CurrentDomain.Load(bytes);
- // AppDomain.CurrentDomain.Load(AssemblyName.GetAssemblyName(dllFile.FullName)); // use this for external source debug
- }
- EditorPluginInterop.InitEntryPoint();
- }
- else
- {
- Debug.Log((object) ($"Unable to find Rider EditorPlugin {dllFile.FullName} for Unity "));
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderInitializer.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderInitializer.cs.meta
deleted file mode 100644
index 11d46bc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderInitializer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f5a0cc9645f0e2d4fb816156dcf3f4dd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditor.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditor.cs
deleted file mode 100644
index 190ed66..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditor.cs
+++ /dev/null
@@ -1,344 +0,0 @@
-using System;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using Packages.Rider.Editor.Util;
-using Unity.CodeEditor;
-using UnityEditor;
-using UnityEngine;
-using Debug = UnityEngine.Debug;
-
-namespace Packages.Rider.Editor
-{
- [InitializeOnLoad]
- public class RiderScriptEditor : IExternalCodeEditor
- {
- IDiscovery m_Discoverability;
- IGenerator m_ProjectGeneration;
- RiderInitializer m_Initiliazer = new RiderInitializer();
-
- static RiderScriptEditor()
- {
- try
- {
- var projectGeneration = new ProjectGeneration();
- var editor = new RiderScriptEditor(new Discovery(), projectGeneration);
- CodeEditor.Register(editor);
-
- var path = GetEditorRealPath(CodeEditor.CurrentEditorInstallation);
- if (IsRiderInstallation(path))
- {
- if (!FileSystemUtil.EditorPathExists(path)) // previously used rider was removed
- {
- var newEditor = editor.Installations.Last().Path;
- CodeEditor.SetExternalScriptEditor(newEditor);
- path = newEditor;
- }
-
- editor.CreateSolutionIfDoesntExist();
- if (ShouldLoadEditorPlugin(path))
- {
- editor.m_Initiliazer.Initialize(path);
- }
-
- InitProjectFilesWatcher();
- }
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- }
-
- private static void InitProjectFilesWatcher()
- {
- var watcher = new FileSystemWatcher();
- watcher.Path = Directory.GetCurrentDirectory();
- watcher.NotifyFilter = NotifyFilters.LastWrite; //Watch for changes in LastWrite times
- watcher.Filter = "*.*";
-
- // Add event handlers.
- watcher.Changed += OnChanged;
- watcher.Created += OnChanged;
-
- watcher.EnableRaisingEvents = true; // Begin watching.
-
- AppDomain.CurrentDomain.DomainUnload += (EventHandler) ((_, __) =>
- {
- watcher.Dispose();
- });
- }
-
- private static void OnChanged(object sender, FileSystemEventArgs e)
- {
- var extension = Path.GetExtension(e.FullPath);
- if (extension == ".sln" || extension == ".csproj")
- RiderScriptEditorData.instance.HasChanges = true;
- }
-
- private static string GetEditorRealPath(string path)
- {
- if (string.IsNullOrEmpty(path))
- {
- return path;
- }
-
- if (!FileSystemUtil.EditorPathExists(path))
- return path;
-
- if (SystemInfo.operatingSystemFamily != OperatingSystemFamily.Windows)
- {
- var realPath = FileSystemUtil.GetFinalPathName(path);
-
- // case of snap installation
- if (SystemInfo.operatingSystemFamily == OperatingSystemFamily.Linux)
- {
- if (new FileInfo(path).Name.ToLowerInvariant() == "rider" &&
- new FileInfo(realPath).Name.ToLowerInvariant() == "snap")
- {
- var snapInstallPath = "/snap/rider/current/bin/rider.sh";
- if (new FileInfo(snapInstallPath).Exists)
- return snapInstallPath;
- }
- }
-
- // in case of symlink
- return realPath;
- }
-
- return path;
- }
-
- const string unity_generate_all = "unity_generate_all_csproj";
-
- public RiderScriptEditor(IDiscovery discovery, IGenerator projectGeneration)
- {
- m_Discoverability = discovery;
- m_ProjectGeneration = projectGeneration;
- }
-
- private static string[] defaultExtensions
- {
- get
- {
- var customExtensions = new[] {"json", "asmdef", "log"};
- return EditorSettings.projectGenerationBuiltinExtensions.Concat(EditorSettings.projectGenerationUserExtensions)
- .Concat(customExtensions).Distinct().ToArray();
- }
- }
-
- private static string[] HandledExtensions
- {
- get
- {
- return HandledExtensionsString.Split(new[] {';'}, StringSplitOptions.RemoveEmptyEntries).Select(s => s.TrimStart('.', '*'))
- .ToArray();
- }
- }
-
- private static string HandledExtensionsString
- {
- get { return EditorPrefs.GetString("Rider_UserExtensions", string.Join(";", defaultExtensions));}
- set { EditorPrefs.SetString("Rider_UserExtensions", value); }
- }
-
- private static bool SupportsExtension(string path)
- {
- var extension = Path.GetExtension(path);
- if (string.IsNullOrEmpty(extension))
- return false;
- return HandledExtensions.Contains(extension.TrimStart('.'));
- }
-
- public void OnGUI()
- {
- var prevGenerate = EditorPrefs.GetBool(unity_generate_all, false);
- var generateAll = EditorGUILayout.Toggle("Generate all .csproj files.", prevGenerate);
- if (generateAll != prevGenerate)
- {
- EditorPrefs.SetBool(unity_generate_all, generateAll);
- }
-
- m_ProjectGeneration.GenerateAll(generateAll);
-
- if (ShouldLoadEditorPlugin(CurrentEditor))
- {
- HandledExtensionsString = EditorGUILayout.TextField(new GUIContent("Extensions handled: "), HandledExtensionsString);
- }
- }
-
- public void SyncIfNeeded(string[] addedFiles, string[] deletedFiles, string[] movedFiles, string[] movedFromFiles,
- string[] importedFiles)
- {
- m_ProjectGeneration.SyncIfNeeded(addedFiles.Union(deletedFiles).Union(movedFiles).Union(movedFromFiles),
- importedFiles);
- }
-
- public void SyncAll()
- {
- AssetDatabase.Refresh();
- if (RiderScriptEditorData.instance.HasChanges)
- {
- m_ProjectGeneration.Sync();
- RiderScriptEditorData.instance.HasChanges = false;
- }
- }
-
- public void Initialize(string editorInstallationPath) // is called each time ExternalEditor is changed
- {
- m_ProjectGeneration.Sync(); // regenerate csproj and sln for new editor
- }
-
- public bool OpenProject(string path, int line, int column)
- {
- if (path != "" && !SupportsExtension(path)) // Assets - Open C# Project passes empty path here
- {
- return false;
- }
-
- if (path == "" && SystemInfo.operatingSystemFamily == OperatingSystemFamily.MacOSX)
- {
- // there is a bug in DllImplementation - use package implementation here instead https://github.cds.internal.unity3d.com/unity/com.unity.ide.rider/issues/21
- return OpenOSXApp(path, line, column);
- }
-
- if (!IsUnityScript(path))
- {
- var fastOpenResult = EditorPluginInterop.OpenFileDllImplementation(path, line, column);
- if (fastOpenResult)
- return true;
- }
-
- if (SystemInfo.operatingSystemFamily == OperatingSystemFamily.MacOSX)
- {
- return OpenOSXApp(path, line, column);
- }
-
- var solution = GetSolutionFile(path); // TODO: If solution file doesn't exist resync.
- solution = solution == "" ? "" : $"\"{solution}\"";
- var process = new Process
- {
- StartInfo = new ProcessStartInfo
- {
- FileName = CodeEditor.CurrentEditorInstallation,
- Arguments = $"{solution} -l {line} \"{path}\"",
- UseShellExecute = true,
- }
- };
-
- process.Start();
-
- return true;
- }
-
- private bool OpenOSXApp(string path, int line, int column)
- {
- var solution = GetSolutionFile(path); // TODO: If solution file doesn't exist resync.
- solution = solution == "" ? "" : $"\"{solution}\"";
- var pathArguments = path == "" ? "" : $"-l {line} \"{path}\"";
- var process = new Process
- {
- StartInfo = new ProcessStartInfo
- {
- FileName = "open",
- Arguments = $"-n \"{CodeEditor.CurrentEditorInstallation}\" --args {solution} {pathArguments}",
- CreateNoWindow = true,
- UseShellExecute = true,
- }
- };
-
- process.Start();
-
- return true;
- }
-
- private string GetSolutionFile(string path)
- {
- if (IsUnityScript(path))
- {
- return Path.Combine(GetBaseUnityDeveloperFolder(), "Projects/CSharp/Unity.CSharpProjects.gen.sln");
- }
-
- var solutionFile = m_ProjectGeneration.SolutionFile();
- if (File.Exists(solutionFile))
- {
- return solutionFile;
- }
-
- return "";
- }
-
- static bool IsUnityScript(string path)
- {
- if (UnityEditor.Unsupported.IsDeveloperBuild())
- {
- var baseFolder = GetBaseUnityDeveloperFolder().Replace("\\", "/");
- var lowerPath = path.ToLowerInvariant().Replace("\\", "/");
-
- if (lowerPath.Contains((baseFolder + "/Runtime").ToLowerInvariant())
- || lowerPath.Contains((baseFolder + "/Editor").ToLowerInvariant()))
- {
- return true;
- }
- }
-
- return false;
- }
-
- static string GetBaseUnityDeveloperFolder()
- {
- return Directory.GetParent(EditorApplication.applicationPath).Parent.Parent.FullName;
- }
-
- public bool TryGetInstallationForPath(string editorPath, out CodeEditor.Installation installation)
- {
- if (FileSystemUtil.EditorPathExists(editorPath) && IsRiderInstallation(editorPath))
- {
- var info = new RiderPathLocator.RiderInfo(editorPath, false);
- installation = new CodeEditor.Installation
- {
- Name = info.Presentation,
- Path = info.Path
- };
- return true;
- }
-
- installation = default;
- return false;
- }
-
- public static bool IsRiderInstallation(string path)
- {
- if (string.IsNullOrEmpty(path))
- {
- return false;
- }
-
- var fileInfo = new FileInfo(path);
- var filename = fileInfo.Name.ToLowerInvariant();
- return filename.StartsWith("rider", StringComparison.Ordinal);
- }
-
- public static string CurrentEditor // works fast, doesn't validate if executable really exists
- => EditorPrefs.GetString("kScriptsDefaultApp");
-
- public static bool ShouldLoadEditorPlugin(string path)
- {
- var ver = RiderPathLocator.GetBuildNumber(path);
- if (!Version.TryParse(ver, out var version))
- return false;
-
- return version >= new Version("191.7141.156");
- }
-
- public CodeEditor.Installation[] Installations => m_Discoverability.PathCallback();
-
- public void CreateSolutionIfDoesntExist()
- {
- if (!m_ProjectGeneration.HasSolutionBeenGenerated())
- {
- m_ProjectGeneration.Sync();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditor.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditor.cs.meta
deleted file mode 100644
index 1676483..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c4095d72f77fbb64ea39b8b3ca246622
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditorData.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditorData.cs
deleted file mode 100644
index d05428b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditorData.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using UnityEditor;
-using UnityEngine;
-
-namespace Packages.Rider.Editor
-{
- public class RiderScriptEditorData:ScriptableSingleton
- {
- [SerializeField] internal bool HasChanges = true; // sln/csproj files were changed
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditorData.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditorData.cs.meta
deleted file mode 100644
index 21a5abc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/RiderScriptEditorData.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f079e3afd077fb94fa2bda74d6409499
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util.meta
deleted file mode 100644
index d7ba88e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5e726086cd652f82087d59d67d2c24cd
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/FileSystemUtil.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/FileSystemUtil.cs
deleted file mode 100644
index 3d0624b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/FileSystemUtil.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using System;
-using System.ComponentModel;
-using System.IO;
-using System.Text;
-using JetBrains.Annotations;
-using UnityEngine;
-
-namespace Packages.Rider.Editor.Util
-{
- public static class FileSystemUtil
- {
- [NotNull]
- public static string GetFinalPathName([NotNull] string path)
- {
- if (path == null) throw new ArgumentNullException("path");
-
- // up to MAX_PATH. MAX_PATH on Linux currently 4096, on Mac OS X 1024
- // doc: http://man7.org/linux/man-pages/man3/realpath.3.html
- var sb = new StringBuilder(8192);
- var result = LibcNativeInterop.realpath(path, sb);
- if (result == IntPtr.Zero)
- {
- throw new Win32Exception($"{path} was not resolved.");
- }
-
- return new FileInfo(sb.ToString()).FullName;
- }
-
- public static string FileNameWithoutExtension(string path)
- {
- if (string.IsNullOrEmpty(path))
- {
- return "";
- }
-
- var indexOfDot = -1;
- var indexOfSlash = 0;
- for (var i = path.Length - 1; i >= 0; i--)
- {
- if (indexOfDot == -1 && path[i] == '.')
- {
- indexOfDot = i;
- }
-
- if (indexOfSlash == 0 && path[i] == '/' || path[i] == '\\')
- {
- indexOfSlash = i + 1;
- break;
- }
- }
-
- if (indexOfDot == -1)
- {
- indexOfDot = path.Length - 1;
- }
-
- return path.Substring(indexOfSlash, indexOfDot - indexOfSlash);
- }
-
- public static bool EditorPathExists(string editorPath)
- {
- return SystemInfo.operatingSystemFamily == OperatingSystemFamily.MacOSX && new DirectoryInfo(editorPath).Exists
- || SystemInfo.operatingSystemFamily != OperatingSystemFamily.MacOSX && new FileInfo(editorPath).Exists;
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/FileSystemUtil.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/FileSystemUtil.cs.meta
deleted file mode 100644
index ebc001b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/FileSystemUtil.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: bdbd564a9fdad0b738e76d030cad1204
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/LibcNativeInterop.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/LibcNativeInterop.cs
deleted file mode 100644
index a4070f2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/LibcNativeInterop.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Runtime.InteropServices;
-using System.Text;
-
-namespace Packages.Rider.Editor.Util
-{
- internal static class LibcNativeInterop
- {
- [DllImport("libc", SetLastError = true)]
- public static extern IntPtr realpath(string path, StringBuilder resolved_path);
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/LibcNativeInterop.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/LibcNativeInterop.cs.meta
deleted file mode 100644
index fe70ee0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/LibcNativeInterop.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 071c17858dc6c47ada7b2a1f1ded5402
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/UnityUtils.cs b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/UnityUtils.cs
deleted file mode 100644
index 03c9922..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/UnityUtils.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-
-namespace Packages.Rider.Editor.Util
-{
- public static class UnityUtils
- {
- internal static readonly string UnityApplicationVersion = Application.unityVersion;
-
- public static Version UnityVersion
- {
- get
- {
- var ver = UnityApplicationVersion.Split(".".ToCharArray()).Take(2).Aggregate((a, b) => a + "." + b);
- return new Version(ver);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/UnityUtils.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/UnityUtils.cs.meta
deleted file mode 100644
index 9a4e6fe..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/Util/UnityUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3ec9edad2de6c4df3a146b543a0fbc4c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/com.unity.ide.rider.asmdef b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/com.unity.ide.rider.asmdef
deleted file mode 100644
index 2e652fa..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/com.unity.ide.rider.asmdef
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "name": "Unity.Rider.Editor",
- "references": [],
- "optionalUnityReferences": [],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": []
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/com.unity.ide.rider.asmdef.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/com.unity.ide.rider.asmdef.meta
deleted file mode 100644
index 7a89700..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/Rider/Editor/com.unity.ide.rider.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: d528c8c98d269ca44a06cd9624a03945
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/package.json b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/package.json
deleted file mode 100644
index ac4a762..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "com.unity.ide.rider",
- "displayName": "Rider Editor",
- "description": "Code editor integration for supporting Rider as code editor for unity. Adds support for generating csproj files for code completion, auto discovery of installations, etc.",
- "version": "1.1.0",
- "unity": "2019.2",
- "unityRelease": "0a12",
- "dependencies": {
- "com.unity.ext.nunit": "1.0.0"
- },
- "relatedPackages": {
- "com.unity.ide.rider.tests": "1.1.0"
- },
- "repository": {
- "type": "git",
- "url": "git@github.cds.internal.unity3d.com:unity/com.unity.ide.rider.git",
- "revision": "80ad81f593b04a6104771ae0d01cc71773d07b02"
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/package.json.meta b/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/package.json.meta
deleted file mode 100644
index 11bcd7b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.rider@1.1.0/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 66c95bb3c74257f41bae2622511dc02d
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CHANGELOG.md b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CHANGELOG.md
deleted file mode 100644
index 72ec62d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CHANGELOG.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# Code Editor Package for Visual Studio Code
-
-## [1.1.3] - 2019-10-22
-
-Exe version of vscode will use Normal ProcessWindowStyle while cmd will use Hidden
-
-
-## [1.1.2] - 2019-08-30
-
-Fixing OSX open command arguments
-
-
-## [1.1.1] - 2019-08-19
-
-Support for Player Project. Generates specific csproj files containing files, reference, defines,
-etc. that will show how the assembly will be compiled for a target platform.
-
-
-## [1.1.0] - 2019-08-07
-
-Adds support for choosing extensions to be opened with VSCode. This can be done through the GUI in Preferences.
-Avoids opening all extensions after the change in core unity.
-
-
-## [1.0.7] - 2019-05-15
-
-Fix various OSX specific issues.
-Generate project on load if they are not generated.
-Fix path recognition.
-
-
-## [1.0.6] - 2019-04-30
-
-Ensure asset database is refreshed when generating csproj and solution files.
-
-## [1.0.5] - 2019-04-27
-
-Add support for generating all csproj files.
-
-## [1.0.4] - 2019-04-18
-
-Fix relative package paths.
-Fix opening editor on mac.
-Add %LOCALAPPDATA%/Programs to the path of install paths.
-
-## [1.0.3] - 2019-01-01
-
-### This is the first release of *Unity Package vscode_editor*.
-
-Using the newly created api to integrate Visual Studio Code with Unity.
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CHANGELOG.md.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CHANGELOG.md.meta
deleted file mode 100644
index 65aea0b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CHANGELOG.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 4ddcdc3816429494a8bea67e973875f7
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CONTRIBUTING.md b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CONTRIBUTING.md
deleted file mode 100644
index 576d096..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CONTRIBUTING.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Contributing
-
-## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement)
-By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.
-
-## Once you have a change ready following these ground rules. Simply make a pull request
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CONTRIBUTING.md.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CONTRIBUTING.md.meta
deleted file mode 100644
index 31e836f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/CONTRIBUTING.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: fcb9be00baf924c4183fc0313e6185c5
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Documentation~/README.md b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Documentation~/README.md
deleted file mode 100644
index d0a565f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Documentation~/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Code Editor Package for Visual Studio Code
-
-This package is not intended to be modified by users.
-Nor does it provide any api intended to be included in user projects.
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor.meta
deleted file mode 100644
index 568fa03..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 58628227479c34542ac8c5193ccced84
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration.meta
deleted file mode 100644
index 48ed36c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c779d3735d950f341ba35154e8b3234b
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/AssemblyNameProvider.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/AssemblyNameProvider.cs
deleted file mode 100644
index 43e0972..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/AssemblyNameProvider.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor;
-using UnityEditor.Compilation;
-
-namespace VSCodeEditor
-{
- public interface IAssemblyNameProvider
- {
- string GetAssemblyNameFromScriptPath(string path);
- IEnumerable GetAssemblies(Func shouldFileBePartOfSolution);
- IEnumerable GetAllAssetPaths();
- UnityEditor.PackageManager.PackageInfo FindForAssetPath(string assetPath);
- ResponseFileData ParseResponseFile(string responseFilePath, string projectDirectory, string[] systemReferenceDirectories);
- }
-
- internal class AssemblyNameProvider : IAssemblyNameProvider
- {
- public string GetAssemblyNameFromScriptPath(string path)
- {
- return CompilationPipeline.GetAssemblyNameFromScriptPath(path);
- }
-
- public IEnumerable GetAssemblies(Func shouldFileBePartOfSolution)
- {
- return CompilationPipeline.GetAssemblies()
- .Where(i => 0 < i.sourceFiles.Length && i.sourceFiles.Any(shouldFileBePartOfSolution));
- }
-
- public IEnumerable GetAllAssetPaths()
- {
- return AssetDatabase.GetAllAssetPaths();
- }
-
- public UnityEditor.PackageManager.PackageInfo FindForAssetPath(string assetPath)
- {
- return UnityEditor.PackageManager.PackageInfo.FindForAssetPath(assetPath);
- }
-
- public ResponseFileData ParseResponseFile(string responseFilePath, string projectDirectory, string[] systemReferenceDirectories)
- {
- return CompilationPipeline.ParseResponseFile(
- responseFilePath,
- projectDirectory,
- systemReferenceDirectories
- );
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/AssemblyNameProvider.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/AssemblyNameProvider.cs.meta
deleted file mode 100644
index a8ae38b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/AssemblyNameProvider.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1d93ffb668978f7488211a331977b73b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/FileIO.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/FileIO.cs
deleted file mode 100644
index aeff22e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/FileIO.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System.IO;
-using System.Text;
-
-namespace VSCodeEditor
-{
- public interface IFileIO
- {
- bool Exists(string fileName);
-
- string ReadAllText(string fileName);
- void WriteAllText(string fileName, string content);
-
- void CreateDirectory(string pathName);
- }
-
- class FileIOProvider : IFileIO
- {
- public bool Exists(string fileName)
- {
- return File.Exists(fileName);
- }
-
- public string ReadAllText(string fileName)
- {
- return File.ReadAllText(fileName);
- }
-
- public void WriteAllText(string fileName, string content)
- {
- File.WriteAllText(fileName, content, Encoding.UTF8);
- }
-
- public void CreateDirectory(string pathName)
- {
- Directory.CreateDirectory(pathName);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/FileIO.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/FileIO.cs.meta
deleted file mode 100644
index 91d8212..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/FileIO.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: eb221cf55b3544646b0c3b6bc790080f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/GUIDGenerator.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/GUIDGenerator.cs
deleted file mode 100644
index 0654966..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/GUIDGenerator.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace VSCodeEditor
-{
- public interface IGUIDGenerator
- {
- string ProjectGuid(string projectName, string assemblyName);
- string SolutionGuid(string projectName, string extension);
- }
-
- class GUIDProvider : IGUIDGenerator
- {
- public string ProjectGuid(string projectName, string assemblyName)
- {
- return SolutionGuidGenerator.GuidForProject(projectName + assemblyName);
- }
-
- public string SolutionGuid(string projectName, string extension)
- {
- return SolutionGuidGenerator.GuidForSolution(projectName, extension); // GetExtensionOfSourceFiles(assembly.sourceFiles)
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/GUIDGenerator.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/GUIDGenerator.cs.meta
deleted file mode 100644
index 9ce342e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/GUIDGenerator.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e58bd3cca6475e54b93632bb6837aeea
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/ProjectGeneration.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/ProjectGeneration.cs
deleted file mode 100644
index 2ddb40b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/ProjectGeneration.cs
+++ /dev/null
@@ -1,779 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Security;
-using System.Security.Cryptography;
-using System.Text;
-using System.Text.RegularExpressions;
-using UnityEditor;
-using UnityEditor.Compilation;
-using UnityEditor.PackageManager;
-using UnityEngine;
-using UnityEngine.Profiling;
-
-namespace VSCodeEditor
-{
- public interface IGenerator
- {
- bool SyncIfNeeded(IEnumerable affectedFiles, IEnumerable reimportedFiles);
- void Sync();
- string SolutionFile();
- string ProjectDirectory { get; }
- void GenerateAll(bool generateAll);
- bool SolutionExists();
- }
-
- public class ProjectGeneration : IGenerator
- {
- enum ScriptingLanguage
- {
- None,
- CSharp
- }
-
- public static readonly string MSBuildNamespaceUri = "http://schemas.microsoft.com/developer/msbuild/2003";
-
- const string k_WindowsNewline = "\r\n";
-
- const string k_SettingsJson = @"{
- ""files.exclude"":
- {
- ""**/.DS_Store"":true,
- ""**/.git"":true,
- ""**/.gitignore"":true,
- ""**/.gitmodules"":true,
- ""**/*.booproj"":true,
- ""**/*.pidb"":true,
- ""**/*.suo"":true,
- ""**/*.user"":true,
- ""**/*.userprefs"":true,
- ""**/*.unityproj"":true,
- ""**/*.dll"":true,
- ""**/*.exe"":true,
- ""**/*.pdf"":true,
- ""**/*.mid"":true,
- ""**/*.midi"":true,
- ""**/*.wav"":true,
- ""**/*.gif"":true,
- ""**/*.ico"":true,
- ""**/*.jpg"":true,
- ""**/*.jpeg"":true,
- ""**/*.png"":true,
- ""**/*.psd"":true,
- ""**/*.tga"":true,
- ""**/*.tif"":true,
- ""**/*.tiff"":true,
- ""**/*.3ds"":true,
- ""**/*.3DS"":true,
- ""**/*.fbx"":true,
- ""**/*.FBX"":true,
- ""**/*.lxo"":true,
- ""**/*.LXO"":true,
- ""**/*.ma"":true,
- ""**/*.MA"":true,
- ""**/*.obj"":true,
- ""**/*.OBJ"":true,
- ""**/*.asset"":true,
- ""**/*.cubemap"":true,
- ""**/*.flare"":true,
- ""**/*.mat"":true,
- ""**/*.meta"":true,
- ""**/*.prefab"":true,
- ""**/*.unity"":true,
- ""build/"":true,
- ""Build/"":true,
- ""Library/"":true,
- ""library/"":true,
- ""obj/"":true,
- ""Obj/"":true,
- ""ProjectSettings/"":true,
- ""temp/"":true,
- ""Temp/"":true
- }
-}";
-
- ///
- /// Map source extensions to ScriptingLanguages
- ///
- static readonly Dictionary k_BuiltinSupportedExtensions = new Dictionary
- {
- { "cs", ScriptingLanguage.CSharp },
- { "uxml", ScriptingLanguage.None },
- { "uss", ScriptingLanguage.None },
- { "shader", ScriptingLanguage.None },
- { "compute", ScriptingLanguage.None },
- { "cginc", ScriptingLanguage.None },
- { "hlsl", ScriptingLanguage.None },
- { "glslinc", ScriptingLanguage.None },
- { "template", ScriptingLanguage.None },
- { "raytrace", ScriptingLanguage.None }
- };
-
- string m_SolutionProjectEntryTemplate = string.Join("\r\n", @"Project(""{{{0}}}"") = ""{1}"", ""{2}"", ""{{{3}}}""", @"EndProject").Replace(" ", "\t");
-
- string m_SolutionProjectConfigurationTemplate = string.Join("\r\n", @" {{{0}}}.Debug|Any CPU.ActiveCfg = Debug|Any CPU", @" {{{0}}}.Debug|Any CPU.Build.0 = Debug|Any CPU", @" {{{0}}}.Release|Any CPU.ActiveCfg = Release|Any CPU", @" {{{0}}}.Release|Any CPU.Build.0 = Release|Any CPU").Replace(" ", "\t");
-
- static readonly string[] k_ReimportSyncExtensions = { ".dll", ".asmdef" };
-
- ///
- /// Map ScriptingLanguages to project extensions
- ///
- /*static readonly Dictionary k_ProjectExtensions = new Dictionary
- {
- { ScriptingLanguage.CSharp, ".csproj" },
- { ScriptingLanguage.None, ".csproj" },
- };*/
- static readonly Regex k_ScriptReferenceExpression = new Regex(
- @"^Library.ScriptAssemblies.(?(?.*)\.dll$)",
- RegexOptions.Compiled | RegexOptions.IgnoreCase);
-
- string[] m_ProjectSupportedExtensions = new string[0];
- public string ProjectDirectory { get; }
- bool m_ShouldGenerateAll;
-
- public void GenerateAll(bool generateAll)
- {
- m_ShouldGenerateAll = generateAll;
- }
-
- readonly string m_ProjectName;
- readonly IAssemblyNameProvider m_AssemblyNameProvider;
- readonly IFileIO m_FileIOProvider;
- readonly IGUIDGenerator m_GUIDProvider;
-
- const string k_ToolsVersion = "4.0";
- const string k_ProductVersion = "10.0.20506";
- const string k_BaseDirectory = ".";
- const string k_TargetFrameworkVersion = "v4.7.1";
- const string k_TargetLanguageVersion = "latest";
-
- public ProjectGeneration(string tempDirectory)
- : this(tempDirectory, new AssemblyNameProvider(), new FileIOProvider(), new GUIDProvider()) { }
-
- public ProjectGeneration(string tempDirectory, IAssemblyNameProvider assemblyNameProvider, IFileIO fileIO, IGUIDGenerator guidGenerator)
- {
- ProjectDirectory = tempDirectory.Replace('\\', '/');
- m_ProjectName = Path.GetFileName(ProjectDirectory);
- m_AssemblyNameProvider = assemblyNameProvider;
- m_FileIOProvider = fileIO;
- m_GUIDProvider = guidGenerator;
- }
-
- ///
- /// Syncs the scripting solution if any affected files are relevant.
- ///
- ///
- /// Whether the solution was synced.
- ///
- ///
- /// A set of files whose status has changed
- ///
- ///
- /// A set of files that got reimported
- ///
- public bool SyncIfNeeded(IEnumerable affectedFiles, IEnumerable reimportedFiles)
- {
- Profiler.BeginSample("SolutionSynchronizerSync");
- SetupProjectSupportedExtensions();
-
- // Don't sync if we haven't synced before
- if (SolutionExists() && HasFilesBeenModified(affectedFiles, reimportedFiles))
- {
- Sync();
-
- Profiler.EndSample();
- return true;
- }
-
- Profiler.EndSample();
- return false;
- }
-
- bool HasFilesBeenModified(IEnumerable affectedFiles, IEnumerable reimportedFiles)
- {
- return affectedFiles.Any(ShouldFileBePartOfSolution) || reimportedFiles.Any(ShouldSyncOnReimportedAsset);
- }
-
- static bool ShouldSyncOnReimportedAsset(string asset)
- {
- return k_ReimportSyncExtensions.Contains(new FileInfo(asset).Extension);
- }
-
- public void Sync()
- {
- SetupProjectSupportedExtensions();
- GenerateAndWriteSolutionAndProjects();
- }
-
- public bool SolutionExists()
- {
- return m_FileIOProvider.Exists(SolutionFile());
- }
-
- void SetupProjectSupportedExtensions()
- {
- m_ProjectSupportedExtensions = EditorSettings.projectGenerationUserExtensions;
- }
-
- bool ShouldFileBePartOfSolution(string file)
- {
- string extension = Path.GetExtension(file);
-
- // Exclude files coming from packages except if they are internalized.
- if (!m_ShouldGenerateAll && IsInternalizedPackagePath(file))
- {
- return false;
- }
-
- // Dll's are not scripts but still need to be included..
- if (extension == ".dll")
- return true;
-
- if (file.ToLower().EndsWith(".asmdef"))
- return true;
-
- return IsSupportedExtension(extension);
- }
-
- bool IsSupportedExtension(string extension)
- {
- extension = extension.TrimStart('.');
- if (k_BuiltinSupportedExtensions.ContainsKey(extension))
- return true;
- if (m_ProjectSupportedExtensions.Contains(extension))
- return true;
- return false;
- }
-
- static ScriptingLanguage ScriptingLanguageFor(Assembly island)
- {
- return ScriptingLanguageFor(GetExtensionOfSourceFiles(island.sourceFiles));
- }
-
- static string GetExtensionOfSourceFiles(string[] files)
- {
- return files.Length > 0 ? GetExtensionOfSourceFile(files[0]) : "NA";
- }
-
- static string GetExtensionOfSourceFile(string file)
- {
- var ext = Path.GetExtension(file).ToLower();
- ext = ext.Substring(1); //strip dot
- return ext;
- }
-
- static ScriptingLanguage ScriptingLanguageFor(string extension)
- {
- return k_BuiltinSupportedExtensions.TryGetValue(extension.TrimStart('.'), out var result)
- ? result
- : ScriptingLanguage.None;
- }
-
- public void GenerateAndWriteSolutionAndProjects()
- {
- // Only synchronize islands that have associated source files and ones that we actually want in the project.
- // This also filters out DLLs coming from .asmdef files in packages.
- var assemblies = m_AssemblyNameProvider.GetAssemblies(ShouldFileBePartOfSolution);
-
- var allAssetProjectParts = GenerateAllAssetProjectParts();
-
- SyncSolution(assemblies);
- var allProjectIslands = RelevantIslandsForMode(assemblies).ToList();
- foreach (Assembly assembly in allProjectIslands)
- {
- var responseFileData = ParseResponseFileData(assembly);
- SyncProject(assembly, allAssetProjectParts, responseFileData, allProjectIslands);
- }
-
- WriteVSCodeSettingsFiles();
- }
-
- IEnumerable ParseResponseFileData(Assembly assembly)
- {
- var systemReferenceDirectories = CompilationPipeline.GetSystemAssemblyDirectories(assembly.compilerOptions.ApiCompatibilityLevel);
-
- Dictionary responseFilesData = assembly.compilerOptions.ResponseFiles.ToDictionary(x => x, x => m_AssemblyNameProvider.ParseResponseFile(
- x,
- ProjectDirectory,
- systemReferenceDirectories
- ));
-
- Dictionary responseFilesWithErrors = responseFilesData.Where(x => x.Value.Errors.Any())
- .ToDictionary(x => x.Key, x => x.Value);
-
- if (responseFilesWithErrors.Any())
- {
- foreach (var error in responseFilesWithErrors)
- foreach (var valueError in error.Value.Errors)
- {
- Debug.LogError($"{error.Key} Parse Error : {valueError}");
- }
- }
-
- return responseFilesData.Select(x => x.Value);
- }
-
- Dictionary GenerateAllAssetProjectParts()
- {
- Dictionary stringBuilders = new Dictionary();
-
- foreach (string asset in m_AssemblyNameProvider.GetAllAssetPaths())
- {
- // Exclude files coming from packages except if they are internalized.
- // TODO: We need assets from the assembly API
- if (!m_ShouldGenerateAll && IsInternalizedPackagePath(asset))
- {
- continue;
- }
-
- string extension = Path.GetExtension(asset);
- if (IsSupportedExtension(extension) && ScriptingLanguage.None == ScriptingLanguageFor(extension))
- {
- // Find assembly the asset belongs to by adding script extension and using compilation pipeline.
- var assemblyName = m_AssemblyNameProvider.GetAssemblyNameFromScriptPath(asset + ".cs");
-
- if (string.IsNullOrEmpty(assemblyName))
- {
- continue;
- }
-
- assemblyName = Utility.FileNameWithoutExtension(assemblyName);
-
- if (!stringBuilders.TryGetValue(assemblyName, out var projectBuilder))
- {
- projectBuilder = new StringBuilder();
- stringBuilders[assemblyName] = projectBuilder;
- }
-
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- }
- }
-
- var result = new Dictionary();
-
- foreach (var entry in stringBuilders)
- result[entry.Key] = entry.Value.ToString();
-
- return result;
- }
-
- bool IsInternalizedPackagePath(string file)
- {
- if (string.IsNullOrWhiteSpace(file))
- {
- return false;
- }
-
- var packageInfo = m_AssemblyNameProvider.FindForAssetPath(file);
- if (packageInfo == null)
- {
- return false;
- }
-
- var packageSource = packageInfo.source;
- return packageSource != PackageSource.Embedded && packageSource != PackageSource.Local;
- }
-
- void SyncProject(
- Assembly island,
- Dictionary allAssetsProjectParts,
- IEnumerable responseFilesData,
- List allProjectIslands)
- {
- SyncProjectFileIfNotChanged(ProjectFile(island), ProjectText(island, allAssetsProjectParts, responseFilesData, allProjectIslands));
- }
-
- void SyncProjectFileIfNotChanged(string path, string newContents)
- {
- SyncFileIfNotChanged(path, newContents);
- }
-
- void SyncSolutionFileIfNotChanged(string path, string newContents)
- {
- SyncFileIfNotChanged(path, newContents);
- }
-
- void SyncFileIfNotChanged(string filename, string newContents)
- {
- if (m_FileIOProvider.Exists(filename))
- {
- var currentContents = m_FileIOProvider.ReadAllText(filename);
-
- if (currentContents == newContents)
- {
- return;
- }
- }
-
- m_FileIOProvider.WriteAllText(filename, newContents);
- }
-
- string ProjectText(
- Assembly assembly,
- Dictionary allAssetsProjectParts,
- IEnumerable responseFilesData,
- List allProjectIslands)
- {
- var projectBuilder = new StringBuilder(ProjectHeader(assembly, responseFilesData));
- var references = new List();
- var projectReferences = new List();
-
- foreach (string file in assembly.sourceFiles)
- {
- if (!ShouldFileBePartOfSolution(file))
- continue;
-
- var extension = Path.GetExtension(file).ToLower();
- var fullFile = EscapedRelativePathFor(file);
- if (".dll" != extension)
- {
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- }
- else
- {
- references.Add(fullFile);
- }
- }
-
- // Append additional non-script files that should be included in project generation.
- if (allAssetsProjectParts.TryGetValue(assembly.name, out var additionalAssetsForProject))
- projectBuilder.Append(additionalAssetsForProject);
-
- var islandRefs = references.Union(assembly.allReferences);
-
- foreach (string reference in islandRefs)
- {
- var match = k_ScriptReferenceExpression.Match(reference);
- if (match.Success)
- {
- // assume csharp language
- // Add a reference to a project except if it's a reference to a script assembly
- // that we are not generating a project for. This will be the case for assemblies
- // coming from .assembly.json files in non-internalized packages.
- var dllName = match.Groups["dllname"].Value;
- if (allProjectIslands.Any(i => Path.GetFileName(i.outputPath) == dllName))
- {
- projectReferences.Add(match);
- continue;
- }
- }
-
- string fullReference = Path.IsPathRooted(reference) ? reference : Path.Combine(ProjectDirectory, reference);
-
- AppendReference(fullReference, projectBuilder);
- }
-
- var responseRefs = responseFilesData.SelectMany(x => x.FullPathReferences.Select(r => r));
- foreach (var reference in responseRefs)
- {
- AppendReference(reference, projectBuilder);
- }
-
- if (0 < projectReferences.Count)
- {
- projectBuilder.AppendLine(" ");
- projectBuilder.AppendLine(" ");
- foreach (Match reference in projectReferences)
- {
- var referencedProject = reference.Groups["project"].Value;
-
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- projectBuilder.Append(" {").Append(ProjectGuid(Path.Combine("Temp", reference.Groups["project"].Value + ".dll"))).Append("}").Append(k_WindowsNewline);
- projectBuilder.Append(" ").Append(referencedProject).Append("").Append(k_WindowsNewline);
- projectBuilder.AppendLine(" ");
- }
- }
-
- projectBuilder.Append(ProjectFooter());
- return projectBuilder.ToString();
- }
-
- static void AppendReference(string fullReference, StringBuilder projectBuilder)
- {
- //replace \ with / and \\ with /
- var escapedFullPath = SecurityElement.Escape(fullReference);
- escapedFullPath = escapedFullPath.Replace("\\", "/");
- escapedFullPath = escapedFullPath.Replace("\\\\", "/");
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- projectBuilder.Append(" ").Append(escapedFullPath).Append("").Append(k_WindowsNewline);
- projectBuilder.Append(" ").Append(k_WindowsNewline);
- }
-
- public string ProjectFile(Assembly assembly)
- {
- var fileBuilder = new StringBuilder(assembly.name);
-
- // if (!assembly.flags.HasFlag(AssemblyFlags.EditorAssembly) && m_PlayerAssemblies.Contains(assembly))
- // {
- // fileBuilder.Append("-player");
- // }
- fileBuilder.Append(".csproj");
- return Path.Combine(ProjectDirectory, fileBuilder.ToString());
- }
-
- public string SolutionFile()
- {
- return Path.Combine(ProjectDirectory, $"{m_ProjectName}.sln");
- }
-
- string ProjectHeader(
- Assembly assembly,
- IEnumerable responseFilesData
- )
- {
- // TODO: .Concat(EditorUserBuildSettings.activeScriptCompilationDefines)
- var arguments = new object[]
- {
- k_ToolsVersion,
- k_ProductVersion,
- ProjectGuid(assembly.name),
- string.Join(";", new[] { "DEBUG", "TRACE" }.Concat(assembly.defines).Concat(responseFilesData.SelectMany(x => x.Defines)).Distinct().ToArray()),
- MSBuildNamespaceUri,
- assembly.name,
- EditorSettings.projectGenerationRootNamespace,
- k_TargetFrameworkVersion,
- k_TargetLanguageVersion,
- k_BaseDirectory,
- assembly.compilerOptions.AllowUnsafeCode | responseFilesData.Any(x => x.Unsafe)
- };
-
- try
- {
- return string.Format(GetProjectHeaderTemplate(), arguments);
- }
- catch (Exception)
- {
- throw new NotSupportedException("Failed creating c# project because the c# project header did not have the correct amount of arguments, which is " + arguments.Length);
- }
- }
-
- static string GetSolutionText()
- {
- return string.Join("\r\n", @"", @"Microsoft Visual Studio Solution File, Format Version {0}", @"# Visual Studio {1}", @"{2}", @"Global", @" GlobalSection(SolutionConfigurationPlatforms) = preSolution", @" Debug|Any CPU = Debug|Any CPU", @" Release|Any CPU = Release|Any CPU", @" EndGlobalSection", @" GlobalSection(ProjectConfigurationPlatforms) = postSolution", @"{3}", @" EndGlobalSection", @" GlobalSection(SolutionProperties) = preSolution", @" HideSolutionNode = FALSE", @" EndGlobalSection", @"EndGlobal", @"").Replace(" ", "\t");
- }
-
- static string GetProjectFooterTemplate()
- {
- return string.Join("\r\n", @" ", @" ", @" ", @"", @"");
- }
-
- static string GetProjectHeaderTemplate()
- {
- var header = new[]
- {
- @"",
- @"",
- @" ",
- @" {8}",
- @" ",
- @" ",
- @" Debug",
- @" AnyCPU",
- @" {1}",
- @" 2.0",
- @" {6}",
- @" {{{2}}}",
- @" Library",
- @" Properties",
- @" {5}",
- @" {7}",
- @" 512",
- @" {9}",
- @" ",
- @" ",
- @" true",
- @" full",
- @" false",
- @" Temp\bin\Debug\",
- @" {3}",
- @" prompt",
- @" 4",
- @" 0169",
- @" {10}",
- @" ",
- @" ",
- @" pdbonly",
- @" true",
- @" Temp\bin\Release\",
- @" prompt",
- @" 4",
- @" 0169",
- @" {10}",
- @" "
- };
-
- var forceExplicitReferences = new[]
- {
- @" ",
- @" true",
- @" true",
- @" false",
- @" false",
- @" false",
- @" "
- };
-
- var itemGroupStart = new[]
- {
- @" ",
- @""
- };
-
- var text = header.Concat(forceExplicitReferences).Concat(itemGroupStart).ToArray();
- return string.Join("\r\n", text);
- }
-
- void SyncSolution(IEnumerable islands)
- {
- SyncSolutionFileIfNotChanged(SolutionFile(), SolutionText(islands));
- }
-
- string SolutionText(IEnumerable islands)
- {
- var fileversion = "11.00";
- var vsversion = "2010";
-
- var relevantIslands = RelevantIslandsForMode(islands);
- string projectEntries = GetProjectEntries(relevantIslands);
- string projectConfigurations = string.Join(k_WindowsNewline, relevantIslands.Select(i => GetProjectActiveConfigurations(ProjectGuid(i.name))).ToArray());
- return string.Format(GetSolutionText(), fileversion, vsversion, projectEntries, projectConfigurations);
- }
-
- static IEnumerable RelevantIslandsForMode(IEnumerable islands)
- {
- IEnumerable relevantIslands = islands.Where(i => ScriptingLanguage.CSharp == ScriptingLanguageFor(i));
- return relevantIslands;
- }
-
- ///
- /// Get a Project("{guid}") = "MyProject", "MyProject.csproj", "{projectguid}"
- /// entry for each relevant language
- ///
- string GetProjectEntries(IEnumerable islands)
- {
- var projectEntries = islands.Select(i => string.Format(
- m_SolutionProjectEntryTemplate,
- SolutionGuid(i),
- i.name,
- Path.GetFileName(ProjectFile(i)),
- ProjectGuid(i.name)
- ));
-
- return string.Join(k_WindowsNewline, projectEntries.ToArray());
- }
-
- ///
- /// Generate the active configuration string for a given project guid
- ///
- string GetProjectActiveConfigurations(string projectGuid)
- {
- return string.Format(
- m_SolutionProjectConfigurationTemplate,
- projectGuid);
- }
-
- string EscapedRelativePathFor(string file)
- {
- var projectDir = ProjectDirectory.Replace('/', '\\');
- file = file.Replace('/', '\\');
- var path = SkipPathPrefix(file, projectDir);
-
- var packageInfo = m_AssemblyNameProvider.FindForAssetPath(path.Replace('\\', '/'));
- if (packageInfo != null)
- {
- // We have to normalize the path, because the PackageManagerRemapper assumes
- // dir seperators will be os specific.
- var absolutePath = Path.GetFullPath(NormalizePath(path)).Replace('/', '\\');
- path = SkipPathPrefix(absolutePath, projectDir);
- }
-
- return SecurityElement.Escape(path);
- }
-
- static string SkipPathPrefix(string path, string prefix)
- {
- if (path.StartsWith($@"{prefix}\"))
- return path.Substring(prefix.Length + 1);
- return path;
- }
-
- static string NormalizePath(string path)
- {
- if (Path.DirectorySeparatorChar == '\\')
- return path.Replace('/', Path.DirectorySeparatorChar);
- return path.Replace('\\', Path.DirectorySeparatorChar);
- }
-
- string ProjectGuid(string assembly)
- {
- return m_GUIDProvider.ProjectGuid(m_ProjectName, assembly);
- }
-
- string SolutionGuid(Assembly island)
- {
- return m_GUIDProvider.SolutionGuid(m_ProjectName, GetExtensionOfSourceFiles(island.sourceFiles));
- }
-
- static string ProjectFooter()
- {
- return GetProjectFooterTemplate();
- }
-
- static string GetProjectExtension()
- {
- return ".csproj";
- }
-
- void WriteVSCodeSettingsFiles()
- {
- var vsCodeDirectory = Path.Combine(ProjectDirectory, ".vscode");
-
- if (!m_FileIOProvider.Exists(vsCodeDirectory))
- m_FileIOProvider.CreateDirectory(vsCodeDirectory);
-
- var vsCodeSettingsJson = Path.Combine(vsCodeDirectory, "settings.json");
-
- if (!m_FileIOProvider.Exists(vsCodeSettingsJson))
- m_FileIOProvider.WriteAllText(vsCodeSettingsJson, k_SettingsJson);
- }
- }
-
- public static class SolutionGuidGenerator
- {
- public static string GuidForProject(string projectName)
- {
- return ComputeGuidHashFor(projectName + "salt");
- }
-
- public static string GuidForSolution(string projectName, string sourceFileExtension)
- {
- if (sourceFileExtension.ToLower() == "cs")
-
- // GUID for a C# class library: http://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs
- return "FAE04EC0-301F-11D3-BF4B-00C04F79EFBC";
-
- return ComputeGuidHashFor(projectName);
- }
-
- static string ComputeGuidHashFor(string input)
- {
- var hash = MD5.Create().ComputeHash(Encoding.Default.GetBytes(input));
- return HashAsGuid(HashToString(hash));
- }
-
- static string HashAsGuid(string hash)
- {
- var guid = hash.Substring(0, 8) + "-" + hash.Substring(8, 4) + "-" + hash.Substring(12, 4) + "-" + hash.Substring(16, 4) + "-" + hash.Substring(20, 12);
- return guid.ToUpper();
- }
-
- static string HashToString(byte[] bs)
- {
- var sb = new StringBuilder();
- foreach (byte b in bs)
- sb.Append(b.ToString("x2"));
- return sb.ToString();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/ProjectGeneration.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/ProjectGeneration.cs.meta
deleted file mode 100644
index 5039705..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/ProjectGeneration/ProjectGeneration.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 97d6c87381e3e51488b49f5891490b70
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Unity.com.unity.vscode.Editor.asmdef b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Unity.com.unity.vscode.Editor.asmdef
deleted file mode 100644
index 032da7c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Unity.com.unity.vscode.Editor.asmdef
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "name": "Unity.VSCode.Editor",
- "references": [],
- "optionalUnityReferences": [],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": []
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Unity.com.unity.vscode.Editor.asmdef.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Unity.com.unity.vscode.Editor.asmdef.meta
deleted file mode 100644
index 4c94f56..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Unity.com.unity.vscode.Editor.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8b845b123ab418448a8be2935fa804e0
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Utility.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Utility.cs
deleted file mode 100644
index 06d93e1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Utility.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-namespace VSCodeEditor
-{
- public static class Utility
- {
- public static string FileNameWithoutExtension(string path)
- {
- if (string.IsNullOrEmpty(path))
- {
- return "";
- }
-
- var indexOfDot = -1;
- var indexOfSlash = 0;
- for (var i = path.Length - 1; i >= 0; i--)
- {
- if (indexOfDot == -1 && path[i] == '.')
- {
- indexOfDot = i;
- }
-
- if (indexOfSlash == 0 && path[i] == '/' || path[i] == '\\')
- {
- indexOfSlash = i + 1;
- break;
- }
- }
-
- if (indexOfDot == -1)
- {
- indexOfDot = path.Length;
- }
-
- return path.Substring(indexOfSlash, indexOfDot - indexOfSlash);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Utility.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Utility.cs.meta
deleted file mode 100644
index 3c27829..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/Utility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1ac677c5ece15b443b2aaf7fae5842f7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeDiscovery.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeDiscovery.cs
deleted file mode 100644
index 609d2cd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeDiscovery.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using Unity.CodeEditor;
-
-namespace VSCodeEditor
-{
- public interface IDiscovery
- {
- CodeEditor.Installation[] PathCallback();
- }
-
- public class VSCodeDiscovery : IDiscovery
- {
- List m_Installations;
-
- public CodeEditor.Installation[] PathCallback()
- {
- if (m_Installations == null)
- {
- m_Installations = new List();
- FindInstallationPaths();
- }
-
- return m_Installations.ToArray();
- }
-
- void FindInstallationPaths()
- {
- string[] possiblePaths =
-#if UNITY_EDITOR_OSX
- {
- "/Applications/Visual Studio Code.app",
- "/Applications/Visual Studio Code - Insiders.app"
- };
-#elif UNITY_EDITOR_WIN
- {
- GetProgramFiles() + @"/Microsoft VS Code/bin/code.cmd",
- GetProgramFiles() + @"/Microsoft VS Code/Code.exe",
- GetProgramFiles() + @"/Microsoft VS Code Insiders/bin/code-insiders.cmd",
- GetProgramFiles() + @"/Microsoft VS Code Insiders/Code.exe",
- GetLocalAppData() + @"/Programs/Microsoft VS Code/bin/code.cmd",
- GetLocalAppData() + @"/Programs/Microsoft VS Code/Code.exe",
- GetLocalAppData() + @"/Programs/Microsoft VS Code Insiders/bin/code-insiders.cmd",
- GetLocalAppData() + @"/Programs/Microsoft VS Code Insiders/Code.exe",
- };
-#else
- {
- "/usr/bin/code",
- "/bin/code",
- "/usr/local/bin/code",
- "/var/lib/flatpak/exports/bin/com.visualstudio.code",
- "/snap/current/bin/code"
- };
-#endif
- var existingPaths = possiblePaths.Where(VSCodeExists).ToList();
- if (!existingPaths.Any())
- {
- return;
- }
-
- var lcp = GetLongestCommonPrefix(existingPaths);
- switch (existingPaths.Count)
- {
- case 1:
- {
- var path = existingPaths.First();
- m_Installations = new List
- {
- new CodeEditor.Installation
- {
- Path = path,
- Name = path.Contains("Insiders")
- ? "Visual Studio Code Insiders"
- : "Visual Studio Code"
- }
- };
- break;
- }
- case 2 when existingPaths.Any(path => !(path.Substring(lcp.Length).Contains("/") || path.Substring(lcp.Length).Contains("\\"))):
- {
- goto case 1;
- }
- default:
- {
- m_Installations = existingPaths.Select(path => new CodeEditor.Installation
- {
- Name = $"Visual Studio Code Insiders ({path.Substring(lcp.Length)})",
- Path = path
- }).ToList();
-
- break;
- }
- }
- }
-
-#if UNITY_EDITOR_WIN
- static string GetProgramFiles()
- {
- return Environment.GetEnvironmentVariable("ProgramFiles")?.Replace("\\", "/");
- }
-
- static string GetLocalAppData()
- {
- return Environment.GetEnvironmentVariable("LOCALAPPDATA")?.Replace("\\", "/");
- }
-#endif
-
- static string GetLongestCommonPrefix(List paths)
- {
- var baseLength = paths.First().Length;
- for (var pathIndex = 1; pathIndex < paths.Count; pathIndex++)
- {
- baseLength = Math.Min(baseLength, paths[pathIndex].Length);
- for (var i = 0; i < baseLength; i++)
- {
- if (paths[pathIndex][i] == paths[0][i]) continue;
-
- baseLength = i;
- break;
- }
- }
-
- return paths[0].Substring(0, baseLength);
- }
-
- static bool VSCodeExists(string path)
- {
-#if UNITY_EDITOR_OSX
- return System.IO.Directory.Exists(path);
-#else
- return new FileInfo(path).Exists;
-#endif
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeDiscovery.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeDiscovery.cs.meta
deleted file mode 100644
index cbeca1b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeDiscovery.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 380f7372e785c7d408552e2c760d269d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeScriptEditor.cs b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeScriptEditor.cs
deleted file mode 100644
index 5332623..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeScriptEditor.cs
+++ /dev/null
@@ -1,257 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using System.Diagnostics;
-using UnityEditor;
-using UnityEngine;
-using Unity.CodeEditor;
-
-namespace VSCodeEditor
-{
- [InitializeOnLoad]
- public class VSCodeScriptEditor : IExternalCodeEditor
- {
- const string vscode_argument = "vscode_arguments";
- const string vscode_generate_all = "unity_generate_all_csproj";
- const string vscode_extension = "vscode_userExtensions";
- static readonly GUIContent k_ResetArguments = EditorGUIUtility.TrTextContent("Reset argument");
- string m_Arguments;
-
- IDiscovery m_Discoverability;
- IGenerator m_ProjectGeneration;
-
- static readonly string[] k_SupportedFileNames = { "code.exe", "visualstudiocode.app", "visualstudiocode-insiders.app", "vscode.app", "code.app", "code.cmd", "code-insiders.cmd", "code", "com.visualstudio.code" };
-
- static bool IsOSX => Application.platform == RuntimePlatform.OSXEditor;
-
- static string DefaultApp => EditorPrefs.GetString("kScriptsDefaultApp");
-
- static string DefaultArgument { get; } = "\"$(ProjectPath)\" -g \"$(File)\":$(Line):$(Column)";
-
- string Arguments
- {
- get => m_Arguments ?? (m_Arguments = EditorPrefs.GetString(vscode_argument, DefaultArgument));
- set
- {
- m_Arguments = value;
- EditorPrefs.SetString(vscode_argument, value);
- }
- }
-
- static string[] defaultExtensions
- {
- get
- {
- var customExtensions = new[] { "json", "asmdef", "log" };
- return EditorSettings.projectGenerationBuiltinExtensions
- .Concat(EditorSettings.projectGenerationUserExtensions)
- .Concat(customExtensions)
- .Distinct().ToArray();
- }
- }
-
- static string[] HandledExtensions
- {
- get
- {
- return HandledExtensionsString
- .Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries)
- .Select(s => s.TrimStart('.', '*'))
- .ToArray();
- }
- }
-
- static string HandledExtensionsString
- {
- get => EditorPrefs.GetString(vscode_extension, string.Join(";", defaultExtensions));
- set => EditorPrefs.SetString(vscode_extension, value);
- }
-
- public bool TryGetInstallationForPath(string editorPath, out CodeEditor.Installation installation)
- {
- var lowerCasePath = editorPath.ToLower();
- var filename = Path.GetFileName(lowerCasePath).Replace(" ", "");
- var installations = Installations;
- if (!k_SupportedFileNames.Contains(filename))
- {
- installation = default;
- return false;
- }
-
- if (!installations.Any())
- {
- installation = new CodeEditor.Installation
- {
- Name = "Visual Studio Code",
- Path = editorPath
- };
- }
- else
- {
- try
- {
- installation = installations.First(inst => inst.Path == editorPath);
- }
- catch (InvalidOperationException)
- {
- installation = new CodeEditor.Installation
- {
- Name = "Visual Studio Code",
- Path = editorPath
- };
- }
- }
-
- return true;
- }
-
- public void OnGUI()
- {
- Arguments = EditorGUILayout.TextField("External Script Editor Args", Arguments);
- if (GUILayout.Button(k_ResetArguments, GUILayout.Width(120)))
- {
- Arguments = DefaultArgument;
- }
-
- var prevGenerate = EditorPrefs.GetBool(vscode_generate_all, false);
-
- var generateAll = EditorGUILayout.Toggle("Generate all .csproj files.", prevGenerate);
- if (generateAll != prevGenerate)
- {
- EditorPrefs.SetBool(vscode_generate_all, generateAll);
- }
-
- m_ProjectGeneration.GenerateAll(generateAll);
-
- HandledExtensionsString = EditorGUILayout.TextField(new GUIContent("Extensions handled: "), HandledExtensionsString);
- }
-
- public void CreateIfDoesntExist()
- {
- if (!m_ProjectGeneration.SolutionExists())
- {
- m_ProjectGeneration.Sync();
- }
- }
-
- public void SyncIfNeeded(string[] addedFiles, string[] deletedFiles, string[] movedFiles, string[] movedFromFiles, string[] importedFiles)
- {
- m_ProjectGeneration.SyncIfNeeded(addedFiles.Union(deletedFiles).Union(movedFiles).Union(movedFromFiles), importedFiles);
- }
-
- public void SyncAll()
- {
- AssetDatabase.Refresh();
- m_ProjectGeneration.Sync();
- }
-
- public bool OpenProject(string path, int line, int column)
- {
- if (path != "" && !SupportsExtension(path)) // Assets - Open C# Project passes empty path here
- {
- return false;
- }
-
- if (line == -1)
- line = 1;
- if (column == -1)
- column = 0;
-
- string arguments;
- if (Arguments != DefaultArgument)
- {
- arguments = m_ProjectGeneration.ProjectDirectory != path
- ? CodeEditor.ParseArgument(Arguments, path, line, column)
- : m_ProjectGeneration.ProjectDirectory;
- }
- else
- {
- arguments = $@"""{m_ProjectGeneration.ProjectDirectory}""";
- if (m_ProjectGeneration.ProjectDirectory != path && path.Length != 0)
- {
- arguments += $@" -g ""{path}"":{line}:{column}";
- }
- }
-
- if (IsOSX)
- {
- return OpenOSX(arguments);
- }
-
- var app = DefaultApp;
- var process = new Process
- {
- StartInfo = new ProcessStartInfo
- {
- FileName = app,
- Arguments = arguments,
- WindowStyle = app.EndsWith(".cmd", StringComparison.OrdinalIgnoreCase) ? ProcessWindowStyle.Hidden : ProcessWindowStyle.Normal,
- CreateNoWindow = true,
- UseShellExecute = true,
- }
- };
-
- process.Start();
- return true;
- }
-
- static bool OpenOSX(string arguments)
- {
- var process = new Process
- {
- StartInfo = new ProcessStartInfo
- {
- FileName = "open",
- Arguments = $"-n \"{DefaultApp}\" --args {arguments}",
- UseShellExecute = true,
- }
- };
-
- process.Start();
- return true;
- }
-
- static bool SupportsExtension(string path)
- {
- var extension = Path.GetExtension(path);
- if (string.IsNullOrEmpty(extension))
- return false;
- return HandledExtensions.Contains(extension.TrimStart('.'));
- }
-
- public CodeEditor.Installation[] Installations => m_Discoverability.PathCallback();
-
- public VSCodeScriptEditor(IDiscovery discovery, IGenerator projectGeneration)
- {
- m_Discoverability = discovery;
- m_ProjectGeneration = projectGeneration;
- }
-
- static VSCodeScriptEditor()
- {
- var editor = new VSCodeScriptEditor(new VSCodeDiscovery(), new ProjectGeneration(Directory.GetParent(Application.dataPath).FullName));
- CodeEditor.Register(editor);
-
- if (IsVSCodeInstallation(CodeEditor.CurrentEditorInstallation))
- {
- editor.CreateIfDoesntExist();
- }
- }
-
- static bool IsVSCodeInstallation(string path)
- {
- if (string.IsNullOrEmpty(path))
- {
- return false;
- }
-
- var lowerCasePath = path.ToLower();
- var filename = Path
- .GetFileName(lowerCasePath.Replace('\\', Path.DirectorySeparatorChar).Replace('/', Path.DirectorySeparatorChar))
- .Replace(" ", "");
- return k_SupportedFileNames.Contains(filename);
- }
-
- public void Initialize(string editorInstallationPath) { }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeScriptEditor.cs.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeScriptEditor.cs.meta
deleted file mode 100644
index a0aa5a4..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/Editor/VSCodeScriptEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ac3f13489022aa34d861a0320a6917b9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/LICENSE.md b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/LICENSE.md
deleted file mode 100644
index eb18dfb..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/LICENSE.md
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2019 Unity Technologies
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/LICENSE.md.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/LICENSE.md.meta
deleted file mode 100644
index 1c1e96e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/LICENSE.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: c9aabac5924106d4790d7b3a924ca34d
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/package.json b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/package.json
deleted file mode 100644
index 6f1d502..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/package.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "name": "com.unity.ide.vscode",
- "displayName": "Visual Studio Code Editor",
- "description": "Code editor integration for supporting Visual Studio Code as code editor for unity. Adds support for generating csproj files for intellisense purposes, auto discovery of installations, etc.",
- "version": "1.1.3",
- "unity": "2019.2",
- "unityRelease": "0a12",
- "dependencies": {},
- "relatedPackages": {
- "com.unity.ide.vscode.tests": "1.1.3"
- },
- "repository": {
- "type": "git",
- "url": "git@github.cds.internal.unity3d.com:unity/com.unity.ide.vscode.git",
- "revision": "7509767be271ef8ccdfaf82ea0fb71162a971d43"
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/package.json.meta b/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/package.json.meta
deleted file mode 100644
index 8e83539..0000000
--- a/Jump Game/Library/PackageCache/com.unity.ide.vscode@1.1.3/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: ffc6271f08270b64ca0aae9c49235d81
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CHANGELOG.md b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CHANGELOG.md
deleted file mode 100644
index cac5b9d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CHANGELOG.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Changelog
-## [1.0.13] - 2019-05-07
-- Fixed a regression where results from the player would no longer update correctly in the UI (case 1151147).
-
-## [1.0.12] - 2019-04-16
-- Added specific unity release to the package information.
-
-## [1.0.11] - 2019-04-10
-- Fixed a regression from 1.0.10 where test-started events were triggered multiple times after a domain reload.
-
-## [1.0.10] - 2019-04-08
-- Fixed an issue where test-started events would not be fired correctly after a test performing a domain reload (case 1141530).
-- The UI should correctly run tests inside a nested class, when that class is selected.
-- All actions should now correctly display a prefix when reporting test result. E.g. "TearDown :".
-- Errors logged with Debug.LogError in TearDowns now append the error, rather than overwriting the existing result (case 1114306).
-- Incorrect implementations of IWrapTestMethod and IWrapSetUpTearDown now gives a meaningful error.
-- Fixed a regression where the Test Framework would run TearDown in a base class before the inheriting class (case 1142553).
-- Fixed a regression introduced in 1.0.9 where tests with the Explicit attribute could no longer be executed.
-
-## [1.0.9] - 2019-03-27
-- Fixed an issue where a corrupt instance of the test runner window would block for a new being opened.
-- Added the required modules to the list of package requirements.
-- Fixed an issue where errors would happen if the test filter ui was clicked before the ui is done loading.
-- Fix selecting items with duplicate names in test hierarchy of Test Runner window (case 987587).
-- Fixed RecompileScripts instruction which we use in tests (case 1128994).
-- Fixed an issue where using multiple filters on tests would sometimes give an incorrect result.
-
-## [1.0.7] - 2019-03-12
-### This is the first release of *Unity Package com.unity.test-framework*.
-
-- Migrated the test-framework from the current extension in unity.
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CHANGELOG.md.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CHANGELOG.md.meta
deleted file mode 100644
index 4fca79e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CHANGELOG.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: d691174143fd3774ba63d7c493633b99
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CONTRIBUTING.md b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CONTRIBUTING.md
deleted file mode 100644
index 9f299b1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CONTRIBUTING.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Contributing
-
-## If you are interested in contributing, here are some ground rules:
-* ... Define guidelines & rules for what contributors need to know to successfully make Pull requests against your repo ...
-
-## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement)
-By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.
-
-## Once you have a change ready following these ground rules. Simply make a pull request
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CONTRIBUTING.md.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CONTRIBUTING.md.meta
deleted file mode 100644
index 39e850a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/CONTRIBUTING.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 57d2ac5c7d5786e499d4794973fe0d4e
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/PlaymodeTestFramework.md b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/PlaymodeTestFramework.md
deleted file mode 100644
index eeb18bc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/PlaymodeTestFramework.md
+++ /dev/null
@@ -1,224 +0,0 @@
-# Writing and executing tests in Unity Test Runner
-
-The Unity Test Runner tests your code in __Edit__ mode and __Play__ mode, as well as on target platforms such as Standalone, Android, or iOS.
-
-The documentation on this page discusses writing and executing tests in the the Unity Test Runner, and assumes you understand both [scripting](https://docs.unity3d.com/Manual/CreatingAndUsingScripts.html) and the [Unity Test Runner](About.md).
-
-Unity delivers test results in an XML format. For more information, see the [NUnit documentation on XML format test results](https://github.com/nunit/docs/wiki/Test-Result-XML-Format).
-
-## UnityTestAttribute
-
-[UnityTestAttribute](https://docs.unity3d.com/ScriptReference/TestTools.UnityTestAttribute.html) requires you to return `IEnumerator`. In __Play__ mode, execute the test as a [coroutine](https://docs.unity3d.com/ScriptReference/Coroutine.html). In __Edit__ mode, you can yield `null` from the test, which skips the current frame.
-
-__Note:__ The WebGL and WSA platforms do not support `UnityTestAttribute`.
-
-### Regular NUnit test (works in Edit mode and Play mode)
-
-```
-[Test]
-public void GameObject_CreatedWithGiven_WillHaveTheName()
-{
- var go = new GameObject("MyGameObject");
- Assert.AreEqual("MyGameObject", go.name);
-}
-```
-
-### Example in Play mode
-
-```
-[UnityTest]
-public IEnumerator GameObject_WithRigidBody_WillBeAffectedByPhysics()
-{
- var go = new GameObject();
- go.AddComponent();
- var originalPosition = go.transform.position.y;
-
- yield return new WaitForFixedUpdate();
-
- Assert.AreNotEqual(originalPosition, go.transform.position.y);
-}
-```
-
-### Example in Edit mode:
-
-```
-[UnityTest]
-public IEnumerator EditorUtility_WhenExecuted_ReturnsSuccess()
-{
- var utility = RunEditorUtilityInTheBackgroud();
-
- while (utility.isRunning)
- {
- yield return null;
- }
-
- Assert.IsTrue(utility.isSuccess);
-}
-```
-
-## UnityPlatformAttribute
-
-Use [UnityPlatformAttribute](https://docs.unity3d.com/ScriptReference/TestTools.UnityPlatformAttribute.html) to filter tests based on the the executing platform. It behaves like the [NUnit ](http://nunit.org/docs/2.5/platform.html)[PlatformAttribute](http://nunit.org/docs/2.5/platform.html).
-
-```
-[Test]
-[UnityPlatform (RuntimePlatform.WindowsPlayer)]
-public void TestMethod1()
-{
- Assert.AreEqual(Application.platform, RuntimePlatform.WindowsPlayer);
-}
-
-[Test]
-[UnityPlatform(exclude = new[] {RuntimePlatform.WindowsEditor })]
-public void TestMethod2()
-{
- Assert.AreNotEqual(Application.platform, RuntimePlatform.WindowsEditor);
-}
-```
-
-To only execute Editor tests on a given platform, you can also use `UnityPlatform` .
-
-### PrebuildSetupAttriubte
-
-Use [PrebuildSetupAttribute](https://docs.unity3d.com/ScriptReference/TestTools.PrebuildSetupAttribute.html) if you need to perform any extra set-up before the test starts. To do this, specify the class type that implements the [IPrebuildSetup](https://docs.unity3d.com/ScriptReference/TestTools.IPrebuildSetup.html) interface. If you need to run the set-up code for the whole class (for example, if you want to execute some code before the test starts, such as Asset preparation or set-up required for a specific test), implement the `IPrebuildSetup` interface in the class for tests.
-
-```
-public class TestsWithPrebuildStep : IPrebuildSetup
-{
- public void Setup()
- {
- // Run this code before the tests are executed
- }
-
- [Test]
- //PrebuildSetupAttribute can be skipped because it's implemented in the same class
- [PrebuildSetup(typeof(TestsWithPrebuildStep))]
- public void Test()
- {
- (...)
- }
-}
-```
-
-Execute the `IPrebuildSetup` code before entering Play mode or building a player. Setup can use UnityEditor namespace and its function, but to avoid compilation errors, you must place it either in the *Editor* folder, or guard it with the `#if UNITY_EDITOR` directive.
-
-## LogAssert
-
-A test fails if Unity logs a message other than a regular log or warning message. Use the [LogAssert](https://docs.unity3d.com/ScriptReference/TestTools.LogAssert.html) class to make a message expected in the log, so that the test does not fail when Unity logs that message.
-
-A test also reports as failed if an expected message does not appear, or if Unity does not log any regular log or warning messages.
-
-### Example
-
-```
-[Test]
-public void LogAssertExample()
-{
- //Expect a regular log message
- LogAssert.Expect(LogType.Log, "Log message");
- //A log message is expected so without the following line
- //the test would fail
- Debug.Log("Log message");
- //An error log is printed
- Debug.LogError("Error message");
- //Without expecting an error log, the test would fail
- LogAssert.Expect(LogType.Error, "Error message");
-}
-```
-
-## MonoBehaviourTest
-
-[MonoBehaviourTest](https://docs.unity3d.com/ScriptReference/TestTools.MonoBehaviourTest_1.html) is a [coroutine](https://docs.unity3d.com/ScriptReference/Coroutine.html), and a helper for writing [MonoBehaviour](https://docs.unity3d.com/ScriptReference/MonoBehaviour.html) tests. Yield `MonoBehaviourTest` from the [UnityTest](https://docs.unity3d.com/ScriptReference/TestTools.UnityTestAttribute.html) attribute to instantiate the specified MonoBehaviour and wait for it to finish executing. Implement the [IMonoBehaviourTest](https://docs.unity3d.com/ScriptReference/TestTools.IMonoBehaviourTest.html) interface to indicate when the test is done.
-
-### Example
-
-```
-[UnityTest]
-public IEnumerator MonoBehaviourTest_Works()
-{
- yield return new MonoBehaviourTest();
-}
-
-public class MyMonoBehaviourTest : MonoBehaviour, IMonoBehaviourTest
-{
- private int frameCount;
- public bool IsTestFinished
- {
- get { return frameCount > 10; }
- }
-
- void Update()
- {
- frameCount++;
- }
-}
-```
-
-## Running tests on platforms
-
-In __Play__ mode, you can run tests on specific platforms. The target platform is always the current Platform selected in [Build Settings](https://docs.unity3d.com/Manual/BuildSettings.html) (menu: __File__ > __Build Settings__). Click __Run all in the player__ to build and run your tests on the currently active target platform.
-
-Note that your current platform displays in brackets on the button. For example, in the screenshot below, the button reads __Run all in player (StandaloneWindows)__, because the current platform is Windows.
-
-![](UnityTestRunner-3.png)
-
-The test results display in the build once the test is complete.
-
-![](UnityTestRunner-4.png)
-
-To get the test results from the platform to the Editor running the test, both need to be on same network. The application running on the platform reports back the test results, displays the tests executed, and shuts down.
-
-Note that some platforms do not support shutting down the application with [Application.Quit](https://docs.unity3d.com/ScriptReference/Application.Quit.html). These continue running after reporting test results.
-
-If Unity cannot instantiate the connection, you can visually see the tests succeed in the running application. Note that running tests on platforms with arguments, in this state, does not provide XML test results.
-
-## Running from the command line
-
-To do this, run Unity with the following [command line arguments](https://docs.unity3d.com/Manual/CommandLineArguments.html):
-
-* `runTest` - Executes tests in the Project.
-
-* `testPlatform` - The platform you want to run tests on.
-
- * Available platforms:
-
- * `playmode` and `editmode`. Note that If unspecified, tests run in `editmode` by default.
-
- * Platform/Type convention is from the [BuildTarget](https://docs.unity3d.com/ScriptReference/BuildTarget.html) enum. The tested and official supported platforms:
-
- * [StandaloneWindows](https://docs.unity3d.com/ScriptReference/BuildTarget.StandaloneWindows.html)
-
- * [StandaloneWindows64](https://docs.unity3d.com/ScriptReference/BuildTarget.StandaloneWindows64.html)
-
- * [StandaloneOSXIntel](https://docs.unity3d.com/ScriptReference/BuildTarget.StandaloneOSXIntel.html)
-
- * [StandaloneOSXIntel64](https://docs.unity3d.com/ScriptReference/BuildTarget.StandaloneOSXIntel64.html)
-
- * [iOS](https://docs.unity3d.com/ScriptReference/BuildTarget.iOS.html)
-
- * [tvOS](https://docs.unity3d.com/ScriptReference/BuildTarget.tvOS.html)
-
- * [Android](https://docs.unity3d.com/ScriptReference/BuildTarget.Android.html)
-
- * [PS4](https://docs.unity3d.com/ScriptReference/BuildTarget.PS4.html)
-
- * [XboxOne](https://docs.unity3d.com/ScriptReference/BuildTarget.XboxOne.html)
-
-* `testResults` - The path indicating where Unity should save the result file. By default, Unity saves it in the Project’s root folder.
-
-### Example
-
-The following example shows a command line argument on Windows. The specific line may differ depending on your operating system.
-
-
-```
->Unity.exe -runTests -projectPath PATH_TO_YOUR_PROJECT -testResults C:\temp\results.xml -testPlatform editmode
-```
-
-__Tip:__ On Windows, in order to read the result code of the executed command, run the following:
-
-`start /WAIT Unity.exe ARGUMENT_LIST`.
-
-## Comparison utilities
-
-The [UnityEngine.TestTools.Utils](https://docs.unity3d.com/ScriptReference/TestTools.Utils.Utils.html) namespace contains utility classes to compare [Vector2](https://docs.unity3d.com/ScriptReference/Vector2.html), [Vector3](https://docs.unity3d.com/ScriptReference/Vector3.html), [Vector4](https://docs.unity3d.com/ScriptReference/Vector4.html), [Quaternion](https://docs.unity3d.com/ScriptReference/Quaternion.html), [Color](https://docs.unity3d.com/ScriptReference/Color.html) and `float` types using NUnit constraints.
\ No newline at end of file
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-0.png b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-0.png
deleted file mode 100644
index b078104..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-0.png and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-1.png b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-1.png
deleted file mode 100644
index 9c68789..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-1.png and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-2.png b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-2.png
deleted file mode 100644
index a6fedfb..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-2.png and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-3.png b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-3.png
deleted file mode 100644
index febd5fc..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-3.png and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-4.png b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-4.png
deleted file mode 100644
index 8d46304..0000000
Binary files a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/UnityTestRunner-4.png and /dev/null differ
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/com.unity.test-framework.md b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/com.unity.test-framework.md
deleted file mode 100644
index 38ba399..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/Documentation~/com.unity.test-framework.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# Unity Test Runner
-
-The Unity Test Runner is a tool that tests your code in both __Edit__ mode and __Play__ mode, and also on target platforms such as [Standalone](https://docs.unity3d.com/Manual/Standalone.html), Android, or iOS.
-
-To access the Unity Test Runner, go to __Window__ > __Test Runner__.
-
-![](UnityTestRunner-0.png)
-
-The Unity Test Runner uses a Unity integration of the NUnit library, which is an open-source unit testing library for .Net languages. For more information about NUnit, see the [official NUnit website](http://www.nunit.org/) and the [NUnit documentation on GitHub](https://github.com/nunit/docs/wiki/NUnit-Documentation).
-
-[UnityTestAttribute](https://docs.unity3d.com/ScriptReference/TestTools.UnityTestAttribute.html) is the main addition to the standard NUnit library for the Unity Test Runner. This is a type of unit test that allows you to skip a frame from within a test (which allows background tasks to finish). To use `UnityTestAttribute`:
-
-* In __Play__ mode: Execute `UnityTestAttribute` as a [coroutine](https://docs.unity3d.com/ScriptReference/Coroutine.html).
-
-* In __Edit__ mode: Execute `UnityTestAttribute` in the [EditorApplication.update](https://docs.unity3d.com/ScriptReference/EditorApplication-update.html) callback loop.
-
-## Known issues and limitations
-
-There are some known issues and limitations of the Unity Test Runner:
-
-* The WebGL and WSA platforms do not support `UnityTestAttribute`.
-
-* `UnityTest` does not support [Parameterized tests](https://github.com/nunit/docs/wiki/Parameterized-Tests) (except for `ValueSource`).
-
-## How to use Unity Test Runner
-
-This page assumes you already have an understanding of unit testing and NUnit. If you are new to NUnit or would like more information, see to the [NUnit documentation on GitHub](https://github.com/nunit/docs/wiki/NUnit-Documentation).
-
-To open the Unity Test Runner, open Unity and go to __Window__ > __Test Runner__. If there are no tests in your Project, click the __Create Test Script in current folder__ button to create a basic test script. This button is greyed out if adding a test script would result in a compilation error. The conditions for adding a test script are in the [Editor](https://docs.unity3d.com/Manual/SpecialFolders.html) folder, or any folders using Assembly Definition files that reference test assemblies (NUnit, Unity Test Runner, and user script assemblies).
-
-![](UnityTestRunner-1.png)
-
-You can also create test scripts by navigating to __Assets__ > __Create__ > __C# Test Script__. This option is disabled if adding a test script would result in a compilation error.
-
-__Note:__ Unity does not include test assemblies (NUnit, Unity TestRunner, and user script assemblies) when using the normal build pipeline, but does include them when using "Run on <Platform>" in the Test Runner Window.
-
-### Testing in Edit mode
-
-In __Edit__ mode, Unity runs tests from the Test Runner window.
-
-Edit mode test scripts are defined by the file location you place them in. Valid locations:
-
-* Project [Editor](https://docs.unity3d.com/Manual/SpecialFolders.html) folder
-
-* Assembly Definition file that references test assemblies that are Editor-only
-
-* Precompiled assemblies that are in the Project’s [Editor](https://docs.unity3d.com/Manual/SpecialFolders.html) folder
-
-Click the __EditMode__ button, then click __Create Test Script in current folder__ to create a basic test script. Open and edit this in your preferred script editing software as required.
-
-Note: When running in __Edit__ mode, execute [UnityTestAttribute](https://docs.unity3d.com/ScriptReference/TestTools.UnityTestAttribute.html) in the [EditorApplication.update](https://docs.unity3d.com/ScriptReference/EditorApplication-update.html) callback loop.
-
-### Testing in Play mode
-
-You need to place Play mode test scripts in a folder that an Assembly Definition file includes. The Assembly Definition file needs to reference test assemblies (Nunit and Unity TestRunner). Pre-defined Unity assemblies (such as *Assembly-CSharp.dll*) do not reference the defined assembly. This Assembly Definition file also needs to reference the assembly you want to test. This means that it’s only possible to test code defined by other Assembly Definition files.
-
-Unity does not include test assemblies in normal player builds; only when running through the Test Runner. If you need to test code in pre-defined assemblies, you can reference test assemblies from all the assemblies. However, you must manually remove these tests afterwards, so that Unity does not add them to the final player build.
-
-To do this:
-
-1. Save your project.
-
-2. Go to __Window__ > __Test Runner.__
-
-3. Click the small drop-down menu in the top-right of the window.
-
-4. Click __Enable playmode tests for all assemblies__.
-
-5. In the dialog box appears, click __OK__ to manually restart the Editor.
-
-![](UnityTestRunner-2.png)
-
-__Note:__ Enabling __PlayMode__ tests for all assemblies includes additional assemblies in your Project’s build, which can increase your Project’s size as well as build time.
-
-To create __PlayMode__ test scripts, select __PlayMode__ in the Test Runner window and click __Create Test Script in current folder__. This button is greyed out if adding the script would result in a compilation error.
-
-__Note__: Execute [UnityTestAttribute](https://docs.unity3d.com/ScriptReference/TestTools.UnityTestAttribute.html) as a [coroutine](https://docs.unity3d.com/ScriptReference/Coroutine.html) when running in __Play__ mode.
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/LICENSE.md b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/LICENSE.md
deleted file mode 100644
index f2dc729..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/LICENSE.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Test Framework copyright © 2019 Unity Technologies ApS
-
-Licensed under the Unity Companion License for Unity-dependent projects--see [Unity Companion License](http://www.unity3d.com/legal/licenses/Unity_Companion_License).
-
-Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/LICENSE.md.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/LICENSE.md.meta
deleted file mode 100644
index f6a2ca2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/LICENSE.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 3ec7596410385054a9e0bc90377fbe63
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner.meta
deleted file mode 100644
index d1eb573..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 95cdf27b47eb82747ba9e51f41e72a35
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api.meta
deleted file mode 100644
index 2ffb8f9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: fa423365b1ce06a4dbdc6fb4a8597bfa
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegator.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegator.cs
deleted file mode 100644
index ca73e2d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegator.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-using System;
-using System.Linq;
-using System.Text;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-using UnityEngine;
-using UnityEngine.TestRunner.TestLaunchers;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class CallbacksDelegator
- {
- private static CallbacksDelegator s_instance;
- public static CallbacksDelegator instance
- {
- get
- {
- if (s_instance == null)
- {
- s_instance = new CallbacksDelegator(CallbacksHolder.instance.GetAll, new TestAdaptorFactory());
- }
- return s_instance;
- }
- }
-
- private readonly Func m_CallbacksProvider;
- private readonly ITestAdaptorFactory m_AdaptorFactory;
-
- public CallbacksDelegator(Func callbacksProvider, ITestAdaptorFactory adaptorFactory)
- {
- m_CallbacksProvider = callbacksProvider;
- m_AdaptorFactory = adaptorFactory;
- }
-
- public void RunStarted(ITest testsToRun)
- {
- var testRunnerTestsToRun = m_AdaptorFactory.Create(testsToRun);
- TryInvokeAllCallbacks(callbacks => callbacks.RunStarted(testRunnerTestsToRun));
- }
-
- public void RunStartedRemotely(byte[] testsToRunData)
- {
- var testData = Deserialize(testsToRunData);
- var testsToRun = m_AdaptorFactory.BuildTree(testData);
- TryInvokeAllCallbacks(callbacks => callbacks.RunStarted(testsToRun));
- }
-
- public void RunFinished(ITestResult testResults)
- {
- var testResult = m_AdaptorFactory.Create(testResults);
- TryInvokeAllCallbacks(callbacks => callbacks.RunFinished(testResult));
- }
-
- public void RunFinishedRemotely(byte[] testResultsData)
- {
- var remoteTestResult = Deserialize(testResultsData);
- var testResult = m_AdaptorFactory.Create(remoteTestResult.results.First(), remoteTestResult);
- TryInvokeAllCallbacks(callbacks => callbacks.RunFinished(testResult));
- }
-
- public void RunFailed(string failureMessage)
- {
- var nunitTestResult = new TestSuiteResult(new TestSuite("test"));
- nunitTestResult.SetResult(ResultState.Error, failureMessage);
- var testResult = m_AdaptorFactory.Create(nunitTestResult);
- TryInvokeAllCallbacks(callbacks => callbacks.RunFinished(testResult));
- }
-
- public void TestStarted(ITest test)
- {
- var testRunnerTest = m_AdaptorFactory.Create(test);
- TryInvokeAllCallbacks(callbacks => callbacks.TestStarted(testRunnerTest));
- }
-
- public void TestStartedRemotely(byte[] testStartedData)
- {
- var testData = Deserialize(testStartedData);
- var testsToRun = m_AdaptorFactory.BuildTree(testData);
-
- TryInvokeAllCallbacks(callbacks => callbacks.TestStarted(testsToRun));
- }
-
- public void TestFinished(ITestResult result)
- {
- var testResult = m_AdaptorFactory.Create(result);
- TryInvokeAllCallbacks(callbacks => callbacks.TestFinished(testResult));
- }
-
- public void TestFinishedRemotely(byte[] testResultsData)
- {
- var remoteTestResult = Deserialize(testResultsData);
- var testResult = m_AdaptorFactory.Create(remoteTestResult.results.First(), remoteTestResult);
- TryInvokeAllCallbacks(callbacks => callbacks.TestFinished(testResult));
- }
-
- private void TryInvokeAllCallbacks(Action callbackAction)
- {
- foreach (var testRunnerApiCallback in m_CallbacksProvider())
- {
- try
- {
- callbackAction(testRunnerApiCallback);
- }
- catch (Exception ex)
- {
- Debug.LogException(ex);
- }
- }
- }
-
- private static T Deserialize(byte[] data)
- {
- return JsonUtility.FromJson(Encoding.UTF8.GetString(data));
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegator.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegator.cs.meta
deleted file mode 100644
index 89e0904..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegator.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0de03ebd74e2b474fa23d05ab42d0cd8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegatorListener.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegatorListener.cs
deleted file mode 100644
index c19621d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegatorListener.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class CallbacksDelegatorListener : ScriptableObject, ITestRunnerListener
- {
- public void RunStarted(NUnit.Framework.Interfaces.ITest testsToRun)
- {
- CallbacksDelegator.instance.RunStarted(testsToRun);
- }
-
- public void RunFinished(NUnit.Framework.Interfaces.ITestResult testResults)
- {
- CallbacksDelegator.instance.RunFinished(testResults);
- }
-
- public void TestStarted(NUnit.Framework.Interfaces.ITest test)
- {
- CallbacksDelegator.instance.TestStarted(test);
- }
-
- public void TestFinished(NUnit.Framework.Interfaces.ITestResult result)
- {
- CallbacksDelegator.instance.TestFinished(result);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegatorListener.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegatorListener.cs.meta
deleted file mode 100644
index c9bb94a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksDelegatorListener.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f3e1b3cbf3fac6a459b1a602167ad311
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksHolder.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksHolder.cs
deleted file mode 100644
index 07b8ecf..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksHolder.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class CallbacksHolder : ScriptableSingleton
- {
- private List m_Callbacks = new List();
- public void Add(ICallbacks callback, int priority)
- {
- m_Callbacks.Add(new CallbackWithPriority(callback, priority));
- }
-
- public void Remove(ICallbacks callback)
- {
- m_Callbacks.RemoveAll(callbackWithPriority => callbackWithPriority.Callback == callback);
- }
-
- public ICallbacks[] GetAll()
- {
- return m_Callbacks.OrderByDescending(callback => callback.Priority).Select(callback => callback.Callback).ToArray();
- }
-
- public void Clear()
- {
- m_Callbacks.Clear();
- }
-
- private struct CallbackWithPriority
- {
- public ICallbacks Callback;
- public int Priority;
- public CallbackWithPriority(ICallbacks callback, int priority)
- {
- Callback = callback;
- Priority = priority;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksHolder.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksHolder.cs.meta
deleted file mode 100644
index 7c42028..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/CallbacksHolder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4884ccc3528cb2e40a0e6f0a19a2b35b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ExecutionSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ExecutionSettings.cs
deleted file mode 100644
index 76a6bc8..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ExecutionSettings.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class ExecutionSettings
- {
- public BuildTarget? targetPlatform;
- public ITestRunSettings overloadTestRunSettings;
- public Filter filter;
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ExecutionSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ExecutionSettings.cs.meta
deleted file mode 100644
index 602a117..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ExecutionSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: eea34a28297f9bc4c9f4c573bc8d5d1c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/Filter.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/Filter.cs
deleted file mode 100644
index 96b4657..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/Filter.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- [Serializable]
- internal class Filter
- {
- [SerializeField]
- public TestMode testMode;
- [SerializeField]
- public string[] testNames;
- [SerializeField]
- public string[] groupNames;
- [SerializeField]
- public string[] categoryNames;
- [SerializeField]
- public string[] assemblyNames;
-
- public static Filter empty = new Filter();
-
- internal TestRunnerFilter ToTestRunnerFilter()
- {
- return new TestRunnerFilter()
- {
- testNames = testNames,
- categoryNames = categoryNames,
- groupNames = groupNames,
- assemblyNames = assemblyNames
- };
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/Filter.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/Filter.cs.meta
deleted file mode 100644
index bbb21b5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/Filter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 05f92e4a2414cb144a92157752dfa324
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ICallbacks.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ICallbacks.cs
deleted file mode 100644
index c6b3e47..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ICallbacks.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal interface ICallbacks
- {
- void RunStarted(ITestAdaptor testsToRun);
- void RunFinished(ITestResultAdaptor result);
- void TestStarted(ITestAdaptor test);
- void TestFinished(ITestResultAdaptor result);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ICallbacks.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ICallbacks.cs.meta
deleted file mode 100644
index 851e3f6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ICallbacks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 93eea84e53d0226479c9a584f19427b5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptor.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptor.cs
deleted file mode 100644
index 5474a89..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptor.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System.Collections.Generic;
-using NUnit.Framework.Interfaces;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal interface ITestAdaptor
- {
- string Id { get; }
- string Name { get; }
- string FullName { get; }
- int TestCaseCount { get; }
- bool HasChildren { get; }
- bool IsSuite { get; }
- IEnumerable Children { get; }
- int TestCaseTimeout { get; }
- ITypeInfo TypeInfo { get; }
- IMethodInfo Method { get; }
- string[] Categories { get; }
- bool IsTestAssembly { get; }
- RunState RunState { get; }
- string Description { get; }
- string SkipReason { get; }
- string ParentId { get; }
- string UniqueName { get; }
- string ParentUniqueName { get; }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptor.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptor.cs.meta
deleted file mode 100644
index 2ae45af..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 85dd7af03f02aea4aae13a3945e3b313
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs
deleted file mode 100644
index bf59902..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Collections.Generic;
-using NUnit.Framework.Interfaces;
-using UnityEngine.TestRunner.TestLaunchers;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal interface ITestAdaptorFactory
- {
- ITestAdaptor Create(ITest test);
- ITestAdaptor Create(RemoteTestData testData);
- ITestResultAdaptor Create(ITestResult testResult);
- ITestResultAdaptor Create(RemoteTestResultData testResult, RemoteTestResultDataWithTestData allData);
- ITestAdaptor BuildTree(RemoteTestResultDataWithTestData data);
- IEnumerator BuildTreeAsync(RemoteTestResultDataWithTestData data);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs.meta
deleted file mode 100644
index 05dadba..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 803abab0f7e17044db56f8760186dbd1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs
deleted file mode 100644
index 703b5d6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-using System;
-using System.Collections.Generic;
-using NUnit.Framework.Interfaces;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal interface ITestResultAdaptor
- {
- ITestAdaptor Test { get; }
- string Name { get; }
-
- /// Gets the full name of the test result
- string FullName { get; }
-
- string ResultState { get; }
-
- TestStatus TestStatus { get; }
-
- /// Gets the elapsed time for running the test in seconds
- double Duration { get; }
-
- /// Gets or sets the time the test started running.
- DateTime StartTime { get; }
-
- /// Gets or sets the time the test finished running.
- DateTime EndTime { get; }
-
- ///
- /// Gets the message associated with a test
- /// failure or with not running the test
- ///
- string Message { get; }
-
- ///
- /// Gets any stacktrace associated with an
- /// error or failure. Not available in
- /// the Compact Framework 1.0.
- ///
- string StackTrace { get; }
-
- ///
- /// Gets the number of asserts executed
- /// when running the test and all its children.
- ///
- int AssertCount { get; }
-
- ///
- /// Gets the number of test cases that failed
- /// when running the test and all its children.
- ///
- int FailCount { get; }
-
- ///
- /// Gets the number of test cases that passed
- /// when running the test and all its children.
- ///
- int PassCount { get; }
-
- ///
- /// Gets the number of test cases that were skipped
- /// when running the test and all its children.
- ///
- int SkipCount { get; }
-
- ///
- /// Gets the number of test cases that were inconclusive
- /// when running the test and all its children.
- ///
- int InconclusiveCount { get; }
-
- ///
- /// Indicates whether this result has any child results.
- /// Accessing HasChildren should not force creation of the
- /// Children collection in classes implementing this interface.
- ///
- bool HasChildren { get; }
-
- /// Gets the the collection of child results.
- IEnumerable Children { get; }
-
- /// Gets any text output written to this result.
- string Output { get; }
-
- TNode ToXml();
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs.meta
deleted file mode 100644
index 5ea944f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4f90cfe4bf5cfb44f84a5b11387f2a42
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunSettings.cs
deleted file mode 100644
index aa4515c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunSettings.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal interface ITestRunSettings : IDisposable
- {
- void Apply();
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunSettings.cs.meta
deleted file mode 100644
index 27a3a33..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2ae2ce6274819484fa8747a28cebdf3a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunnerApi.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunnerApi.cs
deleted file mode 100644
index f2dff85..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunnerApi.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- interface ITestRunnerApi
- {
- void Execute(ExecutionSettings executionSettings);
- void RegisterCallbacks(T testCallbacks, int priority = 0) where T : ICallbacks;
- void UnregisterCallbacks(T testCallbacks) where T : ICallbacks;
- void RetrieveTestList(ExecutionSettings executionSettings, Action callback);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunnerApi.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunnerApi.cs.meta
deleted file mode 100644
index d581ffd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/ITestRunnerApi.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a7842a837a4b13e41ae16193db753418
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/RunState.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/RunState.cs
deleted file mode 100644
index eb2c8ab..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/RunState.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal enum RunState
- {
- NotRunnable,
- Runnable,
- Explicit,
- Skipped,
- Ignored,
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/RunState.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/RunState.cs.meta
deleted file mode 100644
index 818e3c0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/RunState.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8bb59cb2f66d156418ca1bd1e2703233
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptor.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptor.cs
deleted file mode 100644
index 0b6dc64..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptor.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-using UnityEngine.TestRunner.NUnitExtensions;
-using UnityEngine.TestRunner.NUnitExtensions.Runner;
-using UnityEngine.TestRunner.TestLaunchers;
-using UnityEngine.TestTools.Utils;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class TestAdaptor : ITestAdaptor
- {
- internal TestAdaptor(ITest test) : this(test, new ITest[0])
- {
- }
-
- internal TestAdaptor(ITest test, ITest[] additionalChildren)
- {
- Id = test.Id;
- Name = test.Name;
- var childIndex = -1;
- if (test.Properties["childIndex"].Count > 0)
- {
- childIndex = (int)test.Properties["childIndex"][0];
- }
- FullName = childIndex != -1 ? GetIndexedTestCaseName(test.FullName, childIndex) : test.FullName;
- TestCaseCount = test.TestCaseCount;
- HasChildren = test.HasChildren;
- IsSuite = test.IsSuite;
- Children = new[] {test.Tests, additionalChildren}.SelectMany(t => t).Select(t => new TestAdaptor(t)).ToArray();
- if (UnityTestExecutionContext.CurrentContext != null)
- {
- TestCaseTimeout = UnityTestExecutionContext.CurrentContext.TestCaseTimeout;
- }
- else
- {
- TestCaseTimeout = CoroutineRunner.k_DefaultTimeout;
- }
-
- TypeInfo = test.TypeInfo;
- Method = test.Method;
- FullPath = GetFullPath(test);
- Categories = test.GetAllCategoriesFromTest().Distinct().ToArray();
- IsTestAssembly = test is TestAssembly;
- RunState = (RunState)Enum.Parse(typeof(RunState), test.RunState.ToString());
- Description = (string)test.Properties.Get(PropertyNames.Description);
- SkipReason = test.GetSkipReason();
- ParentId = test.GetParentId();
- UniqueName = test.GetUniqueName();
- ParentUniqueName = test.GetParentUniqueName();
- }
-
- internal TestAdaptor(RemoteTestData test)
- {
- Id = test.id;
- Name = test.name;
- FullName = test.ChildIndex != -1 ? GetIndexedTestCaseName(test.fullName, test.ChildIndex) : test.fullName;
- TestCaseCount = test.testCaseCount;
- HasChildren = test.hasChildren;
- IsSuite = test.isSuite;
- m_ChildrenIds = test.childrenIds;
- TestCaseTimeout = test.testCaseTimeout;
- Categories = test.Categories;
- IsTestAssembly = test.IsTestAssembly;
- RunState = (RunState)Enum.Parse(typeof(RunState), test.RunState.ToString());
- Description = test.Description;
- SkipReason = test.SkipReason;
- ParentId = test.ParentId;
- UniqueName = test.UniqueName;
- ParentUniqueName = test.ParentUniqueName;
- }
-
- internal void ApplyChildren(IEnumerable allTests)
- {
- Children = m_ChildrenIds.Select(id => allTests.First(t => t.Id == id)).ToArray();
- }
-
- public string Id { get; private set; }
- public string Name { get; private set; }
- public string FullName { get; private set; }
- public int TestCaseCount { get; private set; }
- public bool HasChildren { get; private set; }
- public bool IsSuite { get; private set; }
- public IEnumerable Children { get; private set; }
- public int TestCaseTimeout { get; private set; }
- public ITypeInfo TypeInfo { get; private set; }
- public IMethodInfo Method { get; private set; }
- public string FullPath { get; private set; }
- private string[] m_ChildrenIds;
- public string[] Categories { get; private set; }
- public bool IsTestAssembly { get; private set; }
- public RunState RunState { get; }
- public string Description { get; }
- public string SkipReason { get; }
- public string ParentId { get; }
- public string UniqueName { get; }
- public string ParentUniqueName { get; }
-
- private static string GetFullPath(ITest test)
- {
- if (test.Parent != null && test.Parent.Parent != null)
- return GetFullPath(test.Parent) + "/" + test.Name;
- return test.Name;
- }
-
- private static string GetIndexedTestCaseName(string fullName, int index)
- {
- var generatedTestSuffix = " GeneratedTestCase" + index;
- if (fullName.EndsWith(")"))
- {
- // Test names from generated TestCaseSource look like Test(TestCaseSourceType)
- // This inserts a unique test case index in the name, so that it becomes Test(TestCaseSourceType GeneratedTestCase0)
- return fullName.Substring(0, fullName.Length - 1) + generatedTestSuffix + fullName[fullName.Length - 1];
- }
-
- // In some cases there can be tests with duplicate names generated in other ways and they won't have () in their name
- // We just append a suffix at the end of the name in that case
- return fullName + generatedTestSuffix;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptor.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptor.cs.meta
deleted file mode 100644
index 81e39b7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6e0e62db88935c74288c97c907243bd0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptorFactory.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptorFactory.cs
deleted file mode 100644
index 5fb8ab6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptorFactory.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using UnityEngine.TestRunner.TestLaunchers;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class TestAdaptorFactory : ITestAdaptorFactory
- {
- public ITestAdaptor Create(ITest test)
- {
- return new TestAdaptor(test);
- }
-
- public ITestAdaptor Create(RemoteTestData testData)
- {
- return new TestAdaptor(testData);
- }
-
- public ITestResultAdaptor Create(ITestResult testResult)
- {
- return new TestResultAdaptor(testResult);
- }
-
- public ITestResultAdaptor Create(RemoteTestResultData testResult, RemoteTestResultDataWithTestData allData)
- {
- return new TestResultAdaptor(testResult, allData);
- }
-
- public ITestAdaptor BuildTree(RemoteTestResultDataWithTestData data)
- {
- var tests = data.tests.Select(remoteTestData => new TestAdaptor(remoteTestData)).ToList();
-
- foreach (var test in tests)
- {
- test.ApplyChildren(tests);
- }
-
- return tests.First();
- }
-
- public IEnumerator BuildTreeAsync(RemoteTestResultDataWithTestData data)
- {
- var tests = data.tests.Select(remoteTestData => new TestAdaptor(remoteTestData)).ToList();
-
- for (var index = 0; index < tests.Count; index++)
- {
- var test = tests[index];
- test.ApplyChildren(tests);
- if (index % 100 == 0)
- {
- yield return null;
- }
- }
-
- yield return tests.First();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptorFactory.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptorFactory.cs.meta
deleted file mode 100644
index 0b1175f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestAdaptorFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d0663d520c26b7c48a4135599e66acf8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestLauncherFactory.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestLauncherFactory.cs
deleted file mode 100644
index d63110b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestLauncherFactory.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using System;
-using UnityEngine.TestTools;
-using UnityEngine.TestTools.TestRunner;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class TestLauncherFactory
- {
- internal TestLauncherBase GetLauncher(ExecutionSettings executionSettings)
- {
- if (executionSettings.filter.testMode == TestMode.EditMode)
- {
- return GetEditModeLauncher(executionSettings.filter);
- }
- else
- {
- var settings = PlaymodeTestsControllerSettings.CreateRunnerSettings(executionSettings.filter.ToTestRunnerFilter());
- return GetPlayModeLauncher(settings, executionSettings);
- }
- }
-
- static TestLauncherBase GetEditModeLauncher(Filter filter)
- {
- return GetEditModeLauncherForProvidedAssemblies(filter);
- }
-
- static TestLauncherBase GetPlayModeLauncher(PlaymodeTestsControllerSettings settings, ExecutionSettings executionSettings)
- {
- if (executionSettings.targetPlatform != null)
- {
- return GetPlayerLauncher(settings, executionSettings.targetPlatform.Value, executionSettings.overloadTestRunSettings);
- }
-
- if (PlayerSettings.runPlayModeTestAsEditModeTest)
- {
- return GetEditModeLauncherForProvidedAssemblies(executionSettings.filter, TestPlatform.PlayMode);
- }
-
- return GetPlayModeLauncher(settings);
- }
-
- static TestLauncherBase GetEditModeLauncherForProvidedAssemblies(Filter filter, TestPlatform testPlatform = TestPlatform.EditMode)
- {
- return new EditModeLauncher(filter.ToTestRunnerFilter(), testPlatform);
- }
-
- static TestLauncherBase GetPlayModeLauncher(PlaymodeTestsControllerSettings settings)
- {
- return new PlaymodeLauncher(settings);
- }
-
- static TestLauncherBase GetPlayerLauncher(PlaymodeTestsControllerSettings settings, BuildTarget targetPlatform, ITestRunSettings overloadTestRunSettings)
- {
- return new PlayerLauncher(settings, targetPlatform, overloadTestRunSettings);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestLauncherFactory.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestLauncherFactory.cs.meta
deleted file mode 100644
index d214c7d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestLauncherFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f33e570b8b9af1048b80a27e7848cb09
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestMode.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestMode.cs
deleted file mode 100644
index c330457..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestMode.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- [Flags]
- internal enum TestMode
- {
- EditMode = 1 << 0,
- PlayMode = 1 << 1
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestMode.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestMode.cs.meta
deleted file mode 100644
index e04594b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: cad095eccea17b741bc4cd264e7441cd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestResultAdaptor.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestResultAdaptor.cs
deleted file mode 100644
index 06e70f1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestResultAdaptor.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using UnityEngine.TestRunner.TestLaunchers;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class TestResultAdaptor : ITestResultAdaptor
- {
- private TNode m_Node;
-
- internal TestResultAdaptor(ITestResult result)
- {
- Test = new TestAdaptor(result.Test);
- Name = result.Name;
- FullName = result.FullName;
- ResultState = result.ResultState.ToString();
- TestStatus = ParseTestStatus(result.ResultState.Status);
- Duration = result.Duration;
- StartTime = result.StartTime;
- EndTime = result.EndTime;
- Message = result.Message;
- StackTrace = result.StackTrace;
- AssertCount = result.AssertCount;
- FailCount = result.FailCount;
- PassCount = result.PassCount;
- SkipCount = result.SkipCount;
- InconclusiveCount = result.InconclusiveCount;
- HasChildren = result.HasChildren;
- Output = result.Output;
- Children = result.Children.Select(child => new TestResultAdaptor(child)).ToArray();
- m_Node = result.ToXml(true);
- }
-
- internal TestResultAdaptor(RemoteTestResultData result, RemoteTestResultDataWithTestData allData)
- {
- Test = new TestAdaptor(allData.tests.First(t => t.id == result.testId));
- Name = result.name;
- FullName = result.fullName;
- ResultState = result.resultState;
- TestStatus = ParseTestStatus(result.testStatus);
- Duration = result.duration;
- StartTime = result.startTime;
- EndTime = result.endTime;
- Message = result.message;
- StackTrace = result.stackTrace;
- AssertCount = result.assertCount;
- FailCount = result.failCount;
- PassCount = result.passCount;
- SkipCount = result.skipCount;
- InconclusiveCount = result.inconclusiveCount;
- HasChildren = result.hasChildren;
- Output = result.output;
- Children = result.childrenIds.Select(childId => new TestResultAdaptor(allData.results.First(r => r.testId == childId), allData)).ToArray();
- m_Node = TNode.FromXml(result.xml);
- }
-
- public ITestAdaptor Test { get; private set; }
- public string Name { get; private set; }
- public string FullName { get; private set; }
- public string ResultState { get; private set; }
- public TestStatus TestStatus { get; private set; }
- public double Duration { get; private set; }
- public DateTime StartTime { get; private set; }
- public DateTime EndTime { get; private set; }
- public string Message { get; private set; }
- public string StackTrace { get; private set; }
- public int AssertCount { get; private set; }
- public int FailCount { get; private set; }
- public int PassCount { get; private set; }
- public int SkipCount { get; private set; }
- public int InconclusiveCount { get; private set; }
- public bool HasChildren { get; private set; }
- public IEnumerable Children { get; private set; }
- public string Output { get; private set; }
- public TNode ToXml()
- {
- return m_Node;
- }
-
- private static TestStatus ParseTestStatus(NUnit.Framework.Interfaces.TestStatus testStatus)
- {
- return (TestStatus)Enum.Parse(typeof(TestStatus), testStatus.ToString());
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestResultAdaptor.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestResultAdaptor.cs.meta
deleted file mode 100644
index c2b119e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestResultAdaptor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d061ada5d3169454daf54243390b5fdb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunData.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunData.cs
deleted file mode 100644
index decdf28..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunData.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- [Serializable]
- internal class TestRunData : ScriptableSingleton
- {
- [SerializeField]
- public ExecutionSettings executionSettings;
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunData.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunData.cs.meta
deleted file mode 100644
index 701da80..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunData.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 973b024861c5ae84f869aad614234b04
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunnerApi.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunnerApi.cs
deleted file mode 100644
index 655f97d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunnerApi.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-using System;
-using System.Linq;
-using System.Threading;
-using UnityEngine;
-using UnityEngine.TestRunner.TestLaunchers;
-using UnityEngine.TestTools;
-using UnityEngine.TestTools.NUnitExtensions;
-
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal class TestRunnerApi : ScriptableObject, ITestRunnerApi
- {
- public void Execute(ExecutionSettings executionSettings)
- {
- if (executionSettings == null)
- {
- throw new ArgumentException("Filter for execution is undefined.");
- }
-
- var launcherFactory = new TestLauncherFactory();
- var data = TestRunData.instance;
- data.executionSettings = executionSettings;
-
- var testLauncher = launcherFactory.GetLauncher(executionSettings);
- testLauncher.Run();
- }
-
- public void RegisterCallbacks(T testCallbacks, int priority = 0) where T : ICallbacks
- {
- if (testCallbacks == null)
- {
- throw new ArgumentException("TestCallbacks for execution is undefined.");
- }
-
- CallbacksHolder.instance.Add(testCallbacks, priority);
- }
-
- public void UnregisterCallbacks(T testCallbacks) where T : ICallbacks
- {
- if (testCallbacks == null)
- {
- throw new ArgumentException("TestCallbacks for execution is undefined.");
- }
-
- CallbacksHolder.instance.Remove(testCallbacks);
- }
-
- public void RetrieveTestList(ExecutionSettings executionSettings, Action callback)
- {
- if (executionSettings == null)
- {
- throw new ArgumentException("Filter for execution is undefined.");
- }
-
- if (callback == null)
- {
- throw new ArgumentException("Callback is undefined.");
- }
-
- var platform = ParseTestMode(executionSettings.filter.testMode);
- var testAssemblyProvider = new EditorLoadedTestAssemblyProvider(new EditorCompilationInterfaceProxy(), new EditorAssembliesProxy());
- var testAdaptorFactory = new TestAdaptorFactory();
- var testListCache = new TestListCache(testAdaptorFactory, new RemoteTestResultDataFactory(), TestListCacheData.instance);
- var testListProvider = new TestListProvider(testAssemblyProvider, new UnityTestAssemblyBuilder());
- var cachedTestListProvider = new CachingTestListProvider(testListProvider, testListCache, testAdaptorFactory);
-
- var job = new TestListJob(cachedTestListProvider, platform, callback);
- job.Start();
- }
-
- private static TestPlatform ParseTestMode(TestMode testmode)
- {
- if (testmode == TestMode.EditMode)
- {
- return TestPlatform.EditMode;
- }
-
- return TestPlatform.PlayMode;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunnerApi.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunnerApi.cs.meta
deleted file mode 100644
index 7ad5fc1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestRunnerApi.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 68993ba529ae04440916cb7c23bf3279
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestStatus.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestStatus.cs
deleted file mode 100644
index c72973e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestStatus.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.Api
-{
- internal enum TestStatus
- {
- Skipped,
- Passed,
- Failed,
- Inconclusive
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestStatus.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestStatus.cs.meta
deleted file mode 100644
index 38bd6af..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/Api/TestStatus.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9ec94545c5b00344c9bd8e691f15d799
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/AssemblyInfo.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/AssemblyInfo.cs
deleted file mode 100644
index 1c4e19b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/AssemblyInfo.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("UnityEditor.TestRunner")]
-[assembly: InternalsVisibleTo("Assembly-CSharp-Editor-testable")]
-[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
-[assembly: InternalsVisibleTo("Unity.PerformanceTesting.Editor")]
-[assembly: InternalsVisibleTo("Unity.IntegrationTests")]
-[assembly: InternalsVisibleTo("UnityEditor.TestRunner.Tests")]
-[assembly: InternalsVisibleTo("Unity.TestTools.CodeCoverage.Editor")]
-[assembly: InternalsVisibleTo("Unity.PackageManagerUI.Develop.Editor")]
-[assembly: InternalsVisibleTo("Unity.PackageManagerUI.Develop.EditorTests")]
-
-[assembly: AssemblyVersion("1.0.0")]
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/AssemblyInfo.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/AssemblyInfo.cs.meta
deleted file mode 100644
index 5e1b8dd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/AssemblyInfo.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9db19a04003fca7439552acd4de9baa1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser.meta
deleted file mode 100644
index b5a29bd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 7602252bdb82b8d45ae3483c3a00d3e1
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOption.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOption.cs
deleted file mode 100644
index 1a2d98a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOption.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using System.Linq;
-
-namespace UnityEditor.TestRunner.CommandLineParser
-{
- internal class CommandLineOption : ICommandLineOption
- {
- Action m_ArgAction;
-
- public CommandLineOption(string argName, Action action)
- {
- ArgName = argName;
- m_ArgAction = s => action();
- }
-
- public CommandLineOption(string argName, Action action)
- {
- ArgName = argName;
- m_ArgAction = action;
- }
-
- public CommandLineOption(string argName, Action action)
- {
- ArgName = argName;
- m_ArgAction = s => action(SplitStringToArray(s));
- }
-
- public string ArgName { get; private set; }
-
- public void ApplyValue(string value)
- {
- m_ArgAction(value);
- }
-
- static string[] SplitStringToArray(string value)
- {
- if (string.IsNullOrEmpty(value))
- {
- return null;
- }
-
- return value.Split(';').ToArray();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOption.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOption.cs.meta
deleted file mode 100644
index 65f3256..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOption.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a3529368f4cd0424a89aa51080a16b06
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOptionSet.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOptionSet.cs
deleted file mode 100644
index d08c233..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOptionSet.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using System;
-
-namespace UnityEditor.TestRunner.CommandLineParser
-{
- internal class CommandLineOptionSet
- {
- ICommandLineOption[] m_Options;
-
- public CommandLineOptionSet(params ICommandLineOption[] options)
- {
- m_Options = options;
- }
-
- public void Parse(string[] args)
- {
- var i = 0;
- while (i < args.Length)
- {
- var arg = args[i];
- if (!arg.StartsWith("-"))
- {
- i++;
- continue;
- }
-
- string value = null;
- if (i + 1 < args.Length && !args[i + 1].StartsWith("-"))
- {
- value = args[i + 1];
- i++;
- }
-
- ApplyValueToMatchingOptions(arg, value);
- i++;
- }
- }
-
- private void ApplyValueToMatchingOptions(string argName, string value)
- {
- foreach (var option in m_Options)
- {
- if ("-" + option.ArgName == argName)
- {
- option.ApplyValue(value);
- }
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOptionSet.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOptionSet.cs.meta
deleted file mode 100644
index 1db24d0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/CommandLineOptionSet.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 139c5eac101a4dc4fb3098e30c29f15e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/ICommandLineOption.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/ICommandLineOption.cs
deleted file mode 100644
index 7f699ad..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/ICommandLineOption.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace UnityEditor.TestRunner.CommandLineParser
-{
- interface ICommandLineOption
- {
- string ArgName { get; }
- void ApplyValue(string value);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/ICommandLineOption.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/ICommandLineOption.cs.meta
deleted file mode 100644
index 613d95f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineParser/ICommandLineOption.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f445ca0c614a846449fcd8ae648c24e2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest.meta
deleted file mode 100644
index d005718..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b477d1f29b65a674e9d5cdab4eb72b01
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/Executer.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/Executer.cs
deleted file mode 100644
index c0ad491..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/Executer.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using System;
-using System.Linq;
-using UnityEditor.TestRunner.TestLaunchers;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class Executer
- {
- private ITestRunnerApi m_TestRunnerApi;
- private ISettingsBuilder m_SettingsBuilder;
- private Action m_LogErrorFormat;
- private Action m_LogException;
- private Action m_ExitEditorApplication;
- private Func m_ScriptCompilationFailedCheck;
-
- public Executer(ITestRunnerApi testRunnerApi, ISettingsBuilder settingsBuilder, Action logErrorFormat, Action logException, Action exitEditorApplication, Func scriptCompilationFailedCheck)
- {
- m_TestRunnerApi = testRunnerApi;
- m_SettingsBuilder = settingsBuilder;
- m_LogErrorFormat = logErrorFormat;
- m_LogException = logException;
- m_ExitEditorApplication = exitEditorApplication;
- m_ScriptCompilationFailedCheck = scriptCompilationFailedCheck;
- }
-
- internal void InitializeAndExecuteRun(string[] commandLineArgs)
- {
- Api.ExecutionSettings executionSettings;
- try
- {
- executionSettings = m_SettingsBuilder.BuildApiExecutionSettings(commandLineArgs);
- if (executionSettings.targetPlatform.HasValue)
- RemotePlayerLogController.instance.SetBuildTarget(executionSettings.targetPlatform.Value);
- }
- catch (SetupException exception)
- {
- HandleSetupException(exception);
- return;
- }
-
- try
- {
- Debug.Log("Executing tests with settings: " + ExecutionSettingsToString(executionSettings));
- m_TestRunnerApi.Execute(executionSettings);
- }
- catch (Exception exception)
- {
- m_LogException(exception);
- m_ExitEditorApplication((int)ReturnCodes.RunError);
- }
- }
-
- internal ExecutionSettings BuildExecutionSettings(string[] commandLineArgs)
- {
- return m_SettingsBuilder.BuildExecutionSettings(commandLineArgs);
- }
-
- internal enum ReturnCodes
- {
- Ok = 0,
- Failed = 2,
- RunError = 3,
- PlatformNotFoundReturnCode = 4
- }
-
- internal void SetUpCallbacks(ExecutionSettings executionSettings)
- {
- RemotePlayerLogController.instance.SetLogsDirectory(executionSettings.DeviceLogsDirectory);
-
- var resultSavingCallback = ScriptableObject.CreateInstance();
- resultSavingCallback.m_ResultFilePath = executionSettings.TestResultsFile;
-
- var logSavingCallback = ScriptableObject.CreateInstance();
-
- m_TestRunnerApi.RegisterCallbacks(resultSavingCallback);
- m_TestRunnerApi.RegisterCallbacks(logSavingCallback);
- m_TestRunnerApi.RegisterCallbacks(ScriptableObject.CreateInstance(), -10);
- var timeoutCallbacks = ScriptableObject.CreateInstance();
- timeoutCallbacks.Init((action, time) => new DelayedCallback(action, time), m_LogErrorFormat, m_ExitEditorApplication);
- m_TestRunnerApi.RegisterCallbacks(timeoutCallbacks);
- }
-
- internal void ExitOnCompileErrors()
- {
- if (m_ScriptCompilationFailedCheck())
- {
- var handling = s_ExceptionHandlingMapping.First(h => h.m_ExceptionType == SetupException.ExceptionType.ScriptCompilationFailed);
- m_LogErrorFormat(handling.m_Message, new object[0]);
- m_ExitEditorApplication(handling.m_ReturnCode);
- }
- }
-
- void HandleSetupException(SetupException exception)
- {
- ExceptionHandling handling = s_ExceptionHandlingMapping.FirstOrDefault(h => h.m_ExceptionType == exception.Type) ?? new ExceptionHandling(exception.Type, "Unknown command line test run error. " + exception.Type, ReturnCodes.RunError);
- m_LogErrorFormat(handling.m_Message, exception.Details);
- m_ExitEditorApplication(handling.m_ReturnCode);
- }
-
- private class ExceptionHandling
- {
- internal SetupException.ExceptionType m_ExceptionType;
- internal string m_Message;
- internal int m_ReturnCode;
- public ExceptionHandling(SetupException.ExceptionType exceptionType, string message, ReturnCodes returnCode)
- {
- m_ExceptionType = exceptionType;
- m_Message = message;
- m_ReturnCode = (int)returnCode;
- }
- }
-
- static ExceptionHandling[] s_ExceptionHandlingMapping = new[]
- {
- new ExceptionHandling(SetupException.ExceptionType.ScriptCompilationFailed, "Scripts had compilation errors.", ReturnCodes.RunError),
- new ExceptionHandling(SetupException.ExceptionType.PlatformNotFound, "Test platform not found ({0}).", ReturnCodes.PlatformNotFoundReturnCode),
- new ExceptionHandling(SetupException.ExceptionType.TestSettingsFileNotFound, "Test settings file not found at {0}.", ReturnCodes.RunError)
- };
-
- private static string ExecutionSettingsToString(Api.ExecutionSettings executionSettings)
- {
- if (executionSettings == null)
- {
- return "none";
- }
-
- if (executionSettings.filter == null)
- {
- return "no filter";
- }
-
- return "test mode = " + executionSettings.filter.testMode;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/Executer.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/Executer.cs.meta
deleted file mode 100644
index e57a010..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/Executer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 083c6a3a5426382449369ddc12b691d8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExecutionSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExecutionSettings.cs
deleted file mode 100644
index 3ff2356..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExecutionSettings.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- [Serializable]
- internal class ExecutionSettings
- {
- public string TestResultsFile;
- public string DeviceLogsDirectory;
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExecutionSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExecutionSettings.cs.meta
deleted file mode 100644
index 35edc4c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExecutionSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c3a75354f6ceac94ca15ca9d96593290
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExitCallbacks.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExitCallbacks.cs
deleted file mode 100644
index d781d86..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExitCallbacks.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- [Serializable]
- internal class ExitCallbacks : ScriptableObject, ICallbacks
- {
- private bool m_AnyTestsExecuted;
- private bool m_RunFailed;
- internal static bool preventExit;
-
- public void RunFinished(ITestResultAdaptor testResults)
- {
- if (preventExit)
- {
- return;
- }
-
- if (!m_AnyTestsExecuted)
- {
- Debug.LogFormat(LogType.Warning, LogOption.NoStacktrace, null, "No tests were executed");
- }
- EditorApplication.Exit(m_RunFailed ? (int)Executer.ReturnCodes.Failed : (int)Executer.ReturnCodes.Ok);
- }
-
- public void TestStarted(ITestAdaptor test)
- {
- if (!test.IsSuite)
- {
- m_AnyTestsExecuted = true;
- }
- }
-
- public void TestFinished(ITestResultAdaptor result)
- {
- if (!result.Test.IsSuite && (result.TestStatus == TestStatus.Failed))
- {
- m_RunFailed = true;
- }
- }
-
- public void RunStarted(ITestAdaptor testsToRun)
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExitCallbacks.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExitCallbacks.cs.meta
deleted file mode 100644
index 6296463..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ExitCallbacks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1adaa8dcc4fda3d4cb4d3c8e0cb65d12
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ISettingsBuilder.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ISettingsBuilder.cs
deleted file mode 100644
index 557195d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ISettingsBuilder.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using UnityEditor.TestTools.TestRunner.Api;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- interface ISettingsBuilder
- {
- Api.ExecutionSettings BuildApiExecutionSettings(string[] commandLineArgs);
- ExecutionSettings BuildExecutionSettings(string[] commandLineArgs);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ISettingsBuilder.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ISettingsBuilder.cs.meta
deleted file mode 100644
index cc0b248..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ISettingsBuilder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8a13cbeb2099aca47bb456f49845f86c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogSavingCallbacks.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogSavingCallbacks.cs
deleted file mode 100644
index 40a185f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogSavingCallbacks.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using UnityEditor.TestRunner.TestLaunchers;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- [Serializable]
- internal class LogSavingCallbacks : ScriptableObject, ICallbacks
- {
- public void RunStarted(ITestAdaptor testsToRun)
- {
- RemotePlayerLogController.instance.StartLogWriters();
- }
-
- public virtual void RunFinished(ITestResultAdaptor testResults)
- {
- RemotePlayerLogController.instance.StopLogWriters();
- }
-
- public void TestStarted(ITestAdaptor test)
- {
- }
-
- public void TestFinished(ITestResultAdaptor result)
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogSavingCallbacks.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogSavingCallbacks.cs.meta
deleted file mode 100644
index c968178..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogSavingCallbacks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8d20eedbe40f0ce41a4c4f633f225de8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogWriter.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogWriter.cs
deleted file mode 100644
index 5470fd7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogWriter.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using UnityEditor.DeploymentTargets;
-using UnityEditor.Utils;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class LogWriter : IDisposable
- {
- private string m_LogsDirectory;
- private string m_DeviceID;
- private Dictionary m_LogStreams;
- private DeploymentTargetLogger m_Logger;
-
- internal LogWriter(string logsDirectory, string deviceID, DeploymentTargetLogger logger)
- {
- m_LogStreams = new Dictionary();
- m_Logger = logger;
- m_LogsDirectory = logsDirectory;
- m_DeviceID = deviceID;
-
- logger.logMessage += WriteLogToFile;
- }
-
- private void WriteLogToFile(string id, string logLine)
- {
- StreamWriter logStream;
- var streamExists = m_LogStreams.TryGetValue(id, out logStream);
- if (!streamExists)
- {
- var filePath = GetLogFilePath(m_LogsDirectory, m_DeviceID, id);
- logStream = CreateLogFile(filePath);
-
- m_LogStreams.Add(id, logStream);
- }
-
- try
- {
- if (logLine != null)
- logStream.WriteLine(logLine);
- }
- catch (Exception ex)
- {
- Debug.LogError($"Writing {id} log failed.");
- Debug.LogException(ex);
- }
- }
-
- public void Stop()
- {
- m_Logger.Stop();
- foreach (var logStream in m_LogStreams)
- {
- logStream.Value.Close();
- }
- }
-
- public void Dispose()
- {
- Stop();
- }
-
- private StreamWriter CreateLogFile(string path)
- {
- Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null, "Creating {0} device log: {1}", m_DeviceID, path);
- StreamWriter streamWriter = null;
- try
- {
- if (!Directory.Exists(path))
- Directory.CreateDirectory(Path.GetDirectoryName(path));
-
- streamWriter = File.CreateText(path);
- }
- catch (Exception ex)
- {
- Debug.LogError($"Creating device log {path} file failed.");
- Debug.LogException(ex);
- }
-
- return streamWriter;
- }
-
- private string GetLogFilePath(string lgosDirectory, string deviceID, string logID)
- {
- var fileName = "Device-" + deviceID + "-" + logID + ".txt";
- fileName = string.Join("_", fileName.Split(Path.GetInvalidFileNameChars()));
- return Paths.Combine(lgosDirectory, fileName);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogWriter.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogWriter.cs.meta
deleted file mode 100644
index 56872b9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/LogWriter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 05778dd1de4433d418793b6f3d3c18cf
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsSavingCallbacks.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsSavingCallbacks.cs
deleted file mode 100644
index a3837bf..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsSavingCallbacks.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using System;
-using System.IO;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEditor.Utils;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- [Serializable]
- internal class ResultsSavingCallbacks : ScriptableObject, ICallbacks
- {
- [SerializeField]
- public string m_ResultFilePath;
-
- public ResultsSavingCallbacks()
- {
- this.m_ResultFilePath = GetDefaultResultFilePath();
- }
-
- public void RunStarted(ITestAdaptor testsToRun)
- {
- }
-
- public virtual void RunFinished(ITestResultAdaptor testResults)
- {
- if (string.IsNullOrEmpty(m_ResultFilePath))
- {
- m_ResultFilePath = GetDefaultResultFilePath();
- }
-
- var resultWriter = new ResultsWriter();
- resultWriter.WriteResultToFile(testResults, m_ResultFilePath);
- }
-
- public void TestStarted(ITestAdaptor test)
- {
- }
-
- public void TestFinished(ITestResultAdaptor result)
- {
- }
-
- private static string GetDefaultResultFilePath()
- {
- var fileName = "TestResults-" + DateTime.Now.Ticks + ".xml";
- var projectPath = Directory.GetCurrentDirectory();
- return Paths.Combine(projectPath, fileName);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsSavingCallbacks.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsSavingCallbacks.cs.meta
deleted file mode 100644
index ca06f3a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsSavingCallbacks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ef563c5a6ecf64d4193dc144cb7d472a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsWriter.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsWriter.cs
deleted file mode 100644
index 073d2ec..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsWriter.cs
+++ /dev/null
@@ -1,99 +0,0 @@
-using System;
-using System.IO;
-using System.Xml;
-using NUnit.Framework.Interfaces;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class ResultsWriter
- {
- private const string k_nUnitVersion = "3.5.0.0";
-
- private const string k_TestRunNode = "test-run";
- private const string k_Id = "id";
- private const string k_Testcasecount = "testcasecount";
- private const string k_Result = "result";
- private const string k_Total = "total";
- private const string k_Passed = "passed";
- private const string k_Failed = "failed";
- private const string k_Inconclusive = "inconclusive";
- private const string k_Skipped = "skipped";
- private const string k_Asserts = "asserts";
- private const string k_EngineVersion = "engine-version";
- private const string k_ClrVersion = "clr-version";
- private const string k_StartTime = "start-time";
- private const string k_EndTime = "end-time";
- private const string k_Duration = "duration";
-
- private const string k_TimeFormat = "u";
-
- public void WriteResultToFile(ITestResultAdaptor result, string filePath)
- {
- Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null, "Saving results to: {0}", filePath);
-
- try
- {
- if (!Directory.Exists(filePath))
- {
- CreateDirectory(filePath);
- }
-
- using (var fileStream = File.CreateText(filePath))
- {
- WriteResultToStream(result, fileStream);
- }
- }
- catch (Exception ex)
- {
- Debug.LogError("Saving result file failed.");
- Debug.LogException(ex);
- }
- }
-
- void CreateDirectory(string filePath)
- {
- Directory.CreateDirectory(Path.GetDirectoryName(filePath));
- }
-
- public void WriteResultToStream(ITestResultAdaptor result, StreamWriter streamWriter, XmlWriterSettings settings = null)
- {
- settings = settings ?? new XmlWriterSettings();
- settings.Indent = true;
- settings.NewLineOnAttributes = false;
-
- using (var xmlWriter = XmlWriter.Create(streamWriter, settings))
- {
- WriteResultsToXml(result, xmlWriter);
- }
- }
-
- void WriteResultsToXml(ITestResultAdaptor result, XmlWriter xmlWriter)
- {
- // XML format as specified at https://github.com/nunit/docs/wiki/Test-Result-XML-Format
-
- var testRunNode = new TNode(k_TestRunNode);
-
- testRunNode.AddAttribute(k_Id, "2");
- testRunNode.AddAttribute(k_Testcasecount, (result.PassCount + result.FailCount + result.SkipCount + result.InconclusiveCount).ToString());
- testRunNode.AddAttribute(k_Result, result.ResultState.ToString());
- testRunNode.AddAttribute(k_Total, (result.PassCount + result.FailCount + result.SkipCount + result.InconclusiveCount).ToString());
- testRunNode.AddAttribute(k_Passed, result.PassCount.ToString());
- testRunNode.AddAttribute(k_Failed, result.FailCount.ToString());
- testRunNode.AddAttribute(k_Inconclusive, result.InconclusiveCount.ToString());
- testRunNode.AddAttribute(k_Skipped, result.SkipCount.ToString());
- testRunNode.AddAttribute(k_Asserts, result.AssertCount.ToString());
- testRunNode.AddAttribute(k_EngineVersion, k_nUnitVersion);
- testRunNode.AddAttribute(k_ClrVersion, Environment.Version.ToString());
- testRunNode.AddAttribute(k_StartTime, result.StartTime.ToString(k_TimeFormat));
- testRunNode.AddAttribute(k_EndTime, result.EndTime.ToString(k_TimeFormat));
- testRunNode.AddAttribute(k_Duration, result.Duration.ToString());
-
- var resultNode = result.ToXml();
- testRunNode.ChildNodes.Add(resultNode);
-
- testRunNode.WriteTo(xmlWriter);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsWriter.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsWriter.cs.meta
deleted file mode 100644
index 074fe65..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/ResultsWriter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 29d603e0a726a9043b3503112271844a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunData.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunData.cs
deleted file mode 100644
index 6a469a7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunData.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class RunData : ScriptableSingleton
- {
- public bool isRunning;
- public ExecutionSettings executionSettings;
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunData.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunData.cs.meta
deleted file mode 100644
index 4cfe30e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunData.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3f8c1075884df0249b80e23a0598f9c1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunSettings.cs
deleted file mode 100644
index 9b914c7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunSettings.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using UnityEditor.TestTools.TestRunner.Api;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class RunSettings : ITestRunSettings
- {
- private ITestSettings m_TestSettings;
- public RunSettings(ITestSettings testSettings)
- {
- this.m_TestSettings = testSettings;
- }
-
- public void Apply()
- {
- if (m_TestSettings != null)
- {
- m_TestSettings.SetupProjectParameters();
- }
- }
-
- public void Dispose()
- {
- if (m_TestSettings != null)
- {
- m_TestSettings.Dispose();
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunSettings.cs.meta
deleted file mode 100644
index 0e241ba..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/RunSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 59d3f5586b341a74c84c8f72144a4568
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SettingsBuilder.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SettingsBuilder.cs
deleted file mode 100644
index ef7500c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SettingsBuilder.cs
+++ /dev/null
@@ -1,173 +0,0 @@
-using System;
-using System.IO;
-using UnityEditor.TestRunner.CommandLineParser;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class SettingsBuilder : ISettingsBuilder
- {
- private ITestSettingsDeserializer m_TestSettingsDeserializer;
- private Action m_LogAction;
- private Action m_LogWarningAction;
- private Func m_FileExistsCheck;
- private Func m_ScriptCompilationFailedCheck;
- public SettingsBuilder(ITestSettingsDeserializer testSettingsDeserializer, Action logAction, Action logWarningAction, Func fileExistsCheck, Func scriptCompilationFailedCheck)
- {
- m_LogAction = logAction;
- m_LogWarningAction = logWarningAction;
- m_FileExistsCheck = fileExistsCheck;
- m_ScriptCompilationFailedCheck = scriptCompilationFailedCheck;
- m_TestSettingsDeserializer = testSettingsDeserializer;
- }
-
- public Api.ExecutionSettings BuildApiExecutionSettings(string[] commandLineArgs)
- {
- var quit = false;
- string testPlatform = TestMode.EditMode.ToString();
- string[] testFilters = null;
- string[] testCategories = null;
- string testSettingsFilePath = null;
- int testRepetitions = 1;
-
- var optionSet = new CommandLineOptionSet(
- new CommandLineOption("quit", () => { quit = true; }),
- new CommandLineOption("testPlatform", platform => { testPlatform = platform; }),
- new CommandLineOption("editorTestsFilter", filters => { testFilters = filters; }),
- new CommandLineOption("testFilter", filters => { testFilters = filters; }),
- new CommandLineOption("editorTestsCategories", catagories => { testCategories = catagories; }),
- new CommandLineOption("testCategory", catagories => { testCategories = catagories; }),
- new CommandLineOption("testSettingsFile", settingsFilePath => { testSettingsFilePath = settingsFilePath; }),
- new CommandLineOption("testRepetitions", reps => { testRepetitions = int.Parse(reps); })
- );
- optionSet.Parse(commandLineArgs);
-
- DisplayQuitWarningIfQuitIsGiven(quit);
-
- CheckForScriptCompilationErrors();
-
- LogParametersForRun(testPlatform, testFilters, testCategories, testSettingsFilePath);
-
- var testSettings = GetTestSettings(testSettingsFilePath);
-
- var filter = new Filter()
- {
- groupNames = testFilters,
- categoryNames = testCategories
- };
-
- var buildTarget = SetFilterAndGetBuildTarget(testPlatform, filter);
-
- RerunCallbackData.instance.runFilter = new TestRunnerFilter()
- {
- categoryNames = filter.categoryNames,
- groupNames = filter.groupNames,
- testRepetitions = testRepetitions
- };
-
- RerunCallbackData.instance.testMode = filter.testMode;
-
- return new Api.ExecutionSettings()
- {
- filter = filter,
- overloadTestRunSettings = new RunSettings(testSettings),
- targetPlatform = buildTarget
- };
- }
-
- public ExecutionSettings BuildExecutionSettings(string[] commandLineArgs)
- {
- string resultFilePath = null;
- string deviceLogsDirectory = null;
-
- var optionSet = new CommandLineOptionSet(
- new CommandLineOption("editorTestsResultFile", filePath => { resultFilePath = filePath; }),
- new CommandLineOption("testResults", filePath => { resultFilePath = filePath; }),
- new CommandLineOption("deviceLogs", dirPath => { deviceLogsDirectory = dirPath; })
- );
- optionSet.Parse(commandLineArgs);
-
- return new ExecutionSettings()
- {
- TestResultsFile = resultFilePath,
- DeviceLogsDirectory = deviceLogsDirectory
- };
- }
-
- void DisplayQuitWarningIfQuitIsGiven(bool quitIsGiven)
- {
- if (quitIsGiven)
- {
- m_LogWarningAction("Running tests from command line arguments will not work when \"quit\" is specified.");
- }
- }
-
- void CheckForScriptCompilationErrors()
- {
- if (m_ScriptCompilationFailedCheck())
- {
- throw new SetupException(SetupException.ExceptionType.ScriptCompilationFailed);
- }
- }
-
- void LogParametersForRun(string testPlatform, string[] testFilters, string[] testCategories, string testSettingsFilePath)
- {
- m_LogAction("Running tests for " + testPlatform);
- if (testFilters != null && testFilters.Length > 0)
- {
- m_LogAction("With test filter: " + string.Join(", ", testFilters));
- }
- if (testCategories != null && testCategories.Length > 0)
- {
- m_LogAction("With test categories: " + string.Join(", ", testCategories));
- }
- if (!string.IsNullOrEmpty(testSettingsFilePath))
- {
- m_LogAction("With test settings file: " + testSettingsFilePath);
- }
- }
-
- ITestSettings GetTestSettings(string testSettingsFilePath)
- {
- ITestSettings testSettings = null;
- if (!string.IsNullOrEmpty(testSettingsFilePath))
- {
- if (!m_FileExistsCheck(testSettingsFilePath))
- {
- throw new SetupException(SetupException.ExceptionType.TestSettingsFileNotFound, testSettingsFilePath);
- }
-
- testSettings = m_TestSettingsDeserializer.GetSettingsFromJsonFile(testSettingsFilePath);
- }
- return testSettings;
- }
-
- static BuildTarget? SetFilterAndGetBuildTarget(string testPlatform, Filter filter)
- {
- BuildTarget? buildTarget = null;
- if (testPlatform.ToLower() == "editmode")
- {
- filter.testMode = TestMode.EditMode;
- }
- else if (testPlatform.ToLower() == "playmode")
- {
- filter.testMode = TestMode.PlayMode;
- }
- else
- {
- try
- {
- buildTarget = (BuildTarget)Enum.Parse(typeof(BuildTarget), testPlatform, true);
-
- filter.testMode = TestMode.PlayMode;
- }
- catch (ArgumentException)
- {
- throw new SetupException(SetupException.ExceptionType.PlatformNotFound, testPlatform);
- }
- }
- return buildTarget;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SettingsBuilder.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SettingsBuilder.cs.meta
deleted file mode 100644
index 1e2f8c9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SettingsBuilder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b7468a027a77337478e133b40b42b4f9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SetupException.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SetupException.cs
deleted file mode 100644
index 3337713..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SetupException.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class SetupException : Exception
- {
- public ExceptionType Type { get; }
- public object[] Details { get; }
-
- public SetupException(ExceptionType type, params object[] details)
- {
- Type = type;
- Details = details;
- }
-
- public enum ExceptionType
- {
- ScriptCompilationFailed,
- PlatformNotFound,
- TestSettingsFileNotFound,
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SetupException.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SetupException.cs.meta
deleted file mode 100644
index bdb235c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/SetupException.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 63572993f2104574099a48392460b211
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TestStarter.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TestStarter.cs
deleted file mode 100644
index bced727..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TestStarter.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using System;
-using System.IO;
-using UnityEditor.TestRunner.CommandLineParser;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- [InitializeOnLoad]
- static class TestStarter
- {
- static TestStarter()
- {
- if (!ShouldRunTests())
- {
- return;
- }
-
- if (EditorApplication.isCompiling)
- {
- return;
- }
-
- executer.ExitOnCompileErrors();
-
- if (RunData.instance.isRunning)
- {
- executer.SetUpCallbacks(RunData.instance.executionSettings);
- return;
- }
-
- EditorApplication.update += UpdateWatch;
- }
-
- static void UpdateWatch()
- {
- EditorApplication.update -= UpdateWatch;
-
- if (RunData.instance.isRunning)
- {
- return;
- }
-
- RunData.instance.isRunning = true;
- var commandLineArgs = Environment.GetCommandLineArgs();
- RunData.instance.executionSettings = executer.BuildExecutionSettings(commandLineArgs);
- executer.SetUpCallbacks(RunData.instance.executionSettings);
- executer.InitializeAndExecuteRun(commandLineArgs);
- }
-
- static bool ShouldRunTests()
- {
- var shouldRunTests = false;
- var optionSet = new CommandLineOptionSet(
- new CommandLineOption("runTests", () => { shouldRunTests = true; }),
- new CommandLineOption("runEditorTests", () => { shouldRunTests = true; })
- );
- optionSet.Parse(Environment.GetCommandLineArgs());
- return shouldRunTests;
- }
-
- static Executer s_Executer;
-
- static Executer executer
- {
- get
- {
- if (s_Executer == null)
- {
- Func compilationCheck = () => EditorUtility.scriptCompilationFailed;
- Action actionLogger = (string msg) => { Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null, msg); };
- var apiSettingsBuilder = new SettingsBuilder(new TestSettingsDeserializer(() => new TestSettings()), actionLogger, Debug.LogWarning, File.Exists, compilationCheck);
- s_Executer = new Executer(ScriptableObject.CreateInstance(), apiSettingsBuilder, Debug.LogErrorFormat, Debug.LogException, EditorApplication.Exit, compilationCheck);
- }
-
- return s_Executer;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TestStarter.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TestStarter.cs.meta
deleted file mode 100644
index 4d5dfdc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TestStarter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4d616d1a494edd144b262cf6cd5e5fda
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TimeoutCallbacks.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TimeoutCallbacks.cs
deleted file mode 100644
index 8e50993..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TimeoutCallbacks.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-using System;
-using UnityEditor.TestRunner.TestLaunchers;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.CommandLineTest
-{
- internal class TimeoutCallbacks : ScriptableObject, ICallbacks
- {
- internal const int k_DefaultTimeout = 600;
-
- private Func m_DelayedCallbackFactory;
- private Action m_LogErrorFormat;
- private Action m_ExitApplication;
-
- private double m_CurrentTimeout;
- private IDelayedCallback m_TimeoutCallback;
-
- public void Init(Func delayedCallbackFactory, Action logErrorFormat, Action exitApplication)
- {
- m_DelayedCallbackFactory = delayedCallbackFactory;
- m_LogErrorFormat = logErrorFormat;
- m_ExitApplication = exitApplication;
- }
-
- public void RunFinished(ITestResultAdaptor result)
- {
- if (m_TimeoutCallback != null)
- {
- m_TimeoutCallback.Clear();
- }
- }
-
- public void RunStarted(ITestAdaptor testsToRun)
- {
- ResetToTimeout(k_DefaultTimeout);
- }
-
- public void TestFinished(ITestResultAdaptor result)
- {
- ResetToTimeout(k_DefaultTimeout);
- }
-
- public void TestStarted(ITestAdaptor test)
- {
- ResetToTimeout(k_DefaultTimeout + test.TestCaseTimeout / 1000);
- }
-
- private void ResetToTimeout(double timeoutValue)
- {
- if (m_TimeoutCallback != null && Math.Abs(m_CurrentTimeout - timeoutValue) < 0.1f)
- {
- m_TimeoutCallback.Reset();
- }
- else
- {
- if (m_TimeoutCallback != null)
- {
- m_TimeoutCallback.Clear();
- }
-
- m_TimeoutCallback = m_DelayedCallbackFactory(TimeoutReached, timeoutValue);
- m_CurrentTimeout = timeoutValue;
- }
- }
-
- private void TimeoutReached()
- {
- RemotePlayerLogController.instance.StopLogWriters();
- m_LogErrorFormat("Test execution timed out.", new object[0]);
- m_ExitApplication((int)Executer.ReturnCodes.RunError);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TimeoutCallbacks.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TimeoutCallbacks.cs.meta
deleted file mode 100644
index 7f2a436..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/CommandLineTest/TimeoutCallbacks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4dc5887d05b52fd4fb5f52909d09ffe9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI.meta
deleted file mode 100644
index bc9308a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 7e609b27ad2caa14c83dd9951b6c13c6
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/AssetsDatabaseHelper.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/AssetsDatabaseHelper.cs
deleted file mode 100644
index 0016142..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/AssetsDatabaseHelper.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class AssetsDatabaseHelper : IAssetsDatabaseHelper
- {
- public void OpenAssetInItsDefaultExternalEditor(string assetPath, int line)
- {
- var asset = AssetDatabase.LoadMainAssetAtPath(assetPath);
- AssetDatabase.OpenAsset(asset, line);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/AssetsDatabaseHelper.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/AssetsDatabaseHelper.cs.meta
deleted file mode 100644
index 4fad1fc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/AssetsDatabaseHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 740b3785866edda4b8d1e1a05570a5f8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/GuiHelper.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/GuiHelper.cs
deleted file mode 100644
index 26aba74..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/GuiHelper.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using System.Reflection;
-using System.Text.RegularExpressions;
-using UnityEditor.Utils;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class GuiHelper : IGuiHelper
- {
- public GuiHelper(IMonoCecilHelper monoCecilHelper, IAssetsDatabaseHelper assetsDatabaseHelper)
- {
- MonoCecilHelper = monoCecilHelper;
- AssetsDatabaseHelper = assetsDatabaseHelper;
- }
-
- protected IMonoCecilHelper MonoCecilHelper { get; private set; }
- public IAssetsDatabaseHelper AssetsDatabaseHelper { get; private set; }
-
- public void OpenScriptInExternalEditor(Type type, MethodInfo method)
- {
- var fileOpenInfo = GetFileOpenInfo(type, method);
-
- if (string.IsNullOrEmpty(fileOpenInfo.FilePath))
- {
- Debug.LogWarning("Failed to open test method source code in external editor. Inconsistent filename and yield return operator in target method.");
-
- return;
- }
-
- if (fileOpenInfo.LineNumber == 1)
- {
- Debug.LogWarning("Failed to get a line number for unity test method. So please find it in opened file in external editor.");
- }
-
- AssetsDatabaseHelper.OpenAssetInItsDefaultExternalEditor(fileOpenInfo.FilePath, fileOpenInfo.LineNumber);
- }
-
- public IFileOpenInfo GetFileOpenInfo(Type type, MethodInfo method)
- {
- const string fileExtension = ".cs";
-
- var fileOpenInfo = MonoCecilHelper.TryGetCecilFileOpenInfo(type, method);
- if (string.IsNullOrEmpty(fileOpenInfo.FilePath))
- {
- var dirPath = Paths.UnifyDirectorySeparator(Application.dataPath);
- var allCsFiles = Directory.GetFiles(dirPath, string.Format("*{0}", fileExtension), SearchOption.AllDirectories)
- .Select(Paths.UnifyDirectorySeparator);
-
- var fileName = allCsFiles.FirstOrDefault(x =>
- x.Split(Path.DirectorySeparatorChar).Last().Equals(string.Concat(type.Name, fileExtension)));
-
- fileOpenInfo.FilePath = fileName ?? string.Empty;
- }
-
- fileOpenInfo.FilePath = FilePathToAssetsRelativeAndUnified(fileOpenInfo.FilePath);
-
- return fileOpenInfo;
- }
-
- public string FilePathToAssetsRelativeAndUnified(string filePath)
- {
- if (string.IsNullOrEmpty(filePath))
- return string.Empty;
-
- filePath = Paths.UnifyDirectorySeparator(filePath);
- var length = Paths.UnifyDirectorySeparator(Application.dataPath).Length - "Assets".Length;
-
- return filePath.Substring(length);
- }
-
- public bool OpenScriptInExternalEditor(string stacktrace)
- {
- if (string.IsNullOrEmpty(stacktrace))
- return false;
-
- var regex = new Regex("in (?.*):{1}(?[0-9]+)");
-
- var matchingLines = stacktrace.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).Where(x => regex.IsMatch(x)).ToList();
- if (!matchingLines.Any())
- return false;
-
- var fileOpenInfo = matchingLines
- .Select(x => regex.Match(x))
- .Select(x =>
- new FileOpenInfo
- {
- FilePath = x.Groups["path"].Value,
- LineNumber = int.Parse(x.Groups["line"].Value)
- })
- .First(openInfo => !string.IsNullOrEmpty(openInfo.FilePath) && File.Exists(openInfo.FilePath));
-
- var filePath = FilePathToAssetsRelativeAndUnified(fileOpenInfo.FilePath);
- AssetsDatabaseHelper.OpenAssetInItsDefaultExternalEditor(filePath, fileOpenInfo.LineNumber);
-
- return true;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/GuiHelper.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/GuiHelper.cs.meta
deleted file mode 100644
index a1512d0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/GuiHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d0138170d24533e47b8e6c250c6d7fbc
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IAssetsDatabaseHelper.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IAssetsDatabaseHelper.cs
deleted file mode 100644
index 3e26c53..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IAssetsDatabaseHelper.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal interface IAssetsDatabaseHelper
- {
- void OpenAssetInItsDefaultExternalEditor(string assetPath, int line);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IAssetsDatabaseHelper.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IAssetsDatabaseHelper.cs.meta
deleted file mode 100644
index 622fe68..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IAssetsDatabaseHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 208e46d59ff6e304db0318377d20f5a1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IGuiHelper.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IGuiHelper.cs
deleted file mode 100644
index a87fb8d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IGuiHelper.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System;
-using System.Reflection;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal interface IGuiHelper
- {
- bool OpenScriptInExternalEditor(string stacktrace);
- void OpenScriptInExternalEditor(Type type, MethodInfo method);
- IFileOpenInfo GetFileOpenInfo(Type type, MethodInfo method);
- string FilePathToAssetsRelativeAndUnified(string filePath);
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IGuiHelper.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IGuiHelper.cs.meta
deleted file mode 100644
index 9c6e266..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/IGuiHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fd57cf917f61bbb42b8f030436426ddd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder.meta
deleted file mode 100644
index e682923..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 07ea0326ed848fb4489187cb58f96113
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs
deleted file mode 100644
index 34118d6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class RenderingOptions
- {
- public string nameFilter;
- public bool showSucceeded;
- public bool showFailed;
- public bool showIgnored;
- public bool showNotRunned;
- public string[] categories;
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs.meta
deleted file mode 100644
index 57e6748..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 87357ff0dec4ef348a295235835c6ee4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/ResultSummarizer.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/ResultSummarizer.cs
deleted file mode 100644
index cee81da..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/ResultSummarizer.cs
+++ /dev/null
@@ -1,175 +0,0 @@
-// ****************************************************************
-// Based on nUnit 2.6.2 (http://www.nunit.org/)
-// ****************************************************************
-
-using System;
-using System.Collections.Generic;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- ///
- /// Summary description for ResultSummarizer.
- ///
- internal class ResultSummarizer
- {
- private int m_ErrorCount = -1;
- private int m_FailureCount;
- private int m_IgnoreCount = -1;
- private int m_InconclusiveCount = -1;
- private int m_NotRunnable = -1;
- private int m_ResultCount;
- private int m_SkipCount;
- private int m_SuccessCount;
- private int m_TestsRun;
-
- private TimeSpan m_Duration = TimeSpan.FromSeconds(0);
-
- public ResultSummarizer(IEnumerable results)
- {
- foreach (var result in results)
- Summarize(result);
- }
-
- public bool success
- {
- get { return m_FailureCount == 0; }
- }
-
- ///
- /// Returns the number of test cases for which results
- /// have been summarized. Any tests excluded by use of
- /// Category or Explicit attributes are not counted.
- ///
- public int ResultCount
- {
- get { return m_ResultCount; }
- }
-
- ///
- /// Returns the number of test cases actually run, which
- /// is the same as ResultCount, less any Skipped, Ignored
- /// or NonRunnable tests.
- ///
- public int TestsRun
- {
- get { return m_TestsRun; }
- }
-
- ///
- /// Returns the number of tests that passed
- ///
- public int Passed
- {
- get { return m_SuccessCount; }
- }
-
- ///
- /// Returns the number of test cases that had an error.
- ///
- public int errors
- {
- get { return m_ErrorCount; }
- }
-
- ///
- /// Returns the number of test cases that failed.
- ///
- public int failures
- {
- get { return m_FailureCount; }
- }
-
- ///
- /// Returns the number of test cases that failed.
- ///
- public int inconclusive
- {
- get { return m_InconclusiveCount; }
- }
-
- ///
- /// Returns the number of test cases that were not runnable
- /// due to errors in the signature of the class or method.
- /// Such tests are also counted as Errors.
- ///
- public int notRunnable
- {
- get { return m_NotRunnable; }
- }
-
- ///
- /// Returns the number of test cases that were skipped.
- ///
- public int Skipped
- {
- get { return m_SkipCount; }
- }
-
- public int ignored
- {
- get { return m_IgnoreCount; }
- }
-
- public double duration
- {
- get { return m_Duration.TotalSeconds; }
- }
-
- public int testsNotRun
- {
- get { return m_SkipCount + m_IgnoreCount + m_NotRunnable; }
- }
-
- public void Summarize(TestRunnerResult result)
- {
- m_Duration += TimeSpan.FromSeconds(result.duration);
- m_ResultCount++;
-
- if (result.resultStatus != TestRunnerResult.ResultStatus.NotRun)
- {
- //TODO implement missing features
- // if(result.IsIgnored)
- // {
- // m_IgnoreCount++;
- // return;
- // }
-
- m_SkipCount++;
- return;
- }
-
- switch (result.resultStatus)
- {
- case TestRunnerResult.ResultStatus.Passed:
- m_SuccessCount++;
- m_TestsRun++;
- break;
- case TestRunnerResult.ResultStatus.Failed:
- m_FailureCount++;
- m_TestsRun++;
- break;
- //TODO implement missing features
- // case TestResultState.Error:
- // case TestResultState.Cancelled:
- // m_ErrorCount++;
- // m_TestsRun++;
- // break;
- // case TestResultState.Inconclusive:
- // m_InconclusiveCount++;
- // m_TestsRun++;
- // break;
- // case TestResultState.NotRunnable:
- // m_NotRunnable++;
- // // errorCount++;
- // break;
- // case TestResultState.Ignored:
- // m_IgnoreCount++;
- // break;
- default:
- m_SkipCount++;
- break;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/ResultSummarizer.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/ResultSummarizer.cs.meta
deleted file mode 100644
index bc4b465..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/ResultSummarizer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 95a2914724952ef40bb590d0607fc878
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestFilterSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestFilterSettings.cs
deleted file mode 100644
index 576a685..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestFilterSettings.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class TestFilterSettings
- {
- public bool showSucceeded;
- public bool showFailed;
- public bool showIgnored;
- public bool showNotRun;
-
- public string filterByName;
- public int filterByCategory;
-
- private GUIContent m_SucceededBtn;
- private GUIContent m_FailedBtn;
- private GUIContent m_IgnoredBtn;
- private GUIContent m_NotRunBtn;
-
- public string[] availableCategories;
-
- private readonly string m_PrefsKey;
-
- public TestFilterSettings(string prefsKey)
- {
- availableCategories = null;
- m_PrefsKey = prefsKey;
- Load();
- UpdateCounters(Enumerable.Empty());
- }
-
- public void Load()
- {
- showSucceeded = EditorPrefs.GetBool(m_PrefsKey + ".ShowSucceeded", true);
- showFailed = EditorPrefs.GetBool(m_PrefsKey + ".ShowFailed", true);
- showIgnored = EditorPrefs.GetBool(m_PrefsKey + ".ShowIgnored", true);
- showNotRun = EditorPrefs.GetBool(m_PrefsKey + ".ShowNotRun", true);
- filterByName = EditorPrefs.GetString(m_PrefsKey + ".FilterByName", string.Empty);
- filterByCategory = EditorPrefs.GetInt(m_PrefsKey + ".FilterByCategory", 0);
- }
-
- public void Save()
- {
- EditorPrefs.SetBool(m_PrefsKey + ".ShowSucceeded", showSucceeded);
- EditorPrefs.SetBool(m_PrefsKey + ".ShowFailed", showFailed);
- EditorPrefs.SetBool(m_PrefsKey + ".ShowIgnored", showIgnored);
- EditorPrefs.SetBool(m_PrefsKey + ".ShowNotRun", showNotRun);
- EditorPrefs.SetString(m_PrefsKey + ".FilterByName", filterByName);
- EditorPrefs.SetInt(m_PrefsKey + ".FilterByCategory", filterByCategory);
- }
-
- public void UpdateCounters(IEnumerable results)
- {
- var summary = new ResultSummarizer(results);
-
- m_SucceededBtn = new GUIContent(summary.Passed.ToString(), Icons.s_SuccessImg, "Show tests that succeeded");
- m_FailedBtn = new GUIContent((summary.errors + summary.failures + summary.inconclusive).ToString(), Icons.s_FailImg, "Show tests that failed");
- m_IgnoredBtn = new GUIContent((summary.ignored + summary.notRunnable).ToString(), Icons.s_IgnoreImg, "Show tests that are ignored");
- m_NotRunBtn = new GUIContent((summary.testsNotRun - summary.ignored - summary.notRunnable).ToString(), Icons.s_UnknownImg, "Show tests that didn't run");
- }
-
- public string[] GetSelectedCategories()
- {
- if (availableCategories == null)
- return new string[0];
-
- return availableCategories.Where((c, i) => (filterByCategory & (1 << i)) != 0).ToArray();
- }
-
- public void OnGUI()
- {
- EditorGUI.BeginChangeCheck();
-
- filterByName = GUILayout.TextField(filterByName, "ToolbarSeachTextField", GUILayout.MinWidth(100), GUILayout.MaxWidth(250), GUILayout.ExpandWidth(true));
- if (GUILayout.Button(GUIContent.none, string.IsNullOrEmpty(filterByName) ? "ToolbarSeachCancelButtonEmpty" : "ToolbarSeachCancelButton"))
- filterByName = string.Empty;
-
- if (availableCategories != null && availableCategories.Length > 0)
- filterByCategory = EditorGUILayout.MaskField(filterByCategory, availableCategories, EditorStyles.toolbarDropDown, GUILayout.MaxWidth(90));
-
- showSucceeded = GUILayout.Toggle(showSucceeded, m_SucceededBtn, EditorStyles.toolbarButton);
- showFailed = GUILayout.Toggle(showFailed, m_FailedBtn, EditorStyles.toolbarButton);
- showIgnored = GUILayout.Toggle(showIgnored, m_IgnoredBtn, EditorStyles.toolbarButton);
- showNotRun = GUILayout.Toggle(showNotRun, m_NotRunBtn, EditorStyles.toolbarButton);
-
- if (EditorGUI.EndChangeCheck())
- Save();
- }
-
- public RenderingOptions BuildRenderingOptions()
- {
- var options = new RenderingOptions();
- options.showSucceeded = showSucceeded;
- options.showFailed = showFailed;
- options.showIgnored = showIgnored;
- options.showNotRunned = showNotRun;
- options.nameFilter = filterByName;
- options.categories = GetSelectedCategories();
- return options;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestFilterSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestFilterSettings.cs.meta
deleted file mode 100644
index af8b799..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestFilterSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 046c3854296c5ec48bac50da6ca248ec
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestTreeViewBuilder.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestTreeViewBuilder.cs
deleted file mode 100644
index 86d42f3..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestTreeViewBuilder.cs
+++ /dev/null
@@ -1,111 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine.TestRunner.NUnitExtensions;
-using UnityEngine.TestTools.TestRunner.GUI;
-using UnityEngine.TestRunner.NUnitExtensions.Filters;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class TestTreeViewBuilder
- {
- public List results = new List();
- private readonly List m_OldTestResultList;
- private readonly TestRunnerUIFilter m_UIFilter;
- private readonly ITestAdaptor m_TestListRoot;
-
- private readonly List m_AvailableCategories = new List();
-
- public string[] AvailableCategories
- {
- get { return m_AvailableCategories.Distinct().OrderBy(a => a).ToArray(); }
- }
-
- public TestTreeViewBuilder(ITestAdaptor tests, List oldTestResultResults, TestRunnerUIFilter uiFilter)
- {
- m_AvailableCategories.Add(CategoryFilterExtended.k_DefaultCategory);
- m_OldTestResultList = oldTestResultResults;
- m_TestListRoot = tests;
- m_UIFilter = uiFilter;
- }
-
- public TreeViewItem BuildTreeView(TestFilterSettings settings, bool sceneBased, string sceneName)
- {
- var rootItem = new TreeViewItem(int.MaxValue, 0, null, "Invisible Root Item");
- ParseTestTree(0, rootItem, m_TestListRoot);
- return rootItem;
- }
-
- private bool IsFilteredOutByUIFilter(ITestAdaptor test, TestRunnerResult result)
- {
- if (m_UIFilter.PassedHidden && result.resultStatus == TestRunnerResult.ResultStatus.Passed)
- return true;
- if (m_UIFilter.FailedHidden && (result.resultStatus == TestRunnerResult.ResultStatus.Failed || result.resultStatus == TestRunnerResult.ResultStatus.Inconclusive))
- return true;
- if (m_UIFilter.NotRunHidden && (result.resultStatus == TestRunnerResult.ResultStatus.NotRun || result.resultStatus == TestRunnerResult.ResultStatus.Skipped))
- return true;
- if (m_UIFilter.CategoryFilter.Length > 0)
- return !test.Categories.Any(category => m_UIFilter.CategoryFilter.Contains(category));
- return false;
- }
-
- private void ParseTestTree(int depth, TreeViewItem rootItem, ITestAdaptor testElement)
- {
- m_AvailableCategories.AddRange(testElement.Categories);
-
- var testElementId = testElement.UniqueName;
- if (!testElement.HasChildren)
- {
- var result = m_OldTestResultList.FirstOrDefault(a => a.uniqueId == testElementId);
-
- if (result != null &&
- (result.ignoredOrSkipped
- || result.notRunnable
- || testElement.RunState == RunState.NotRunnable
- || testElement.RunState == RunState.Ignored
- || testElement.RunState == RunState.Skipped
- )
- )
- {
- //if the test was or becomes ignored or not runnable, we recreate the result in case it has changed
- result = null;
- }
- if (result == null)
- {
- result = new TestRunnerResult(testElement);
- }
- results.Add(result);
-
- var test = new TestTreeViewItem(testElement, depth, rootItem);
- if (!IsFilteredOutByUIFilter(testElement, result))
- rootItem.AddChild(test);
- test.SetResult(result);
- return;
- }
-
- var groupResult = m_OldTestResultList.FirstOrDefault(a => a.uniqueId == testElementId);
- if (groupResult == null)
- {
- groupResult = new TestRunnerResult(testElement);
- }
-
- results.Add(groupResult);
- var group = new TestTreeViewItem(testElement, depth, rootItem);
- group.SetResult(groupResult);
-
- depth++;
- foreach (var child in testElement.Children)
- {
- ParseTestTree(depth, group, child);
- }
-
-
- if (testElement.IsTestAssembly && !testElement.HasChildren)
- return;
-
- if (group.hasChildren)
- rootItem.AddChild(group);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestTreeViewBuilder.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestTreeViewBuilder.cs.meta
deleted file mode 100644
index 68a6c25..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListBuilder/TestTreeViewBuilder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e17c88b021c2a4c409b3f15b0d80ac62
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListGuiHelper.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListGuiHelper.cs
deleted file mode 100644
index 05cadba..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListGuiHelper.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using UnityEditor.ProjectWindowCallback;
-using UnityEditor.Scripting.ScriptCompilation;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class TestListGUIHelper
- {
- private const string kResourcesTemplatePath = "Resources/ScriptTemplates";
- private const string kAssemblyDefinitionTestTemplate = "92-Assembly Definition-NewTestAssembly.asmdef.txt";
-
- private const string kAssemblyDefinitionEditModeTestTemplate =
- "92-Assembly Definition-NewEditModeTestAssembly.asmdef.txt";
-
- private const string kTestScriptTemplate = "83-C# Script-NewTestScript.cs.txt";
- private const string kNewTestScriptName = "NewTestScript.cs";
- private const string kNunit = "nunit.framework.dll";
-
- [MenuItem("Assets/Create/Testing/Tests Assembly Folder", false, 83)]
- public static void MenuItemAddFolderAndAsmDefForTesting()
- {
- AddFolderAndAsmDefForTesting();
- }
-
- [MenuItem("Assets/Create/Testing/Tests Assembly Folder", true, 83)]
- public static bool MenuItemAddFolderAndAsmDefForTestingWithValidation()
- {
- return !SelectedFolderContainsTestAssembly();
- }
-
- public static void AddFolderAndAsmDefForTesting(bool isEditorOnly = false)
- {
- ProjectWindowUtil.CreateFolderWithTemplates("Tests",
- isEditorOnly ? kAssemblyDefinitionEditModeTestTemplate : kAssemblyDefinitionTestTemplate);
- }
-
- public static bool SelectedFolderContainsTestAssembly()
- {
- var theNearestCustomScriptAssembly = GetTheNearestCustomScriptAssembly();
- if (theNearestCustomScriptAssembly != null)
- {
- return theNearestCustomScriptAssembly.PrecompiledReferences != null && theNearestCustomScriptAssembly.PrecompiledReferences.Any(x => Path.GetFileName(x) == kNunit);
- }
-
- return false;
- }
-
- [MenuItem("Assets/Create/Testing/C# Test Script", false, 83)]
- public static void AddTest()
- {
- var basePath = Path.Combine(EditorApplication.applicationContentsPath, kResourcesTemplatePath);
- var destPath = Path.Combine(GetActiveFolderPath(), kNewTestScriptName);
- var templatePath = Path.Combine(basePath, kTestScriptTemplate);
- var icon = EditorGUIUtility.IconContent("cs Script Icon").image as Texture2D;
- ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0,
- ScriptableObject.CreateInstance(), destPath, icon, templatePath);
-
- AssetDatabase.Refresh();
- }
-
- [MenuItem("Assets/Create/Testing/C# Test Script", true, 83)]
- public static bool CanAddScriptAndItWillCompile()
- {
- return CanAddEditModeTestScriptAndItWillCompile() || CanAddPlayModeTestScriptAndItWillCompile();
- }
-
- public static bool CanAddEditModeTestScriptAndItWillCompile()
- {
- var theNearestCustomScriptAssembly = GetTheNearestCustomScriptAssembly();
- if (theNearestCustomScriptAssembly != null)
- {
- return (theNearestCustomScriptAssembly.AssemblyFlags & AssemblyFlags.EditorOnly) ==
- AssemblyFlags.EditorOnly;
- }
-
- var activeFolderPath = GetActiveFolderPath();
- return activeFolderPath.ToLower().Contains("/editor");
- }
-
- public static bool CanAddPlayModeTestScriptAndItWillCompile()
- {
- if (PlayerSettings.playModeTestRunnerEnabled)
- {
- return true;
- }
-
- var theNearestCustomScriptAssembly = GetTheNearestCustomScriptAssembly();
-
- if (theNearestCustomScriptAssembly == null)
- {
- return false;
- }
-
- var hasTestAssemblyFlag = theNearestCustomScriptAssembly.PrecompiledReferences != null && theNearestCustomScriptAssembly.PrecompiledReferences.Any(x => Path.GetFileName(x) == kNunit);;
- var editorOnlyAssembly = (theNearestCustomScriptAssembly.AssemblyFlags & AssemblyFlags.EditorOnly) != 0;
-
- return hasTestAssemblyFlag && !editorOnlyAssembly;
- }
-
- public static string GetActiveFolderPath()
- {
- var path = "Assets";
-
- foreach (var obj in Selection.GetFiltered(typeof(UnityEngine.Object), SelectionMode.Assets))
- {
- path = AssetDatabase.GetAssetPath(obj);
- if (!string.IsNullOrEmpty(path) && File.Exists(path))
- {
- path = Path.GetDirectoryName(path);
- break;
- }
- }
- return path;
- }
-
- private static CustomScriptAssembly GetTheNearestCustomScriptAssembly()
- {
- CustomScriptAssembly findCustomScriptAssemblyFromScriptPath;
- try
- {
- findCustomScriptAssemblyFromScriptPath =
- EditorCompilationInterface.Instance.FindCustomScriptAssemblyFromScriptPath(
- Path.Combine(GetActiveFolderPath(), "Foo.cs"));
- }
- catch (Exception)
- {
- return null;
- }
- return findCustomScriptAssemblyFromScriptPath;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListGuiHelper.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListGuiHelper.cs.meta
deleted file mode 100644
index 70d8f19..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListGuiHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 97a05971510726f438153cd4987526fb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView.meta
deleted file mode 100644
index 63ce2ad..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 68cb547af0187634aad591a09c01cd5b
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/Icons.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/Icons.cs
deleted file mode 100644
index 52c94a5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/Icons.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal static class Icons
- {
- public static readonly Texture2D s_FailImg;
- public static readonly Texture2D s_IgnoreImg;
- public static readonly Texture2D s_SuccessImg;
- public static readonly Texture2D s_UnknownImg;
- public static readonly Texture2D s_InconclusiveImg;
- public static readonly Texture2D s_StopwatchImg;
-
- static Icons()
- {
- s_FailImg = EditorGUIUtility.IconContent("TestFailed").image as Texture2D;
- s_IgnoreImg = EditorGUIUtility.IconContent("TestIgnored").image as Texture2D;
- s_SuccessImg = EditorGUIUtility.IconContent("TestPassed").image as Texture2D;
- s_UnknownImg = EditorGUIUtility.IconContent("TestNormal").image as Texture2D;
- s_InconclusiveImg = EditorGUIUtility.IconContent("TestInconclusive").image as Texture2D;
- s_StopwatchImg = EditorGUIUtility.IconContent("TestStopwatch").image as Texture2D;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/Icons.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/Icons.cs.meta
deleted file mode 100644
index 3ddb7ee..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/Icons.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 27769e9b00b038d47aefe306a4d20bec
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewDataSource.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewDataSource.cs
deleted file mode 100644
index 04a5e6b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewDataSource.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using System.Collections.Generic;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine.SceneManagement;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class TestListTreeViewDataSource : TreeViewDataSource
- {
- private bool m_ExpandTreeOnCreation;
- private readonly TestListGUI m_TestListGUI;
- private ITestAdaptor m_RootTest;
-
- public TestListTreeViewDataSource(TreeViewController testListTree, TestListGUI testListGUI, ITestAdaptor rootTest) : base(testListTree)
- {
- showRootItem = false;
- rootIsCollapsable = false;
- m_TestListGUI = testListGUI;
- m_RootTest = rootTest;
- }
-
- public override void FetchData()
- {
- var sceneName = SceneManager.GetActiveScene().name;
- if (sceneName.StartsWith("InitTestScene"))
- sceneName = PlaymodeTestsController.GetController().settings.originalScene;
-
- var testListBuilder = new TestTreeViewBuilder(m_RootTest, m_TestListGUI.newResultList, m_TestListGUI.m_TestRunnerUIFilter);
-
- m_RootItem = testListBuilder.BuildTreeView(null, false, sceneName);
- SetExpanded(m_RootItem, true);
- if (m_RootItem.hasChildren && m_RootItem.children.Count == 1)
- SetExpanded(m_RootItem.children[0], true);
-
- if (m_ExpandTreeOnCreation)
- SetExpandedWithChildren(m_RootItem, true);
-
- m_TestListGUI.newResultList = new List(testListBuilder.results);
- m_TestListGUI.m_TestRunnerUIFilter.availableCategories = testListBuilder.AvailableCategories;
- m_NeedRefreshRows = true;
- }
-
- public override bool IsRenamingItemAllowed(TreeViewItem item)
- {
- return false;
- }
-
- public void ExpandTreeOnCreation()
- {
- m_ExpandTreeOnCreation = true;
- }
-
- public override bool IsExpandable(TreeViewItem item)
- {
- if (item is TestTreeViewItem)
- return ((TestTreeViewItem)item).IsGroupNode;
- return base.IsExpandable(item);
- }
-
- protected override List Search(TreeViewItem rootItem, string search)
- {
- var result = new List();
-
- if (rootItem.hasChildren)
- {
- foreach (var child in rootItem.children)
- {
- SearchTestTree(child, search, result);
- }
- }
- return result;
- }
-
- protected void SearchTestTree(TreeViewItem item, string search, IList searchResult)
- {
- var testItem = item as TestTreeViewItem;
- if (!testItem.IsGroupNode)
- {
- if (testItem.FullName.ToLower().Contains(search))
- {
- searchResult.Add(item);
- }
- }
- else if (item.children != null)
- {
- foreach (var child in item.children)
- SearchTestTree(child, search, searchResult);
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewDataSource.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewDataSource.cs.meta
deleted file mode 100644
index 5ec5332..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ce87c287371edde43a4b5fcfdee7b9ef
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewGUI.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewGUI.cs
deleted file mode 100644
index 6657813..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewGUI.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using UnityEditor.IMGUI.Controls;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class TestListTreeViewGUI : TreeViewGUI
- {
- public TestListTreeViewGUI(TreeViewController testListTree) : base(testListTree)
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewGUI.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewGUI.cs.meta
deleted file mode 100644
index ed09e25..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestListTreeViewGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 52c907c81459f324497af504b84fd557
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestTreeViewItem.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestTreeViewItem.cs
deleted file mode 100644
index 8d99de9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestTreeViewItem.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-using System;
-using System.Reflection;
-using System.Text;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal sealed class TestTreeViewItem : TreeViewItem
- {
- public TestRunnerResult result;
- internal ITestAdaptor m_Test;
-
- public Type type;
- public MethodInfo method;
-
- private const int k_ResultTestMaxLength = 15000;
-
- public bool IsGroupNode { get { return m_Test.IsSuite; } }
-
- public string FullName { get { return m_Test.FullName; } }
-
- public TestTreeViewItem(ITestAdaptor test, int depth, TreeViewItem parent)
- : base(GetId(test), depth, parent, test.Name)
- {
- m_Test = test;
-
- if (test.TypeInfo != null)
- {
- type = test.TypeInfo.Type;
- }
- if (test.Method != null)
- {
- method = test.Method.MethodInfo;
- }
-
- displayName = test.Name.Replace("\n", "");
- icon = Icons.s_UnknownImg;
- }
-
- private static int GetId(ITestAdaptor test)
- {
- return test.UniqueName.GetHashCode();
- }
-
- public void SetResult(TestRunnerResult testResult)
- {
- result = testResult;
- result.SetResultChangedCallback(ResultUpdated);
- ResultUpdated(result);
- }
-
- public string GetResultText()
- {
- var durationString = String.Format("{0:0.000}", result.duration);
- var sb = new StringBuilder(string.Format("{0} ({1}s)", displayName.Trim(), durationString));
- if (!string.IsNullOrEmpty(result.description))
- {
- sb.AppendFormat("\n{0}", result.description);
- }
- if (!string.IsNullOrEmpty(result.messages))
- {
- sb.Append("\n---\n");
- sb.Append(result.messages.Trim());
- }
- if (!string.IsNullOrEmpty(result.stacktrace))
- {
- sb.Append("\n---\n");
- sb.Append(result.stacktrace.Trim());
- }
- if (!string.IsNullOrEmpty(result.output))
- {
- sb.Append("\n---\n");
- sb.Append(result.output.Trim());
- }
- if (sb.Length > k_ResultTestMaxLength)
- {
- sb.Length = k_ResultTestMaxLength;
- sb.AppendFormat("...\n\n---MESSAGE TRUNCATED AT {0} CHARACTERS---", k_ResultTestMaxLength);
- }
- return sb.ToString().Trim();
- }
-
- private void ResultUpdated(TestRunnerResult testResult)
- {
- switch (testResult.resultStatus)
- {
- case TestRunnerResult.ResultStatus.Passed:
- icon = Icons.s_SuccessImg;
- break;
- case TestRunnerResult.ResultStatus.Failed:
- icon = Icons.s_FailImg;
- break;
- case TestRunnerResult.ResultStatus.Inconclusive:
- icon = Icons.s_InconclusiveImg;
- break;
- case TestRunnerResult.ResultStatus.Skipped:
- icon = Icons.s_IgnoreImg;
- break;
- default:
- if (testResult.ignoredOrSkipped)
- {
- icon = Icons.s_IgnoreImg;
- }
- else if (testResult.notRunnable)
- {
- icon = Icons.s_FailImg;
- }
- else
- {
- icon = Icons.s_UnknownImg;
- }
- break;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestTreeViewItem.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestTreeViewItem.cs.meta
deleted file mode 100644
index 1a29abe..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestListTreeView/TestTreeViewItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ce567ddbf30368344bc7b80e20cac36e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerResult.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerResult.cs
deleted file mode 100644
index b70d0ab..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerResult.cs
+++ /dev/null
@@ -1,149 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- [Serializable]
- internal class TestRunnerResult : TestRunnerFilter.IClearableResult
- {
- public string id;
- public string uniqueId;
- public string name;
- public string fullName;
- public ResultStatus resultStatus = ResultStatus.NotRun;
- public float duration;
- public string messages;
- public string output;
- public string stacktrace;
- public bool notRunnable;
- public bool ignoredOrSkipped;
- public string description;
- public bool isSuite;
- public List categories;
- public string parentId;
- public string parentUniqueId;
-
- //This field is suppose to mark results from before domain reload
- //Such result is outdated because the code might haev changed
- //This field will get reset every time a domain reload happens
- [NonSerialized]
- public bool notOutdated;
-
- protected Action m_OnResultUpdate;
-
- internal TestRunnerResult(ITestAdaptor test)
- {
- id = test.Id;
- uniqueId = test.UniqueName;
-
- fullName = test.FullName;
- name = test.Name;
- description = test.Description;
- isSuite = test.IsSuite;
-
- ignoredOrSkipped = test.RunState == RunState.Ignored || test.RunState == RunState.Skipped;
- notRunnable = test.RunState == RunState.NotRunnable;
-
- if (ignoredOrSkipped)
- {
- messages = test.SkipReason;
- }
- if (notRunnable)
- {
- resultStatus = ResultStatus.Failed;
- messages = test.SkipReason;
- }
- categories = test.Categories.ToList();
- parentId = test.ParentId;
- parentUniqueId = test.ParentUniqueName;
- }
-
- internal TestRunnerResult(ITestResultAdaptor testResult) : this(testResult.Test)
- {
- notOutdated = true;
-
- messages = testResult.Message;
- output = testResult.Output;
- stacktrace = testResult.StackTrace;
- duration = (float)testResult.Duration;
- if (testResult.Test.IsSuite && testResult.ResultState == "Ignored")
- {
- resultStatus = ResultStatus.Passed;
- }
- else
- {
- resultStatus = ParseNUnitResultStatus(testResult.TestStatus);
- }
- }
-
- public void Update(TestRunnerResult result)
- {
- if (ReferenceEquals(result, null))
- return;
- resultStatus = result.resultStatus;
- duration = result.duration;
- messages = result.messages;
- output = result.output;
- stacktrace = result.stacktrace;
- ignoredOrSkipped = result.ignoredOrSkipped;
- notRunnable = result.notRunnable;
- description = result.description;
- notOutdated = result.notOutdated;
- if (m_OnResultUpdate != null)
- m_OnResultUpdate(this);
- }
-
- public void SetResultChangedCallback(Action resultUpdated)
- {
- m_OnResultUpdate = resultUpdated;
- }
-
- [Serializable]
- internal enum ResultStatus
- {
- NotRun,
- Passed,
- Failed,
- Inconclusive,
- Skipped
- }
-
- private static ResultStatus ParseNUnitResultStatus(TestStatus status)
- {
- switch (status)
- {
- case TestStatus.Passed:
- return ResultStatus.Passed;
- case TestStatus.Failed:
- return ResultStatus.Failed;
- case TestStatus.Inconclusive:
- return ResultStatus.Inconclusive;
- case TestStatus.Skipped:
- return ResultStatus.Skipped;
- default:
- return ResultStatus.NotRun;
- }
- }
-
- public override string ToString()
- {
- return string.Format("{0} ({1})", name, fullName);
- }
-
- public string Id { get { return uniqueId; } }
- public string FullName { get { return fullName; } }
- public string ParentId { get { return parentUniqueId; } }
- public bool IsSuite { get { return isSuite; } }
- public List Categories { get { return categories; } }
-
- public void Clear()
- {
- resultStatus = ResultStatus.NotRun;
- if (m_OnResultUpdate != null)
- m_OnResultUpdate(this);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerResult.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerResult.cs.meta
deleted file mode 100644
index 771053c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerResult.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a04a45bbed9e1714f9902fc9443669b9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerUIFilter.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerUIFilter.cs
deleted file mode 100644
index a9df8e6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerUIFilter.cs
+++ /dev/null
@@ -1,167 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- [Serializable]
- internal class TestRunnerUIFilter
- {
- private int m_PassedCount;
- private int m_FailedCount;
- private int m_NotRunCount;
- private int m_InconclusiveCount;
- private int m_SkippedCount;
-
- public int PassedCount { get { return m_PassedCount; } }
- public int FailedCount { get { return m_FailedCount + m_InconclusiveCount; } }
- public int NotRunCount { get { return m_NotRunCount + m_SkippedCount; } }
-
- [SerializeField]
- public bool PassedHidden;
- [SerializeField]
- public bool FailedHidden;
- [SerializeField]
- public bool NotRunHidden;
-
- [SerializeField]
- private string m_SearchString;
- [SerializeField]
- private int selectedCategoryMask;
-
- public string[] availableCategories = new string[0];
-
-
- private GUIContent m_SucceededBtn;
- private GUIContent m_FailedBtn;
- private GUIContent m_NotRunBtn;
-
- public Action RebuildTestList;
- public Action SearchStringChanged;
- public bool IsFiltering
- {
- get
- {
- return !string.IsNullOrEmpty(m_SearchString) || PassedHidden || FailedHidden || NotRunHidden ||
- selectedCategoryMask != 0;
- }
- }
-
- public string[] CategoryFilter
- {
- get
- {
- var list = new List();
- for (int i = 0; i < availableCategories.Length; i++)
- {
- if ((selectedCategoryMask & (1 << i)) != 0)
- {
- list.Add(availableCategories[i]);
- }
- }
- return list.ToArray();
- }
- }
-
- public void UpdateCounters(List resultList)
- {
- m_PassedCount = m_FailedCount = m_NotRunCount = m_InconclusiveCount = m_SkippedCount = 0;
- foreach (var result in resultList)
- {
- if (result.isSuite)
- continue;
- switch (result.resultStatus)
- {
- case TestRunnerResult.ResultStatus.Passed:
- m_PassedCount++;
- break;
- case TestRunnerResult.ResultStatus.Failed:
- m_FailedCount++;
- break;
- case TestRunnerResult.ResultStatus.Inconclusive:
- m_InconclusiveCount++;
- break;
- case TestRunnerResult.ResultStatus.Skipped:
- m_SkippedCount++;
- break;
- case TestRunnerResult.ResultStatus.NotRun:
- default:
- m_NotRunCount++;
- break;
- }
- }
-
- var succeededTooltip = string.Format("Show tests that succeeded\n{0} succeeded", m_PassedCount);
- m_SucceededBtn = new GUIContent(PassedCount.ToString(), Icons.s_SuccessImg, succeededTooltip);
- var failedTooltip = string.Format("Show tests that failed\n{0} failed\n{1} inconclusive", m_FailedCount, m_InconclusiveCount);
- m_FailedBtn = new GUIContent(FailedCount.ToString(), Icons.s_FailImg, failedTooltip);
- var notRunTooltip = string.Format("Show tests that didn't run\n{0} didn't run\n{1} skipped or ignored", m_NotRunCount, m_SkippedCount);
- m_NotRunBtn = new GUIContent(NotRunCount.ToString(), Icons.s_UnknownImg, notRunTooltip);
- }
-
- public void Draw()
- {
- EditorGUI.BeginChangeCheck();
- m_SearchString = EditorGUILayout.ToolbarSearchField(m_SearchString);
- if (EditorGUI.EndChangeCheck() && SearchStringChanged != null)
- {
- SearchStringChanged(m_SearchString);
- }
-
- if (availableCategories != null && availableCategories.Any())
- {
- EditorGUI.BeginChangeCheck();
- selectedCategoryMask = EditorGUILayout.MaskField(selectedCategoryMask, availableCategories, EditorStyles.toolbarDropDown, GUILayout.MaxWidth(150));
- if (EditorGUI.EndChangeCheck() && RebuildTestList != null)
- {
- RebuildTestList();
- }
- }
- else
- {
- EditorGUILayout.Popup(0, new[] { "" }, EditorStyles.toolbarDropDown, GUILayout.MaxWidth(150));
- }
-
- EditorGUI.BeginChangeCheck();
- if (m_SucceededBtn != null)
- {
- PassedHidden = !GUILayout.Toggle(!PassedHidden, m_SucceededBtn, EditorStyles.toolbarButton, GUILayout.MaxWidth(GetMaxWidth(PassedCount)));
- }
- if (m_FailedBtn != null)
- {
- FailedHidden = !GUILayout.Toggle(!FailedHidden, m_FailedBtn, EditorStyles.toolbarButton, GUILayout.MaxWidth(GetMaxWidth(FailedCount)));
- }
- if (m_NotRunBtn != null)
- {
- NotRunHidden = !GUILayout.Toggle(!NotRunHidden, m_NotRunBtn, EditorStyles.toolbarButton, GUILayout.MaxWidth(GetMaxWidth(NotRunCount)));
- }
-
- if (EditorGUI.EndChangeCheck() && RebuildTestList != null)
- {
- RebuildTestList();
- }
- }
-
- private static int GetMaxWidth(int count)
- {
- if (count < 10)
- return 33;
- return count < 100 ? 40 : 47;
- }
-
- public void Clear()
- {
- PassedHidden = false;
- FailedHidden = false;
- NotRunHidden = false;
- selectedCategoryMask = 0;
- m_SearchString = "";
- if (SearchStringChanged != null)
- {
- SearchStringChanged(m_SearchString);
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerUIFilter.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerUIFilter.cs.meta
deleted file mode 100644
index e65f91a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/TestRunnerUIFilter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 15f870c6975ad6449b5b52514b90dc2b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views.meta
deleted file mode 100644
index ca14182..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c5535d742ea2e4941850b421f9c70a1f
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/EditModeTestListGUI.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/EditModeTestListGUI.cs
deleted file mode 100644
index 3de1253..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/EditModeTestListGUI.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-using System;
-using System.Linq;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.TestTools;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- [Serializable]
- internal class EditModeTestListGUI : TestListGUI
- {
- public override TestMode TestMode
- {
- get { return TestMode.EditMode; }
- }
-
- public override void RenderNoTestsInfo()
- {
- if (!TestListGUIHelper.SelectedFolderContainsTestAssembly())
- {
- var noTestText = "No tests to show";
-
- if (!PlayerSettings.playModeTestRunnerEnabled)
- {
- const string testsArePulledFromCustomAssemblies =
- "EditMode tests can be in Editor only Assemblies, either in the editor special folder or Editor only Assembly Definitions with added Unity References \"Test Assemblies\".";
- noTestText += Environment.NewLine + testsArePulledFromCustomAssemblies;
- }
-
- EditorGUILayout.HelpBox(noTestText, MessageType.Info);
- if (GUILayout.Button("Create EditMode Test Assembly Folder"))
- {
- TestListGUIHelper.AddFolderAndAsmDefForTesting(isEditorOnly: true);
- }
- }
-
- if (!TestListGUIHelper.CanAddEditModeTestScriptAndItWillCompile())
- {
- UnityEngine.GUI.enabled = false;
- EditorGUILayout.HelpBox("EditMode test scripts can only be created in editor test assemblies.", MessageType.Warning);
- }
- if (GUILayout.Button("Create Test Script in current folder"))
- {
- TestListGUIHelper.AddTest();
- }
- UnityEngine.GUI.enabled = true;
- }
-
- public override void PrintHeadPanel()
- {
- base.PrintHeadPanel();
- DrawFilters();
- }
-
- protected override void RunTests(TestRunnerFilter filter)
- {
- if (EditorUtility.scriptCompilationFailed)
- {
- Debug.LogError("Fix compilation issues before running tests");
- return;
- }
-
- filter.ClearResults(newResultList.OfType().ToList());
-
- RerunCallbackData.instance.runFilter = filter;
- RerunCallbackData.instance.testMode = TestMode.EditMode;
-
- var testRunnerApi = ScriptableObject.CreateInstance();
- testRunnerApi.Execute(new ExecutionSettings()
- {
- filter = new Filter()
- {
- categoryNames = filter.categoryNames,
- groupNames = filter.groupNames,
- testMode = TestMode,
- testNames = filter.testNames
- }
- });
- }
-
- public override TestPlatform TestPlatform { get { return TestPlatform.EditMode; } }
- protected override bool IsBusy()
- {
- return EditModeLauncher.IsRunning || EditorApplication.isCompiling || EditorApplication.isPlaying;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/EditModeTestListGUI.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/EditModeTestListGUI.cs.meta
deleted file mode 100644
index afd4abb..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/EditModeTestListGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0336a32a79bfaed43a3fd2d88b91e974
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/PlayModeTestListGUI.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/PlayModeTestListGUI.cs
deleted file mode 100644
index 40e3d2d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/PlayModeTestListGUI.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using System;
-using System.Linq;
-using UnityEditor.SceneManagement;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.TestTools;
-using UnityEngine.SceneManagement;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- [Serializable]
- internal class PlayModeTestListGUI : TestListGUI
- {
- public override TestMode TestMode
- {
- get { return TestMode.PlayMode; }
- }
- public override void PrintHeadPanel()
- {
- EditorGUILayout.BeginHorizontal(GUILayout.ExpandHeight(false));
- base.PrintHeadPanel();
- if (GUILayout.Button("Run all in player (" + EditorUserBuildSettings.activeBuildTarget + ")", EditorStyles.toolbarButton))
- {
- RunTestsInPlayer(null);
- }
- EditorGUILayout.EndHorizontal();
- DrawFilters();
- EditorGUILayout.BeginHorizontal(GUILayout.ExpandHeight(false));
- EditorGUILayout.EndHorizontal();
- }
-
- public override void RenderNoTestsInfo()
- {
- if (!TestListGUIHelper.SelectedFolderContainsTestAssembly())
- {
- var noTestText = "No tests to show";
- if (!PlayerSettings.playModeTestRunnerEnabled)
- {
- const string testsArePulledFromCustomAssemblues = "Test Assemblies are defined by Assembly Definitions where you add Unity References \"Test Assemblies\"";
- const string infoTextAboutTestsInAllAssemblies =
- "To have tests in all assemblies enable it in the Test Runner window context menu";
- noTestText += Environment.NewLine + testsArePulledFromCustomAssemblues + Environment.NewLine +
- infoTextAboutTestsInAllAssemblies;
- }
-
- EditorGUILayout.HelpBox(noTestText, MessageType.Info);
- if (GUILayout.Button("Create PlayMode Test Assembly Folder"))
- {
- TestListGUIHelper.AddFolderAndAsmDefForTesting();
- }
- }
-
- if (!TestListGUIHelper.CanAddPlayModeTestScriptAndItWillCompile())
- {
- UnityEngine.GUI.enabled = false;
- EditorGUILayout.HelpBox("PlayMode test scripts can only be created in non editor test assemblies.", MessageType.Warning);
- }
- if (GUILayout.Button("Create Test Script in current folder"))
- {
- TestListGUIHelper.AddTest();
- }
- UnityEngine.GUI.enabled = true;
- }
-
- protected override void RunTests(TestRunnerFilter filter)
- {
- // Give user chance to save the changes to their currently open scene because we close it and load our own
- var cancelled = !EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo();
- if (cancelled)
- return;
-
- filter.ClearResults(newResultList.OfType().ToList());
-
- RerunCallbackData.instance.runFilter = filter;
- RerunCallbackData.instance.testMode = TestMode.PlayMode;
-
- var testRunnerApi = ScriptableObject.CreateInstance();
- testRunnerApi.Execute(new ExecutionSettings()
- {
- filter = new Filter()
- {
- categoryNames = filter.categoryNames,
- groupNames = filter.groupNames,
- testMode = TestMode,
- testNames = filter.testNames
- }
- });
- }
-
- protected void RunTestsInPlayer(TestRunnerFilter filter)
- {
- var settings = PlaymodeTestsControllerSettings.CreateRunnerSettings(filter);
- var testExecutor = new PlayerLauncher(settings, null, null);
- testExecutor.Run();
- GUIUtility.ExitGUI();
- }
-
- public override TestPlatform TestPlatform { get { return TestPlatform.PlayMode; } }
- protected override bool IsBusy()
- {
- return PlaymodeLauncher.IsRunning || EditorApplication.isCompiling || EditorApplication.isPlaying;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/PlayModeTestListGUI.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/PlayModeTestListGUI.cs.meta
deleted file mode 100644
index 6f0c1d6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/PlayModeTestListGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c3efd39f2cfb43a4c830d4fd5689900f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs
deleted file mode 100644
index 27c4d3f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs
+++ /dev/null
@@ -1,449 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner.GUI;
-using UnityEngine.TestTools;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal abstract class TestListGUI
- {
- private static readonly GUIContent s_GUIRunSelectedTests = EditorGUIUtility.TrTextContent("Run Selected", "Run selected test(s)");
- private static readonly GUIContent s_GUIRunAllTests = EditorGUIUtility.TrTextContent("Run All", "Run all tests");
- private static readonly GUIContent s_GUIRerunFailedTests = EditorGUIUtility.TrTextContent("Rerun Failed", "Rerun all failed tests");
- private static readonly GUIContent s_GUIRun = EditorGUIUtility.TrTextContent("Run");
- private static readonly GUIContent s_GUIRunUntilFailed = EditorGUIUtility.TrTextContent("Run Until Failed");
- private static readonly GUIContent s_GUIRun100Times = EditorGUIUtility.TrTextContent("Run 100 times");
- private static readonly GUIContent s_GUIOpenTest = EditorGUIUtility.TrTextContent("Open source code");
- private static readonly GUIContent s_GUIOpenErrorLine = EditorGUIUtility.TrTextContent("Open error line");
-
- [SerializeField]
- protected TestRunnerWindow m_Window;
- [SerializeField]
- public List newResultList = new List();
- [SerializeField]
- private string m_ResultText;
- [SerializeField]
- private string m_ResultStacktrace;
-
- private TreeViewController m_TestListTree;
- [SerializeField]
- internal TreeViewState m_TestListState;
- [SerializeField]
- internal TestRunnerUIFilter m_TestRunnerUIFilter = new TestRunnerUIFilter();
-
- private Vector2 m_TestInfoScroll, m_TestListScroll;
- private string m_PreviousProjectPath;
- private List m_QueuedResults = new List();
-
- protected TestListGUI()
- {
- MonoCecilHelper = new MonoCecilHelper();
- AssetsDatabaseHelper = new AssetsDatabaseHelper();
-
- GuiHelper = new GuiHelper(MonoCecilHelper, AssetsDatabaseHelper);
- }
-
- protected IMonoCecilHelper MonoCecilHelper { get; private set; }
- protected IAssetsDatabaseHelper AssetsDatabaseHelper { get; private set; }
- protected IGuiHelper GuiHelper { get; private set; }
-
- public abstract TestMode TestMode { get; }
-
- public virtual void PrintHeadPanel()
- {
- EditorGUILayout.BeginHorizontal(EditorStyles.toolbar);
- using (new EditorGUI.DisabledScope(IsBusy()))
- {
- if (GUILayout.Button(s_GUIRunAllTests, EditorStyles.toolbarButton))
- {
- var filter = new TestRunnerFilter {categoryNames = m_TestRunnerUIFilter.CategoryFilter};
- RunTests(filter);
- GUIUtility.ExitGUI();
- }
- }
- using (new EditorGUI.DisabledScope(m_TestListTree == null || !m_TestListTree.HasSelection() || IsBusy()))
- {
- if (GUILayout.Button(s_GUIRunSelectedTests, EditorStyles.toolbarButton))
- {
- RunTests(GetSelectedTestsAsFilter(m_TestListTree.GetSelection()));
- GUIUtility.ExitGUI();
- }
- }
- using (new EditorGUI.DisabledScope(m_TestRunnerUIFilter.FailedCount == 0 || IsBusy()))
- {
- if (GUILayout.Button(s_GUIRerunFailedTests, EditorStyles.toolbarButton))
- {
- var failedTestnames = new List();
- foreach (var result in newResultList)
- {
- if (result.isSuite)
- continue;
- if (result.resultStatus == TestRunnerResult.ResultStatus.Failed ||
- result.resultStatus == TestRunnerResult.ResultStatus.Inconclusive)
- failedTestnames.Add(result.fullName);
- }
- RunTests(new TestRunnerFilter() {testNames = failedTestnames.ToArray(), categoryNames = m_TestRunnerUIFilter.CategoryFilter});
- GUIUtility.ExitGUI();
- }
- }
- GUILayout.FlexibleSpace();
- EditorGUILayout.EndHorizontal();
- }
-
- protected void DrawFilters()
- {
- EditorGUILayout.BeginHorizontal(EditorStyles.toolbar);
- m_TestRunnerUIFilter.Draw();
- EditorGUILayout.EndHorizontal();
- }
-
- public bool HasTreeData()
- {
- return m_TestListTree != null;
- }
-
- public virtual void RenderTestList()
- {
- if (m_TestListTree == null)
- {
- GUILayout.Label("Loading...");
- return;
- }
-
- m_TestListScroll = EditorGUILayout.BeginScrollView(m_TestListScroll,
- GUILayout.ExpandWidth(true),
- GUILayout.MaxWidth(2000));
-
- if (m_TestListTree.data.root == null || m_TestListTree.data.rowCount == 0 || (!m_TestListTree.isSearching && !m_TestListTree.data.GetItem(0).hasChildren))
- {
- if (m_TestRunnerUIFilter.IsFiltering)
- {
- if (GUILayout.Button("Clear filters"))
- {
- m_TestRunnerUIFilter.Clear();
- m_TestListTree.ReloadData();
- m_Window.Repaint();
- }
- }
- RenderNoTestsInfo();
- }
- else
- {
- var treeRect = EditorGUILayout.GetControlRect(GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(true));
- var treeViewKeyboardControlId = GUIUtility.GetControlID(FocusType.Keyboard);
-
- m_TestListTree.OnGUI(treeRect, treeViewKeyboardControlId);
- }
-
- EditorGUILayout.EndScrollView();
- }
-
- public virtual void RenderNoTestsInfo()
- {
- EditorGUILayout.HelpBox("No tests to show", MessageType.Info);
- }
-
- public void RenderDetails()
- {
- m_TestInfoScroll = EditorGUILayout.BeginScrollView(m_TestInfoScroll);
- var resultTextSize = TestRunnerWindow.Styles.info.CalcSize(new GUIContent(m_ResultText));
- EditorGUILayout.SelectableLabel(m_ResultText, TestRunnerWindow.Styles.info,
- GUILayout.ExpandHeight(true),
- GUILayout.ExpandWidth(true),
- GUILayout.MinWidth(resultTextSize.x),
- GUILayout.MinHeight(resultTextSize.y));
- EditorGUILayout.EndScrollView();
- }
-
- public void Reload()
- {
- if (m_TestListTree != null)
- {
- m_TestListTree.ReloadData();
- UpdateQueuedResults();
- }
- }
-
- public void Repaint()
- {
- if (m_TestListTree == null || m_TestListTree.data.root == null)
- {
- return;
- }
-
- m_TestListTree.Repaint();
- if (m_TestListTree.data.rowCount == 0)
- m_TestListTree.SetSelection(new int[0], false);
- TestSelectionCallback(m_TestListState.selectedIDs.ToArray());
- }
-
- public void Init(TestRunnerWindow window, ITestAdaptor rootTest)
- {
- if (m_Window == null)
- {
- m_Window = window;
- }
-
- if (m_TestListTree == null)
- {
- if (m_TestListState == null)
- {
- m_TestListState = new TreeViewState();
- }
- if (m_TestListTree == null)
- m_TestListTree = new TreeViewController(m_Window, m_TestListState);
-
- m_TestListTree.deselectOnUnhandledMouseDown = false;
-
- m_TestListTree.selectionChangedCallback += TestSelectionCallback;
- m_TestListTree.itemDoubleClickedCallback += TestDoubleClickCallback;
- m_TestListTree.contextClickItemCallback += TestContextClickCallback;
-
- var testListTreeViewDataSource = new TestListTreeViewDataSource(m_TestListTree, this, rootTest);
-
- if (!newResultList.Any())
- testListTreeViewDataSource.ExpandTreeOnCreation();
-
- m_TestListTree.Init(new Rect(),
- testListTreeViewDataSource,
- new TestListTreeViewGUI(m_TestListTree),
- null);
- }
-
- EditorApplication.update += RepaintIfProjectPathChanged;
-
- m_TestRunnerUIFilter.UpdateCounters(newResultList);
- m_TestRunnerUIFilter.RebuildTestList = () => m_TestListTree.ReloadData();
- m_TestRunnerUIFilter.SearchStringChanged = s => m_TestListTree.searchString = s;
- }
-
- public void UpdateResult(TestRunnerResult result)
- {
- if (!HasTreeData())
- {
- m_QueuedResults.Add(result);
- return;
- }
-
- if (newResultList.All(x => x.uniqueId != result.uniqueId))
- {
- return;
- }
-
- var testRunnerResult = newResultList.FirstOrDefault(x => x.uniqueId == result.uniqueId);
- if (testRunnerResult != null)
- {
- testRunnerResult.Update(result);
- }
-
- Repaint();
- m_Window.Repaint();
- }
-
- private void UpdateQueuedResults()
- {
- foreach (var testRunnerResult in m_QueuedResults)
- {
- var existingResult = newResultList.FirstOrDefault(x => x.uniqueId == testRunnerResult.uniqueId);
- if (existingResult != null)
- {
- existingResult.Update(testRunnerResult);
- }
- }
- m_QueuedResults.Clear();
- TestSelectionCallback(m_TestListState.selectedIDs.ToArray());
- Repaint();
- m_Window.Repaint();
- }
-
- internal void TestSelectionCallback(int[] selected)
- {
- if (m_TestListTree != null && selected.Length == 1)
- {
- if (m_TestListTree != null)
- {
- var node = m_TestListTree.FindItem(selected[0]);
- if (node is TestTreeViewItem)
- {
- var test = node as TestTreeViewItem;
- m_ResultText = test.GetResultText();
- m_ResultStacktrace = test.result.stacktrace;
- }
- }
- }
- else if (selected.Length == 0)
- {
- m_ResultText = "";
- }
- }
-
- protected virtual void TestDoubleClickCallback(int id)
- {
- if (IsBusy())
- return;
-
- RunTests(GetSelectedTestsAsFilter(new List { id }));
- GUIUtility.ExitGUI();
- }
-
- protected virtual void RunTests(TestRunnerFilter filter)
- {
- throw new NotImplementedException();
- }
-
- protected virtual void TestContextClickCallback(int id)
- {
- if (id == 0)
- return;
-
- var m = new GenericMenu();
- var testFilter = GetSelectedTestsAsFilter(m_TestListState.selectedIDs);
- var multilineSelection = m_TestListState.selectedIDs.Count > 1;
-
- if (!multilineSelection)
- {
- var testNode = GetSelectedTest();
- var isNotSuite = !testNode.IsGroupNode;
- if (isNotSuite)
- {
- if (!string.IsNullOrEmpty(m_ResultStacktrace))
- {
- m.AddItem(s_GUIOpenErrorLine,
- false,
- data =>
- {
- if (!GuiHelper.OpenScriptInExternalEditor(m_ResultStacktrace))
- {
- GuiHelper.OpenScriptInExternalEditor(testNode.type, testNode.method);
- }
- },
- "");
- }
-
- m.AddItem(s_GUIOpenTest,
- false,
- data => GuiHelper.OpenScriptInExternalEditor(testNode.type, testNode.method),
- "");
- m.AddSeparator("");
- }
- }
-
- if (!IsBusy())
- {
- m.AddItem(multilineSelection ? s_GUIRunSelectedTests : s_GUIRun,
- false,
- data => RunTests(testFilter),
- "");
-
- if (EditorPrefs.GetBool("DeveloperMode", false))
- {
- m.AddItem(multilineSelection ? s_GUIRunSelectedTests : s_GUIRunUntilFailed,
- false,
- data =>
- {
- testFilter.testRepetitions = int.MaxValue;
- RunTests(testFilter);
- },
- "");
-
- m.AddItem(multilineSelection ? s_GUIRunSelectedTests : s_GUIRun100Times,
- false,
- data =>
- {
- testFilter.testRepetitions = 100;
- RunTests(testFilter);
- },
- "");
- }
- }
- else
- m.AddDisabledItem(multilineSelection ? s_GUIRunSelectedTests : s_GUIRun, false);
-
- m.ShowAsContext();
- }
-
- private TestRunnerFilter GetSelectedTestsAsFilter(IEnumerable selectedIDs)
- {
- var namesToRun = new List();
- var exactNamesToRun = new List();
- var assembliesToRun = new List();
- foreach (var lineId in selectedIDs)
- {
- var line = m_TestListTree.FindItem(lineId);
- if (line is TestTreeViewItem)
- {
- var testLine = line as TestTreeViewItem;
- if (testLine.IsGroupNode && !testLine.FullName.Contains("+"))
- {
- if (testLine.parent != null && testLine.parent.displayName == "Invisible Root Item")
- {
- //Root node selected. Use an empty TestRunnerFilter to run every test
- namesToRun.Clear();
- exactNamesToRun.Clear();
- assembliesToRun.Clear();
- break;
- }
-
- if (testLine.FullName.EndsWith(".dll", StringComparison.OrdinalIgnoreCase))
- assembliesToRun.Add(TestRunnerFilter.AssemblyNameFromPath(testLine.FullName));
- else
- namesToRun.Add(string.Format("^{0}$", testLine.FullName));
- }
- else
- exactNamesToRun.Add(testLine.FullName);
- }
- }
-
- var filter = new TestRunnerFilter
- {
- assemblyNames = assembliesToRun.ToArray(),
- groupNames = namesToRun.ToArray(),
- testNames = exactNamesToRun.ToArray(),
- categoryNames = m_TestRunnerUIFilter.CategoryFilter
- };
- return filter;
- }
-
- private TestTreeViewItem GetSelectedTest()
- {
- foreach (var lineId in m_TestListState.selectedIDs)
- {
- var line = m_TestListTree.FindItem(lineId);
- if (line is TestTreeViewItem)
- {
- return line as TestTreeViewItem;
- }
- }
- return null;
- }
-
- public abstract TestPlatform TestPlatform { get; }
-
- public void RebuildUIFilter()
- {
- m_TestRunnerUIFilter.UpdateCounters(newResultList);
- if (m_TestRunnerUIFilter.IsFiltering)
- {
- m_TestListTree.ReloadData();
- }
- }
-
- public void RepaintIfProjectPathChanged()
- {
- var path = TestListGUIHelper.GetActiveFolderPath();
- if (path != m_PreviousProjectPath)
- {
- m_PreviousProjectPath = path;
- TestRunnerWindow.s_Instance.Repaint();
- }
-
- EditorApplication.update -= RepaintIfProjectPathChanged;
- }
-
- protected abstract bool IsBusy();
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs.meta
deleted file mode 100644
index 3bef151..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b8abb41ceb6f62c45a00197ae59224c1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension.meta
deleted file mode 100644
index 0c99889..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3f9202a39620f51418046c7754f215f0
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes.meta
deleted file mode 100644
index a5930f1..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 96c503bf059df984c86eecf572370347
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs
deleted file mode 100644
index e71b62c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-using System;
-using NUnit.Framework;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-
-namespace UnityEditor.TestTools
-{
- ///
- /// Ignore attributes dedicated to Asset Import Pipeline backend version handling.
- ///
- internal static class AssetPipelineIgnore
- {
- internal enum AssetPipelineBackend
- {
- V1,
- V2
- }
-
- ///
- /// Ignore the test when running with the legacy Asset Import Pipeline V1 backend.
- ///
- internal class IgnoreInV1 : AssetPipelineIgnoreAttribute
- {
- public IgnoreInV1(string ignoreReason) : base(AssetPipelineBackend.V1, ignoreReason) {}
- }
-
- ///
- /// Ignore the test when running with the latest Asset Import Pipeline V2 backend.
- ///
- internal class IgnoreInV2 : AssetPipelineIgnoreAttribute
- {
- public IgnoreInV2(string ignoreReason) : base(AssetPipelineBackend.V2, ignoreReason) {}
- }
-
- [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
- internal class AssetPipelineIgnoreAttribute : NUnitAttribute, IApplyToTest
- {
- readonly string m_IgnoreReason;
- readonly AssetPipelineBackend m_IgnoredBackend;
- static readonly AssetPipelineBackend k_ActiveBackend = AssetDatabase.IsV2Enabled()
- ? AssetPipelineBackend.V2
- : AssetPipelineBackend.V1;
-
- static string ActiveBackendName = Enum.GetName(typeof(AssetPipelineBackend), k_ActiveBackend);
-
- public AssetPipelineIgnoreAttribute(AssetPipelineBackend backend, string ignoreReason)
- {
- m_IgnoredBackend = backend;
- m_IgnoreReason = ignoreReason;
- }
-
- public void ApplyToTest(Test test)
- {
- if (k_ActiveBackend == m_IgnoredBackend)
- {
- test.RunState = RunState.Ignored;
- var skipReason = string.Format("Not supported by asset pipeline {0} backend {1}", ActiveBackendName, m_IgnoreReason);
- test.Properties.Add(PropertyNames.SkipReason, skipReason);
- }
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs.meta
deleted file mode 100644
index 5f7207f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b88caca58e05ee74486d86fb404c48e2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/TestRunnerStateSerializer.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/TestRunnerStateSerializer.cs
deleted file mode 100644
index a24190e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/TestRunnerStateSerializer.cs
+++ /dev/null
@@ -1,162 +0,0 @@
-using System;
-using System.Reflection;
-using System.Text;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.TestRunner.NUnitExtensions.Runner;
-using UnityEngine.TestTools.NUnitExtensions;
-using UnityEngine.TestTools.Logging;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- [Serializable]
- internal class TestRunnerStateSerializer : IStateSerializer
- {
- private const BindingFlags Flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy;
-
- [SerializeField]
- private HideFlags m_OriginalHideFlags;
-
- [SerializeField]
- private bool m_ShouldRestore;
-
- [SerializeField]
- private string m_TestObjectTypeName;
-
- [SerializeField]
- private ScriptableObject m_TestObject;
-
- [SerializeField]
- private string m_TestObjectTxt;
-
- [SerializeField]
- private long StartTicks;
-
- [SerializeField]
- private double StartTimeOA;
-
- [SerializeField]
- private string output;
-
- [SerializeField]
- private LogMatch[] m_ExpectedLogs;
-
- public bool ShouldRestore()
- {
- return m_ShouldRestore;
- }
-
- public void SaveContext()
- {
- var currentContext = UnityTestExecutionContext.CurrentContext;
-
- if (currentContext.TestObject != null)
- {
- m_TestObjectTypeName = currentContext.TestObject.GetType().AssemblyQualifiedName;
- m_TestObject = null;
- m_TestObjectTxt = null;
- if (currentContext.TestObject is ScriptableObject)
- {
- m_TestObject = currentContext.TestObject as ScriptableObject;
- m_OriginalHideFlags = m_TestObject.hideFlags;
- m_TestObject.hideFlags |= HideFlags.DontSave;
- }
- else
- {
- m_TestObjectTxt = JsonUtility.ToJson(currentContext.TestObject);
- }
- }
-
- output = currentContext.CurrentResult.Output;
- StartTicks = currentContext.StartTicks;
- StartTimeOA = currentContext.StartTime.ToOADate();
- if (LogScope.HasCurrentLogScope())
- {
- m_ExpectedLogs = LogScope.Current.ExpectedLogs.ToArray();
- }
-
- m_ShouldRestore = true;
- }
-
- public void RestoreContext()
- {
- var currentContext = UnityTestExecutionContext.CurrentContext;
-
- var outputProp = currentContext.CurrentResult.GetType().BaseType.GetField("_output", Flags);
- (outputProp.GetValue(currentContext.CurrentResult) as StringBuilder).Append(output);
-
- currentContext.StartTicks = StartTicks;
- currentContext.StartTime = DateTime.FromOADate(StartTimeOA);
- if (LogScope.HasCurrentLogScope())
- {
- LogScope.Current.ExpectedLogs = new Queue(m_ExpectedLogs);
- }
-
- m_ShouldRestore = false;
- }
-
- public bool CanRestoreFromScriptableObject(Type requestedType)
- {
- if (m_TestObject == null)
- {
- return false;
- }
- return m_TestObjectTypeName == requestedType.AssemblyQualifiedName;
- }
-
- public ScriptableObject RestoreScriptableObjectInstance()
- {
- if (m_TestObject == null)
- {
- Debug.LogError("No object to restore");
- return null;
- }
- EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
- var temp = m_TestObject;
- m_TestObject = null;
- m_TestObjectTypeName = null;
- return temp;
- }
-
- public bool CanRestoreFromJson(Type requestedType)
- {
- if (string.IsNullOrEmpty(m_TestObjectTxt))
- {
- return false;
- }
- return m_TestObjectTypeName == requestedType.AssemblyQualifiedName;
- }
-
- public void RestoreClassFromJson(ref object instance)
- {
- if (string.IsNullOrEmpty(m_TestObjectTxt))
- {
- Debug.LogWarning("No JSON representation to restore");
- return;
- }
- JsonUtility.FromJsonOverwrite(m_TestObjectTxt, instance);
- m_TestObjectTxt = null;
- m_TestObjectTypeName = null;
- }
-
- private void OnPlayModeStateChanged(PlayModeStateChange state)
- {
- if (m_TestObject == null)
- {
- EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
- return;
- }
-
- //We set the DontSave flag here because the ScriptableObject would be nulled right before entering EditMode
- if (state == PlayModeStateChange.ExitingPlayMode)
- {
- m_TestObject.hideFlags |= HideFlags.DontSave;
- }
- else if (state == PlayModeStateChange.EnteredEditMode)
- {
- m_TestObject.hideFlags = m_OriginalHideFlags;
- EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/TestRunnerStateSerializer.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/TestRunnerStateSerializer.cs.meta
deleted file mode 100644
index 7d36e9d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/NUnitExtension/TestRunnerStateSerializer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 124533853216377448d786fd7c725701
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequireApiProfileAttribute.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequireApiProfileAttribute.cs
deleted file mode 100644
index e99d452..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequireApiProfileAttribute.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Linq;
-using NUnit.Framework;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-
-namespace UnityEditor.TestTools
-{
- [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
- internal class RequireApiProfileAttribute : NUnitAttribute, IApplyToTest
- {
- public ApiCompatibilityLevel[] apiProfiles { get; private set; }
-
- public RequireApiProfileAttribute(params ApiCompatibilityLevel[] apiProfiles)
- {
- this.apiProfiles = apiProfiles;
- }
-
- void IApplyToTest.ApplyToTest(Test test)
- {
- test.Properties.Add(PropertyNames.Category, string.Format("ApiProfile({0})", string.Join(", ", apiProfiles.Select(p => p.ToString()).OrderBy(p => p).ToArray())));
- ApiCompatibilityLevel testProfile = PlayerSettings.GetApiCompatibilityLevel(EditorUserBuildSettings.activeBuildTargetGroup);
-
- if (!apiProfiles.Contains(testProfile))
- {
- string skipReason = "Skipping test as it requires a compatible api profile set: " + string.Join(", ", apiProfiles.Select(p => p.ToString()).ToArray());
- test.RunState = RunState.Skipped;
- test.Properties.Add(PropertyNames.SkipReason, skipReason);
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequireApiProfileAttribute.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequireApiProfileAttribute.cs.meta
deleted file mode 100644
index 66d03bd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequireApiProfileAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a667f6654ad7a9548b8c8e68b51c8895
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequirePlatformSupportAttribute.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequirePlatformSupportAttribute.cs
deleted file mode 100644
index 321a0fe..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequirePlatformSupportAttribute.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using System.Linq;
-using NUnit.Framework;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-
-namespace UnityEditor.TestTools
-{
- [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
- public class RequirePlatformSupportAttribute : NUnitAttribute, IApplyToTest
- {
- public RequirePlatformSupportAttribute(params BuildTarget[] platforms)
- {
- this.platforms = platforms;
- }
-
- public BuildTarget[] platforms { get; private set; }
-
- void IApplyToTest.ApplyToTest(Test test)
- {
- test.Properties.Add(PropertyNames.Category, string.Format("RequirePlatformSupport({0})", string.Join(", ", platforms.Select(p => p.ToString()).OrderBy(p => p).ToArray())));
-
- if (!platforms.All(p => BuildPipeline.IsBuildTargetSupported(BuildTargetGroup.Unknown, p)))
- {
- var missingPlatforms = platforms.Where(p => !BuildPipeline.IsBuildTargetSupported(BuildTargetGroup.Unknown, p)).Select(p => p.ToString()).ToArray();
- string skipReason = "Test cannot be run as it requires support for the following platforms to be installed: " + string.Join(", ", missingPlatforms);
-
- test.RunState = RunState.Skipped;
- test.Properties.Add(PropertyNames.SkipReason, skipReason);
- }
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequirePlatformSupportAttribute.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequirePlatformSupportAttribute.cs.meta
deleted file mode 100644
index 8493058..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/RequirePlatformSupportAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d2146428d3f1ad54eb7326c9a44b3284
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestBuildAssemblyFilter.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestBuildAssemblyFilter.cs
deleted file mode 100644
index 4f0a041..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestBuildAssemblyFilter.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System.Linq;
-using UnityEditor.Build;
-
-namespace UnityEditor.TestRunner
-{
- internal class TestBuildAssemblyFilter : IFilterBuildAssemblies
- {
- private const string nunitAssemblyName = "nunit.framework";
- private const string unityTestRunnerAssemblyName = "UnityEngine.TestRunner";
-
- public int callbackOrder { get; }
- public string[] OnFilterAssemblies(BuildOptions buildOptions, string[] assemblies)
- {
- if ((buildOptions & BuildOptions.IncludeTestAssemblies) == BuildOptions.IncludeTestAssemblies || PlayerSettings.playModeTestRunnerEnabled)
- {
- return assemblies;
- }
- return assemblies.Where(x => !x.Contains(nunitAssemblyName) && !x.Contains(unityTestRunnerAssemblyName)).ToArray();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestBuildAssemblyFilter.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestBuildAssemblyFilter.cs.meta
deleted file mode 100644
index f3cd3bd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestBuildAssemblyFilter.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3411e19edd44cfd46b548b058c3bc36c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers.meta
deleted file mode 100644
index c6a951b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d64d92e4f04a13e4b99ea8d48e9e8ae9
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/AttributeFinderBase.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/AttributeFinderBase.cs
deleted file mode 100644
index 0c069e5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/AttributeFinderBase.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using UnityEngine;
-using UnityEngine.TestTools;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal abstract class AttributeFinderBase
- {
- public abstract IEnumerable Search(ITest tests, ITestFilter filter, RuntimePlatform testTargetPlatform);
- }
-
- internal abstract class AttributeFinderBase : AttributeFinderBase where T2 : Attribute
- {
- private readonly Func m_TypeSelector;
- protected AttributeFinderBase(Func typeSelector)
- {
- m_TypeSelector = typeSelector;
- }
-
- public override IEnumerable Search(ITest tests, ITestFilter filter, RuntimePlatform testTargetPlatform)
- {
- var selectedTests = new List();
- GetMatchingTests(tests, filter, ref selectedTests, testTargetPlatform);
-
- var result = new List();
- result.AddRange(GetTypesFromPrebuildAttributes(selectedTests));
- result.AddRange(GetTypesFromInterface(selectedTests, testTargetPlatform));
-
- return result.Distinct();
- }
-
- private static void GetMatchingTests(ITest tests, ITestFilter filter, ref List resultList, RuntimePlatform testTargetPlatform)
- {
- foreach (var test in tests.Tests)
- {
- if (IsTestEnabledOnPlatform(test, testTargetPlatform))
- {
- if (test.IsSuite)
- {
- GetMatchingTests(test, filter, ref resultList, testTargetPlatform);
- }
- else
- {
- if (filter.Pass(test))
- resultList.Add(test);
- }
- }
- }
- }
-
- private static bool IsTestEnabledOnPlatform(ITest test, RuntimePlatform testTargetPlatform)
- {
- if (test.Method == null)
- {
- return true;
- }
-
- var attributesFromMethods = test.Method.GetCustomAttributes(true).Select(attribute => attribute);
- var attributesFromTypes = test.Method.TypeInfo.GetCustomAttributes(true).Select(attribute => attribute);
-
- if (!attributesFromMethods.All(a => a.IsPlatformSupported(testTargetPlatform)))
- {
- return false;
- }
-
- if (!attributesFromTypes.All(a => a.IsPlatformSupported(testTargetPlatform)))
- {
- return false;
- }
-
- return true;
- }
-
- private IEnumerable GetTypesFromPrebuildAttributes(IEnumerable tests)
- {
- var attributesFromMethods = tests.SelectMany(t => t.Method.GetCustomAttributes(true).Select(attribute => attribute));
- var attributesFromTypes = tests.SelectMany(t => t.Method.TypeInfo.GetCustomAttributes(true).Select(attribute => attribute));
-
- var result = new List();
- result.AddRange(attributesFromMethods);
- result.AddRange(attributesFromTypes);
-
- return result.Select(m_TypeSelector).Where(type => type != null);
- }
-
- private static IEnumerable GetTypesFromInterface(IEnumerable selectedTests, RuntimePlatform testTargetPlatform)
- {
- var typesWithInterfaces = selectedTests.Where(t => typeof(T1).IsAssignableFrom(t.Method.TypeInfo.Type) && IsTestEnabledOnPlatform(t, testTargetPlatform));
- return typesWithInterfaces.Select(t => t.Method.TypeInfo.Type);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/AttributeFinderBase.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/AttributeFinderBase.cs.meta
deleted file mode 100644
index 19986f0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/AttributeFinderBase.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5d4de3d4682a8d641907cc75e4fb950e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncher.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncher.cs
deleted file mode 100644
index d8314d3..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncher.cs
+++ /dev/null
@@ -1,141 +0,0 @@
-using System.Collections.Generic;
-using NUnit.Framework.Interfaces;
-using UnityEditor.SceneManagement;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.SceneManagement;
-using UnityEngine.TestTools;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class EditModeLauncher : TestLauncherBase
- {
- public static bool IsRunning;
- private readonly EditModeRunner m_EditModeRunner;
-
- public EditModeLauncher(TestRunnerFilter filter, TestPlatform platform)
- {
- m_EditModeRunner = ScriptableObject.CreateInstance();
- m_EditModeRunner.UnityTestAssemblyRunnerFactory = new UnityTestAssemblyRunnerFactory();
- m_EditModeRunner.Init(filter, platform);
- }
-
- public override void Run()
- {
- // Give user chance to save the changes to their currently open scene because we close it and load our own
- var cancelled = !EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo();
- if (cancelled)
- return;
-
- IsRunning = true;
- var exceptionThrown = ExecutePreBuildSetupMethods(m_EditModeRunner.GetLoadedTests(), m_EditModeRunner.GetFilter());
- if (exceptionThrown)
- {
- CallbacksDelegator.instance.RunFailed("Run Failed: One or more errors in a prebuild setup. See the editor log for details.");
- return;
- }
-
- var undoGroup = Undo.GetCurrentGroup();
- SceneSetup[] previousSceneSetup;
- if (!OpenNewScene(out previousSceneSetup))
- return;
-
- var callback = AddEventHandler();
- callback.previousSceneSetup = previousSceneSetup;
- callback.undoGroup = undoGroup;
- callback.runner = m_EditModeRunner;
- AddEventHandler();
-
- m_EditModeRunner.Run();
- AddEventHandler();
- }
-
- private static bool OpenNewScene(out SceneSetup[] previousSceneSetup)
- {
- previousSceneSetup = null;
-
- var sceneCount = SceneManager.sceneCount;
-
- var scene = SceneManager.GetSceneAt(0);
- var isSceneNotPersisted = string.IsNullOrEmpty(scene.path);
-
- if (sceneCount == 1 && isSceneNotPersisted)
- {
- EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects, NewSceneMode.Single);
- return true;
- }
- RemoveUntitledScenes();
-
- // In case the user chose not to save the dirty scenes we reload them
- ReloadUnsavedDirtyScene();
-
- previousSceneSetup = EditorSceneManager.GetSceneManagerSetup();
-
- scene = EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Additive);
- SceneManager.SetActiveScene(scene);
-
- return true;
- }
-
- private static void ReloadUnsavedDirtyScene()
- {
- for (var i = 0; i < SceneManager.sceneCount; i++)
- {
- var scene = SceneManager.GetSceneAt(i);
- var isSceneNotPersisted = string.IsNullOrEmpty(scene.path);
- var isSceneDirty = scene.isDirty;
- if (isSceneNotPersisted && isSceneDirty)
- {
- EditorSceneManager.ReloadScene(scene);
- }
- }
- }
-
- private static void RemoveUntitledScenes()
- {
- int sceneCount = SceneManager.sceneCount;
-
- var scenesToClose = new List();
- for (var i = 0; i < sceneCount; i++)
- {
- var scene = SceneManager.GetSceneAt(i);
- var isSceneNotPersisted = string.IsNullOrEmpty(scene.path);
- if (isSceneNotPersisted)
- {
- scenesToClose.Add(scene);
- }
- }
- foreach (Scene scene in scenesToClose)
- {
- EditorSceneManager.CloseScene(scene, true);
- }
- }
-
- public class BackgroundListener : ScriptableObject, ITestRunnerListener
- {
- public void RunStarted(ITest testsToRun)
- {
- }
-
- public void RunFinished(ITestResult testResults)
- {
- IsRunning = false;
- }
-
- public void TestStarted(ITest test)
- {
- }
-
- public void TestFinished(ITestResult result)
- {
- }
- }
-
- public T AddEventHandler() where T : ScriptableObject, ITestRunnerListener
- {
- return m_EditModeRunner.AddEventHandler();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncher.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncher.cs.meta
deleted file mode 100644
index 694d7d6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncher.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ac68f5ae37c8957468562b8da42f9984
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncherContextSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncherContextSettings.cs
deleted file mode 100644
index e20305c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncherContextSettings.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class EditModeLauncherContextSettings : IDisposable
- {
- private bool m_RunInBackground;
-
- public EditModeLauncherContextSettings()
- {
- SetupProjectParameters();
- }
-
- public void Dispose()
- {
- CleanupProjectParameters();
- }
-
- private void SetupProjectParameters()
- {
- m_RunInBackground = Application.runInBackground;
- Application.runInBackground = true;
- }
-
- private void CleanupProjectParameters()
- {
- Application.runInBackground = m_RunInBackground;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncherContextSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncherContextSettings.cs.meta
deleted file mode 100644
index 2bed8fd..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/EditModeLauncherContextSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a582090813554df479fb9ca03e9857d3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup.meta
deleted file mode 100644
index 4947382..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ebc4d20cc106cea49b1df1153f0b3b5e
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/AndroidPlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/AndroidPlatformSetup.cs
deleted file mode 100644
index 9f39c0a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/AndroidPlatformSetup.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using System;
-using UnityEngine;
-using System.Net;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class AndroidPlatformSetup : IPlatformSetup
- {
- private string m_oldApplicationIdentifier;
- private string m_oldDeviceSocketAddress;
- [SerializeField]
- private bool m_Stripping;
-
- public void Setup()
- {
- m_oldApplicationIdentifier = PlayerSettings.GetApplicationIdentifier(BuildTargetGroup.Android);
- PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.Android, "com.UnityTestRunner.UnityTestRunner");
-
- m_oldDeviceSocketAddress = EditorUserBuildSettings.androidDeviceSocketAddress;
- var androidDeviceConnection = Environment.GetEnvironmentVariable("ANDROID_DEVICE_CONNECTION");
- EditorUserBuildSettings.waitForPlayerConnection = true;
- if (androidDeviceConnection != null)
- {
- EditorUserBuildSettings.androidDeviceSocketAddress = androidDeviceConnection;
- }
- m_Stripping = PlayerSettings.stripEngineCode;
- PlayerSettings.stripEngineCode = false;
- }
-
- public void PostBuildAction()
- {
- PlayerSettings.stripEngineCode = m_Stripping;
- }
-
- public void PostSuccessfulBuildAction()
- {
- var connectionResult = -1;
- var maxTryCount = 10;
- var tryCount = maxTryCount;
- while (tryCount-- > 0 && connectionResult == -1)
- {
- connectionResult = EditorConnectionInternal.ConnectPlayerProxy(IPAddress.Loopback.ToString(), 34999);
- if (EditorUtility.DisplayCancelableProgressBar("Editor Connection", "Connecting to the player",
- 1 - ((float)tryCount / maxTryCount)))
- {
- EditorUtility.ClearProgressBar();
- throw new TestLaunchFailedException();
- }
- }
- EditorUtility.ClearProgressBar();
- if (connectionResult == -1)
- throw new TestLaunchFailedException(
- "Timed out trying to connect to the player. Player failed to launch or crashed soon after launching");
- }
-
- public void CleanUp()
- {
- EditorUserBuildSettings.androidDeviceSocketAddress = m_oldDeviceSocketAddress;
- PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.Android, m_oldApplicationIdentifier);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/AndroidPlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/AndroidPlatformSetup.cs.meta
deleted file mode 100644
index 6e18a7c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/AndroidPlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 961642509dec50b44a293d26240140ec
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/ApplePlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/ApplePlatformSetup.cs
deleted file mode 100644
index 59cc688..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/ApplePlatformSetup.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-using System.Diagnostics;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- [Serializable]
- internal class ApplePlatformSetup : IPlatformSetup
- {
- [SerializeField]
- private bool m_Stripping;
-
- public ApplePlatformSetup(BuildTarget buildTarget)
- {
- }
-
- public void Setup()
- {
- // Camera and fonts are stripped out and app crashes on iOS when test runner is trying to add a scene with... camera and text
- m_Stripping = PlayerSettings.stripEngineCode;
- PlayerSettings.stripEngineCode = false;
- }
-
- public void PostBuildAction()
- {
- // Restoring player setting as early as possible
- PlayerSettings.stripEngineCode = m_Stripping;
- }
-
- public void PostSuccessfulBuildAction()
- {
- }
-
- public void CleanUp()
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/ApplePlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/ApplePlatformSetup.cs.meta
deleted file mode 100644
index 36f22a6..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/ApplePlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f6c189a159d3bde4c964cee562e508ea
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/IPlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/IPlatformSetup.cs
deleted file mode 100644
index 0cbcb33..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/IPlatformSetup.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner
-{
- internal interface IPlatformSetup
- {
- void Setup();
- void PostBuildAction();
- void PostSuccessfulBuildAction();
- void CleanUp();
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/IPlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/IPlatformSetup.cs.meta
deleted file mode 100644
index 94405b5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/IPlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9d614808f9add8a4f8e4860db2c7af0d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.cs
deleted file mode 100644
index 1d03809..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using System.Threading;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class LuminPlatformSetup : IPlatformSetup
- {
- private const string kDeviceAddress = "127.0.0.1";
- private const int kDevicePort = 55000;
-
- public void Setup()
- {
- }
-
- public void PostBuildAction()
- {
- }
-
- public void PostSuccessfulBuildAction()
- {
- var connectionResult = -1;
- var maxTryCount = 100;
- var tryCount = maxTryCount;
- while (tryCount-- > 0 && connectionResult == -1)
- {
- Thread.Sleep(1000);
- connectionResult = EditorConnectionInternal.ConnectPlayerProxy(kDeviceAddress, kDevicePort);
- if (EditorUtility.DisplayCancelableProgressBar("Editor Connection", "Connecting to the player",
- 1 - ((float)tryCount / maxTryCount)))
- {
- EditorUtility.ClearProgressBar();
- throw new TestLaunchFailedException();
- }
- }
- EditorUtility.ClearProgressBar();
- if (connectionResult == -1)
- throw new TestLaunchFailedException(
- "Timed out trying to connect to the player. Player failed to launch or crashed soon after launching");
- }
-
- public void CleanUp()
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.cs.meta
deleted file mode 100644
index 9e4dcc5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c38ae0585d6a55042a2d678330689685
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.cs
deleted file mode 100644
index 7db5801..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- [Serializable]
- internal class PlatformSpecificSetup
- {
- [SerializeField]
- private ApplePlatformSetup m_AppleiOSPlatformSetup = new ApplePlatformSetup(BuildTarget.iOS);
- [SerializeField]
- private ApplePlatformSetup m_AppleTvOSPlatformSetup = new ApplePlatformSetup(BuildTarget.tvOS);
- [SerializeField]
- private XboxOnePlatformSetup m_XboxOnePlatformSetup = new XboxOnePlatformSetup();
- [SerializeField]
- private AndroidPlatformSetup m_AndroidPlatformSetup = new AndroidPlatformSetup();
- [SerializeField]
- private SwitchPlatformSetup m_SwitchPlatformSetup = new SwitchPlatformSetup();
-
- [SerializeField]
- private UwpPlatformSetup m_UwpPlatformSetup = new UwpPlatformSetup();
-
- [SerializeField]
- private LuminPlatformSetup m_LuminPlatformSetup = new LuminPlatformSetup();
-
-
- private IDictionary m_SetupTypes;
-
- [SerializeField]
- private BuildTarget m_Target;
-
- public PlatformSpecificSetup()
- {
- }
-
- public PlatformSpecificSetup(BuildTarget target)
- {
- m_Target = target;
- }
-
- public void Setup()
- {
- var dictionary = GetSetup();
-
- if (!dictionary.ContainsKey(m_Target))
- {
- return;
- }
-
- dictionary[m_Target].Setup();
- }
-
- public void PostBuildAction()
- {
- var dictionary = GetSetup();
-
- if (!dictionary.ContainsKey(m_Target))
- {
- return;
- }
-
- dictionary[m_Target].PostBuildAction();
- }
-
- public void PostSuccessfulBuildAction()
- {
- var dictionary = GetSetup();
-
- if (!dictionary.ContainsKey(m_Target))
- {
- return;
- }
-
- dictionary[m_Target].PostSuccessfulBuildAction();
- }
-
- public void CleanUp()
- {
- var dictionary = GetSetup();
-
- if (!dictionary.ContainsKey(m_Target))
- {
- return;
- }
-
- dictionary[m_Target].CleanUp();
- }
-
- private IDictionary GetSetup()
- {
- m_SetupTypes = new Dictionary()
- {
- {BuildTarget.iOS, m_AppleiOSPlatformSetup},
- {BuildTarget.tvOS, m_AppleTvOSPlatformSetup},
- {BuildTarget.XboxOne, m_XboxOnePlatformSetup},
- {BuildTarget.Android, m_AndroidPlatformSetup},
- {BuildTarget.WSAPlayer, m_UwpPlatformSetup},
- {BuildTarget.Lumin, m_LuminPlatformSetup},
- {BuildTarget.Switch, m_SwitchPlatformSetup}
- };
- return m_SetupTypes;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.cs.meta
deleted file mode 100644
index a250a1a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6cccd50ebf7384242bda4d7bcb282ebf
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/SwitchPlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/SwitchPlatformSetup.cs
deleted file mode 100644
index 20cabe0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/SwitchPlatformSetup.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class SwitchPlatformSetup : IPlatformSetup
- {
- public void Setup()
- {
- EditorUserBuildSettings.switchCreateRomFile = true;
- EditorUserBuildSettings.switchNVNGraphicsDebugger = false;
- EditorUserBuildSettings.switchNVNDrawValidation = true; // catches more graphics errors
- EditorUserBuildSettings.development = true;
- EditorUserBuildSettings.switchRedirectWritesToHostMount = true;
-
- // We can use these when more debugging is required:
- //EditorUserBuildSettings.switchNVNDrawValidation = false; // cannot be used with shader debug
- //EditorUserBuildSettings.switchNVNGraphicsDebugger = true;
- //EditorUserBuildSettings.switchNVNShaderDebugging = true;
- //EditorUserBuildSettings.switchCreateSolutionFile = true; // for shorter iteration time
- //EditorUserBuildSettings.allowDebugging = true; // managed debugger can be attached
- }
-
- public void PostBuildAction()
- {
- }
-
- public void PostSuccessfulBuildAction()
- {
- }
-
- public void CleanUp()
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/SwitchPlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/SwitchPlatformSetup.cs.meta
deleted file mode 100644
index fb9dd05..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/SwitchPlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: adf7bea9401c1834380d55601add6cfb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/UwpPlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/UwpPlatformSetup.cs
deleted file mode 100644
index 6eb634a..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/UwpPlatformSetup.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class UwpPlatformSetup : IPlatformSetup
- {
- private const string k_SettingsBuildConfiguration = "BuildConfiguration";
- private bool m_InternetClientServer;
- private bool m_PrivateNetworkClientServer;
-
- public void Setup()
- {
- m_InternetClientServer = PlayerSettings.WSA.GetCapability(PlayerSettings.WSACapability.InternetClientServer);
- m_PrivateNetworkClientServer = PlayerSettings.WSA.GetCapability(PlayerSettings.WSACapability.PrivateNetworkClientServer);
- PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.InternetClientServer, true);
- PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.PrivateNetworkClientServer, true);
-
- // This setting is initialized only when Window Store App is selected from the Build Settings window, and
- // is typically an empty strings when running tests via UTR on the command-line.
- bool wsaSettingNotInitialized = string.IsNullOrEmpty(EditorUserBuildSettings.wsaArchitecture);
-
- // If WSA build settings aren't fully initialized or running from a build machine, specify a default build configuration.
- // Otherwise we can use the existing configuration specified by the user in Build Settings.
- if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("UNITY_THISISABUILDMACHINE")) || wsaSettingNotInitialized)
- {
- EditorUserBuildSettings.wsaSubtarget = WSASubtarget.PC;
- EditorUserBuildSettings.wsaArchitecture = "x64";
- EditorUserBuildSettings.SetPlatformSettings(BuildPipeline.GetBuildTargetName(BuildTarget.WSAPlayer), k_SettingsBuildConfiguration, WSABuildType.Debug.ToString());
- EditorUserBuildSettings.wsaUWPBuildType = WSAUWPBuildType.ExecutableOnly;
- PlayerSettings.SetIl2CppCompilerConfiguration(BuildTargetGroup.WSA, Il2CppCompilerConfiguration.Debug);
- }
- }
-
- public void PostBuildAction()
- {
- }
-
- public void PostSuccessfulBuildAction()
- {
- }
-
- public void CleanUp()
- {
- PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.InternetClientServer, m_InternetClientServer);
- PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.PrivateNetworkClientServer, m_PrivateNetworkClientServer);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/UwpPlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/UwpPlatformSetup.cs.meta
deleted file mode 100644
index 751ac7e..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/UwpPlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 667c6ad86a0b7a548aaa5c287f2c2861
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs
deleted file mode 100644
index 0897dc5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class XboxOnePlatformSetup : IPlatformSetup
- {
- private XboxOneDeployMethod oldXboxOneDeployMethod;
- private XboxOneDeployDrive oldXboxOneDeployDrive;
- private string oldXboxOneAdditionalDebugPorts;
-
- public void Setup()
- {
- oldXboxOneDeployMethod = EditorUserBuildSettings.xboxOneDeployMethod;
- oldXboxOneDeployDrive = EditorUserBuildSettings.xboxOneDeployDrive;
- oldXboxOneAdditionalDebugPorts = EditorUserBuildSettings.xboxOneAdditionalDebugPorts;
-
- EditorUserBuildSettings.xboxOneDeployMethod = XboxOneDeployMethod.Package;
- EditorUserBuildSettings.xboxOneDeployDrive = XboxOneDeployDrive.Default;
-
- // This causes the XboxOne post processing systems to open this port in your package manifest.
- // In addition it will open the ephemeral range for debug connections as well.
- // Failure to do this will cause connection problems.
- EditorUserBuildSettings.xboxOneAdditionalDebugPorts = "34999";
- }
-
- public void PostBuildAction()
- {
- }
-
- public void PostSuccessfulBuildAction()
- {
- }
-
- public void CleanUp()
- {
- EditorUserBuildSettings.xboxOneDeployMethod = oldXboxOneDeployMethod;
- EditorUserBuildSettings.xboxOneDeployDrive = oldXboxOneDeployDrive;
-
- // This causes the XboxOne post processing systems to open this port in your package manifest.
- // In addition it will open the ephemeral range for debug connections as well.
- // Failure to do this will cause connection problems.
- EditorUserBuildSettings.xboxOneAdditionalDebugPorts = oldXboxOneAdditionalDebugPorts;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs.meta
deleted file mode 100644
index 771c853..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: aed7ab02155e43341a2dbcb7bc17c160
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncher.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncher.cs
deleted file mode 100644
index 7655d4d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncher.cs
+++ /dev/null
@@ -1,185 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using UnityEditor;
-using UnityEditor.TestRunner.TestLaunchers;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.SceneManagement;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools.TestRunner.Callbacks;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class TestLaunchFailedException : Exception
- {
- public TestLaunchFailedException() {}
- public TestLaunchFailedException(string message) : base(message) {}
- }
-
- [Serializable]
- internal class PlayerLauncher : RuntimeTestLauncherBase
- {
- private readonly PlaymodeTestsControllerSettings m_Settings;
- private readonly BuildTarget m_TargetPlatform;
- private string m_TempBuildLocation;
- private ITestRunSettings m_OverloadTestRunSettings;
-
- public PlayerLauncher(PlaymodeTestsControllerSettings settings, BuildTarget? targetPlatform, ITestRunSettings overloadTestRunSettings)
- {
- m_Settings = settings;
- m_TargetPlatform = targetPlatform ?? EditorUserBuildSettings.activeBuildTarget;
- m_OverloadTestRunSettings = overloadTestRunSettings;
- }
-
- protected override RuntimePlatform? TestTargetPlatform
- {
- get { return BuildTargetConverter.TryConvertToRuntimePlatform(m_TargetPlatform); }
- }
-
- public override void Run()
- {
- var editorConnectionTestCollector = RemoteTestRunController.instance;
- editorConnectionTestCollector.hideFlags = HideFlags.HideAndDontSave;
- editorConnectionTestCollector.Init(m_TargetPlatform);
-
- var remotePlayerLogController = RemotePlayerLogController.instance;
- remotePlayerLogController.hideFlags = HideFlags.HideAndDontSave;
-
- using (var settings = new PlayerLauncherContextSettings(m_OverloadTestRunSettings))
- {
- var sceneName = CreateSceneName();
- var scene = PrepareScene(sceneName);
-
- var filter = m_Settings.filter.BuildNUnitFilter();
- var runner = LoadTests(filter);
- var exceptionThrown = ExecutePreBuildSetupMethods(runner.LoadedTest, filter);
- if (exceptionThrown)
- {
- ReopenOriginalScene(m_Settings.originalScene);
- AssetDatabase.DeleteAsset(sceneName);
- CallbacksDelegator.instance.RunFailed("Run Failed: One or more errors in a prebuild setup. See the editor log for details.");
- return;
- }
-
- var playerBuildOptions = GetBuildOptions(scene);
-
- var success = BuildAndRunPlayer(playerBuildOptions);
- editorConnectionTestCollector.PostBuildAction();
- ExecutePostBuildCleanupMethods(runner.LoadedTest, filter);
-
- ReopenOriginalScene(m_Settings.originalScene);
- AssetDatabase.DeleteAsset(sceneName);
-
- if (!success)
- {
- ScriptableObject.DestroyImmediate(editorConnectionTestCollector);
- Debug.LogError("Player build failed");
- throw new TestLaunchFailedException("Player build failed");
- }
-
- editorConnectionTestCollector.PostSuccessfulBuildAction();
- }
- }
-
- public Scene PrepareScene(string sceneName)
- {
- var scene = CreateBootstrapScene(sceneName, runner =>
- {
- runner.AddEventHandlerMonoBehaviour();
- runner.settings = m_Settings;
- runner.AddEventHandlerMonoBehaviour();
- });
- return scene;
- }
-
- private static bool BuildAndRunPlayer(PlayerLauncherBuildOptions buildOptions)
- {
- Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null, "Building player with following options:\n{0}", buildOptions);
-
-
- // Android has to be in listen mode to establish player connection
- if (buildOptions.BuildPlayerOptions.target == BuildTarget.Android)
- {
- buildOptions.BuildPlayerOptions.options &= ~BuildOptions.ConnectToHost;
- }
-
- // For now, so does Lumin
- if (buildOptions.BuildPlayerOptions.target == BuildTarget.Lumin)
- {
- buildOptions.BuildPlayerOptions.options &= ~BuildOptions.ConnectToHost;
- }
-
- var result = BuildPipeline.BuildPlayer(buildOptions.BuildPlayerOptions);
- if (result.summary.result != Build.Reporting.BuildResult.Succeeded)
- Debug.LogError(result.SummarizeErrors());
-
- return result.summary.result == Build.Reporting.BuildResult.Succeeded;
- }
-
- private PlayerLauncherBuildOptions GetBuildOptions(Scene scene)
- {
- var buildOptions = new BuildPlayerOptions();
- var reduceBuildLocationPathLength = false;
-
- //Some platforms hit MAX_PATH limits during the build process, in these cases minimize the path length
- if ((m_TargetPlatform == BuildTarget.WSAPlayer) || (m_TargetPlatform == BuildTarget.XboxOne))
- {
- reduceBuildLocationPathLength = true;
- }
-
- var scenes = new List() { scene.path };
- scenes.AddRange(EditorBuildSettings.scenes.Select(x => x.path));
- buildOptions.scenes = scenes.ToArray();
-
- buildOptions.options |= BuildOptions.AutoRunPlayer | BuildOptions.Development | BuildOptions.ConnectToHost | BuildOptions.IncludeTestAssemblies | BuildOptions.StrictMode;
- buildOptions.target = m_TargetPlatform;
-
- if (EditorUserBuildSettings.waitForPlayerConnection)
- buildOptions.options |= BuildOptions.WaitForPlayerConnection;
-
- var buildTargetGroup = EditorUserBuildSettings.activeBuildTargetGroup;
- var uniqueTempPathInProject = FileUtil.GetUniqueTempPathInProject();
-
- if (reduceBuildLocationPathLength)
- {
- uniqueTempPathInProject = Path.GetTempFileName();
- File.Delete(uniqueTempPathInProject);
- Directory.CreateDirectory(uniqueTempPathInProject);
- }
-
- //Check if Lz4 is supported for the current buildtargetgroup and enable it if need be
- if (PostprocessBuildPlayer.SupportsLz4Compression(buildTargetGroup, m_TargetPlatform))
- {
- if (EditorUserBuildSettings.GetCompressionType(buildTargetGroup) == Compression.Lz4)
- buildOptions.options |= BuildOptions.CompressWithLz4;
- else if (EditorUserBuildSettings.GetCompressionType(buildTargetGroup) == Compression.Lz4HC)
- buildOptions.options |= BuildOptions.CompressWithLz4HC;
- }
-
- m_TempBuildLocation = Path.GetFullPath(uniqueTempPathInProject);
-
- string extensionForBuildTarget = PostprocessBuildPlayer.GetExtensionForBuildTarget(buildTargetGroup, buildOptions.target, buildOptions.options);
-
- var playerExecutableName = "PlayerWithTests";
- var playerDirectoryName = reduceBuildLocationPathLength ? "PwT" : "PlayerWithTests";
-
- var locationPath = Path.Combine(m_TempBuildLocation, playerDirectoryName);
-
- if (!string.IsNullOrEmpty(extensionForBuildTarget))
- {
- playerExecutableName += string.Format(".{0}", extensionForBuildTarget);
- locationPath = Path.Combine(locationPath, playerExecutableName);
- }
-
- buildOptions.locationPathName = locationPath;
-
- return new PlayerLauncherBuildOptions
- {
- BuildPlayerOptions = buildOptions,
- PlayerDirectory = Path.Combine(m_TempBuildLocation, playerDirectoryName),
- };
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncher.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncher.cs.meta
deleted file mode 100644
index 60bb1c7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncher.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d973fc1524e4d724081553934c55958c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherBuildOptions.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherBuildOptions.cs
deleted file mode 100644
index b498514..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherBuildOptions.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System.Text;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class PlayerLauncherBuildOptions
- {
- public BuildPlayerOptions BuildPlayerOptions;
- public string PlayerDirectory;
-
- public override string ToString()
- {
- var str = new StringBuilder();
- str.AppendLine("locationPathName = " + BuildPlayerOptions.locationPathName);
- str.AppendLine("target = " + BuildPlayerOptions.target);
- str.AppendLine("scenes = " + string.Join(", ", BuildPlayerOptions.scenes));
- str.AppendLine("assetBundleManifestPath = " + BuildPlayerOptions.assetBundleManifestPath);
- str.AppendLine("options.Development = " + ((BuildPlayerOptions.options & BuildOptions.Development) != 0));
- str.AppendLine("options.AutoRunPlayer = " + ((BuildPlayerOptions.options & BuildOptions.AutoRunPlayer) != 0));
- str.AppendLine("options.ForceEnableAssertions = " + ((BuildPlayerOptions.options & BuildOptions.ForceEnableAssertions) != 0));
- return str.ToString();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherBuildOptions.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherBuildOptions.cs.meta
deleted file mode 100644
index 73c1779..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherBuildOptions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2a0bd678385f98e4d8eabdfc07d62b4f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherContextSettings.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherContextSettings.cs
deleted file mode 100644
index 89b1cb2..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherContextSettings.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using System;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class PlayerLauncherContextSettings : IDisposable
- {
- private ITestRunSettings m_OverloadSettings;
-
- private EditorBuildSettingsScene[] m_EditorBuildSettings;
-#pragma warning disable 618
- private ResolutionDialogSetting m_DisplayResolutionDialog;
-#pragma warning restore 618
- private bool m_RunInBackground;
- private FullScreenMode m_FullScreenMode;
- private bool m_ResizableWindow;
- private bool m_ShowUnitySplashScreen;
- private string m_OldproductName;
- private string m_OldAotOptions;
- private Lightmapping.GIWorkflowMode m_OldLightmapping;
- private bool m_explicitNullChecks;
-
- private bool m_Disposed;
-
- public PlayerLauncherContextSettings(ITestRunSettings overloadSettings)
- {
- m_OverloadSettings = overloadSettings;
- SetupProjectParameters();
-
- if (overloadSettings != null)
- {
- overloadSettings.Apply();
- }
- }
-
- public void Dispose()
- {
- if (!m_Disposed)
- {
- CleanupProjectParameters();
- if (m_OverloadSettings != null)
- {
- m_OverloadSettings.Dispose();
- }
-
- m_Disposed = true;
- }
- }
-
- private void SetupProjectParameters()
- {
- EditorApplication.LockReloadAssemblies();
-
- m_EditorBuildSettings = EditorBuildSettings.scenes;
-
-#pragma warning disable 618
- m_DisplayResolutionDialog = PlayerSettings.displayResolutionDialog;
- PlayerSettings.displayResolutionDialog = ResolutionDialogSetting.Disabled;
-#pragma warning restore 618
-
- m_RunInBackground = PlayerSettings.runInBackground;
- PlayerSettings.runInBackground = true;
-
- m_FullScreenMode = PlayerSettings.fullScreenMode;
- PlayerSettings.fullScreenMode = FullScreenMode.Windowed;
-
- m_OldAotOptions = PlayerSettings.aotOptions;
- PlayerSettings.aotOptions = "nimt-trampolines=1024";
-
- m_ResizableWindow = PlayerSettings.resizableWindow;
- PlayerSettings.resizableWindow = true;
-
- m_ShowUnitySplashScreen = PlayerSettings.SplashScreen.show;
- PlayerSettings.SplashScreen.show = false;
-
- m_OldproductName = PlayerSettings.productName;
- PlayerSettings.productName = "UnityTestFramework";
-
- m_OldLightmapping = Lightmapping.giWorkflowMode;
- Lightmapping.giWorkflowMode = Lightmapping.GIWorkflowMode.OnDemand;
-
- m_explicitNullChecks = EditorUserBuildSettings.explicitNullChecks;
- EditorUserBuildSettings.explicitNullChecks = true;
- }
-
- private void CleanupProjectParameters()
- {
- EditorBuildSettings.scenes = m_EditorBuildSettings;
-
- PlayerSettings.fullScreenMode = m_FullScreenMode;
- PlayerSettings.runInBackground = m_RunInBackground;
-#pragma warning disable 618
- PlayerSettings.displayResolutionDialog = m_DisplayResolutionDialog;
-#pragma warning restore 618
- PlayerSettings.resizableWindow = m_ResizableWindow;
- PlayerSettings.SplashScreen.show = m_ShowUnitySplashScreen;
- PlayerSettings.productName = m_OldproductName;
- PlayerSettings.aotOptions = m_OldAotOptions;
- Lightmapping.giWorkflowMode = m_OldLightmapping;
- EditorUserBuildSettings.explicitNullChecks = m_explicitNullChecks;
-
- EditorApplication.UnlockReloadAssemblies();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherContextSettings.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherContextSettings.cs.meta
deleted file mode 100644
index 29cb891..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlayerLauncherContextSettings.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6965880f76f40194593cb53a88f74005
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlaymodeLauncher.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlaymodeLauncher.cs
deleted file mode 100644
index 78a9c72..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlaymodeLauncher.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-using System;
-using System.Collections.Generic;
-using NUnit.Framework.Interfaces;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.SceneManagement;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools.TestRunner.Callbacks;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class PlaymodeLauncher : RuntimeTestLauncherBase
- {
- public static bool IsRunning;
- private Scene m_Scene;
- private bool m_IsTestSetupPerformed;
- private readonly PlaymodeTestsControllerSettings m_Settings;
- private ITestFilter testFilter;
-
- [SerializeField]
- private List m_EventHandlers = new List();
-
- public PlaymodeLauncher(PlaymodeTestsControllerSettings settings)
- {
- m_Settings = settings;
- }
-
- public override void Run()
- {
- IsRunning = true;
- ConsoleWindow.SetConsoleErrorPause(false);
- Application.runInBackground = true;
-
- var sceneName = CreateSceneName();
- m_Scene = CreateBootstrapScene(sceneName, runner =>
- {
- runner.AddEventHandlerMonoBehaviour();
- runner.AddEventHandlerScriptableObject();
- runner.AddEventHandlerScriptableObject();
-
- foreach (var eventHandler in m_EventHandlers)
- {
- var obj = ScriptableObject.CreateInstance(eventHandler);
- runner.AddEventHandlerScriptableObject(obj as ITestRunnerListener);
- }
-
- runner.settings = m_Settings;
- });
-
- if (m_Settings.sceneBased)
- {
- var newListOfScenes =
- new List {new EditorBuildSettingsScene(sceneName, true)};
- newListOfScenes.AddRange(EditorBuildSettings.scenes);
- EditorBuildSettings.scenes = newListOfScenes.ToArray();
- }
-
- EditorApplication.update += UpdateCallback;
- }
-
- public void UpdateCallback()
- {
- if (m_IsTestSetupPerformed)
- {
- if (m_Scene.IsValid())
- SceneManager.SetActiveScene(m_Scene);
- EditorApplication.update -= UpdateCallback;
- EditorApplication.isPlaying = true;
- }
- else
- {
- testFilter = m_Settings.filter.BuildNUnitFilter();
- var runner = LoadTests(testFilter);
-
- var exceptionThrown = ExecutePreBuildSetupMethods(runner.LoadedTest, testFilter);
- if (exceptionThrown)
- {
- EditorApplication.update -= UpdateCallback;
- IsRunning = false;
- var controller = PlaymodeTestsController.GetController();
- ReopenOriginalScene(controller);
- AssetDatabase.DeleteAsset(controller.settings.bootstrapScene);
- CallbacksDelegator.instance.RunFailed("Run Failed: One or more errors in a prebuild setup. See the editor log for details.");
- return;
- }
- m_IsTestSetupPerformed = true;
- }
- }
-
- [InitializeOnLoad]
- public class BackgroundWatcher
- {
- static BackgroundWatcher()
- {
- EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
- }
-
- private static void OnPlayModeStateChanged(PlayModeStateChange state)
- {
- if (!PlaymodeTestsController.IsControllerOnScene())
- return;
- var runner = PlaymodeTestsController.GetController();
- if (runner == null)
- return;
- if (state == PlayModeStateChange.ExitingPlayMode)
- {
- AssetDatabase.DeleteAsset(runner.settings.bootstrapScene);
- ExecutePostBuildCleanupMethods(runner.m_Runner.LoadedTest, runner.settings.filter.BuildNUnitFilter(), Application.platform);
- IsRunning = false;
- }
- else if (state == PlayModeStateChange.EnteredEditMode)
- {
- //reopen the original scene once we exit playmode
- ReopenOriginalScene(runner);
- }
- }
- }
-
- protected static void ReopenOriginalScene(PlaymodeTestsController runner)
- {
- ReopenOriginalScene(runner.settings.originalScene);
- }
-
- public void AddEventHandler() where T : ScriptableObject, ITestRunnerListener
- {
- m_EventHandlers.Add(typeof(T));
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlaymodeLauncher.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlaymodeLauncher.cs.meta
deleted file mode 100644
index ddb6e1c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PlaymodeLauncher.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d3217d58bbd1d2b4aaee933e2e8b9195
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PostbuildCleanupAttributeFinder.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PostbuildCleanupAttributeFinder.cs
deleted file mode 100644
index 32dee2b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PostbuildCleanupAttributeFinder.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using UnityEngine.TestTools;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class PostbuildCleanupAttributeFinder : AttributeFinderBase
- {
- public PostbuildCleanupAttributeFinder() : base(attribute => attribute.TargetClass) {}
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PostbuildCleanupAttributeFinder.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PostbuildCleanupAttributeFinder.cs.meta
deleted file mode 100644
index 454dd10..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PostbuildCleanupAttributeFinder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2c2dfcbbb77359547bcaa7cdabd47ebb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PrebuildSetupAttributeFinder.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PrebuildSetupAttributeFinder.cs
deleted file mode 100644
index b51241f..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PrebuildSetupAttributeFinder.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using UnityEngine.TestTools;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class PrebuildSetupAttributeFinder : AttributeFinderBase
- {
- public PrebuildSetupAttributeFinder() : base((attribute) => attribute.TargetClass) {}
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PrebuildSetupAttributeFinder.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PrebuildSetupAttributeFinder.cs.meta
deleted file mode 100644
index d524e56..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/PrebuildSetupAttributeFinder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3c4ccfb0896bcf44da13e152b267aa49
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerLogController.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerLogController.cs
deleted file mode 100644
index 25f4b65..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerLogController.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEditor.DeploymentTargets;
-using UnityEditor.TestTools.TestRunner.CommandLineTest;
-using UnityEngine;
-
-namespace UnityEditor.TestRunner.TestLaunchers
-{
- [Serializable]
- internal class RemotePlayerLogController : ScriptableSingleton
- {
- private List m_LogWriters;
-
- private Dictionary m_Loggers;
-
- private string m_DeviceLogsDirectory;
-
- public void SetBuildTarget(BuildTarget buildTarget)
- {
- m_Loggers = GetDeploymentTargetLoggers(buildTarget);
- }
-
- public void SetLogsDirectory(string dir)
- {
- m_DeviceLogsDirectory = dir;
- }
-
- public void StartLogWriters()
- {
- if (m_DeviceLogsDirectory == null || m_Loggers == null)
- return;
-
- m_LogWriters = new List();
-
- foreach (var logger in m_Loggers)
- {
- m_LogWriters.Add(new LogWriter(m_DeviceLogsDirectory, logger.Key, logger.Value));
- logger.Value.Start();
- }
- }
-
- public void StopLogWriters()
- {
- if (m_LogWriters == null)
- return;
-
- foreach (var logWriter in m_LogWriters)
- {
- logWriter.Stop();
- }
- }
-
- private Dictionary GetDeploymentTargetLoggers(BuildTarget buildTarget)
- {
- DeploymentTargetManager deploymentTargetManager;
-
- try
- {
- deploymentTargetManager = DeploymentTargetManager.CreateInstance(EditorUserBuildSettings.activeBuildTargetGroup, buildTarget);
- }
- catch (NotSupportedException ex)
- {
- Debug.Log(ex.Message);
- Debug.Log("Deployment target logger not initialised");
- return null;
- }
-
- var targets = deploymentTargetManager.GetKnownTargets();
- var loggers = new Dictionary();
-
- foreach (var target in targets)
- {
- if (target.status != DeploymentTargetStatus.Ready) continue;
-
- var logger = deploymentTargetManager.GetTargetLogger(target.id);
- logger.Clear();
- loggers.Add(target.id, logger);
- }
-
- return loggers;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerLogController.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerLogController.cs.meta
deleted file mode 100644
index b208419..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerLogController.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: edd2a1fe1acbbde43aad39862bb3f4a8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerTestController.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerTestController.cs
deleted file mode 100644
index a7288ba..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerTestController.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-using System;
-using UnityEditor.Networking.PlayerConnection;
-using UnityEditor.TestTools.TestRunner;
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEditor.TestTools.TestRunner.UnityTestProtocol;
-using UnityEngine;
-using UnityEngine.Networking.PlayerConnection;
-using UnityEngine.TestRunner.TestLaunchers;
-
-namespace UnityEditor.TestRunner.TestLaunchers
-{
- [Serializable]
- internal class RemoteTestRunController : ScriptableSingleton
- {
- [SerializeField]
- private RemoteTestResultReciever m_RemoteTestResultReciever;
-
- [SerializeField]
- private PlatformSpecificSetup m_PlatformSpecificSetup;
-
- [SerializeField]
- private bool m_RegisteredConnectionCallbacks;
-
- public void Init(BuildTarget buildTarget)
- {
- m_PlatformSpecificSetup = new PlatformSpecificSetup(buildTarget);
- m_PlatformSpecificSetup.Setup();
- m_RemoteTestResultReciever = new RemoteTestResultReciever();
- EditorConnection.instance.Initialize();
- if (!m_RegisteredConnectionCallbacks)
- {
- EditorConnection.instance.Initialize();
- DelegateEditorConnectionEvents();
- }
- }
-
- private void DelegateEditorConnectionEvents()
- {
- m_RegisteredConnectionCallbacks = true;
- //This is needed because RemoteTestResultReciever is not a ScriptableObject
- EditorConnection.instance.Register(PlayerConnectionMessageIds.runStartedMessageId, RunStarted);
- EditorConnection.instance.Register(PlayerConnectionMessageIds.runFinishedMessageId, RunFinished);
- EditorConnection.instance.Register(PlayerConnectionMessageIds.testStartedMessageId, TestStarted);
- EditorConnection.instance.Register(PlayerConnectionMessageIds.testFinishedMessageId, TestFinished);
- }
-
- private void RunStarted(MessageEventArgs messageEventArgs)
- {
- m_RemoteTestResultReciever.RunStarted(messageEventArgs);
- CallbacksDelegator.instance.RunStartedRemotely(messageEventArgs.data);
- }
-
- private void RunFinished(MessageEventArgs messageEventArgs)
- {
- m_RemoteTestResultReciever.RunFinished(messageEventArgs);
- m_PlatformSpecificSetup.CleanUp();
-
- CallbacksDelegator.instance.RunFinishedRemotely(messageEventArgs.data);
- }
-
- private void TestStarted(MessageEventArgs messageEventArgs)
- {
- CallbacksDelegator.instance.TestStartedRemotely(messageEventArgs.data);
- }
-
- private void TestFinished(MessageEventArgs messageEventArgs)
- {
- CallbacksDelegator.instance.TestFinishedRemotely(messageEventArgs.data);
- }
-
- public void PostBuildAction()
- {
- m_PlatformSpecificSetup.PostBuildAction();
- }
-
- public void PostSuccessfulBuildAction()
- {
- m_PlatformSpecificSetup.PostSuccessfulBuildAction();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerTestController.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerTestController.cs.meta
deleted file mode 100644
index 020222b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemotePlayerTestController.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7d36034e63ad8254b9b2f55280fcc040
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs
deleted file mode 100644
index b45141b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using UnityEditor.Networking.PlayerConnection;
-using UnityEngine;
-using UnityEngine.Networking.PlayerConnection;
-using UnityEngine.TestRunner.TestLaunchers;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- [Serializable]
- internal class RemoteTestResultReciever
- {
- public void RunStarted(MessageEventArgs messageEventArgs)
- {
- }
-
- public void RunFinished(MessageEventArgs messageEventArgs)
- {
- EditorConnection.instance.Send(PlayerConnectionMessageIds.runFinishedMessageId, null, messageEventArgs.playerId);
- EditorConnection.instance.DisconnectAll();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs.meta
deleted file mode 100644
index e701015..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fdb35ef8fc437e14fa4b6c74a0609e86
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RuntimeTestLauncherBase.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RuntimeTestLauncherBase.cs
deleted file mode 100644
index 4f4aeb4..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RuntimeTestLauncherBase.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-using System;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using UnityEditor.Events;
-using UnityEditor.SceneManagement;
-using UnityEngine;
-using UnityEngine.SceneManagement;
-using UnityEngine.TestRunner.NUnitExtensions.Runner;
-using UnityEngine.TestTools;
-using UnityEngine.TestTools.NUnitExtensions;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools.Utils;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal abstract class RuntimeTestLauncherBase : TestLauncherBase
- {
- protected Scene CreateBootstrapScene(string sceneName, Action runnerSetup)
- {
- var scene = EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
- var go = new GameObject(PlaymodeTestsController.kPlaymodeTestControllerName);
-
- var editorLoadedTestAssemblyProvider = new EditorLoadedTestAssemblyProvider(new EditorCompilationInterfaceProxy(), new EditorAssembliesProxy());
-
- var runner = go.AddComponent();
- runnerSetup(runner);
- runner.settings.bootstrapScene = sceneName;
- runner.AssembliesWithTests = editorLoadedTestAssemblyProvider.GetAssembliesGroupedByType(TestPlatform.PlayMode).Select(x => x.Assembly.GetName().Name).ToList();
-
- EditorSceneManager.MarkSceneDirty(scene);
- AssetDatabase.SaveAssets();
- EditorSceneManager.SaveScene(scene, sceneName, false);
-
- return scene;
- }
-
- public string CreateSceneName()
- {
- return "Assets/InitTestScene" + DateTime.Now.Ticks + ".unity";
- }
-
- protected UnityTestAssemblyRunner LoadTests(ITestFilter filter)
- {
- var editorLoadedTestAssemblyProvider = new EditorLoadedTestAssemblyProvider(new EditorCompilationInterfaceProxy(), new EditorAssembliesProxy());
- var assembliesWithTests = editorLoadedTestAssemblyProvider.GetAssembliesGroupedByType(TestPlatform.PlayMode).Select(x => x.Assembly.GetName().Name).ToList();
-
- var nUnitTestAssemblyRunner = new UnityTestAssemblyRunner(new UnityTestAssemblyBuilder(), null);
- var assemblyProvider = new PlayerTestAssemblyProvider(new AssemblyLoadProxy(), assembliesWithTests);
- nUnitTestAssemblyRunner.Load(assemblyProvider.GetUserAssemblies().Select(a => a.Assembly).ToArray(), UnityTestAssemblyBuilder.GetNUnitTestBuilderSettings(TestPlatform.PlayMode));
- return nUnitTestAssemblyRunner;
- }
-
- protected static void ReopenOriginalScene(string originalSceneName)
- {
- EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects);
- if (!string.IsNullOrEmpty(originalSceneName))
- {
- EditorSceneManager.OpenScene(originalSceneName);
- }
- }
- }
-
- internal static class PlaymodeTestsControllerExtensions
- {
- internal static T AddEventHandlerMonoBehaviour(this PlaymodeTestsController controller) where T : MonoBehaviour, ITestRunnerListener
- {
- var eventHandler = controller.gameObject.AddComponent();
- SetListeners(controller, eventHandler);
- return eventHandler;
- }
-
- internal static T AddEventHandlerScriptableObject(this PlaymodeTestsController controller) where T : ScriptableObject, ITestRunnerListener
- {
- var eventListener = ScriptableObject.CreateInstance();
- AddEventHandlerScriptableObject(controller, eventListener);
- return eventListener;
- }
-
- internal static void AddEventHandlerScriptableObject(this PlaymodeTestsController controller, ITestRunnerListener obj)
- {
- SetListeners(controller, obj);
- }
-
- private static void SetListeners(PlaymodeTestsController controller, ITestRunnerListener eventHandler)
- {
- UnityEventTools.AddPersistentListener(controller.testStartedEvent, eventHandler.TestStarted);
- UnityEventTools.AddPersistentListener(controller.testFinishedEvent, eventHandler.TestFinished);
- UnityEventTools.AddPersistentListener(controller.runStartedEvent, eventHandler.RunStarted);
- UnityEventTools.AddPersistentListener(controller.runFinishedEvent, eventHandler.RunFinished);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RuntimeTestLauncherBase.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RuntimeTestLauncherBase.cs.meta
deleted file mode 100644
index 28c7416..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RuntimeTestLauncherBase.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0efb23ecb373b6d4bbe5217485785138
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/TestLauncherBase.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/TestLauncherBase.cs
deleted file mode 100644
index cb8b5c4..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/TestLauncherBase.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using System;
-using NUnit.Framework.Interfaces;
-using UnityEngine;
-using UnityEngine.TestTools;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal abstract class TestLauncherBase
- {
- public abstract void Run();
-
- protected virtual RuntimePlatform? TestTargetPlatform
- {
- get { return Application.platform; }
- }
-
- protected bool ExecutePreBuildSetupMethods(ITest tests, ITestFilter testRunnerFilter)
- {
- var attributeFinder = new PrebuildSetupAttributeFinder();
- var logString = "Executing setup for: {0}";
- return ExecuteMethods(tests, testRunnerFilter, attributeFinder, logString, targetClass => targetClass.Setup(), TestTargetPlatform);
- }
-
- public void ExecutePostBuildCleanupMethods(ITest tests, ITestFilter testRunnerFilter)
- {
- ExecutePostBuildCleanupMethods(tests, testRunnerFilter, TestTargetPlatform);
- }
-
- public static void ExecutePostBuildCleanupMethods(ITest tests, ITestFilter testRunnerFilter, RuntimePlatform? testTargetPlatform)
- {
- var attributeFinder = new PostbuildCleanupAttributeFinder();
- var logString = "Executing cleanup for: {0}";
- ExecuteMethods(tests, testRunnerFilter, attributeFinder, logString, targetClass => targetClass.Cleanup(), testTargetPlatform);
- }
-
- private static bool ExecuteMethods(ITest tests, ITestFilter testRunnerFilter, AttributeFinderBase attributeFinder, string logString, Action action, RuntimePlatform? testTargetPlatform)
- {
- var exceptionsThrown = false;
-
- if (testTargetPlatform == null)
- {
- Debug.LogError("Could not determine test target platform from build target " + EditorUserBuildSettings.activeBuildTarget);
- return true;
- }
-
- foreach (var targetClassType in attributeFinder.Search(tests, testRunnerFilter, testTargetPlatform.Value))
- {
- try
- {
- var targetClass = (T)Activator.CreateInstance(targetClassType);
-
- Debug.LogFormat(logString, targetClassType.FullName);
- action(targetClass);
- }
- catch (InvalidCastException) {}
- catch (Exception e)
- {
- Debug.LogException(e);
- exceptionsThrown = true;
- }
- }
-
- return exceptionsThrown;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/TestLauncherBase.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/TestLauncherBase.cs.meta
deleted file mode 100644
index c36990c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/TestLauncherBase.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1cddf785b0d07434d8e0607c97b09135
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestResultSerializer.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestResultSerializer.cs
deleted file mode 100644
index f471fee..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestResultSerializer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using System;
-using System.Reflection;
-using System.Text;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- [Serializable]
- internal class TestResultSerializer
- {
- private static readonly BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public |
- BindingFlags.Instance | BindingFlags.FlattenHierarchy;
-
- [SerializeField] public string id;
-
- [SerializeField] public string fullName;
-
- [SerializeField] private double duration;
-
- [SerializeField] private string label;
-
- [SerializeField] private string message;
-
- [SerializeField] private string output;
-
- [SerializeField] private string site;
-
- [SerializeField] private string stacktrace;
-
- [SerializeField] private double startTimeAO;
-
- [SerializeField] private string status;
-
- public static TestResultSerializer MakeFromTestResult(ITestResult result)
- {
- var wrapper = new TestResultSerializer();
- wrapper.id = result.Test.Id;
- wrapper.fullName = result.FullName;
- wrapper.status = result.ResultState.Status.ToString();
- wrapper.label = result.ResultState.Label;
- wrapper.site = result.ResultState.Site.ToString();
- wrapper.output = result.Output;
- wrapper.duration = result.Duration;
- wrapper.stacktrace = result.StackTrace;
- wrapper.message = result.Message;
- wrapper.startTimeAO = result.StartTime.ToOADate();
- return wrapper;
- }
-
- public void RestoreTestResult(TestResult result)
- {
- var resultState = new ResultState((TestStatus)Enum.Parse(typeof(TestStatus), status), label,
- (FailureSite)Enum.Parse(typeof(FailureSite), site));
- result.GetType().BaseType.GetField("_resultState", flags).SetValue(result, resultState);
- result.GetType().BaseType.GetField("_output", flags).SetValue(result, new StringBuilder(output));
- result.GetType().BaseType.GetField("_duration", flags).SetValue(result, duration);
- result.GetType().BaseType.GetField("_message", flags).SetValue(result, message);
- result.GetType().BaseType.GetField("_stackTrace", flags).SetValue(result, stacktrace);
- result.GetType()
- .BaseType.GetProperty("StartTime", flags)
- .SetValue(result, DateTime.FromOADate(startTimeAO), null);
- }
-
- public bool IsPassed()
- {
- return status == TestStatus.Passed.ToString();
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestResultSerializer.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestResultSerializer.cs.meta
deleted file mode 100644
index 96f2960..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestResultSerializer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 559482fe33c79e44882d3a6cedc55fb5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner.meta
deleted file mode 100644
index d09886b..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 49d4c2ab7ff0f4442af256bad7c9d57c
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks.meta
deleted file mode 100644
index 9e611a4..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5d7f0d6acfced954682a89e7002c04d9
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/EditModeRunnerCallback.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/EditModeRunnerCallback.cs
deleted file mode 100644
index 9b92fbc..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/EditModeRunnerCallback.cs
+++ /dev/null
@@ -1,190 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using NUnit.Framework;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-using UnityEditor.SceneManagement;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class EditModeRunnerCallback : ScriptableObject, ITestRunnerListener
- {
- private EditModeLauncherContextSettings m_Settings;
- public SceneSetup[] previousSceneSetup;
- public int undoGroup;
- public EditModeRunner runner;
-
- private bool m_Canceled;
- private ITest m_CurrentTest;
- private int m_TotalTests;
-
- [SerializeField]
- private List m_PendingTests;
- [SerializeField]
- private string m_LastCountedTestName;
- [SerializeField]
- private bool m_RunRestarted;
-
- public void OnDestroy()
- {
- CleanUp();
- }
-
- public void RunStarted(ITest testsToRun)
- {
- Setup();
- if (m_PendingTests == null)
- {
- m_PendingTests = GetTestsExpectedToRun(testsToRun, runner.GetFilter());
- m_TotalTests = m_PendingTests.Count;
- }
- }
-
- public void OnEnable()
- {
- if (m_RunRestarted)
- {
- Setup();
- }
- }
-
- private void Setup()
- {
- m_Settings = new EditModeLauncherContextSettings();
- Application.logMessageReceivedThreaded += LogReceived;
- EditorApplication.playModeStateChanged += WaitForExitPlaymode;
- EditorApplication.update += DisplayProgressBar;
- AssemblyReloadEvents.beforeAssemblyReload += BeforeAssemblyReload;
- }
-
- private void BeforeAssemblyReload()
- {
- if (m_CurrentTest != null)
- {
- m_LastCountedTestName = m_CurrentTest.FullName;
- m_RunRestarted = true;
- }
- }
-
- private void DisplayProgressBar()
- {
- if (m_CurrentTest == null)
- return;
- if (!m_Canceled && EditorUtility.DisplayCancelableProgressBar("Test Runner", "Running test " + m_CurrentTest.Name, Math.Min(1.0f, (float)(m_TotalTests - m_PendingTests.Count) / m_TotalTests)))
- {
- EditorApplication.update -= DisplayProgressBar;
- m_Canceled = true;
- EditorUtility.ClearProgressBar();
- runner.OnRunCancel();
- }
- }
-
- private static void LogReceived(string message, string stacktrace, LogType type)
- {
- if (TestContext.Out != null)
- TestContext.Out.WriteLine(message);
- }
-
- private static void WaitForExitPlaymode(PlayModeStateChange state)
- {
- if (state == PlayModeStateChange.EnteredEditMode)
- {
- EditorApplication.playModeStateChanged -= WaitForExitPlaymode;
- //because logMessage is reset on Enter EditMode
- //we remove and add the callback
- //because Unity
- Application.logMessageReceivedThreaded -= LogReceived;
- Application.logMessageReceivedThreaded += LogReceived;
- }
- }
-
- public void RunFinished(ITestResult result)
- {
- if (previousSceneSetup != null && previousSceneSetup.Length > 0)
- {
- try
- {
- EditorSceneManager.RestoreSceneManagerSetup(previousSceneSetup);
- }
- catch (ArgumentException e)
- {
- Debug.LogWarning(e.Message);
- }
- }
- else
- {
- EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects, NewSceneMode.Single);
- }
- CleanUp();
- PerformUndo(undoGroup);
- }
-
- private void CleanUp()
- {
- m_CurrentTest = null;
- EditorUtility.ClearProgressBar();
- if (m_Settings != null)
- {
- m_Settings.Dispose();
- }
- Application.logMessageReceivedThreaded -= LogReceived;
- EditorApplication.update -= DisplayProgressBar;
- }
-
- public void TestStarted(ITest test)
- {
- if (test.IsSuite || !(test is TestMethod))
- {
- return;
- }
-
- m_CurrentTest = test;
-
- if (m_RunRestarted)
- {
- if (test.FullName == m_LastCountedTestName)
- m_RunRestarted = false;
- }
- }
-
- public void TestFinished(ITestResult result)
- {
- if (result.Test is TestMethod)
- {
- m_PendingTests.Remove(result.Test.FullName);
- }
- }
-
- private static void PerformUndo(int undoGroup)
- {
- EditorUtility.DisplayProgressBar("Undo", "Reverting changes to the scene", 0);
- var undoStartTime = DateTime.Now;
- Undo.RevertAllDownToGroup(undoGroup);
- if ((DateTime.Now - undoStartTime).TotalSeconds > 1)
- Debug.LogWarning("Undo after editor test run took " + (DateTime.Now - undoStartTime).Seconds + " seconds.");
- EditorUtility.ClearProgressBar();
- }
-
- private static List GetTestsExpectedToRun(ITest test, ITestFilter filter)
- {
- var expectedTests = new List();
-
- if (filter.Pass(test))
- {
- if (test.IsSuite)
- {
- expectedTests.AddRange(test.Tests.SelectMany(subTest => GetTestsExpectedToRun(subTest, filter)));
- }
- else
- {
- expectedTests.Add(test.FullName);
- }
- }
-
- return expectedTests;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/EditModeRunnerCallback.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/EditModeRunnerCallback.cs.meta
deleted file mode 100644
index 1a0d71c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/EditModeRunnerCallback.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: cc456ba93311a3a43ad896449fee9868
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallback.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallback.cs
deleted file mode 100644
index 0bd60e9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallback.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEditor.TestTools.TestRunner.CommandLineTest;
-using UnityEngine.TestTools.TestRunner.GUI;
-using UnityEngine;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class RerunCallback : ScriptableObject, ICallbacks
- {
- public static bool useMockRunFilter = false;
- public static TestRunnerFilter mockRunFilter = null;
-
- public void RunFinished(ITestResultAdaptor result)
- {
- if (RerunCallbackData.instance.runFilter == null)
- RerunCallbackData.instance.runFilter = new TestRunnerFilter();
-
- var runFilter = RerunCallbackData.instance.runFilter;
-
- if (useMockRunFilter)
- {
- runFilter = mockRunFilter;
- }
-
- runFilter.testRepetitions--;
- if (runFilter.testRepetitions <= 0 || result.TestStatus != TestStatus.Passed)
- {
- ExitCallbacks.preventExit = false;
- return;
- }
-
- ExitCallbacks.preventExit = true;
- if (EditorApplication.isPlaying)
- {
- EditorApplication.playModeStateChanged += WaitForExitPlaymode;
- return;
- }
-
- if (!useMockRunFilter)
- {
- ExecuteTestRunnerAPI();
- }
- }
-
- private static void WaitForExitPlaymode(PlayModeStateChange state)
- {
- if (state == PlayModeStateChange.EnteredEditMode)
- {
- ExecuteTestRunnerAPI();
- }
- }
-
- private static void ExecuteTestRunnerAPI()
- {
- var runFilter = RerunCallbackData.instance.runFilter;
- var testMode = RerunCallbackData.instance.testMode;
-
- var testRunnerApi = ScriptableObject.CreateInstance();
- testRunnerApi.Execute(new Api.ExecutionSettings()
- {
- filter = new Filter()
- {
- categoryNames = runFilter.categoryNames,
- groupNames = runFilter.groupNames,
- testMode = testMode,
- testNames = runFilter.testNames
- }
- });
- }
-
- public void TestStarted(ITestAdaptor test)
- {
- }
-
- public void TestFinished(ITestResultAdaptor result)
- {
- }
-
- public void RunStarted(ITestAdaptor testsToRun)
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallback.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallback.cs.meta
deleted file mode 100644
index 3a3be6c..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallback.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b7ff2b2e91321ff4381d4ab45870a32e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackData.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackData.cs
deleted file mode 100644
index 270a5c5..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using UnityEditor.TestTools.TestRunner.Api;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner.GUI;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class RerunCallbackData : ScriptableSingleton
- {
- [SerializeField]
- internal TestRunnerFilter runFilter;
-
- [SerializeField]
- internal TestMode testMode;
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackData.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackData.cs.meta
deleted file mode 100644
index e72f3af..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackData.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 087cba9fa6ac867479a0b0fdc0a5864b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackInitializer.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackInitializer.cs
deleted file mode 100644
index 2260d4d..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackInitializer.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using UnityEngine;
-using UnityEditor.TestTools.TestRunner.Api;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- [InitializeOnLoad]
- static class RerunCallbackInitializer
- {
- static RerunCallbackInitializer()
- {
- var testRunnerApi = ScriptableObject.CreateInstance();
-
- var rerunCallback = ScriptableObject.CreateInstance();
- testRunnerApi.RegisterCallbacks(rerunCallback);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackInitializer.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackInitializer.cs.meta
deleted file mode 100644
index 5149605..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/RerunCallbackInitializer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f73fc901e4b0f2d4daf11f46506054ba
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/TestRunnerCallback.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/TestRunnerCallback.cs
deleted file mode 100644
index 4234754..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/TestRunnerCallback.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using NUnit.Framework.Interfaces;
-using UnityEngine;
-using UnityEngine.TestTools.TestRunner;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class TestRunnerCallback : ScriptableObject, ITestRunnerListener
- {
- public void RunStarted(ITest testsToRun)
- {
- EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
- }
-
- private void OnPlayModeStateChanged(PlayModeStateChange state)
- {
- if (state == PlayModeStateChange.ExitingPlayMode)
- {
- EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
- //We need to make sure we don't block NUnit thread in case we exit PlayMode earlier
- PlaymodeTestsController.TryCleanup();
- }
- }
-
- public void RunFinished(ITestResult testResults)
- {
- EditorApplication.isPlaying = false;
- }
-
- public void TestStarted(ITest testName)
- {
- }
-
- public void TestFinished(ITestResult test)
- {
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/TestRunnerCallback.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/TestRunnerCallback.cs.meta
deleted file mode 100644
index 1356ff9..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/TestRunnerCallback.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d44e6804bc58be84ea71a619b468f150
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/WindowResultUpdater.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/WindowResultUpdater.cs
deleted file mode 100644
index e3f0be0..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/WindowResultUpdater.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using UnityEditor.TestTools.TestRunner.Api;
-
-namespace UnityEditor.TestTools.TestRunner.GUI
-{
- internal class WindowResultUpdater : ICallbacks
- {
- public void RunStarted(ITestAdaptor testsToRun)
- {
- }
-
- public void RunFinished(ITestResultAdaptor testResults)
- {
- if (TestRunnerWindow.s_Instance != null)
- {
- TestRunnerWindow.s_Instance.RebuildUIFilter();
- }
- }
-
- public void TestStarted(ITestAdaptor testName)
- {
- }
-
- public void TestFinished(ITestResultAdaptor test)
- {
- if (TestRunnerWindow.s_Instance == null)
- return;
-
- var result = new TestRunnerResult(test);
- TestRunnerWindow.s_Instance.m_SelectedTestTypes.UpdateResult(result);
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/WindowResultUpdater.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/WindowResultUpdater.cs.meta
deleted file mode 100644
index d9e35df..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Callbacks/WindowResultUpdater.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6d468ee3657be7a43a2ef2178ec14239
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModePCHelper.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModePCHelper.cs
deleted file mode 100644
index 8776887..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModePCHelper.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System.Collections;
-using System.Reflection;
-using UnityEngine.TestTools;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal class EditModePcHelper : TestCommandPcHelper
- {
- public override void SetEnumeratorPC(IEnumerator enumerator, int pc)
- {
- GetPCFieldInfo(enumerator).SetValue(enumerator, pc);
- }
-
- public override int GetEnumeratorPC(IEnumerator enumerator)
- {
- if (enumerator == null)
- {
- return 0;
- }
- return (int)GetPCFieldInfo(enumerator).GetValue(enumerator);
- }
-
- private FieldInfo GetPCFieldInfo(IEnumerator enumerator)
- {
- var field = enumerator.GetType().GetField("$PC", BindingFlags.NonPublic | BindingFlags.Instance);
- if (field == null) // Roslyn
- field = enumerator.GetType().GetField("<>1__state", BindingFlags.NonPublic | BindingFlags.Instance);
-
- return field;
- }
- }
-}
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModePCHelper.cs.meta b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModePCHelper.cs.meta
deleted file mode 100644
index ce559af..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModePCHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6d16f2e78a356d34c9a32108929de932
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModeRunner.cs b/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModeRunner.cs
deleted file mode 100644
index 12b4cc7..0000000
--- a/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/EditModeRunner.cs
+++ /dev/null
@@ -1,423 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-using UnityEngine;
-using UnityEngine.TestTools.NUnitExtensions;
-using UnityEngine.TestTools.TestRunner;
-using UnityEngine.TestTools;
-using UnityEngine.TestTools.TestRunner.GUI;
-using UnityEditor.Callbacks;
-using UnityEngine.TestRunner.NUnitExtensions;
-using UnityEngine.TestRunner.NUnitExtensions.Runner;
-
-namespace UnityEditor.TestTools.TestRunner
-{
- internal interface IUnityTestAssemblyRunnerFactory
- {
- IUnityTestAssemblyRunner Create(TestPlatform testPlatform, WorkItemFactory factory);
- }
-
- internal class UnityTestAssemblyRunnerFactory : IUnityTestAssemblyRunnerFactory
- {
- public IUnityTestAssemblyRunner Create(TestPlatform testPlatform, WorkItemFactory factory)
- {
- return new UnityTestAssemblyRunner(new UnityTestAssemblyBuilder(), factory);
- }
- }
-
- [Serializable]
- internal class EditModeRunner : ScriptableObject, IDisposable
- {
- [SerializeField]
- private TestRunnerFilter m_Filter;
-
- //The counter from the IEnumerator object
- [SerializeField]
- private int m_CurrentPC;
-
- [SerializeField]
- private bool m_ExecuteOnEnable;
-
- [SerializeField]
- private List m_AlreadyStartedTests;
-
- [SerializeField]
- private List m_ExecutedTests;
-
- [SerializeField]
- private List m_CallbackObjects = new List();
-
- [SerializeField]
- private TestStartedEvent m_TestStartedEvent = new TestStartedEvent();
-
- [SerializeField]
- private TestFinishedEvent m_TestFinishedEvent = new TestFinishedEvent();
-
- [SerializeField]
- private RunStartedEvent m_RunStartedEvent = new RunStartedEvent();
-
- [SerializeField]
- private RunFinishedEvent m_RunFinishedEvent = new RunFinishedEvent();
-
- [SerializeField]
- private TestRunnerStateSerializer m_TestRunnerStateSerializer = new TestRunnerStateSerializer();
-
- [SerializeField]
- private TestFileCleanupVerifier m_CleanupVerifier = new TestFileCleanupVerifier();
-
- [SerializeField]
- private bool m_RunningTests;
-
- [SerializeField]
- private TestPlatform m_TestPlatform;
-
- [SerializeField]
- private object m_CurrentYieldObject;
-
- [SerializeField]
- private BeforeAfterTestCommandState m_SetUpTearDownState;
- [SerializeField]
- private BeforeAfterTestCommandState m_OuterUnityTestActionState;
-
- internal IUnityTestAssemblyRunner m_Runner;
-
- private ConstructDelegator m_ConstructDelegator;
-
- private IEnumerator m_RunStep;
-
- public IUnityTestAssemblyRunnerFactory UnityTestAssemblyRunnerFactory { get; set; }
-
- public void Init(TestRunnerFilter filter, TestPlatform platform)
- {
- m_Filter = filter;
- m_TestPlatform = platform;
- m_AlreadyStartedTests = new List();
- m_ExecutedTests = new List();
- InitRunner();
- }
-
- private void InitRunner()
- {
- //We give the EditMode platform here so we dont suddenly create Playmode work items in the test Runner.
- m_Runner = (UnityTestAssemblyRunnerFactory ?? new UnityTestAssemblyRunnerFactory()).Create(TestPlatform.EditMode, new EditmodeWorkItemFactory());
- var testAssemblyProvider = new EditorLoadedTestAssemblyProvider(new EditorCompilationInterfaceProxy(), new EditorAssembliesProxy());
- var loadedTests = m_Runner.Load(
- testAssemblyProvider.GetAssembliesGroupedByType(m_TestPlatform).Select(x => x.Assembly).ToArray(),
- UnityTestAssemblyBuilder.GetNUnitTestBuilderSettings(m_TestPlatform));
- loadedTests.ParseForNameDuplicates();
- hideFlags |= HideFlags.DontSave;
- EnumerableSetUpTearDownCommand.ActivePcHelper = new EditModePcHelper();
- OuterUnityTestActionCommand.ActivePcHelper = new EditModePcHelper();
- }
-
- public void OnEnable()
- {
- if (m_ExecuteOnEnable)
- {
- InitRunner();
- m_ExecuteOnEnable = false;
- foreach (var callback in m_CallbackObjects)
- {
- AddListeners(callback as ITestRunnerListener);
- }
- m_ConstructDelegator = new ConstructDelegator(m_TestRunnerStateSerializer);
-
- EnumeratorStepHelper.SetEnumeratorPC(m_CurrentPC);
-
- UnityWorkItemDataHolder.alreadyExecutedTests = m_ExecutedTests.Select(x => x.fullName).ToList();
- UnityWorkItemDataHolder.alreadyStartedTests = m_AlreadyStartedTests;
- Run();
- }
- }
-
- public void TestStartedEvent(ITest test)
- {
- m_AlreadyStartedTests.Add(test.FullName);
- }
-
- public void TestFinishedEvent(ITestResult testResult)
- {
- m_AlreadyStartedTests.Remove(testResult.FullName);
- m_ExecutedTests.Add(TestResultSerializer.MakeFromTestResult(testResult));
- }
-
- public void Run()
- {
- EditModeTestCallbacks.RestoringTestContext += OnRestoringTest;
- var context = m_Runner.GetCurrentContext();
- if (m_SetUpTearDownState == null)
- {
- m_SetUpTearDownState = CreateInstance