Commit Graph

506 Commits

Author SHA1 Message Date
Kiran Challa 67692e1c89 Skipped failing tests 2015-10-14 04:10:13 -07:00
Kiran Challa 916bca69fc Fix tests 2015-10-13 10:27:58 -07:00
Pranav K 576023cc0f Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:59 -07:00
Doug Bunting f3fb2374ac Cleanup dependencies and restore runtime installations
- remove and sort `using`s
- remove a couple of `project.json` dependencies reached transitively
  - both pretty clean before I started this

Also install runtimes needed for testing
- accidentally lost in 19f8830
2015-10-01 16:42:49 -07:00
Pranav K 9070e12766 Reacting to Hosting changes 2015-09-28 21:59:59 -07:00
Pranav K a3f24bcb1d Reacting to Configuration changes 2015-09-25 07:51:25 -07:00
Kiran Challa 8d6bacb44d Made the log level to be warning instead of information 2015-09-24 05:25:13 -07:00
Kiran Challa d89747927e Minor clean up related to formatting 2015-09-23 16:31:21 -07:00
Hao Kung 21c043d788 React to Caption => DisplayName 2015-09-23 15:11:27 -07:00
Hao Kung fa9cba8a7a React to security 2015-09-23 14:10:23 -07:00
Kiran Challa ce88fe4f5e Enabled tests skipped on Kestrel and minor formatting 2015-09-23 14:07:21 -07:00
Kiran Challa 2c1f1a277a [Fixes #537] Clear up MusicStore repo 2015-09-22 10:04:26 -07:00
Chris R 152c842416 Disable IISExpress tests. 2015-09-21 12:44:22 -07:00
Hao Kung cf6008e947 React to security 2015-09-18 12:59:03 -07:00
Ryan Nowak abd5303bb4 React to MVC renames 2015-09-17 00:17:15 -07:00
Ryan Nowak 47866ac5db React to renames from Auth 2015-09-16 17:21:01 -07:00
Hao Kung da3c513ad4 React to security changes 2015-09-14 15:07:23 -07:00
Kiran Challa bfe1de4819 React to Cors api changes 2015-09-14 11:08:11 -07:00
Kiran Challa 77a8eca1fd React to errorhandler and errorpage extension name changes 2015-09-10 12:10:56 -07:00
Chris R 18a2663531 React to Authentication API changes. 2015-09-10 10:18:52 -07:00
Brennan b7a5805efb Revert "Fix tests"
This reverts commit b1ff28be73.
2015-09-03 16:42:20 -07:00
Chris R e47a2faa83 React to security changes. 2015-09-03 15:24:47 -07:00
BrennanConroy b1ff28be73 Fix tests 2015-09-03 08:57:55 -07:00
Hao Kung 2597c0d3d7 React to identity 2015-09-02 16:50:22 -07:00
Hao Kung 16a9872a55 React to identity 2015-09-02 16:40:27 -07:00
Hao Kung d147f259a8 React to identity/security/options changes 2015-09-02 16:09:46 -07:00
N. Taylor Mullen b1ca5d41d8 Update project.json to have warningsAsErrors accept a bool. 2015-09-02 15:35:36 -07:00
Ryan Nowak 6d26d5efd7 React to breaking changes in MVC 2015-09-01 23:25:46 -07:00
Kiran Challa aa3795de86 Reacting to HttpAbstractions' StringValues change 2015-09-01 11:19:48 -07:00
Kiran Challa 0972116697 Removed SignalR related code from the sample and tests. 2015-09-01 10:54:32 -07:00
Chris R 370475b807 Use new HttpContext.Features API. 2015-08-31 10:57:21 -07:00
Pranav K 1c986b3bb5 Reacting to HttpAbstractions changes 2015-08-31 10:31:58 -07:00
Kirthi Krishnamraju b271887d9f fix build break due to aspnet/configuration #246 2015-08-14 10:59:21 -07:00
Kiran Challa f2a0ea6a21 React to HttpContextAccessor change 2015-08-13 11:34:38 -07:00
Chris R 84203a5d45 React to OpenIdConnectMessage namespace change. 2015-07-31 11:09:29 -07:00
Victor Hurdugaci 04c33bffd0 React to DNX renames 2015-07-29 11:49:38 -07:00
Hao Kung 3646d6ed6e Fix build breaks 2015-07-16 13:41:35 -07:00
Hao Kung 668dd349d2 React to security renames 2015-07-16 13:15:08 -07:00
Hao Kung 62f5d79df2 Reenable social tests 2015-07-01 19:07:34 -07:00
Hao Kung f78d41095d Disable smoke tests for now 2015-07-01 18:18:15 -07:00
Hao Kung 856f510168 Add missed file 2015-07-01 16:01:39 -07:00
Hao Kung eeb39d01e4 React to pinpoint PR 2015-07-01 15:50:46 -07:00
Kiran Challa 04cf85d9fa Skipped test temporarily 2015-06-30 15:27:06 -07:00
Kiran Challa ae379c5dd2 Fixed build break 2015-06-29 18:01:21 -07:00
Kiran Challa 761a182145 Reacting to Session, Authentication changes 2015-06-29 12:15:34 -07:00
Kiran Challa f5a880ba32 React to Session api changes 2015-06-29 12:14:22 -07:00
Arthur Vickers c6b92fe16c React to EF changes 2015-06-25 16:01:25 -07:00
Arthur Vickers 88288ae9d3 React to EF name changes 2015-06-23 16:00:56 -07:00
Chris R f9ed27c3a0 React to removal of ErrorPageOptions.ShowAll. 2015-06-16 12:09:18 -07:00
Kiran Challa f2d9594799 Fix build break 2015-05-26 15:42:51 -07:00
Kiran Challa 116593f091 Fixed test 2015-05-26 15:22:36 -07:00
Kiran Challa 146cf8e095 Fixed test 2015-05-26 15:18:21 -07:00
Kiran Challa 33cc8b06c9 React to Security change where instead of 401 Unauthorized, 403 Forbidden is going to be returned for authenticated users when trying to access unauthorized resource. 2015-05-26 14:54:55 -07:00
Kiran Challa 24be0672fd React to MVC ViewComponent's Activate changes 2015-05-22 12:16:15 -07:00
Kirthi Krishnamraju 54ddefe88c React to aspnet/Configuration #194 2015-05-22 06:14:17 -07:00
Ryan Nowak c428ddffa3 React to removal of [Activate] for ViewComponents 2015-05-21 23:03:30 -07:00
Kiran Challa 9e62751649 Fixed for build break 2015-05-21 16:47:40 -07:00
Kiran Challa d2f041def9 Fixed test 2015-05-21 16:43:15 -07:00
Kirthi Krishnamraju 7968239891 React to aspnet/Configuration #195,#198 2015-05-20 23:40:16 -07:00
Chris R 5694f79af4 React to IRequestCookieFeature API change. 2015-05-20 12:51:38 -07:00
Kirthi Krishnamraju d298c9206e React to aspnet/Configuration #197 2015-05-18 15:35:41 -07:00
Suhas Joshi 170bad48c4 Fixed formatting 2015-05-18 15:26:46 -07:00
Suhas Joshi b2d34bfb6b Disabling tests to unblock CI 2015-05-18 11:38:16 -07:00
Victor Hurdugaci aa2d38d6c1 Better error handling 2015-05-11 16:31:44 -07:00
Victor Hurdugaci 0593c0def7 Add the exit code to the remote result 2015-05-11 14:34:05 -07:00
Victor Hurdugaci 7839b80f04 Scripts to run tests remotely 2015-05-08 14:08:13 -07:00
Chris R b7f4058c28 React to Http namespace changes. 2015-05-07 15:31:35 -07:00
Youngjune Hong 8c9969ed3f Updated OpenIdConnectTest for a build break 2015-05-05 03:07:19 -07:00
Youngjune Hong 3c1f3c94e9 Fixing a build break by adding ISystemClock services to the E2E startup 2015-05-04 16:03:31 -07:00
Youngjune Hong 797f802906 Adding the unit tests for ViewComponents in MusicStore 2015-05-04 10:18:35 -07:00
Troy Dai 223724c13e React to OperationSystems option change 2015-04-24 13:32:46 -07:00
Chris Ross 2063ad5f67 React to Auth API changes. 2015-04-24 12:03:19 -07:00
Praburaj cedfd88254 Disabling openidconnect coreclr variation temporarily
OpenIdconnect fails on latest coreclr. Until this is fixed disabling the coreclr variation.
https://github.com/aspnet/Security/issues/223
2015-04-21 12:48:46 -07:00
Praburaj 0929aa23df Enclosing a bunch of test only code within #if TESTING 2015-04-18 18:03:17 -07:00
Praburaj 5b4aed8dcc Fixing the configoverride.json location 2015-04-17 21:59:12 -07:00
Praburaj c384fcc3c2 Deployment helpers moved to hosting repo. 2015-04-17 14:51:58 -07:00
Praburaj 94ff5f85f0 Skipping mono tests on both clr and coreclr. 2015-04-17 12:00:10 -07:00
Praburaj 9027ce0982 Fixing the RuntimeInformation enum change
Also changing casing for some of the enums.
2015-04-17 11:57:22 -07:00
Chris Ross b4903e22d1 Handle Http.Core rename. 2015-04-16 17:18:34 -07:00
Praburaj ecb6184214 Using IRuntimeEnvironment to detect if mono 2015-04-16 15:14:17 -07:00
Praburaj 9c5d86d4c0 Enabling host shutdown events. 2015-04-16 11:55:54 -07:00
Praburaj c44e65c27f Stabilizing IIS helpers. 2015-04-16 11:34:22 -07:00
Praburaj 9eca47b388 Changing all validators to async 2015-04-15 23:59:04 -07:00
Praburaj 0083778faf Helpers async 2015-04-15 23:35:47 -07:00
Praburaj bea42ef0ca Making tests async 2015-04-15 23:21:44 -07:00
Praburaj 9c8fa0f3f9 Return HttpResponseMessage from RetryHelper 2015-04-15 23:15:12 -07:00
Praburaj 0823c5802c Cleanup. 2015-04-15 21:51:46 -07:00
Praburaj cae0d494a9 Moving some logging into the helpers 2015-04-15 21:37:15 -07:00
Praburaj edec7e9cce Changing the retry interval to 1 second with retry count = 60
Also exposing a host shutdown token to prevent retries after the process died.
2015-04-15 16:59:48 -07:00
Praburaj 64977e14a9 Fixing IIS variations 2015-04-15 16:06:54 -07:00
Praburaj 76d0d56b5d Setting DNX_APPBASE from the deployment helpers 2015-04-15 15:09:15 -07:00
Praburaj 6dd1fd7dc1 Selfhost does not seem to like CreateNoWindow on CI. 2015-04-15 14:36:22 -07:00
Praburaj eac23bc1d8 Moving some helpers into validator class 2015-04-15 13:49:57 -07:00
Chris Ross 7641ca3722 Handle change to cookie parser. 2015-04-15 10:25:47 -07:00
Praburaj 062722f1fb Some diagnostic messages cleanup on deployment helpers 2015-04-15 10:01:44 -07:00
Praburaj 7c5e95818f Adding more diagnostics for iis express process. 2015-04-15 09:48:24 -07:00
Praburaj 2f0eafa2a3 Scoping a work around previously applied for a Dnx bug 2015-04-14 17:09:51 -07:00
Praburaj 7f5f88081b Honoring the DNX_PACKAGES environment variable. 2015-04-14 17:03:18 -07:00
Praburaj 607ba4aef0 Overriding the environment variables as some of these environment variables are set on CI machines. 2015-04-14 16:32:37 -07:00
Praburaj 29ef86fad3 Move deployment helpers out of the test project. 2015-04-14 15:46:42 -07:00
Troy Dai dcac97fe3b React to configuration model change 2015-04-10 11:42:23 -07:00
Praburaj aac9beb1fd Adding a coreclr variation of openidconnect 2015-04-06 13:56:44 -07:00
Praburaj ba80195851 Tag helpers 2015-04-05 20:35:06 -07:00
Doug Bunting 55e7e83375 Merge remote-tracking branch 'origin/release' into dev 2015-04-03 12:02:13 -07:00
Doug Bunting 18153af367 Add a few more `<Service/>` items 2015-04-02 23:01:54 -07:00
Doug Bunting df29aaaafd Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
Praburaj 5d37101760 Fixing namespaces.
My VS build succeeds even without this change. On CI it seems to fail.
2015-04-01 14:19:47 -07:00
Praburaj 3b8d53e010 Fixing namespaces.
My VS build succeeds even without this change. On CI it seems to fail.
2015-04-01 13:59:57 -07:00
Praburaj 9ccc667b54 Fixing the logging package names in the unit test projects. 2015-04-01 13:34:45 -07:00
Praburaj 09a7250ccd Fixing the logging package names in the unit test projects. 2015-04-01 13:25:13 -07:00
Wei Wang 2aaeedc48a Fix newly added --no-source variations 2015-03-30 17:09:51 -07:00
Wei Wang 40edad4953 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 15:23:49 -07:00
Praburaj 2f36a9cd6b Using optional configuration for IIS deployment 2015-03-30 11:54:10 -07:00
Wei Wang 1e29b52278 Rename "dnu bundle" to "dnu publish" 2015-03-28 12:10:12 -07:00
Praburaj a3b1954810 Changing --no-source variation to use desktop clr
Looks like --no-source is failing with coreclr
2015-03-27 15:28:04 -07:00
Praburaj 6dbe8dd993 Enabling --no-source variations 2015-03-27 14:51:59 -07:00
Praburaj 14889fe6eb Adding a trait for tests and some general refactoring 2015-03-26 17:08:38 -07:00
Praburaj 1eb38e5708 Adding CORS to the sample 2015-03-26 17:08:28 -07:00
Praburaj 4ccf7b090b Fixing test helpers
The command to execute tests have changed to dnx . test. As a result the path to dnx.exe cannot be retrieved from Environment.CommandLineArgs().

Changing the way to obtain path to dnx.exe.
2015-03-25 09:57:03 -07:00
Praburaj b233a7ee25 Re-enabling coreclr based E2E tests 2015-03-24 17:30:29 -07:00
Suhas Joshi 83d9003b7a React to Identity changes 2015-03-24 13:07:41 -07:00
Wei Wang 0f0fc2e23e Rename kpm to dnu 2015-03-24 00:36:00 -07:00
ajcvickers 9b188a047d Use UseSqlServer in tests 2015-03-20 17:04:48 -07:00
ajcvickers a76b6cac24 Stop passing IConfiguration to AddEntityFramework 2015-03-20 14:25:25 -07:00
Praburaj 9faa6f8230 Copying the AspNet.Loader.dll only on non-kpm bundle scenario 2015-03-18 11:38:03 -07:00
Praburaj 36a3262661 Moving some IIS express related helpers to a different class. 2015-03-17 14:26:19 -07:00
Praburaj 6445f6388b Temporarily disable the --no-source test variation
Seems to fail on CI but not on local machines. Investigating this.
2015-03-17 14:24:52 -07:00
Praburaj 6dc2417f9e Adding some coverage for the --no-source switch 2015-03-17 12:46:02 -07:00
ianhong 1b502cbee7 Music Store sample Unit Tests - (except usermanager and signinmanager) 2015-03-17 11:12:51 -07:00
Hao Kung 47b34cd1da React to auth changes 2015-03-16 18:38:53 -07:00
Praburaj 5004bac6aa React to AddSessionServices rename to AddSession 2015-03-13 11:56:20 -07:00
N. Taylor Mullen 649a74a753 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-13 00:34:51 -07:00
Praburaj 36271260a1 Reacting to Caching extension rename 2015-03-12 17:06:16 -07:00
Praburaj ad9e11ed2e React to Caching package rename
Dependent on https://github.com/aspnet/Caching/pull/49/files
2015-03-11 17:39:00 -07:00
Hao Kung c49fd85c56 React to identity changes 2015-03-11 16:10:55 -07:00
Praburaj 39fc5ebdc4 Making the tests robust
And some general cleanup
2015-03-11 14:48:34 -07:00
Praburaj b0c989ce90 Modifying the logic to identify the runtime to use
Also quoting the application path being passed to iisexpress/k web so that application path can contain spaces.
2015-03-11 14:48:23 -07:00
N. Taylor Mullen a6982fae6c Update .kproj => .xproj. 2015-03-11 14:09:25 -07:00
N. Taylor Mullen 9878f7dcf9 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:19 -07:00
N. Taylor Mullen 2438fa20e3 Update klr => dnx naming. 2015-03-09 02:30:20 -07:00
N. Taylor Mullen 2d7500c3bb Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 12:51:40 -07:00
N. Taylor Mullen 58c8e44786 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:51:38 -07:00
N. Taylor Mullen 2ecb358c10 React to interface hosting changes. 2015-03-05 22:04:46 -08:00
Hao Kung 28bfb92e63 React to identity changes 2015-03-05 14:23:12 -08:00
N. Taylor Mullen be747a63ed Remove trailling semicolon in test project.json 2015-03-05 00:37:27 -08:00
ianhong a67ed25586 Adding MusicStore unit tests for Session and Cookies 2015-03-04 23:51:39 -08:00
Brennan c230aa23e1 Logging API changes 2015-03-04 21:17:32 -08:00
Hao Kung a1e5048a0a React to DI 2015-03-04 19:27:34 -08:00
ianhong 5f95406fd0 MusicStore Unit Tests (1) - MVC, EF, Cache, RequestAborted, User 2015-03-04 15:16:23 -08:00
ianhong 6efdbc75c7 Adding a unit test for SignInManager and UnitManager 2015-03-04 14:47:58 -08:00
Ajay Bhargav Baaskaran 38cc9aadb4 React to aspnet/Mvc#2076 changes 2015-03-03 17:12:31 -08:00
Praburaj 7b8ace5489 Re-enable the Ntlm authentication tests
User.IsSignedIn() does not return true for NTLM. So pulling the NTLM check out of the code block.
2015-03-03 16:49:00 -08:00
Hao Kung 1df35b8e8b Reenable OpenId test 2015-03-03 15:51:18 -08:00
Hao Kung 14b99ebab1 Skip failing OpenId/NTLM tests to unblock build
https://github.com/aspnet/MusicStore/issues/412 to track
2015-03-02 18:39:20 -08:00
Hao Kung 850ba6375d React to AuthN/Z changes 2015-03-02 16:31:35 -08:00
Praburaj 0ef3921e20 Removing aspnetcore50 from test project.json
Uncommented section seems to throw on build.cmd
2015-02-22 18:49:59 -08:00
Praburaj 0e72888105 Making tests runnable on coreclr 2015-02-22 18:27:03 -08:00
Praburaj 7da407a17a Using statuscode pages in the sample
Adding some automation as well.
2015-02-16 17:22:57 -08:00
Praburaj fc933c83c2 Fixing a test issue 2015-02-16 15:31:56 -08:00
Praburaj 7b45ab2065 Fixing test
Using a non-redirecting handler while sending logout request to shield from external changes.
2015-02-13 16:58:53 -08:00
Troy Dai daaeca8681 Skip a few CoreCLR tests temporarily 2015-02-13 00:27:07 -08:00
Praburaj 2c881cf6a6 Adding verification for openIdconnect logout flow
As well removed the logic to wait for the creation of the db file in userprofile folder
as we now have retry logic.
2015-02-06 12:09:11 -08:00
Praburaj c635116278 Changing some more logger usage to use structured logging. 2015-02-05 10:38:49 -08:00
Praburaj d78932d927 Using structure logging strings. 2015-02-04 17:29:04 -08:00
Suhas Joshi 1165ba363e Increasing time out for mono 2015-02-04 12:00:15 -08:00
Praburaj 8617bdc223 Printing the runtime information at the beginning of the test 2015-02-04 11:10:53 -08:00
Praburaj 5df0d884aa Removing a fixed waittime of 25 seconds on mono
Setting an increased retry wait time. Now test will wait for 42 seconds before giving up.
2015-02-03 15:09:26 -08:00
Praburaj e26705e2de Changing codeplex -> github.com/aspnet/musicstore 2015-02-02 17:39:09 -08:00
Praburaj b48c46ee7d Reenabling the open idconnect test
Bug # https://github.com/aspnet/Security/issues/144 is fixed.
Reenabling the test to run on CI.
2015-02-02 13:59:28 -08:00
Praburaj 7783c36856 Disabling the openIdc test to enable coherence
Seems like the External cookie is null though openidc successfully created the identity and tries to signin. Before this is investigated to unblock the build disabling the test.
2015-01-30 17:02:01 -08:00
Wei Wang 7da71fc5ee Fix Open ID test case 2015-01-29 18:35:12 -08:00
Wei Wang 4277bb75b1 Merge remote-tracking branch 'origin/release' into dev 2015-01-29 16:30:59 -08:00
Wei Wang 3bf675f343 React to runtime renaming revert 2015-01-29 00:01:52 -08:00
Praburaj c3b4b6369e Some cleanup 2015-01-28 10:18:30 -08:00
Praburaj 4f32cb95fa Fixing some issues with OpenIdconnect E2E test
1. Adding notifications and verification for them.
2015-01-28 10:12:27 -08:00
Praburaj 3ec5584c8c Adding an E2E flow for OpenIDC 2015-01-27 17:40:16 -08:00
Praburaj e3637924ee Adding a basic smoke test for OpenIdConnect
Currently the mono variation is failing.
2015-01-26 17:03:34 -08:00
Praburaj c82cda4a78 Fixing the openIdconnect Startup class to add loggerfactory
Also adding a placeholder startup class for openid e2etesting.
2015-01-26 11:11:25 -08:00
Praburaj d29f24f4ad Using session to store the cart details instead of cookies. 2015-01-26 10:51:20 -08:00
Wei Wang 117c910f3b React to kpm subcommand renaming 2015-01-23 10:22:55 -08:00
Suhas Joshi eabe6b1aa7 Fixing start mono processstartinfo 2015-01-22 22:43:25 -08:00
Praburaj c8bbfb15e8 Pointing to wwwroot for NtlmAuth test 2015-01-20 16:42:10 -08:00
Praburaj c3a6095bf1 Pointing IIS Express to the wwwroot folder instead of app base. 2015-01-20 15:23:04 -08:00
Praburaj ce72c2fc7e Renaming klr.exe => dotnet.exe 2015-01-20 06:57:29 -08:00
Praburaj 5e3eb96b12 Fixing a regression in dotnet path. 2015-01-20 06:48:36 -08:00
Praburaj 71c171c052 Renaming KRE -> Dotnet 2015-01-20 06:38:06 -08:00
Praburaj 7847fb8257 Increasing the retry count
To fix flakiness
2015-01-18 20:48:23 -08:00
Hao Kung 464438862a Fix music store policies 2015-01-16 15:15:19 -08:00
Praburaj 86ab6b7256 Changing an error string in the tests due to identity change. 2015-01-16 11:31:05 -08:00
Praburaj 9e68b43069 Adding authorization policy for the missed startup class. 2015-01-16 10:05:53 -08:00
Praburaj ad5cfb9e6e Reacting to namespace changes PipelineCore => Http.Core V2 2015-01-15 13:32:28 -08:00
Praburaj c9d0a4d9da Reacting to namespace changes PipelineCore => Http.Core 2015-01-15 13:27:17 -08:00
Suhas Joshi b46bec1a7e Increase wait time for server to start 2015-01-14 16:09:07 -08:00
Praburaj 8864111f5b Increasing wait time out on mono tests
Right now since console logger is enabled there seems more delay in app start.
2015-01-13 16:28:54 -08:00
Praburaj cc38726ec8 LoggerExtensions can take in param objects[] instead of param string[] 2015-01-13 14:06:09 -08:00
Praburaj 2df24fd02a Creating a helper to retry a piece of code. 2015-01-13 11:32:34 -08:00
Praburaj fdfe88f8e0 Using Console logger to print logs instead of using Console.WriteLine 2015-01-09 16:44:08 -08:00
Praburaj a6bf0e16aa Adding console logger to the sample 2015-01-09 15:12:53 -08:00
Praburaj ce178243fc Fixing a test regression
Deleted a boolean flag passed to ignore login/register links in the home page.
2015-01-09 13:54:30 -08:00
Praburaj 56d6dfeb1b Adding a retry logic for NtlmAuth test
The other two tests already have this.
2015-01-09 13:39:30 -08:00
Chris Ross 76017af97c Handle Form and helpers breaking changes. 2015-01-07 16:15:41 -08:00
Praburaj 6407ff0adc Cleanup : Moving the mock code to the test project
This is to make the sample code cleaner. Moved the mock code to the test project.
Also fixed some intendation issues in some cshtml files.
2015-01-02 17:13:31 -08:00
Hao Kung 14ec7960a1 React to identity changes 2014-12-30 14:59:07 -08:00
Praburaj a4d2d185e1 Fixing tests on mono
kestrel command is now lowercased. Passing the right case from tests.
2014-12-30 13:30:36 -08:00
Praburaj e609602f2f Clean up and refactoring
1. Removed some console logging statements from code
2. Used database error page like templates.
3. Renamed the command `WebListener` to `web` with all lower case to be consistent with templates.
4. Lowercased `Kestrel` => `kestrel` to be consistent with remaining samples.
2014-12-30 13:16:08 -08:00
Praburaj d9148bd6f7 Fixing KRE_ENV to ASPNET_ENV 2014-12-22 19:04:55 -08:00
Praburaj 9e62865dd9 Fixing code to pass KRE folder path not including bin 2014-12-22 13:14:02 -08:00
Praburaj a9ea8a87c8 Fixing the KRE name issue on mono
On mono with a recent change --runtime <value> for kpm pack is null as the value is not populated.
2014-12-19 13:45:51 -08:00
Suhas Joshi e5a92daa51 Corrected json for mono 2014-12-19 11:59:12 -08:00
Praburaj 2dae44a607 Disabling IIS variation test as CI machine does not have IIS installed. 2014-12-19 10:53:33 -08:00
Praburaj 68102b8786 Enabling IIS variation of the test
Also organizing some test code.
2014-12-18 20:01:47 -08:00
Praburaj 3c49e439c9 Removing an incorrect test variation. 2014-12-18 19:25:59 -08:00
Praburaj 9c442e97ff Using the latest xunit skip condition attributes to skip tests
Also moved all the helper code into sub-directories.
2014-12-18 19:25:51 -08:00
Suhas Joshi 368e96ad32 Fixes teamcity issue with Console.ReadLine() 2014-12-17 11:50:33 -08:00
Brennan 2df9d8f098 Update tests to use official xunit 2014-12-16 10:44:13 -08:00
Praburaj 51f60d5fd5 Enabling native module variations.
These do no run unless a machine has native module setup done and an environment variable named IIS_NATIVE_MODULE_SETUP=true. So the test will get skipped on pretty much on all machines except the ones where we want to run on.
2014-12-16 10:23:14 -08:00
Praburaj 50b756a776 Clean up - removing work arounds for bugs
1. Removed worked arounds that were previously applied for bugs as they are fixed now.
2. Sorted all using statements. Moved System.* to the top.
3. Fixed some of the code to follow engineering guidelines.
2014-12-15 11:48:24 -08:00
Praburaj 0c59794996 A few changes
1. Adding helpers to install an app on IIS and run on top of native module
2. Enabled CoreCLR + Ntlm tests.
2014-12-12 16:07:49 -08:00
Praburaj a67bd6820c Adding some coverage for the .Include EF statements 2014-12-04 14:35:32 -08:00
Suhas Joshi 2286b14290 Add retry logic for Publishtests 2014-12-03 17:00:28 -08:00
Suhas Joshi 681327f396 Fixed tests to run on Mono 2014-12-01 17:49:16 -08:00
Victor Hurdugaci 1120863c84 Add schema version to kproj files 2014-11-25 11:15:15 -08:00
Hao Kung 0edfde8e20 Revert "Disable tests for now"
This reverts commit 0d7c28413f.
2014-11-21 10:52:16 -08:00
Hao Kung 0d7c28413f Disable tests for now
Filed https://github.com/aspnet/MusicStore/issues/292
2014-11-20 18:38:39 -08:00
Praburaj 5ae536fe0a Some fixes
1. Updating some startup classes like templates
2. Update a test that runs on mono with right CLR.
2014-11-20 16:04:48 -08:00
Praburaj f72b23c871 Test flakiness - Moving the first request into a retry block
Sometimes the first request to the application results in exceptions like 'No connection could be made because the target machine actively refused it'. Adding a retry to mitigate that.
2014-11-19 13:35:55 -08:00
Chris Ross 6a4f49a188 Fix facebook endpoint tests. 2014-11-15 08:13:56 -08:00
Victor Hurdugaci 2970af14b1 Update KProj to the latest format 2014-11-12 15:56:14 -08:00
Suhas Joshi 73d3e2fa2e Uncomment assert for delete cookie test 2014-10-16 11:12:56 -07:00
Wei Wang 8d0c6052a7 Change 'pack-exclude' to 'packExclude' 2014-10-14 16:15:20 -07:00
Pranav K acac2802db Removing version token from framework assemblies node 2014-10-10 12:53:35 -07:00
Pranav K 0a49dc08df Reacting to CLR package versioning changes 2014-10-10 10:33:38 -07:00
Praburaj ae91663eb7 Fixing a few things
1. Changing the SigninAsAuthenticationType to a variable to avoid failures when the value changes.
2. Adding a Scripts folder like default VS projects.
3. Adding version numbers to GAC assemblies in the test project.
4. Adding a check for pack-exclude.
2014-10-09 16:11:38 -07:00
Chris Ross f35dd45ea6 HTML decode URL. 2014-10-09 15:49:27 -07:00
Brice Lambson e370c974e1 Remove framework assembly versions 2014-10-06 14:52:48 -07:00
David Fowler e50cb5262a Fixup references 2014-10-05 18:59:43 -07:00
Praburaj 424de094f3 Removing the single line comment in a project.json 2014-10-02 13:20:58 -07:00
Praburaj 0288c790b0 Cleanup
1. Moving framework assembly references to frameworkassemblies node.
Moving the framework references Removing the RunOnMono flag on Ntlm tests as it never runs on mono
2. Deleted a space from the batch file
3. Adding some pack-exclude items
4. Some general test cleanup.
2014-10-02 12:38:54 -07:00
Praburaj f16a0c0f19 Adding some mocks for MicrosoftAccount 2014-09-29 14:41:43 -07:00
Praburaj 6d9bc21e83 Disabled tests by mistake
Enabling them back.
2014-09-25 11:58:11 -07:00
Praburaj 42e23bd261 Enabling the E2E automation for social logins. 2014-09-25 11:48:58 -07:00
Praburaj 647a5b6031 Enabling account validation, 2FA, Forgot password in the sample
Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.
2014-09-24 15:13:28 -07:00
Praburaj 1867d11a43 Using QueryHelpers.ParseQuery for parsing query string.
Removed the helpers implemented in the test project.
2014-09-23 20:08:59 -07:00
Praburaj 7eb78b8dd1 Adding ability to add a Helios native module based test
Native module is still not fully working with automation. Will be avilable shortly.

The test project will undergo a little bit of refactoring and cleanup as well shortly.
2014-09-18 14:48:48 -07:00
Praburaj aadcdf715f Adding a variation to start weblistener from kpm pack output 2014-09-17 16:19:57 -07:00
Praburaj f400550b5b Adding a variation that does a kpm pack and starts the application
Currently adding only for Helios & X86 desktop CLR. Will add a few more interesting variations in future.
2014-09-15 17:10:06 -07:00
Praburaj 7c917a760a Enabling the Ntlm+WebListener combination back as the issue is fixed.
bbb2a29a99 fixes the issue.
2014-09-15 12:22:54 -07:00
Praburaj db78efda4f Disabling Ntlm+WebListener test combination
For some reason the KRE_ENV value being set is not honored. Disabling the test alone to unblock build.
2014-09-14 21:45:06 -07:00
Praburaj 8c1bf38211 Reacting to a change in the environment variable from ENV -> KRE_ENV 2014-09-11 16:36:54 -07:00
Praburaj e63d4f95d2 Adding an Ntlm variation of the test
Modified the helpers to take in an application host config file to accomodate future needs.
2014-09-11 11:10:25 -07:00