Michael Yanni
a8f866a296
Merge branch 'feature/v3' into serialization-fixes-body-complex
2019-12-06 16:19:44 -08:00
Michael Yanni
e2b28bc202
Fixed a couple issues with serialization writing. Cleaned up legacy TypeSerializers logic. Enabled a few more body complex tests.
2019-12-06 16:16:31 -08:00
Pavel Krymets
f07c86cbae
Add header formatting support ( #313 )
2019-12-06 14:14:23 -08:00
Michael Yanni
27ec5a8091
Merge pull request #315 from MiYanni/body-complex-tests-full
...
Body complex tests
2019-12-06 13:52:40 -08:00
Michael Yanni
d9d7a40525
Removed unused using.
2019-12-06 13:41:33 -08:00
Michael Yanni
763a6aaeeb
Merge branch 'feature/v3' into body-complex-tests-full
2019-12-06 13:39:38 -08:00
Michael Yanni
e296f28bfd
Finished going through all tests for body complex.
2019-12-06 13:28:07 -08:00
Pavel Krymets
8d291e285d
Get generated projects closer to shipping SDKs ( #308 )
2019-12-06 13:26:57 -08:00
Michael Yanni
1fdbdc469f
Only a few tests remaining to write/check.
2019-12-06 10:45:43 -08:00
Pavel Krymets
2206ac28aa
Test infra restructure ( #298 )
...
Test infra restructure
2019-12-06 08:32:23 -08:00
Michael Yanni
38df363464
Updated TestServerProjects file exclusion
...
This allows the test server project's obj files (generated at build time on manual build (non-AutoRest)) to be excluded. We no longer needed to exclude the Azure.Core files since they are now linked into those projects.
2019-12-05 22:52:31 -08:00
Michael Yanni
a87bc5fa1a
Merge branch 'test-infra-restructure' into body-complex-tests-full
...
# Conflicts:
# test/AutoRest.TestServer.Tests/body-complex.cs
2019-12-05 22:10:04 -08:00
Michael Yanni
108ace1246
Made Invoke-AutoRest take in a single $autoRestArguments parameter.
2019-12-05 22:06:14 -08:00
Michael Yanni
0655b8b8ac
Set nullable to annotations.
2019-12-05 21:58:02 -08:00
Michael Yanni
f15423e6e3
Made test projects directly reference assets instead of using the generated ones. Disabled the style cop analyzers for the test server projects since they would fail when analyzing the shared assets.
2019-12-05 21:54:10 -08:00
Michael Yanni
e5f396e669
Fixed test file namespaces to match new structure.
2019-12-05 20:49:54 -08:00
Michael Yanni
68d6079ff5
Moved tests out of Tests and into root. Moved root infrastructure files into Infrastructure.
2019-12-05 20:48:38 -08:00
Michael Yanni
6a0f8acc96
Removed Azure.Core.Shared files from the test server projects and added those files to the gitignore.
2019-12-05 20:42:46 -08:00
Michael Yanni
d6b2e7b3f6
Remove unused parameter.
2019-12-05 20:28:55 -08:00
Michael Yanni
618a3f36d8
Implemented about half of the body complex tests.
2019-12-05 20:21:51 -08:00
Michael Yanni
36abac643c
Put in the correct set of tests for body complex (instead of all coverage).
2019-12-05 19:13:52 -08:00
Michael Yanni
1176e70080
Added all tests for body-complex. Need to fill them out.
2019-12-05 19:01:36 -08:00
Michael Yanni
dfeaff33c0
Remove commented line of code.
2019-12-05 18:14:41 -08:00
Michael Yanni
b6061df150
Reverted change to make serialization public instead of internal.
2019-12-05 18:00:32 -08:00
Michael Yanni
f7b301f31e
Merge branch 'feature/v3' into test-infra-restructure
2019-12-05 17:51:28 -08:00
Michael Yanni
282b1c8894
Namespaced tests appropriately. Made test project source linking have a base folder.
2019-12-05 17:43:56 -08:00
Michael Yanni
bac450ca17
Reverted some changes related to ClientDiagnostics removal. Made it so that the generated test project files are referenced as source in the test project. However, the test projects are still compiled separately.
2019-12-05 17:36:35 -08:00
Michael Yanni
2e85ad296a
Initial working version of separated project building and usage in testing.
2019-12-05 17:21:32 -08:00
Pavel Krymets
84945548aa
Try and fix code check ( #294 )
2019-12-05 16:40:34 -08:00
Pavel Krymets
a5c2c78f12
Bug fix: collection of constants ( #297 )
...
Bug fix: collection of constants
2019-12-05 16:24:17 -08:00
Michael Yanni
4c6ae4cd6d
Moved tests into their own directory.
2019-12-05 13:32:34 -08:00
Michael Yanni
a3f6d45b3e
Move generated test server projects to their own directory.
2019-12-05 13:23:55 -08:00
Michael Yanni
0d70596870
Made everything public for now so we can access it via library reference.
2019-12-05 13:22:57 -08:00
Michael Yanni
4653072d6c
Added running samples as part of Generate.ps1. Currently, only runs AppConfiguration.
2019-12-05 12:46:02 -08:00
Pavel Krymets
ebae2cae0f
More url tests, enable coverage tracking ( #292 )
2019-12-05 11:42:08 -08:00
Michael Yanni
dd3a8ef2e9
Merge branch 'feature/v3' into bug-fix-collection-of-constants
2019-12-05 11:05:07 -08:00
Michael Yanni
37a7f2d37c
Renamed ClientModel to ClientModels as to not conflict with the ClientModel class inside that namespace. ( #275 )
2019-12-04 20:59:44 -08:00
Michael Yanni
dcf96bb276
Workaround for allowing a collection of constants to be a parameter to a method.
2019-12-04 18:26:06 -08:00
Michael Yanni
1356bf6efb
Merge branch 'feature/v3' into client-models
2019-12-04 17:07:07 -08:00
Michael Yanni
23a322f336
Merge pull request #271 from MiYanni/serialization-removal
...
Serialization removal
2019-12-04 17:05:46 -08:00
Pavel Krymets
8d248557a2
Add all string tests ( #274 )
2019-12-04 16:52:08 -08:00
Michael Yanni
acd348b620
Renamed ClientModel to ClientModels as to not conflict with the ClientModel class inside that namespace.
2019-12-04 16:44:10 -08:00
Michael Yanni
0464743bf6
Changed CreateType to not use empty object nullability check.
2019-12-04 16:37:49 -08:00
Michael Yanni
42cdb4f4f8
Removed setter for IsStringBased property.
2019-12-04 16:28:02 -08:00
Michael Yanni
e3cb287cbf
Changed append line to logic-driven conditional writing.
2019-12-04 16:10:16 -08:00
Michael Yanni
9a0c2e2d0d
Reverted Resharper removing using System from generated code.
2019-12-04 16:06:08 -08:00
Michael Yanni
66ca0f1abb
More general cleanup. Added including the csproj for the samples.
2019-12-04 15:59:51 -08:00
Pavel Krymets
f604585b19
Add initial header tests ( #273 )
2019-12-04 15:50:33 -08:00
Michael Yanni
3193640735
Fix from merging.
2019-12-04 13:13:53 -08:00
Michael Yanni
ce355d2e18
Merge branch 'feature/v3' into serialization-removal
...
# Conflicts:
# src/AutoRest.CSharp.V3/Plugins/Modeler.cs
# test/AutoRest.TestServer.Tests/TestServer.cs
2019-12-04 13:08:40 -08:00