Commit Graph
46 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 Safar d82dda826c Fixed more missing protected internal modifiers 2011-01-10 08:45:01 +00:00
Marek Habersack d8838a6414 This commit introduces a few 4.0 rendering changes which break some tests. The broken tests
fail to work on .NET 4.0 as well, for the most part. I will fix them next week.

    2010-07-02  Marek Habersack  <[email protected]>

    	* TemplateControlParser.cs: added support for ClientIDMode
    	property

    	* Control.cs: implemented 4.0 features - ClientIDMode and
    	RenderingCompatibility.

    	* ClientIDMode.cs, IDataKeysControl.cs: added

    2010-07-02  Marek Habersack  <[email protected]>

    	* Menu.cs: 4.0 API updates.

    	* GridView.cs: implemented 4.0 properties -
    	SortedAscendingCellStyle, SortedAscendingHeaderStyle,
    	SortedDescendingCellStyle, SortedDescendingHeaderStyle,
    	ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
    	along with associated rendering changes.

    	* DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
    	renamed ShowPage to SetPageIndex and made it public.
    	Added 4.0 interfaces to inheritance list and implemented them.

    	* DataKeyArray.cs: added internal constructor which accepts IList
    	instead of ArrayList. Changed the 'keys' field type to IList.

    	* ContainedTable.cs: the 'id' attribute must be rendered last.

    	* CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
    	TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.

    	* Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
    	Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
    	Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
    	added new 4.0 property, SupportsDisabledAttribute.

    2010-07-02  Marek Habersack  <[email protected]>

    	* VersionConverter.cs: added support for checking whether the
    	passed version is equal or more than a specified minimal version.

    	* PagesSection.cs: added two 4.0 properties - ClientIDMode and
    	ControlRenderingCompatibilityVersion

    2010-07-02  Marek Habersack  <[email protected]>

    	* TemplateControlCompiler.cs: added support for ClientIDMode 4.0
    	property

    	* PageCompiler.cs, UserControlCompiler.cs: AddStatementsToInitTop
    	must call the base implementation.

svn path=/trunk/mcs/; revision=159826
2010-07-02 19:12:31 +00:00
Marek Habersack 7e02dfbdc9 Fixes to a bunch of unit tests which would fail when running on .NET and few updates to
our system.web controls.

svn path=/trunk/mcs/; revision=159495
2010-06-24 12:55:00 +00:00
Marek Habersack 3f3fd1c424 2010-04-13 Marek Habersack <[email protected]>
* GridView.cs: make sure Header and Footer visibility are set when
	binding the data. Fixes bug #595567

svn path=/trunk/mcs/; revision=155331
2010-04-13 21:31:23 +00:00
Marek Habersack a8288d7c7b Fix a test
svn path=/trunk/mcs/; revision=146191
2009-11-13 23:43:49 +00:00
Marek Habersack e384ddcd0d 2009-11-13 Marek Habersack <[email protected]>
* TableRowCollection.cs: added .NET compatibility NREX throws to
	several methods.
	Whenever a row is added/removed, its Container property is
	set. Fixes bug #551666

	* TableRow.cs: introduced an internal property, Container, which
	is set by TableRowCollection whenever this row is added/removed
	to/from the collection. This allows the row to notify the
	collectio and, in consequence, collection owner that TableSection
	has been set and thead/tbody/tfoot elements need to be
	generated. Fixes bug #551666

2009-11-13  Marek Habersack  <[email protected]>

	* GridViewTest.cs: added test for bug #551666

2009-11-13  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx
	Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx.cs

svn path=/trunk/mcs/; revision=146126
2009-11-13 12:56:34 +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
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
Gert Driesen 1dacddd24a * GridViewTest.cs: Code formatting.
svn path=/trunk/mcs/; revision=84805
2007-08-24 14:00:43 +00:00
Igor Zelmanovich 0afd07a577 2007-07-01 Igor Zelmanovich <[email protected]>
* GridView.cs:
	the Pager is created but unvisible for only one page. 
	the Patch submitted by Dumitru Ban [[email protected]]	

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

	* GridViewTest.cs:
	Added new tests


svn path=/trunk/mcs/; revision=81139
2007-07-01 10:58:58 +00:00
Igor Zelmanovich 64055b640d 2007-07-01 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* DetailView.cs:
	* GridView.cs:
	does not requires data binding if any ITemplate property is set.

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

	* FormViewTest.cs:
	* DetailViewTest.cs:
	* GridViewTest.cs:
	Added new tests



svn path=/trunk/mcs/; revision=81138
2007-07-01 09:28:15 +00:00
Yoni Klain 697a47ba9f 2007-06-20 yonik <[email protected]>
DropDownListTest.cs;  FormViewTest.cs;  DetailViewTest.cs; GridViewTest.cs;    
      Add new tests for DataSourceChanged event 

svn path=/trunk/mcs/; revision=80311
2007-06-20 12:20:00 +00:00
Igor Zelmanovich c321eeeace fixed test
svn path=/trunk/mcs/; revision=73167
2007-02-20 13:01:02 +00:00
Yoni Klain 7cbf249792 2007-02-20 <[email protected]>
Add events tests

svn path=/trunk/mcs/; revision=73148
2007-02-20 08:49:52 +00:00
Igor Zelmanovich 3694efe1dd 2007-02-19 Igor Zelmanovich <[email protected]>
* GridViewTest:
	new test were added	 

svn path=/trunk/mcs/; revision=73097
2007-02-19 09:09:36 +00:00
Igor Zelmanovich 1050de0b9d 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: 
	PageIndex, CreateChildControls, 
	works properly with not ICollection data source.	

svn path=/trunk/mcs/; revision=72355
2007-02-06 15:16:38 +00:00
Adar Wesley 4be48fc47e 2007-02-01 Adar Wesley <[email protected]>
* FormView.cs: fixed events ModeChanging and ModeChanged
        to be raized in all relevant situations.

2007-02-01  Adar Wesley <[email protected]>

        * Control.cs: Changed UniqueId implementation to have '$' and not ':'
        to conform to MS.  This led to updating several Tests that referenced
        the UniqueId as string.

svn path=/trunk/mcs/; revision=72102
2007-02-01 16:21:30 +00:00
Igor Zelmanovich 92555407d3 2006-12-11 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: Update works not only for EditRow
	* TemplateField.cs:
	* CompositeDataBoundControl.cs:		


svn path=/trunk/mcs/; revision=69315
2006-12-11 12:37:59 +00:00
Igor Zelmanovich ab93c975d9 2006-12-11 Igor Zelmanovich <[email protected]>
* GridViewTest.cs: fixed tests, removed NotWorking attribute.


svn path=/trunk/mcs/; revision=69307
2006-12-11 10:33:18 +00:00
Yoni Klain 907ba25442 2006-12-06 Yoni Klain <[email protected]>
* MenuTest.cs;GridViewTest.cs;CustomValidatorTest.cs;  
  changes for 2.0 definition and category repaired.

svn path=/trunk/mcs/; revision=69105
2006-12-06 15:52:40 +00:00
Noam Lampert a9146fb120 Remove unnecessary NotWorking directives
svn path=/trunk/mcs/; revision=69095
2006-12-06 12:34:26 +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
Andrew Skiba d58c4ade1d Category("NotWorking") for TARGET_JVM
svn path=/trunk/mcs/; revision=68397
2006-11-23 15:20:15 +00:00
Andrew Skiba 8f71607234 TARGET_JVM NotWorking test attributes
svn path=/trunk/mcs/; revision=68262
2006-11-21 16:28:36 +00:00
Igor Zelmanovich cc6e7588a9 2006-11-14 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: Rows property, DataBinding flow.
	* DataBoundControl.cs:
	* BaseDataBoundControl.cs:		
	

svn path=/trunk/mcs/; revision=67854
2006-11-14 17:18:01 +00:00
Igor Zelmanovich 4465add3ba 2006-11-09 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.


svn path=/trunk/mcs/; revision=67542
2006-11-08 16:46:25 +00:00
Andrew Skiba ab4ba48a55 TARGET_JVM and test message
svn path=/trunk/mcs/; revision=67447
2006-11-07 12:48:26 +00:00
Igor Zelmanovich b2cf26705d 2006-11-01 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.


svn path=/trunk/mcs/; revision=67218
2006-11-01 14:03:44 +00:00
Yoni Klain 7c74bb2430 Tests changed for run-tests-ondotnet task, and needed categodies added.
svn path=/trunk/mcs/; revision=66989
2006-10-26 12:04:44 +00:00
Igor Zelmanovich 0cae7f4fa5 2006-10-24 Igor Zelmanovich <[email protected]>
* PagerSettings.cs: fixed: CreatePagerControl.


svn path=/trunk/mcs/; revision=66925
2006-10-24 15:48:54 +00:00
Igor Zelmanovich 01fbc88d77 2006-10-24 Igor Zelmanovich <[email protected]>
* CommandField.cs: fixed: 
	considers CaseValidation, ValidationGroup, ButtonType.
	* DataControlButton.cs: refactoring:


svn path=/trunk/mcs/; revision=66916
2006-10-24 12:42:23 +00:00
Igor Zelmanovich b7b3ecd853 2006-10-23 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
	* DataControlButton.cs:	
	* CommandField.cs: CausesValidation feature must be implemented other way


svn path=/trunk/mcs/; revision=66903
2006-10-23 15:14:28 +00:00
Igor Zelmanovich 4df8f73c78 2006-10-12 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: Sorting feature.
	When sorting EditIndex and PageIndex are reseted


svn path=/trunk/mcs/; revision=66597
2006-10-12 12:22:09 +00:00
Igor Zelmanovich e2c1398ca0 2006-10-12 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: Sorting feature.
	CreateDataSourceSelectArguments considers SortExpression and SortDirection.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66594
2006-10-12 10:33:06 +00:00
Igor Zelmanovich 64fa0dbf78 2006-10-11 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: 
	CreateDataSourceSelectArguments works according to MSDN.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66553
2006-10-11 14:15:06 +00:00
Igor Zelmanovich 08d07daabd 2006-10-04 Igor Zelmanovich <[email protected]>
* GridView.cs: corrected rendering 
	* ContainedTable.cs: added new helper class 
		

svn path=/trunk/mcs/; revision=66218
2006-10-04 11:37:21 +00:00
Vladimir Krasnov 1d6ae4f999 * WizardStepBaseTest.cs, MasterPageTest.cs, MenuTest.cs, GridViewTest.cs: removed NotWorking attributes
svn path=/trunk/mcs/; revision=63173
2006-07-31 12:13:26 +00:00
Vladimir Krasnov 1d37e974b8 * GridViewTest.cs, ViewTest.cs, WizardStepBaseTest.cs, WizardTest.cs: fixed tests
svn path=/trunk/mcs/; revision=62959
2006-07-25 14:14:02 +00:00
Yoni Klain 072be2c669 Added new tests for gridview
svn path=/trunk/mcs/; revision=62794
2006-07-20 06:52:20 +00:00
Vladimir Krasnov d59f2b2fca * GridViewTest.cs: removed NotWorking attributes, added tests
svn path=/trunk/mcs/; revision=62698
2006-07-18 11:24:05 +00:00
Vladimir Krasnov 2a8a32e36a * GridViewTest.cs: added new test
svn path=/trunk/mcs/; revision=62668
2006-07-17 10:57:07 +00:00
Vladimir Krasnov 87d87c0773 * GridViewTest.cs: added GridView_RenderingCheckBoxField2 for testing of autogenerated checkbox column
svn path=/trunk/mcs/; revision=62440
2006-07-11 14:14:25 +00:00
Yoni Klain b6820c3226 svn path=/trunk/mcs/; revision=62345 2006-07-07 09:42:19 +00:00
Yoni Klain 5f18e89b50 Tests for GridView and GridView subclasses
svn path=/trunk/mcs/; revision=62033
2006-06-25 14:05:15 +00:00