File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Assets/FbxExporters/Editor/UnitTests Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -213,5 +213,22 @@ public void TestFindPreferredProgram()
213
213
Assert . AreEqual ( preferred , - 1 ) ;
214
214
}
215
215
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
+
216
233
}
217
234
}
You can’t perform that action at this time.
0 commit comments