/// <summary> /// Validates that MixedRealityToolkitFiles is able to reason over MRTK folders when placed in the root Asset directory. /// </summary> public void TestRootAssetFolderResolution() { string resolvedPath = MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath("Inspectors/Data/EditorWindowOptions.json"); string expectedPath = Path.Combine(Application.dataPath, "MixedRealityToolkit/Inspectors/Data/EditorWindowOptions.json"); Assert.AreEqual(expectedPath, resolvedPath); }
public IEnumerator TestRootAssetFolderResolution() { yield return(RefreshFiles()); string resolvedPath = MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath("Inspectors\\Data\\EditorWindowOptions.json"); Assert.IsNotNull(resolvedPath); }
private static string ResolveEditorWindowOptionsPath() { return(MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath(EditorWindowOptionsPath)); }
public void TestRootAssetFolderResolution() { string resolvedPath = MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath("Inspectors\\Data\\EditorWindowOptions.json"); Assert.IsNotNull(resolvedPath); }