Ryan Brandenburg
cbba45b44e
Organize Functional tests
2016-10-06 09:51:50 -07:00
Pranav K
e52cab580e
Updating partner package versions
2016-10-03 14:25:08 -07:00
Kiran Challa
861ae52de5
Added support for get culture information from request's route data information.
...
[Fixes #122 ] Get segment from mapped route for CustomRequestCultureProvider
2016-09-30 09:57:44 -07:00
Ryan Brandenburg
0d21e72151
Add missing xproj files for ResourceClassLibrary projects
2016-09-23 16:05:21 -07:00
Ryan Brandenburg
0ac2a3f66a
Use existing CultureInfo
2016-09-23 15:50:10 -07:00
Ryan Brandenburg
b2ef91df9f
Localization finds resources in class libraries
2016-09-22 15:53:02 -07:00
Pranav K
81865ede09
Reacting to Microsoft.AspNetCore.Server.Testing rename
2016-08-15 16:12:22 -07:00
Pranav K
dce6310b34
Updating to Moq \ Castle.Core that does not require imports
2016-08-08 14:38:35 -07:00
Ryan Brandenburg
e976c0fa22
Include all strings from GetAllStrings ( #264 )
2016-07-15 10:01:02 -07:00
Doug Bunting
2669c32641
One build to rule them all
...
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:11:11 -07:00
Pranav K
e510521097
Switch async void to async Task
2016-07-01 14:54:57 -07:00
Pranav K
60a08bcbaf
Updating to RTM builds of xunit and Moq
2016-06-30 16:30:46 -07:00
Pranav K
cf6e0de480
Updating to dev versions
2016-06-16 10:18:12 -07:00
N. Taylor Mullen
6389f1326d
Remove direct Microsoft.NETCore.Platforms dependency.
...
- Microsoft.NETCore.App now pulls this package in.
aspnet/Coherence-Signed#344
2016-06-13 15:30:11 -07:00
Pranav K
5b605f511e
Add a reference to Microsoft.Extensions.PlatformAbstractions to fix build break
2016-06-06 17:43:59 -07:00
John Luo
2c7368a6b3
Disable tests failing on CLR on Linux and Mac
2016-06-02 15:16:36 -07:00
Pavel Krymets
0283099928
Downgrade Server.Testing version to 0.1
2016-05-20 14:56:23 -07:00
BrennanConroy
83c7abe87a
Dipose HttpClient
2016-05-16 14:51:30 -07:00
Hisham Bin Ateya
b72816e24c
Remove unecessary using ( #242 )
2016-05-16 14:44:29 -07:00
John Luo
adbca3414a
React to deployer update
2016-05-06 12:27:35 -07:00
Pranav K
08e394d994
Fix build warnings
2016-05-02 11:27:19 -07:00
BrennanConroy
eb77b07ff6
Remove environment variable
2016-04-28 13:56:39 -07:00
BrennanConroy
693f58c18f
Remove references to UseDefaultHostingConfiguration
2016-04-27 16:26:23 -07:00
Pranav K
f98204d723
Use latest build of dotnet-test-xunit
2016-04-19 14:54:05 -07:00
Pavel Krymets
23bb1fca43
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 17:09:29 -07:00
Pavel Krymets
9268ca73df
Migrate tests, tools and samples to portable
2016-04-15 12:04:16 -07:00
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
Hisham Bin Ateya
b22474afb3
Add missing Asserts
2015-10-05 13:38:22 -07:00
Pranav K
f782d8845c
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:49 -07:00
Hisham Bin Ateya
61106d36a1
Fix issue #88
2015-09-28 00:11:45 -07:00
Kiran Challa
ed70441162
Fix for build break. Removing reference to official xunit package.
2015-09-22 14:55:36 -07:00
Kirthi Krishnamraju
06aa2412a8
Update sample to use LocalizationOptions and fixed issue in AddLocalization
2015-09-17 11:08:03 -07:00
Kirthi Krishnamraju
eefe518ac2
Add LocalizationOptions to specify resources location
2015-09-14 20:34:43 -07:00
Hisham Bin Ateya
a7b1b1e4ec
Remove unnecessary usings from Microsoft.Framework.Localization.Tests
2015-09-14 20:29:13 -07:00
Hisham Bin Ateya
56259c0564
Add missing 'Assert' in GetFallbackLanguage_ReturnsFirstNonNullCultureFromSupportedCultureList
2015-09-14 20:25:45 -07:00
Kirthi Krishnamraju
7b53bdd43e
Fix for #38 : Fallback to wrong language preference when the top preference is unavailable
2015-09-14 11:01:34 -07:00
Hisham Abdullah Bin Ateya
efcbb2a664
Add 'Microsoft.AspNet.Localization' Unit Tests
2015-09-14 10:28:41 -07:00
Hisham Abdullah Bin Ateya
2faf31727e
Fix namespace typo
2015-09-10 16:01:55 -07:00
Troy Dai
cc0c4e1f55
Update CoreCLR versions
2015-08-04 10:15:29 -07:00
Hisham Abdullah Bin Ateya
01d0b5db22
Reformat project.json
...
Reformat project.json
Fix typo
2015-07-30 11:26:14 -07:00
Hisham Abdullah Bin Ateya
5f83c0df43
Rename Microsoft.Framework.Localization.Test to Microsoft.Framework.Localization.Tests
...
Microsoft.Framework.Localization.Test -> Microsoft.Framework.Localization.Tests
Rename the .xproj
Rename the solution file
2015-07-30 09:50:26 -07:00
anurse
47ff0f26ac
return to the official xunit build
2015-06-17 12:09:09 -07:00
anurse
d436955e02
Switch to xunit.runner.aspnet
2015-06-13 00:13:52 -07:00
anurse
f581863445
move System.Reflection dependency to dnxcore50 in tests
2015-06-12 23:43:46 -07:00
damianedwards
39f40d2c5f
Fix references to include beta-*
2015-05-29 11:46:24 -07:00
damianedwards
1a47d19bb3
Introduces IStringLocalizer.GetAllStrings to replace direct IEnumerable impl:
...
- #18
Support not loading ancestor culture strings on IStringLocalizer.GetAllStrings:
- #23
2015-05-28 12:25:03 -07:00
damianedwards
90ca64c3dd
Statics be gone!
...
- Cleaned up ctors of ResourceManagerStringLocalizer and ResourceManagerWithCultureStringLocalizer too
2015-05-28 12:14:03 -07:00
damianedwards
4ba159afe7
Removed Moq from tests & enabled .NET Core
...
- Introduced AssemblyWrapper to enable testing
- Cleaned up properties on ResourceManagerStringLocalizer
- #15
Change "Strategy" to "Provider"
- #19
2015-05-20 14:41:52 -07:00
damianedwards
9384848cc7
Cache walk of the culture tree when building resource name list:
...
- #15
2015-05-20 14:41:36 -07:00