File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1- using FlaxEditor ;
1+ using FlaxEditor ;
22using FlaxEditor . GUI ;
33using FlaxEngine ;
44using System ;
@@ -28,6 +28,8 @@ public class TestRunner : EditorPlugin
2828 RepositoryUrl = "https://github.com/FlaxCommunityProjects/FlaxUnitTesting"
2929 } ;
3030
31+ public override Type GamePluginType => typeof ( SimpleUnitTestingPlugin ) ;
32+
3133 public override void InitializeEditor ( )
3234 {
3335 base . InitializeEditor ( ) ;
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Threading . Tasks ;
6+ using FlaxEngine ;
7+
8+ namespace FlaxCommunity . UnitTesting
9+ {
10+ public class SimpleUnitTestingPlugin : GamePlugin
11+ {
12+ public override PluginDescription Description => new PluginDescription
13+ {
14+ Author = "Lukáš Jech" ,
15+ AuthorUrl = "https://lukas.jech.me" ,
16+ Category = "Unit Testing" ,
17+ Description = "Simple unit testing framework" ,
18+ IsAlpha = false ,
19+ IsBeta = false ,
20+ Name = "Simple Unit Testing" ,
21+ SupportedPlatforms = new PlatformType [ ] { PlatformType . Windows } ,
22+ Version = new Version ( 1 , 1 ) ,
23+ RepositoryUrl = "https://github.com/FlaxCommunityProjects/FlaxUnitTesting"
24+ } ;
25+ }
26+ }
Original file line number Diff line number Diff line change 5454 <ItemGroup >
5555 <Compile Include =" Source\Assert.cs" />
5656 <Compile Include =" Source\ExampleClass.cs" />
57+ <Compile Include =" Source\SimpleUnitTestingPlugin.cs" />
5758 <Compile Include =" Source\TestAttributes.cs" />
5859 <Compile Include =" Cache\AssemblyInfo.cs" />
5960 </ItemGroup >
You can’t perform that action at this time.
0 commit comments