Robert Xiao
dfabe9235d
Use CollectionAssert for better test feedback.
...
For minor problems with the test output (e.g. one-line changes),
CollectionAssert.AreEqual will show the exact line which is changed, for
much better test feedback.
2020-06-20 10:17:48 +02:00
Robert Xiao
d2b5f9d48b
Enable test parallelization for a nice speedup
2020-06-20 10:17:48 +02:00
Katy Coe
e2f42bd137
Tests: Update expected results
2020-06-19 14:57:37 +02:00
Robert Xiao
1c1f542107
Tests: Add new test assemblies for C# features ( #36 )
...
* Add new test assemblies for C# features
Three of these test assemblies go over several important features of C#,
organized by C# language version. PartialGenericTypes stresses closed
and partially closed generics. Finally, VTablesAndLayout tests the
layout of classes when translated to C++, and also contains code which
calls vtable and interface functions to test reverse engineering.
* Tests: Update .csproj
* Tests: Update .csproj
Co-authored-by: Katy Coe <djkaty@users.noreply.github.com >
2020-06-19 14:52:09 +02:00
Katy Coe
3e1228495f
Tests: Update expected results
2020-02-28 11:29:35 +01:00
Katy Coe
58771cf308
Tests: Update test results
2020-02-24 12:32:23 +01:00
Katy Coe
34cb2bc029
PS: More robust pathing in generate-binaries (Unity 2019.3-compat)
2020-02-13 06:09:52 +01:00
Katy Coe
e6c8be5e2b
Move default excluded namespaces to Constants
2020-02-09 11:05:22 +01:00
Katy Coe
59568aba57
Tests: Update expected results
2020-02-06 02:51:54 +01:00
Katy Coe
e971cb8502
Refactor solution layout
2020-02-06 02:51:42 +01:00
Katy Coe
c43f92b1e2
Tests: Add generic method MethodSpec tests to TestGenerics
2020-02-02 22:41:18 +01:00
Katy Coe
60202e72a5
Tests: Update expected results (improved method end address detection)
2020-02-02 09:42:55 +01:00
Katy Coe
759a77031e
Model: Substitute concrete parameter types into generic methods from MethodSpecs
2020-02-02 04:45:43 +01:00
Katy Coe
cfb384e22a
Tests: Add generic method unit tests
2020-02-02 01:07:19 +01:00
Katy Coe
6f830fd909
Tests: Update TestNames for new internal generic method signatures
2020-02-02 01:06:14 +01:00
Katy Coe
f04604edc7
Tests: Include array of derived closed generic type in GenericTypes
2020-01-30 08:00:58 +01:00
Katy Coe
871c368e49
Model: Implement GenericParameterPosition for TypeRefs
2020-01-29 08:46:46 +01:00
Katy Coe
4c29821ee0
Add UnityEditor and JetBrains.Annotations to default ignored namespaces
2020-01-21 02:42:21 +01:00
Katy Coe
054b3641ca
Output: Exclude AOT namespace by default
2020-01-18 21:32:20 +01:00
Katy Coe
64b263bafb
IL2CPP: Merge attribute and method pointers, improve attribute function end addresses
2020-01-18 20:28:53 +01:00
Katy Coe
0b868aae36
IL2CPP: Fix field offsets for certain 64-bit binaries ( #10 )
2020-01-06 08:54:52 +01:00
Katy Coe
f10d52bdd2
PS: Replace all non-word characters in test function names
2019-12-12 09:05:13 +01:00
Katy Coe
88be17003e
Output: Don't include nested generic type parameters in generic type usages (CS0305)
2019-12-11 12:34:36 +01:00
Katy Coe
b8df3d7100
Output: Handle explicit interface implementation of indexers correctly
2019-12-11 10:27:52 +01:00
Katy Coe
d728421d12
Tests: Add TestNames, update References; Update all test results
2019-12-11 09:30:27 +01:00
Katy Coe
74cd245ebc
Tests: Update all test results
2019-12-03 18:21:36 +01:00
Katy Coe
4a622988f1
Tests: Fix GenericTypes type name search
2019-12-02 08:41:07 +01:00
Katy Coe
b36ccda9b9
Model: Small naming corrections to improve reliability (re: CS0308)
2019-11-29 06:51:30 +01:00
Katy Coe
0fe5fa53a6
Model: Include the global namespace when checking for ambiguous type references
2019-11-29 02:33:47 +01:00
Katy Coe
74f209bc2e
Tests: Update all test results
2019-11-28 18:46:19 +01:00
Katy Coe
8a837a3434
Tests: Update Scope tests and results
2019-11-27 18:35:02 +01:00
Katy Coe
c57383b0bd
PS: Ignore non-directories when generating Tests.cs
2019-11-27 06:23:08 +01:00
Katy Coe
5586173c1c
Tests: Add test results for ExplicitInterfaces
2019-11-18 07:35:31 +01:00
Katy Coe
68d8e47d7d
Tests: Add explicit interface implementation tests
2019-11-18 01:09:07 +01:00
Katy Coe
f0134e0d16
CLI: Merge some options into --must-compile
2019-11-17 22:43:58 +01:00
Katy Coe
37c63608df
Tests: Add scoped naming rules tests
2019-11-17 22:28:47 +01:00
Katy Coe
73b21b9b1a
Tests: Update all test results
2019-11-16 23:47:46 +01:00
Katy Coe
80d168a2de
Tests: Enable CommentAttributes in TestRunner
2019-11-16 22:15:41 +01:00
Katy Coe
7b4fefea3c
Tests: Add nested generic constraint tests to GenericTypes
2019-11-16 21:36:43 +01:00
Katy Coe
9d347c5807
Tests: Update all test results
2019-11-14 17:08:38 +01:00
Katy Coe
7c64e0a09c
Add --suppress-metadata option
2019-11-13 15:55:18 +01:00
Katy Coe
50d602add4
Tests: Update all test results
2019-11-12 23:03:15 +01:00
Katy Coe
8db9ffeccc
Tests: Update all test results
2019-11-12 06:13:54 +01:00
Katy Coe
e83fc9fbb5
Tests: Fix Il2CppSharpDumper.WriteSingleFile reference in TestRunner
2019-11-12 05:40:12 +01:00
Katy Coe
612df92730
Tests: Update GenericTypes and all test results
2019-11-11 23:29:42 +01:00
Katy Coe
1850eb0eed
Tests: Update all tests
2019-11-11 03:04:19 +01:00
Katy Coe
a026acf528
Output: Exclude Unity and UnityEngineInternal namespaces by default, include root namespace
2019-11-11 02:05:05 +01:00
Katy Coe
b1b21b9e5a
Tests: Update ArraysAndPointers and Properties
2019-11-10 18:57:21 +01:00
Katy Coe
1c411ff12d
Output: Fix failure to render indexer argument in some cases
2019-11-10 00:18:08 +01:00
Katy Coe
5bee7665e9
Tests: Update Properties tests to include indexers
2019-11-09 23:59:41 +01:00