48 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 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 bc0513683f set svn:eol-style to native and converted several files to unix line ending
svn path=/trunk/mcs/; revision=124209
2009-01-22 14:52:09 +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 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
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 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
Ilya Kharmatsky 0a1d87626b Fixed rendering problems in DetailsView control, related to an empty data source.
svn path=/trunk/mcs/; revision=71582
2007-01-24 09:57:22 +00:00
Igor Zelmanovich 9528783636 2007-01-02 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed CreateAutoGeneratedRows.			


svn path=/trunk/mcs/; revision=70347
2007-01-02 12:03:01 +00:00
Igor Zelmanovich 13a8581fd6 2007-01-01 Igor Zelmanovich <[email protected]>
* AutoGeneratedField.cs: is editable in Insest mode.
	* BoundField.cs: is editable in Insest mode.
	* CheckBoxField.cs: is editable in Insest mode.
	* DetailsView.cs: fixed DataBinding flow.			

svn path=/trunk/mcs/; revision=70320
2007-01-01 16:37:54 +00:00
Igor Zelmanovich 499d009db5 2006-12-28 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	* GridView.cs:
	* FormView.cs:
	control's behavior depends on using DataSource or DataSourceID 
	property for binding	


svn path=/trunk/mcs/; revision=70165
2006-12-28 13:28:38 +00:00
Noam Lampert 3369037c70 Removed #if as bug 6489 is fixed
svn path=/trunk/mcs/; revision=70086
2006-12-26 16:50:20 +00:00
Yoni Klain a7c6c978a8 2006-12-13 Yoni Klain <[email protected]>
* DetailsViewTest.cs:    added tests.

svn path=/trunk/mcs/; revision=69451
2006-12-13 15:41:08 +00:00
Igor Zelmanovich 314c63b3ab svn path=/trunk/mcs/; revision=69183 2006-12-07 15:07:22 +00:00
Igor Zelmanovich b1fdb33876 2006-12-07 Igor Zelmanovich <[email protected]>
* DetaisView.cs: fixed: rendering.
	* DataControlButton.cs:
	* PagerSettings.cs:		


svn path=/trunk/mcs/; revision=69182
2006-12-07 14:56:43 +00:00
Noam Lampert a9146fb120 Remove unnecessary NotWorking directives
svn path=/trunk/mcs/; revision=69095
2006-12-06 12:34:26 +00:00
Igor Zelmanovich 07ed73dc4a 2006-11-29 Igor Zelmanovich <[email protected]>
* CreateUserWizardTest.cs: fixed NunitWeb tests.
	* DetailsViewTest.cs: fixed NunitWeb tests.
	* FormParameterTest.cs: fixed NunitWeb tests.
	* FormViewTest.cs: fixed NunitWeb tests.
	* MenuTest.cs: fixed NunitWeb tests.
	* WizardStepBaseTest.cs: fixed NunitWeb tests.
	* XmlDataSourceTest.cs: fixed NunitWeb tests.
	* PageTest.cs: fixed NunitWeb tests.
	* FormsAuthenticationTest.cs: fixed NunitWeb tests.
	* StaticSiteMapProviderTest.cs: fixed NunitWeb tests.


svn path=/trunk/mcs/; revision=68673
2006-11-29 17:10:08 +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
Igor Zelmanovich ef063d32b9 2006-11-12 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed:  DataKeys, PageCount, DataBinding flow.


svn path=/trunk/mcs/; revision=67737
2006-11-12 13:39:59 +00:00
Igor Zelmanovich ee371a5ace 2006-11-09 Igor Zelmanovich <[email protected]>
* DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.


svn path=/trunk/mcs/; revision=67596
2006-11-09 14:45:15 +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 3a6e6bad4c 2006-10-31 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.


svn path=/trunk/mcs/; revision=67176
2006-10-31 13:11:40 +00:00
Igor Zelmanovich faa45b122f 2006-10-30 Igor Zelmanovich <[email protected]>
* DetailsViewTest.cs: removed NotWorking attributes
			

svn path=/trunk/mcs/; revision=67125
2006-10-30 13:05:40 +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 4804a14ec4 2006-10-23 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: IPostBackContainer.GetPostBackOptions method.


svn path=/trunk/mcs/; revision=66904
2006-10-23 15:20:47 +00:00
Igor Zelmanovich 4251373a57 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsViewTest.cs: removed NotWorking attributes
			

svn path=/trunk/mcs/; revision=66793
2006-10-18 16:01:54 +00:00
Igor Zelmanovich a0369e746d 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: OnBubbleEvent works properly.


svn path=/trunk/mcs/; revision=66789
2006-10-18 14:41:14 +00:00
Igor Zelmanovich f3927a6114 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CurrentMode property.


svn path=/trunk/mcs/; revision=66784
2006-10-18 12:38:02 +00:00
Igor Zelmanovich f0cdb3cc99 2006-10-17 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66742
2006-10-17 12:58:27 +00:00
Andrew Skiba 01da7b1e90 fix tests.
svn path=/trunk/mcs/; revision=63037
2006-07-27 14:09:43 +00:00
Andrew Skiba c508bc5421 fix few DetailsView tests
svn path=/trunk/mcs/; revision=62997
2006-07-26 14:58:04 +00:00
Andrew Skiba 472eaa7667 split a test in two, working and not working
svn path=/trunk/mcs/; revision=62908
2006-07-24 07:56:09 +00:00
Andrew Skiba 707ed6a449 fix a broken test.
svn path=/trunk/mcs/; revision=62905
2006-07-23 15:21:23 +00:00
Andrew Skiba 6f78458bbe more precise lifetime flow checks
svn path=/trunk/mcs/; revision=62821
2006-07-20 14:27:10 +00:00
Andrew Skiba ee05f551e9 add EnsureChildControls basic test.
svn path=/trunk/mcs/; revision=62820
2006-07-20 14:06:17 +00:00
Andrew Skiba 84ebb9d5c3 DetailsViewTest.cs: add a new assert
svn path=/trunk/mcs/; revision=62817
2006-07-20 13:27:32 +00:00
Andrew Skiba 6aa6c6b2f5 #if VISUAL_STUDIO
svn path=/trunk/mcs/; revision=62802
2006-07-20 09:06:59 +00:00
Andrew Skiba ae5d6841fc add #if NET_2_0 and [Category ("NotWorking")] where appropriate
svn path=/trunk/mcs/; revision=62749
2006-07-19 14:54:15 +00:00
Merav Sudri 317c1f07cf The following tests were added:
FormViewTest (Updated)
FormViewRowTest
DetailsViewRowTest
DetailsViewRowCollectionTest 

svn path=/trunk/mcs/; revision=62747
2006-07-19 14:32:45 +00:00
Merav Sudri 087491325f svn path=/trunk/mcs/; revision=62738 2006-07-19 11:13:36 +00:00
Merav Sudri 16f8e346ca svn path=/trunk/mcs/; revision=62737 2006-07-19 11:05:14 +00:00
Merav Sudri 5c11ba62aa DetailsViewTest was added with the following resources:
1.FooterTemplateTest.aspx
2.DetailsViewTemplates.aspx
3.DetailsViewDataActions.aspx
4.DetailsViewProperties1.aspx

svn path=/trunk/mcs/; revision=62734
2006-07-19 09:31:51 +00:00