Commit 19a502a
authored
[UUM-138957] Remove runtime test dependency on UnityEditor APIs (#664)
* moving assets to a Resources folder
* moving MeshImporter tests to editor tests
* Moving needed methods from TestUtility to RuntimeUtility
* updating runtime tests and asmdef
* adding last changes in tests assets
* Making the Framework tests Editor only
* Changelog
* reverting asmdef non-necessary changes
* clean test code
* moveing from DestroyImmediate to Destroy for runtime tests1 parent bf3d10a commit 19a502a
258 files changed
Lines changed: 855 additions & 223 deletions
File tree
- Tests
- Editor
- Import
- Framework
- Resources
- UnityEngine.Mesh
- BridgeEdgesTests
- Bridge_TwoConnectedEdges_CreatesTriangle
- Bridge_TwoEdges_CreatesQuad
- CollapseVerticesTests
- CollapseToCenter_MatchesTemplate
- CollapseToFirst_MatchesTemplate
- DeleteElementsTests
- DeleteFirstFace_CreatesValidMesh
- ExtrudeTests
- ExtrudeAllFaces_FaceNormal
- ExtrudeAllFaces_IndividualFaces
- ExtrudeAllFaces_VertexNormal
- Extrude_Face_CreatesValidGeometry
- ProBuilderizeTests
- ImportQuads_MatchesWindingOrder
- ShapeGeneratorTests
- ShapeGenerator_MatchesTemplate
- TextureUnwrapTests
- SetAnchor_IsAppliedToMesh
- SetFillMode_IsAppliedToMesh
- SetOffsetAndRotate_InLocalSpace_IsAppliedToMesh
- SetWorldSpace_IsAppliedToMesh
- VertexColorTests
- DuplicateMesh_ApplyColor_MatchesTemplate
- Runtime
- MeshOps
- Shape
- Type
- Utilities
- Templates/UnityEngine.Mesh
- Editor
- Import
- MeshImporterTests
- ImportQuads_MatchesWindingOrder
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
66 | 65 | | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 88 | | |
136 | 89 | | |
137 | 90 | | |
| |||
158 | 111 | | |
159 | 112 | | |
160 | 113 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 114 | | |
170 | 115 | | |
171 | 116 | | |
| |||
529 | 474 | | |
530 | 475 | | |
531 | 476 | | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | 477 | | |
572 | 478 | | |
573 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Tests/Templates/UnityEngine.Mesh/Runtime/Shape.meta renamed to Tests/Resources/UnityEngine.Mesh.meta
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments