File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Assets/FbxExporters/Editor/UnitTests Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,6 @@ static FbxExportSettingsTest() {
31
31
Assert . IsNotNull ( s_InstanceField , "s_Instance" ) ;
32
32
}
33
33
34
- #if ENABLE_COVERAGE_TEST
35
- [ Test ]
36
- public void TestCoverage ( )
37
- {
38
- FbxSdk . CoverageTester . TestCoverage ( typeof ( ExportSettings ) , this . GetType ( ) ) ;
39
- }
40
- #endif
41
-
42
34
[ NUnit . Framework . SetUp ]
43
35
public void SetUp ( )
44
36
{
@@ -169,8 +161,9 @@ public void TestGetSetFields()
169
161
Assert . AreEqual ( ExportSettings . kDefaultSavePath , defaultRelativePath ) ;
170
162
171
163
var defaultAbsolutePath = ExportSettings . GetAbsoluteSavePath ( ) ;
172
- Assert . AreEqual ( Path . Combine ( Application . dataPath , ExportSettings . kDefaultSavePath ) ,
173
- defaultAbsolutePath ) ;
164
+ var dataPath = Path . Combine ( Application . dataPath , ExportSettings . kDefaultSavePath )
165
+ . Replace ( Path . AltDirectorySeparatorChar , Path . DirectorySeparatorChar ) ;
166
+ Assert . AreEqual ( dataPath , defaultAbsolutePath ) ;
174
167
175
168
// set; check that the saved value is platform-independent,
176
169
// that the relative path uses / like in unity,
You can’t perform that action at this time.
0 commit comments