Граф коммитов

41 Коммитов

Автор SHA1 Сообщение Дата
Jhonatan Sandoval Velasco 429903adaf
fix: [#6825] Update xunit and fix compatibility issues in unit tests (#6836)
* update xunit and fix compatibility issues in unit tests

* remove auto-generated comments

* remove duplicated reference
2024-08-12 12:16:17 -05:00
Jhonatan Sandoval Velasco 51263f75e4
fix: [#6825]Update old packages (#6830)
* update old packages

* revert incompatible packages updates

* remove Backup csproj files
2024-08-01 15:34:57 -05:00
Joel Mut 276bb33945
[#6741] Remove .Net Core 3.1 from projects (#6819)
* Remove netcoreapp3.1 and fix System.Text.Json issue

* Fix System.Formats.Asn1 security issue

* Fix remaining System.Text.Json issue
2024-07-16 15:26:45 -05:00
tracyboehrer 3a59c0bbf4
Corrected Authority in MsalServiceClientCredentialsFactory (#6802)
* MsalServiceClientCredentialsFactory correction for Authority

* Added BotFrameworkHttpAdapter obsolete annotation

* Bumped Microsoft.NET.Test.Sdk (for compliance)

* Removed test projects from solution

---------

Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2024-06-19 09:43:01 -05:00
Cecilia Avila 4519cf7049
[#6741] Update projects to .Net 8 (#6760)
* Update test projects to .NET8

* Update test bots to .NET8

* Update CI yamls to .NET8

* Apply feedback

* keep support for netcoreapp3.1

* fix pipeline task name

* separate target framework conditionals

* add missing task to pipeline

---------

Co-authored-by: JhontSouth <jhonatan.sandoval@southworks.com>
2024-05-16 08:40:30 -05:00
Cecilia Avila 8d6454634a
[#5977] Update projects to .Net 6 (#6332)
* Update test projects to target .net6

* Update test bots to target .net6

* Update CI pipelines to target .net6

* Remove old vmImage from comments & fix Webex test

* Remove multitarget from FunctionalTests project

* Change target framework in FunctionalTests project

* Apply feedback for NET6 exceptions and tests

* Fix Serialization error in LogActivityAsync
2022-06-09 15:26:12 -04:00
Joel Mut 6e536279d7
[#6173] Remove dotnet 2.1 support from 4.16 (#6187)
* Remove TestBot.NetCore21 project

* Remove netcoreapp2.1 build target from test projects

* Update pipelines' yamls

* Remove netcoreapp2.1 in remaining projects

* Remove tests NETCOREAPP2_1 conditions

* Update 2.1 assemblies

Co-authored-by: CeciliaAvila <cecilia.avila@southworks.com>
2022-02-15 14:26:22 -08:00
Denise Scollo 2e852e299b
[#4366] [TestBot] Consolidate duplicate Test project and test code (#4736)
* Add TestBot.Shared project

* Move duplicated code into TestBot.Shared project

* Combine TestBot.Tests and TestBot.NetCore21.Tests

Co-authored-by: Joel Mut <joel.mut@southworks.com>
2020-10-13 13:53:18 -07:00
Josh 357f4a29f1
Fixing and suppressing build warnings (#4406)
* suppressing warnings

* reverting async

* Revert "reverting async"

This reverts commit 7675775d69.

* suppressing await warning

* Removed explicit ref to json 10.x from AppInsightsWebApi to avoid version warnings.
Updated Twilio.TestBot to target only netcoreapp3.1, removed reference to Microsoft.AspNetCore.App and avoided warning
Removed unused variable from OAuthPromptTests.cs
Updated NamedPipesTest to capture the task returned by ConnectAsync.
Removed Razore references from TestProtocol to avoid warning.
Added TreatWarningsAsErrors to the Directory.Build.props for tests so we keep things clean going forward

* Consolidated some nuget packages to see if that addresses some msbuild warnings.

* Added explicit ref to Config on test project to see if that fixes warning

* Added explicit packages to see if we can avoid warnings

* Added explicit reference to solve build warnings.
Consolidated assembly versions

* Added explicit assembly reference to solve build warning

* Updated httpheaders version in streaming and removed explicit refs from other projects.

* Changed headers to 2.1.14

* Added explicit ref for headers to Adaptive.Profiling

* Added explicit ref

* More explicit refs for Http.Headers

* One more explicit ref to http headers

* Added explicit version for Http.Headers to all web projects

* Removed all explicit references to http.headers

* Removed Http.Headers from functional tests

* Set the build log to detailed to see if I can narrow down the issue.

* Trying lout explicit ref for Microsoft.Net.Http.Headers in ApsNet.Core

* Cleanup: Removed detailed parameter from yaml
Cleamup: reverted steam to use the lowest version of httpheaders and also lowered the version in Integration.AspNet.Core
Added explicit versions for Microsoft.Net.Http.Headers to FunctionalTests

* Lowered headers version to match streaming

* Added 3.1 targets for Slack and Webex adapters.
Added explicit Microsoft.AspNetCore.App to Functional tests

* Cleanup: reverted some changes that don't seem to be needed

* Changed TestFrameworks to TestFramework for the project that only target one framework.

Co-authored-by: Gabo Gilabert <ggilaber@microsoft.com>
2020-08-11 09:36:14 -07:00
Gary Pretty cf986d8e2b
Update test projects to target .Net Core 3.1 (#3306)
* Update adapters to use async methods to read request body

* Update integration projects to targets Core 3.1

* Updated Slack Test Bot project to .NET Core 3.1

* Revert "Updated Slack Test Bot project to .NET Core 3.1"

This reverts commit 96cbf65ac4.

* Touch to trigger PR build

* Update test bot projects to target .Net Core 3.1 and add additional TestBot and TestBot.Tests project targetting 2.1

* Update test projects to target 3.1

* Fix missing reference and remove redundant file reference

* Re-add stylecop.json and fix project conditions for streaming tests

* Update stream tests proj file

* Remove services.AddMvc() from Core 3.1 projects

* Remove UseHsts and add commented out UseHttpsRedirection
2020-01-29 19:25:43 +00:00
Gabo Gilabert c9d9c46932
Optimizations to reduce unit test duration during CI (#3274)
* Added MaxCpuCount parameter to runsettings

* Moved adaptive tests to be the beginning of the sln to see the impact on the test duration and reordered projects one more time

* Enabled declarative tests in windows-release configuration

* Added XUnit parallelization to TestBotTests.
2020-01-20 16:50:34 -05:00
Gabo Gilabert cc64cca200
Added netcoreapp3.0 to the target framerworks list and conditional co… (#3215)
* Added netcoreapp3.0 to the target framerworks list and conditional compilation options.

* Touched to force build

* Added or for netcoreapp2.1

* Changed condition to see if the build server likes it

* Moved some nuget packages in conditional sections based on target framework

* Update web project to not include AspNetCore.App if it is framework 3.0

* Added explicit reference to aspnetcoreapp for 3.0

* Added explicit ref to 3.0

* Added explicti references to Microsoft.AspNetCore.App for .net core 3.0

* More explicit refs for 3.0

* Updated TestBot to support 3.0.
Added UserSecretsId property to other web projects to make it easier to test locally without exposing secrets in git.
2020-01-06 14:46:01 -08:00
Tom Laird-McConnell f6c60ecae1 Merge branch 'master' into tomlm/multiTarget 2019-11-18 18:26:20 -08:00
Chris Mullins 5acff4c84d
Merge pull request #2935 from microsoft:eric/fixDependencies
Fix library compat issues.
2019-11-15 12:56:18 -08:00
Tom Laird-McConnell 7404c1bc8c * add multiple targets frameworks for unit tests
* make sure that all libraries are consistently making full pdb symbols with debug builds
2019-11-08 14:20:32 -08:00
Eric Dahlvang 07a22b8fef Fix project references and target frameworks 2019-11-07 13:14:34 -08:00
Steven Ickman a5c28642f6
Stevenic/cherry pick cancellation fix (#2933)
* Reverted ComponentDialog cancelation change

- Fixed code
- Updated samples

* cherry picked cancelation changes
2019-11-06 15:30:02 -08:00
Carlos Castro 48f94df79b Merge master-> streaming 2019-10-16 11:10:59 -07:00
Carlos Castro 3e45593930 Streaming refactors:
+ Remove Microsoft.Bot.Builder.Streaming assembly
+ Move streaming into BotFrameworkAdapter + HttpAdapter
+ Loosen coupling between StreamingHandler and Streaming adapter
+ General code improvements
2019-10-11 00:27:35 -07:00
Tom Laird-McConnell ab043c22cd remove project level -windows configurations, and have just solution configurations for turning on off builds 2019-09-27 14:42:46 -07:00
Tom Laird-McConnell e4e5fb5fd0 fix merge errors 2019-09-27 13:33:58 -07:00
Tom Laird-McConnell 15170f4529 merge from master 2019-09-27 10:37:38 -07:00
Tom Laird-McConnell 71a049abc3 Add PreviewPackageVersion
Change all preview libraries to use ${PreviewPackageVersion)
Drop -standard.sln, consolidating to one solution
Add Debug-Windows, Release-Windows build configurations (Debug/Release is core libraries)
update all project files to have correct nuget package references
2019-09-26 16:28:15 -07:00
Tom Laird-McConnell 02e7a48813 Merge master into 4.Future 2019-09-17 18:03:41 -07:00
Josh e1fe259b40
updating packages to enable tests to pass (#2374)
* updating packages to enable tests to pass

* Reselved several compile warnings in the test projects by updating references and versions.
2019-08-07 12:45:16 -07:00
Tom Laird-McConnell 3d166e597f merge from 4.Future 2019-08-02 11:28:41 -07:00
Tom Laird-McConnell e2c311fe41
Merge pull request #2205 from flash2048/small_fixes
Fix misspellings
2019-07-17 13:51:09 -07:00
Gabo Gilabert 25c95d10e5 Reverts PR 1993 2019-07-16 17:30:36 -04:00
Tom Laird-McConnell f8bf2813b5 merge from master 4.5 2019-07-12 09:56:54 -07:00
Andrei A 5a1291a92d Fix misspellings 2019-07-09 22:24:55 +03:00
Gabo Gilabert 085bff03aa
Renamed XUnitOutputMiddleware to XUnitDialogTestLogger (so its name is closer to js). (#2176)
Added some spaces to the XUnitDialogTestLogger  output so it reads better.
Removed callback constructor parameter from DialogTestClient (it relies on an internal DialogTurnResult, we will need to find a better solution in the future to support this).
Added optional ConversationState parameter to the constructor and exposed a property to allow people to inspect it or access it.
2019-07-03 10:33:52 -07:00
Chris Mullins e3170f00e7
Merge pull request #2158 from microsoft/gabog/MoveLangVersionToDirProps
Removed LangVersion from csproj files and added it to DirProps
2019-07-02 10:55:52 -07:00
John Taylor aaa05be679 unit test (and fixed TestBotTests tomorrow issues 2019-07-01 19:18:13 -07:00
Gabo Gilabert f03d2abedd Removed LangVersion from csproj files and added it to DirProps 2019-07-01 14:07:42 -04:00
Gabo Gilabert ee4c671f99
Fixed documentation error for the release target. (#2153)
* Removed some documentation settings that were reverted in merge.
Fixed documentation error for the release target.

* Updated all the projects in the solution to explicitly use language version latest so the CI publish step uses 7.x and doesn't get confused
2019-07-01 09:05:56 -07:00
Gabo Gilabert 0a5c8c182d Removed redundant references to StyleCop in libraries.
Updated Directory.Build.Props to use the lates stable StyleCope (1.1.118)
Removed documentation target from Directory.Build.Props (not used anymore).
Removed  <code>false</code>. tags that were upsetting StyleCop.
Fixed a bunch of StyleCope issues that were generating compile errors.
Fixed authentication namespaces
2019-06-28 12:39:01 -07:00
Cecilia Avila b6fa76965e Add missing period in comment 2019-06-25 11:54:13 -03:00
Gabo Gilabert 818446341f Fixed some typos and reformatted some code for readibility. 2019-06-18 00:05:58 -04:00
Gabo Gilabert 9c292d20b7 Fixed some stylecop issues. 2019-06-17 14:03:42 -04:00
Gabo Gilabert 3d3d9fa386 Moved DialogTestsBase to BotTestBase.
Formalized some methods in SImpleMockFactory.
2019-06-17 11:38:00 -04:00
Gabo Gilabert f0f243277e First pass a TestBot unit tests 2019-06-14 14:46:18 -04:00