Commit Graph
973 Commits
Author SHA1 Message Date
Igor Zelmanovich 6521fb8b33 HttpWebRequest does not handle redirect,
that allows to test some scenarios such Response.Redirect.

svn path=/trunk/mcs/; revision=94466
2008-01-31 14:35:41 +00:00
Igor Zelmanovich 3d4c2dca78 TARGET_JVM:
fix test.

svn path=/trunk/mcs/; revision=94452
2008-01-31 11:42:39 +00:00
Igor Zelmanovich 4ccb9352bd 2008-01-31 Igor Zelmanovich <[email protected]>
* HtmlInputControlTest.cs:
	* HtmlTextAreaTest.cs: 
	fix tests - use valid xml with HtmlDiff.AssertAreEqual API.


svn path=/trunk/mcs/; revision=94451
2008-01-31 11:16:05 +00:00
Igor Zelmanovich f17a851ad5 2008-01-17 Igor Zelmanovich <[email protected]>
* Control.cs: fix ResolveUrl for some cases.


svn path=/trunk/mcs/; revision=93166
2008-01-17 15:34:56 +00:00
Juraj Skripsky c330ec9664 2008-01-16 Juraj Skripsky <[email protected]>
* HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
	invalid Url for referer.

2008-01-16  Juraj Skripsky  <[email protected]>

	* HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().


2008-01-16  Juraj Skripsky  <[email protected]>

	* HttpRequestTest.cs (TestReferer): added test for invalid referer url.


svn path=/trunk/mcs/; revision=93042
2008-01-16 14:27:44 +00:00
Sebastien Pouliot 5baac5bc4f 2008-01-14 Sebastien Pouliot <[email protected]>
* HttpCookieTest.cs: Added HttpOnly test cases.


svn path=/trunk/mcs/; revision=92854
2008-01-14 12:36:29 +00:00
Marek Habersack 8e01ff33be 2008-01-08 Dean Brettle <[email protected]>
* NunitWeb/NunitWeb/WebTest.cs: copy .mdb or .pdb files with
       assemblies so we get line numbers in stack traces!

svn path=/trunk/mcs/; revision=92576
2008-01-10 10:16:54 +00:00
Igor Zelmanovich 2bb37b9439 2008-01-08 Igor Zelmanovich <[email protected]>
* DetailsViewTest.cs:
	* DropDownListTest.cs:
	* FormViewTest.cs:
	* GridViewTest.cs:
	removed NotWorking attributes.				


svn path=/trunk/mcs/; revision=92433
2008-01-08 10:08:03 +00:00
Igor Zelmanovich ba9c6995a0 added missing resources
svn path=/trunk/mcs/; revision=92331
2008-01-06 10:17:14 +00:00
Noam Lampert 04092f6e15 Update project files for latest changes in Grasshopper.
svn path=/trunk/mcs/; revision=92192
2008-01-03 17:20:42 +00:00
Vladimir Krasnov b0d7426249 refactored thread abort handling
svn path=/trunk/mcs/; revision=92052
2007-12-31 09:52:20 +00:00
Igor Zelmanovich aa489f1d26 update test with jsf implementation
svn path=/trunk/mcs/; revision=91862
2007-12-24 14:45:36 +00:00
Vladimir Krasnov 86e69e623f * AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert to property type
* added AppSettingsExpressionBuilderTest.cs

svn path=/trunk/mcs/; revision=91832
2007-12-23 14:02:37 +00:00
Gert Driesen 9665be01cd * HttpCookieCollectionTest.cs: Added test for string indexer and
Get (String) overload.

svn path=/trunk/mcs/; revision=91638
2007-12-19 17:06:15 +00:00
Vladimir Krasnov f157b6e874 * ListBoxTest.cs: added tests for ListControl's viewstate
svn path=/trunk/mcs/; revision=91519
2007-12-18 09:47:52 +00:00
Igor Zelmanovich aeddaad29d fixed test
svn path=/trunk/mcs/; revision=91079
2007-12-11 10:14:57 +00:00
Igor Zelmanovich 1c062ed4c8 added if #TARGET_JVM
svn path=/trunk/mcs/; revision=91076
2007-12-11 09:55:40 +00:00
Konstantin Triger 2f6613b40e remove test for HttpCacheVaryByContentEncodings since it's not public API for 2.0
svn path=/trunk/mcs/; revision=90800
2007-12-06 10:32:37 +00:00
Konstantin Triger 78887567b5 TARGET_JVM: apply recent build system changes
svn path=/trunk/mcs/; revision=90256
2007-11-25 09:59:30 +00:00
Daniel Nauck dcd94b8d21 2007-11-23 Daniel Nauck <[email protected]>
* System.Web.dll.sources: added
        System.Web/TraceContextRecord.cs
        * System.Web_test.dll.sources: added
        System.Web/TraceContextRecordTest.cs


svn path=/trunk/mcs/; revision=90226
2007-11-23 15:15:03 +00:00
Marek Habersack 7eb6037d96 2007-11-23 Marek Habersack <[email protected]>
* CacheSectionTest.cs: modified to match the new MS.NET defaults.
2007-11-23  Marek Habersack  <[email protected]>

	* CustomErrorsSection.cs: added two missing overrides -
	DeserializeSection and Reset.

svn path=/trunk/mcs/; revision=90208
2007-11-23 01:03:48 +00:00
Marek Habersack ee22092f22 2007-11-22 Marek Habersack <[email protected]>
* OutputCacheParameters.cs: added the VaryByContentEncoding
	property.

	* Page.cs: added new InitCache overload.

	* TemplateParser.cs: added support for the VaryByContentEncodings
	attribute of the OutputCache directive.
2007-11-22  Marek Habersack  <[email protected]>

	* PageCompiler.cs: use
	pageParser.OutputCacheVaryByContentEncodings when initializing the
	output cache in the 2.0 profile.


svn path=/trunk/mcs/; revision=90185
2007-11-22 19:13:29 +00:00
Marek Habersack bbad701742 2007-11-22 Marek Habersack <[email protected]>
* AssemblyInfo.cs: make System.Web.Extensions a friend assembly.
2007-11-22  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added System.Web/HttpCacheVaryByContentEncodings.cs
2007-11-22  Marek Habersack  <[email protected]>

	* HttpCacheVaryByContentEncodings.cs: added

	* HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
	property.

	* HttpApplication.cs: added 3 new events to the pipeline (for
	compatibility with the 2.0sp1/3.5 version of System.Web)
2007-11-22  Marek Habersack  <[email protected]>

	* HttpCacheVaryByContentEncodingsTest.cs: added

svn path=/trunk/mcs/; revision=90179
2007-11-22 18:25:32 +00:00
Marek Habersack 5d390dcb7f 2007-11-17 Marek Habersack <[email protected]>
* HttpResponseTest.cs: added a simple test for AddFileDep*
	methods, for bug #342511
2007-11-17  Marek Habersack  <[email protected]>

	* HttpResponse.cs: make sure fileDependencies is not null before
	attempting to use it. Fixes bug #342511.

svn path=/trunk/mcs/; revision=89841
2007-11-17 14:17:54 +00:00
Igor Zelmanovich 584fa7134c 2007-11-08 Igor Zelmanovich <[email protected]>
* BoundField.cs:
	* ImageField.cs:
	evaluate bound value using ThisExpession ("!") properly	

2007-11-08 Igor Zelmanovich <[email protected]>

	* AutoGeneratedFieldTest.cs:	
	Added new test.



svn path=/trunk/mcs/; revision=89179
2007-11-08 09:29:39 +00:00
Igor Zelmanovich 94bbd9e713 2007-11-07 Igor Zelmanovich <[email protected]>
* WebControl.cs: enabled state restored properly.

2007-11-07 Igor Zelmanovich <[email protected]>

	* WebControlTest.cs:	
	Added new test.


svn path=/trunk/mcs/; revision=89120
2007-11-07 16:36:02 +00:00
Igor Zelmanovich 03002226b2 2007-11-06 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	SelectedValue/SelectedIndex is set during DataBinding always. 	 

2007-11-06 Igor Zelmanovich <[email protected]>

	* ListControlTest.cs:
	Added new tests.

svn path=/trunk/mcs/; revision=88954
2007-11-06 09:17:06 +00:00
Marek Habersack d3fda3c441 2007-11-05 Marek Habersack <[email protected]>
* HttpRequestTest.cs: added a test for case when the query string
	is null.
2007-11-05  Marek Habersack  <[email protected]>

	* HttpRequest.cs: cope with UriBuilder.Query being null.

svn path=/trunk/mcs/; revision=88929
2007-11-05 22:13:41 +00:00
Marek Habersack 33ee579205 2007-11-03 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust ConstructorTest for
	AppDomainSetup.PrivateBinPath changes.
2007-11-03  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
	full paths on 2.0.
2007-11-03  Marek Habersack  <[email protected]>

	* HttpApplication.cs: removed unused internal PrivateBinPath
	property.

	* HttpRuntime.cs: BinDirectory returns a path that ends with the
	directory separator character.


svn path=/trunk/mcs/; revision=88756
2007-11-02 23:02:36 +00:00
Igor Zelmanovich 4aefe0917f 2007-10-31 Igor Zelmanovich <[email protected]>
* DataList.cs: 
	state of DataList.Items are restored correct on PostBack
	such Items.Count and ItemType.

2007-10-31 Igor Zelmanovich <[email protected]>

	* DataListTest.cs:
	Added new test.

svn path=/trunk/mcs/; revision=88546
2007-10-31 11:03:56 +00:00
Igor Zelmanovich bb9a8d9550 2007-10-30 Igor Zelmanovich <[email protected]>
* HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.

2007-10-30 Igor Zelmanovich <[email protected]>

	* HttpUtilityTest.cs: added new test.


svn path=/trunk/mcs/; revision=88477
2007-10-30 16:52:29 +00:00
Igor Zelmanovich 00e0d1b0a4 2007-10-30 Igor Zelmanovich <[email protected]>
* HttpUtility.cs: fixed UrlPathEncode.

2007-10-30 Igor Zelmanovich <[email protected]>

	* HttpUtilityTest.cs: make test pass on .NET.


svn path=/trunk/mcs/; revision=88473
2007-10-30 16:18:44 +00:00
Igor Zelmanovich 2c0432a258 2007-10-30 Igor Zelmanovich <[email protected]>
* Image.cs: fixed management state of Enabled property.
	* WebControl.cs: refactoring in management state of Enabled property.

2007-10-30 Igor Zelmanovich <[email protected]>

	* ImageTest.cs:
	* WebControlTest.cs:	
	Added new tests.


svn path=/trunk/mcs/; revision=88457
2007-10-30 14:21:51 +00:00
Marek Habersack 50b58c5a4d 2007-08-28 Marek Habersack <[email protected]>
* Page.cs: The following property values are returned from cached
            fields instead of looking them up on Context: Application,
            Response, Request, Cache (as determined by the tests).
            Added a backing field for the Session property.
            Session doesn't throw an exception when Context is null - it
            silently ignores it and throws a session not available exception.
            _context is never used directly, the Context property is used
            instead. Fixes bug #82606

2007-08-28  Marek Habersack  <[email protected]>

            * PageTest.cs: added tests for exceptions that should be thrown
            when the following properties are accessed from a Page descendant
            that overrides the Context property: Response, Cache, Session. The
            Application property test was also added, to check if it is
            properly set to null when no request has been served by the page.

svn path=/trunk/mcs/; revision=84951
2007-08-28 13:50:25 +00:00
Marek Habersack 59f39f940c 2007-08-27 Marek Habersack <[email protected]>
* HttpCookieTest.cs: the ToStringTest works now.

2007-08-27  Marek Habersack  <[email protected]>

            * HttpCookie.cs: make sure a key is output even if it has no
            values set. Fixes bug #81333.

svn path=/trunk/mcs/; revision=84872
2007-08-27 12:50:59 +00:00
Gert Driesen 1dacddd24a * GridViewTest.cs: Code formatting.
svn path=/trunk/mcs/; revision=84805
2007-08-24 14:00:43 +00:00
Marek Habersack bbea67463d 2007-08-24 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: use ; as the separator in the
            PrivateBinPath test.

2007-08-24  Marek Habersack  <[email protected]>

            * ApplicationHost.cs: use ; as the separator with PrivateBinPath.


svn path=/trunk/mcs/; revision=84766
2007-08-23 23:27:16 +00:00
Gert Driesen 21723410f2 * ControlTest.cs: Added test for bug #82546. Spaces to tabs.
svn path=/trunk/mcs/; revision=84705
2007-08-23 15:24:41 +00:00
Marek Habersack fcc675453f 2007-08-21 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
        changes.

2007-08-21  Marek Habersack  <[email protected]>

        * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
        to get the provider settings type.

2007-08-21  Marek Habersack  <[email protected]>

        * HttpApplicationFactory.cs: watch for changes in all the
        private binary directories for the current application domain.

        * HttpApplication.cs: turn the PrivateBinPath property into an
        internal enumerable, so that code throughout the assembly can
        iterate over the list of private bin directories configured for
        the application domain.
        Added a new internal method LoadTypeFromPrivateBin, for sharing
        with other parts of the assembly.

2007-08-21  Marek Habersack  <[email protected]>

        * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
        enumerator when loading or adding assemblies from binary
        directories. Remove unused PrivateBinPath property.

        * ControlBuilder.cs: remove unused PrivateBinPath property.

        * TemplateParser.cs: use HttpApplication.PrivateBinPath when
        adding assemblis and loading types.

2007-08-21  Marek Habersack  <[email protected]>

        * ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
        a list of paths relative to AppDomainSetup.ApplicationBase, not a
        full path.
        We no longer check if the bin directories exist, the user can
        create them while the application is running.

2007-08-21  Marek Habersack  <[email protected]>

        * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
        it's unused.

2007-08-21  Marek Habersack  <[email protected]>

        * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
        to look up assemblies in the binary path(s).

svn path=/trunk/mcs/; revision=84589
2007-08-21 21:13:54 +00:00
Marek Habersack f0842083bc 2007-08-17 Marek Habersack <[email protected]>
* CacheDependency.cs: use DependencyChanged as a list of events.
	OnChanged now calls OnDependencyChanged, to notify
	AggregateCacheDependency that it has changed. Fixes bug #82419.

2007-08-17  Marek Habersack  <[email protected]>

	* AggregateCacheDependencyTest.cs: dependency expiration
	notification works correctly now.

svn path=/trunk/mcs/; revision=84270
2007-08-17 12:06:22 +00:00
Gert Driesen 152d26e6f3 Set eol-style.
svn path=/trunk/mcs/; revision=84105
2007-08-14 18:27:40 +00:00
Gert Driesen 74db3d3181 * AggregateCacheDependencyTest.cs: Added test for bug #82419.
* System.Web_test.dll.sources: Added AggregateCacheDependencyTest.cs.

svn path=/trunk/mcs/; revision=84103
2007-08-14 18:04:25 +00:00
Marek Habersack 798c365c89 2007-08-14 Marek Habersack <[email protected]>
* ChangePassword.cs: The change password button id changed to
	"ChangePasswordPushButton", the cancel button id changed to
	"CancelPushButton". The change makes the generated ids the same
	what on MS.NET. Fixes bug #82418.

2007-08-14  Marek Habersack  <[email protected]>

	* ChangePasswordTest.cs: adjust tests for the ChangePassword
	control button controls id changes. Part of fix for bug #82418.

svn path=/trunk/mcs/; revision=84055
2007-08-14 11:43:42 +00:00
Igor Zelmanovich 2b7aca3342 2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: fixed: 
	view raises onchange event when datasource is chenged.			

2007-08-06 Igor Zelmanovich <[email protected]>

	* DataSourceViewTest.cs:
	Added new test.

2007-08-06 Igor Zelmanovich <[email protected]>

	* AccessDataSource.cs: does not subscribed on view changed event.
	* ObjectDataSource.cs: fixed state management.
	* SqlDataSource.cs:	fixed state management.	 


svn path=/trunk/mcs/; revision=83541
2007-08-06 15:46:33 +00:00
Igor Zelmanovich 82bb597bbe 2007-08-06 Igor Zelmanovich <[email protected]>
* Control.cs: fixed: control ID management.			

2007-08-06 Igor Zelmanovich <[email protected]>

	* ControlTest.cs:
	Added new tests.

2007-08-06 Igor Zelmanovich <[email protected]>

	* DataGridTest.cs:
	* DetailsViewTest.cs:
	fixed tests.


svn path=/trunk/mcs/; revision=83536
2007-08-06 14:45:58 +00:00
Vladimir Krasnov 35ea43b3e4 * HtmlImageTest.cs: fixed RenderAttributes, switched to webtest since src attribute must be resolved
svn path=/trunk/mcs/; revision=83082
2007-07-31 14:21:58 +00:00
Vladimir Krasnov 0d62ef3ed2 * HttpResponseTest.cs: Test_Response, TestResponse_Chunked marked as NotWorking in GH
svn path=/trunk/mcs/; revision=82998
2007-07-30 15:34:32 +00:00
Igor Zelmanovich fb85560571 Added selenium test suite.
svn path=/trunk/mcs/; revision=82573
2007-07-24 16:00:44 +00:00
Konstantin Triger d753e8fc6d base AppRelativeTemplateSourceDirectory property on TemplateControl; implement special behavior of Control.TemplateControl for TemplateControl instances
svn path=/trunk/mcs/; revision=82443
2007-07-22 15:41:51 +00:00
Noam Lampert 833696f044 Remove unused code that causes many tests to fail
svn path=/trunk/mcs/; revision=81632
2007-07-09 12:12:05 +00:00