Skip to content

Commit bf53d59

Browse files
author
AJubrey
committed
[ADDED] base for test
1 parent 4fffb44 commit bf53d59

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxExportSettingsTest.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,22 @@ public void TestFindPreferredProgram()
213213
Assert.AreEqual(preferred, -1);
214214
}
215215

216+
[Test]
217+
public void TestGetDCCOptions()
218+
{
219+
string projectPath = Application.dataPath;
220+
221+
var firstPath = Directory.CreateDirectory(projectPath + "/GetDCCOptionsTestFolder/3ds max 3000");
222+
223+
FileInfo firstExe = new FileInfo(firstPath + "3dsmax.exe");
224+
firstExe.Create();
225+
226+
227+
List<string> testPathList = new List<string>();
228+
testPathList.Add("C:/Program Files/Autodesk/3ds Max 2025/3dsmax.exe"); //bogus path which should be removed
229+
testPathList.Add("C:/Program Files/Autodesk/3ds Max 2020/3dsmax.exe");
230+
testPathList.Add("C:/Program Files/Autodesk/3ds Max 2018/3dsmax.exe");
231+
}
232+
216233
}
217234
}

0 commit comments

Comments
 (0)