/// <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);
        }
Ejemplo n.º 2
0
        public IEnumerator TestRootAssetFolderResolution()
        {
            yield return(RefreshFiles());

            string resolvedPath = MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath("Inspectors\\Data\\EditorWindowOptions.json");

            Assert.IsNotNull(resolvedPath);
        }
Ejemplo n.º 3
0
 private static string ResolveEditorWindowOptionsPath()
 {
     return(MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath(EditorWindowOptionsPath));
 }
Ejemplo n.º 4
0
        public void TestRootAssetFolderResolution()
        {
            string resolvedPath = MixedRealityToolkitFiles.MapRelativeFilePathToAbsolutePath("Inspectors\\Data\\EditorWindowOptions.json");

            Assert.IsNotNull(resolvedPath);
        }