Skip to content

Commit 32f583c

Browse files
author
Mark Visser
committed
Misc restructuring:
- moved useless intermediate package Scripts directory - cleaned up namespaces in TestProjects/FbxTests (all tests now live in FbxExporter.UnitTests) - added explicit "using" statements in *Tests.cs - split tests into FbxTests and FbxApiTests directories - updated .gitignore file
1 parent 8065e52 commit 32f583c

File tree

80 files changed

+67
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+67
-27
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ sysinfo.txt
6262
# Builds
6363
*.apk
6464
*.unitypackage
65+
artifacts
66+
67+
# Generated by Rider
68+
TestProjects/FbxTests/Assets/Plugins*
6569

6670
# Generated by tests
6771
**/_safe_to_delete__*
68-
artifacts
72+
.DS_Store
73+
FbxExportSettings.asset

TestProjects/FbxTests/Assets/Editor/FbxApiTests.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestProjects/FbxTests/Assets/Editor/PublicAPITest.cs renamed to TestProjects/FbxTests/Assets/Editor/FbxApiTests/PublicAPITest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
using UnityEngine;
2+
using UnityEditor;
23
using NUnit.Framework;
34
using System.Diagnostics;
45
using System.Linq;
6+
using UnityEditor.Formats.Fbx.Exporter;
57

6-
namespace UnityEditor.Formats.Fbx.Exporter.API.UnitTests
8+
namespace FbxExporter.UnitTests
79
{
8-
public class PublicAPITest: ExporterTestBaseAPI
10+
public class PublicAPITest : ExporterTestBaseAPI
911
{
1012
private GameObject[] m_toExport;
1113

TestProjects/FbxTests/Assets/Editor/FbxTests.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestProjects/FbxTests/Assets/Editor/ConvertToModelTest.cs renamed to TestProjects/FbxTests/Assets/Editor/FbxTests/ConvertToModelTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
using UnityEngine;
2+
using UnityEditor;
23
using NUnit.Framework;
34
using System.Collections.Generic;
45
using System.IO;
56
using UnityEngine.Formats.Fbx.Exporter;
7+
using UnityEditor.Formats.Fbx.Exporter;
68

7-
namespace UnityEditor.Formats.Fbx.Exporter.UnitTests
9+
namespace FbxExporter.UnitTests
810
{
911
public class ConvertToModelTest : ExporterTestBase
1012
{

TestProjects/FbxTests/Assets/Editor/CustomExtensionsTest.cs renamed to TestProjects/FbxTests/Assets/Editor/FbxTests/CustomExtensionsTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using UnityEditor.Formats.Fbx.Exporter.CustomExtensions;
88
using Autodesk.Fbx;
99

10-
namespace UnityEditor.Formats.Fbx.Exporter.UnitTests
10+
namespace FbxExporter.UnitTests
1111
{
1212
public class CustomExtensionsTest : ExporterTestBase
1313
{

TestProjects/FbxTests/Assets/Editor/DefaultSelectionTest.cs renamed to TestProjects/FbxTests/Assets/Editor/FbxTests/DefaultSelectionTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
using NUnit.Framework;
33
using System.Collections.Generic;
44
using Autodesk.Fbx;
5+
using UnityEditor.Formats.Fbx.Exporter;
56

6-
namespace UnityEditor.Formats.Fbx.Exporter.UnitTests
7+
namespace FbxExporter.UnitTests
78
{
89
/// <summary>
910
/// Tests the default selection export behavior.

0 commit comments

Comments
 (0)