Ae2018.1.6f1ţ˙˙˙˙˙’3$řĚuń옲e+ Í=^7€˙˙˙˙€Ś€˛€ЀŚ€Ś€Ś€#Ś€+H€3˙˙˙˙€1€1€˙˙˙˙@ހ€ Q€j€ H€<˙˙˙˙ €1€1€˙˙˙˙ @ހ€ Q€j€Ő€I˙˙˙˙€1€1€˙˙˙˙Ŕހ€H€j€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€™€PAssetMetaDataguiddata[0]data[1]data[2]data[3]pathNameoriginalNamelabelsassetStoreRef ˙˙ŢšőRkVc}­j˘9Ź­;Ę7€˙˙˙˙€Ś€˛€ Ő€ ހ#€.€,€†€Ä€ ހ#€.€,€H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ ń€5˙˙˙˙ €1€1€˙˙˙˙ €ހ€€j€˙˙˙˙€G›€˙˙˙˙€H€]˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€H€b˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€H€k˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ#€.€,€Ő€p˙˙˙˙ €1€1€˙˙˙˙!Ŕހ€"€j€˙˙˙˙#€H€›€˙˙˙˙$€1€1€˙˙˙˙%@ހ€&Q€j€'y€ € (ހ#)€.€,*€ €„+@ž€“ ,@ހ#-€.€,.€H€˜˙˙˙˙/€1€1€˙˙˙˙0@ހ€1Q€j€2H€Ł˙˙˙˙3€1€1€˙˙˙˙4@ހ€5Q€j€6H€ľ˙˙˙˙7€1€1€˙˙˙˙8@ހ€9Q€j€:MonoImporterPPtrm_FileIDm_PathIDm_ExternalObjectsSourceAssetIdentifiertypeassemblynamem_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariants˙˙˙8-l'€Łć„hŒÎA,Œ€7€˙˙˙˙€Ś€˛€Ő€ ހ€.€€†€Ä€ ހ€.€€H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ H€ę€˙˙˙˙ €1€1€˙˙˙˙ @ހ€Q€j€ń€(˙˙˙˙€1€1€˙˙˙˙€ހ€€j€˙˙˙˙€H€›€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ€.€€y€< ހ€.€€ހCH€T˙˙˙˙€1€1€˙˙˙˙ @ހ€!Q€j€"H€`˙˙˙˙#€1€1€˙˙˙˙$@ހ€%Q€j€&H€l˙˙˙˙'€1€1€˙˙˙˙(@ހ€)Q€j€*L€{+PPtrm_FileIDm_PathIDm_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacem_AssemblyNamem_IsEditorScripttxDŕyŻŔĽ  ‚żŤQBŁ`ů”ŐÍÁLPackages/com.unity.package-manager-ui/Tests/Editor/UI/PackageDetailsTests.csPackageDetailsTestsë using System; using System.Collections.Generic; using System.Linq; using UnityEngine.Experimental.UIElements; using NUnit.Framework; using UnityEditor.Experimental.Build; namespace UnityEditor.PackageManager.UI.Tests { internal class PackageDetailsTests : UITests { [SetUp] public void Setup() { PackageCollection.Instance.SetFilter(PackageFilter.Local); PackageCollection.Instance.UpdatePackageCollection(true); SetPackages(null); Factory.ResetOperations(); } [Test] public void Show_CorrectTag() { var packageInfo = PackageSets.Instance.Single(); foreach (var tag in new List { PackageTag.preview.ToString(), PackageTag.verified.ToString(), "usertag" // Any other unsupported tag a user might use }) { packageInfo.IsVerified = PackageTag.verified.ToString() == tag; packageInfo.Version = packageInfo.Version.Change(null, null, null, tag); var package = new Package(packageInfo.Name, new List {packageInfo}); var details = Container.Q("detailsGroup"); details.SetPackage(package, PackageFilter.Local); // Check for every UI-supported tags that visibility is correct foreach (var itemTag in PackageDetails.SupportedTags()) { var uiItem = details.GetTag(itemTag); if (tag == itemTag.ToString()) Assert.IsTrue(UIUtils.IsElementVisible(uiItem)); else Assert.IsFalse(UIUtils.IsElementVisible(uiItem)); } } } [Test] public void Show_CorrectPackage() { var packageInfos = PackageSets.Instance.Outdated(); SetPackages(packageInfos); var package = PackageCollection.Instance.GetPackageByName(packageInfos.First().Name); var details = Container.Q("detailsGroup"); PackageCollection.Instance.SetFilter(PackageFilter.Local); Assert.IsTrue(details.Display(package) == packageInfos[0]); PackageCollection.Instance.SetFilter(PackageFilter.All); Assert.IsTrue(details.Display(package) == packageInfos[1]); } } }PackageDetailsTests#UnityEditor.PackageManager.UI.Tests&Unity.PackageManagerUI.EditorTests.dll