Skip to content

Commit

Permalink
feat: create new asmdef for UIComponents.Testing
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Usage of UIComponents.Testing now requires including an assembly definition reference.
  • Loading branch information
jonisavo committed Aug 28, 2022
1 parent e7753fa commit 95571ec
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"UIComponents.Tests",
"UIComponents.Addressables",
"Unity.Addressables",
"Unity.ResourceManager"
"Unity.ResourceManager",
"UIComponents.Testing"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"UIComponents",
"UIComponents.Tests"
"UIComponents.Tests",
"UIComponents.Testing"
],
"includePlatforms": [
"Editor"
Expand Down
3 changes: 2 additions & 1 deletion Assets/UIComponents.Tests/UIComponents.Tests.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"references": [
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"UIComponents"
"UIComponents",
"UIComponents.Testing"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ namespace UIComponents.Testing
public class TestBedBuilder
{
private readonly TestBed _testBed;
private bool _built;


internal TestBedBuilder()
{
_testBed = new TestBed();
Expand Down
16 changes: 16 additions & 0 deletions Assets/UIComponents/Testing/UIComponents.Testing.asmdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "UIComponents.Testing",
"rootNamespace": "UIComponents",
"references": [
"GUID:d593635333b4cae48bac5b5f0b596e90"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
7 changes: 7 additions & 0 deletions Assets/UIComponents/Testing/UIComponents.Testing.asmdef.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95571ec

Please sign in to comment.