15 Commits
Author SHA1 Message Date
Alexander Köplinger 98cf04084a [bcl] Remove NET_4_0 defines from class libs
NET_4_0 is always defined now, so the ifdefs are redundant.
I verified the libs are exactly the same after this change, so this is effectively a no-op.
2015-07-26 15:01:49 +02:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Marek Habersack aa965a9bf3 Another 4.0 test update
svn path=/trunk/mcs/; revision=160052
2010-07-08 13:09:56 +00:00
Marek Habersack 104d165458 - Added VS2008 projects to compile test assemblies
- All resources are named the same on .NET and Mono for test assemblies
- Prepared SystemWebTestShim to work on .NET (to the extent it is possible)
- System.Web.Util made public when compiling tests in VS2008

svn path=/trunk/mcs/; revision=143511
2009-10-06 14:12:28 +00:00
Marek Habersack 4d4dfda2d6 2009-02-10 Marek Habersack <[email protected]>
* ImageButton.cs: AddAttributesToRender renders the onclick
	attribute only if any of the following is true:
	  - OnClientClick is not empty
	  - Validation is enabled for the control
	  - PostBackUrl is used
	PostBackOptions now indicate that control requires the javascript
	protocol for the handler.
	RaisePostBackEvent passes String.Empty as the argument.
	Fixes bug #463939

2009-02-10  Marek Habersack  <[email protected]>

	* ImageButtonTest.cs: added test for bug #46393

svn path=/trunk/mcs/; revision=126482
2009-02-10 18:12:15 +00:00
Marek Habersack fb7a50b2f6 Reverting r74371 - the cause for the two tests failing is different, will commit a real fix rsn
svn path=/trunk/mcs/; revision=74421
2007-03-15 20:45:56 +00:00
Marek Habersack 490bfa444d 2007-03-15 Marek Habersack <[email protected]>
* ImageButtonTest.cs, LinkButtonTest.cs: the validation tests in
	the two cases were incorrect in my opinion. MS.NET renders the
	same HTML (effectively) for no-validation case we do - there are
	no onclick handlers or MyValidationGroup rendered for the
	imagebutton/linkbutton controls.

svn path=/trunk/mcs/; revision=74371
2007-03-15 14:45:22 +00:00
Adar Wesley cc18f949cb ImageButton.cs: implemented GenerateEmptyAlternateText
svn path=/trunk/mcs/; revision=70475
2007-01-04 13:31:24 +00:00
Yoni Klain 3898e926d5 2006-12-05 Yoni Klain <[email protected]>
* ImageButtonTest.cs,ObjectDataSourceTest.cs only category changed; 

svn path=/trunk/mcs/; revision=69037
2006-12-05 14:21:18 +00:00
Miguel de Icaza b851dd1d71 Since WebTest.Run and WebTest.CopyResource are overwriting Web.config, but
they only setup one AppDomain (that gets shutdown automatically by System.Web
whenever there is a change to Web.config) a number of tests fail.

This patch:

        Removes the tests that use the above so that we get a clean run.

        Removes tests that are currently failing, so we have a baseline
        that is known to pass.


svn path=/trunk/mcs/; revision=68593
2006-11-28 18:10:49 +00:00
Yoni Klain eb28197c2a ImageButtonTest.cs added new tests for 2.0 and new resource NoEventValidation.aspx
svn path=/trunk/mcs/; revision=68509
2006-11-27 13:32:19 +00:00
Igor Zelmanovich 5bf79dae62 fix directive
svn path=/trunk/mcs/; revision=67449
2006-11-07 12:53:08 +00:00
Yoni Klain 8ae70a53eb Increase tests' correctness as now they better follow the .NET behavior, and
Cleanup the ondotnet target of the System.Web 2.0 test suite (0 failures), making it an efficient reference point for new tests verification. 

svn path=/trunk/mcs/; revision=67439
2006-11-07 10:02:52 +00:00
Gonzalo Paniagua Javier 0a47a8b417 2005-10-02 Gonzalo Paniagua Javier <[email protected]>
* ImageButtonTest.cs: test that 'name' attribute is rendered.


svn path=/trunk/mcs/; revision=51103
2005-10-03 03:25:33 +00:00
Jordi Mas i Hernandez 1d7aa32c00 Tests
svn path=/trunk/mcs/; revision=48938
2005-08-26 22:54:16 +00:00