Commit Graph

72 Commits

Author SHA1 Message Date
John Luo c9d53ad14b Move web.config and use ANCM 2016-04-11 10:04:14 -07:00
= 6b6c658f6c Resolve test application paths more robustly
This fixes tests on Mono for full framework
2016-03-31 15:06:28 -07:00
BrennanConroy 867b3b42cc Functional tests run serially 2016-03-31 13:33:57 -07:00
John Luo dfb1f9c712 Reacting to Kestrel extensions 2016-03-30 16:23:13 -07:00
BrennanConroy 62a22caa00 Fixing sample for tests 2016-03-29 10:45:41 -07:00
Chris R b52e33caa7 Fix tests by publishing. 2016-03-25 11:38:38 -07:00
David Fowler f26f951d0d Fixed packages 2016-03-25 02:14:11 -07:00
John Luo c69a159672 React to Hosting changes 2016-03-22 12:04:03 -07:00
Hisham Bin Ateya 007821bf1b Remove unnecessary 'usings' 2016-03-21 14:38:38 -07:00
Pranav K 1d76db4d36 Removing ifdefs from test
Fixes #210
2016-03-17 16:44:54 -07:00
Pranav K 90235c7008 Reacting to Hosting changes 2016-03-15 09:14:31 -07:00
Pranav K 948c4d6b98 * Target minimal TFM 2016-03-13 22:12:40 -07:00
Pranav K 85d6aa2acc Reacting to KoreBuild changes 2016-03-07 14:57:27 -08:00
John Luo 7c8be4d8e3 Update cookie name 2016-03-03 13:36:47 -08:00
Doug Bunting 6412a14502 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:59:17 -08:00
N. Taylor Mullen b746844466 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:38:14 -08:00
Kiran Challa 7ac771155d Fix test failures 2016-03-01 09:32:01 -08:00
John Luo bb4a04b3a3 Fix samples used by tests 2016-02-24 16:12:32 -08:00
John Luo b294828b0f Updating test TFMs for custom test discovery 2016-02-22 14:50:21 -08:00
Kiran Challa 43fd4c465f Enable tests to run using dotnet xunit runner 2016-02-10 14:59:50 -08:00
Victor Hurdugaci 81ef98b7d5 Fix build errors 2016-02-10 14:08:12 -08:00
Pranav K 33134f7f2a Change build to use dotnet
Fixes #198
2016-02-05 12:06:03 -08:00
Hisham Bin Ateya 6f5bddea69 FunctionalTest for LocalizationSample
Remove LocalizationTest comments

Move shared code into a private method

Add CoreClr with Mono in non Windows test

Fix typo
2016-02-02 14:58:43 -08:00
Cesar Blum Silveira 58ab5d6699 Reference Microsoft.NETCore.Platforms where necessary. 2016-02-02 14:21:13 -08:00
N. Taylor Mullen 4010676634 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:55 -08:00
N. Taylor Mullen ee1738db56 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:52 -08:00
ryanbrandenburg 60047186eb * Replace System.Resources.ReaderWriter 2016-01-20 12:02:02 -08:00
John Luo 0bd2e3281d Reacting to hosting rename 2016-01-17 17:56:43 -08:00
John Luo 5c2bdc8923 Updating to new options pattern 2016-01-07 18:26:38 -08:00
ryanbrandenburg 5b1beb68b5 * Make test culture independent 2016-01-05 12:01:16 -08:00
ryanbrandenburg f3855b9cf2 * Throw proper exception when missing resource 2015-12-29 14:13:20 -08:00
John Luo d9fc399531 Standardizing middleware to use configureOptions lambda 2015-12-22 21:57:56 -08:00
Hao Kung 489250a8e1 OptionsModel => Options 2015-12-21 16:07:14 -08:00
Chris R c31c6cd186 React to Hosting changes. 2015-12-21 10:54:47 -08:00
John Luo 5c98dd5d98 Reacting to new Hosting API 2015-12-18 15:52:58 -08:00
damianedwards 017b9b8773 Added tests to cover ResourceManagerStringLocalizerFactory caching behavior 2015-12-18 14:28:08 -08:00
damianedwards e72d3cb249 ResourceManagerStringLocalizerFactory trims app name from resource base name:
- Only applies when LocalizationOptions.ResourcesPath is set
- #167
2015-12-16 15:38:25 -08:00
damianedwards 1c5362bccb Added support for hierarchical culture fallback:
- Enabled by default and configured by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture
- Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found, depth limit is reached, or none is found
- Updated functional tests to cover fallback case
- #112
2015-12-15 14:56:04 -08:00
ryanbrandenburg 5074bf0c57 * Default ResourcePath behavior is to look next to .cs file 2015-12-15 11:53:55 -08:00
damianedwards 0b013ae769 Usability improvements:
- Remove the defaultRequestCulture parameter from IApplicationBuilder.UseRequestLocalization and make it a property on RequestLocalizationOptions instead
- Have just a single overload for IApplicationBuilder.UseRequestLocalization that takes the options
- #164
2015-12-11 15:21:07 -08:00
damianedwards 7033871b14 Fix tests in reaction to Options changes 2015-12-10 21:32:05 -08:00
Pranav K 62412836de Removing extraneous dependencies 2015-12-08 10:48:26 -08:00
Doug Bunting 36bc26fb55 Remove `[SuppressMessage]`s
- build break

nit: let VS have its way w/ a `.xproj` file
2015-12-07 21:07:23 -08:00
N. Taylor Mullen dc56363dbd Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:23 -08:00
Troy Dai 83c46fb8b7 Run CoreCLR test when runtime framework is CoreCLR 2015-11-10 14:40:19 -08:00
Cesar Blum Silveira d8060792b2 Strong name everything. 2015-11-03 12:14:18 -08:00
Kirthi Krishnamraju 636459a6f7 Fix #111: Design changes to known/allowed culture list and cache 2015-10-23 00:41:07 -07:00
Kirthi Krishnamraju 90116ddd78 fix #90: ResourceStringLocalizerFactory creates string localizer based on resourcetype's name instead of full name 2015-10-19 10:39:05 -07:00
Kirthi Krishnamraju 7ea6435338 Added localization functional tests 2015-10-13 15:50:55 -07:00
Hisham Bin Ateya 722fbc4ef5 CultureInfoCache.GetCultureInfo Should not be case sensitive 2015-10-06 00:44:28 +03:00