52 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
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar d82dda826c Fixed more missing protected internal modifiers 2011-01-10 08:45:01 +00:00
Marek Habersack cad200568e 2010-07-16 Marek Habersack <[email protected]>
* FormViewRow.cs: added internal property RenderJustCellContents
	which makes the control render only its children (4.0)

	* FormView.cs: implemented RenderOuterTable property and the
	ModifiedOuterTableStylePropertyName method (4.0)

svn path=/trunk/mcs/; revision=160496
2010-07-16 17:26:21 +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 05c45cf998 2010-04-01 Marek Habersack <[email protected]>
* FormView.cs: do not show the pager if PagerSettings.Visible is
	false. Fixes bug #578863

2010-04-01  Marek Habersack  <[email protected]>

	* FormViewTest.cs: added test for bug #578863

svn path=/trunk/mcs/; revision=154631
2010-04-01 11:20:09 +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
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 348a0f4def 2007-02-06 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: 
	works properly with not ICollection data source.	


svn path=/trunk/mcs/; revision=72360
2007-02-06 16:10:46 +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 c97877589a 2006-01-03 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed PageIndex property.


svn path=/trunk/mcs/; revision=70426
2007-01-03 16:20:00 +00:00
Yoni Klain eb2493a921 2006-12-14 Yoni Klain <[email protected]>
* FormViewTest.cs:    added tests.

svn path=/trunk/mcs/; revision=69484
2006-12-14 12:53:13 +00:00
Igor Zelmanovich 6b7f443592 2006-12-07 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: avoid empty row rendering.


svn path=/trunk/mcs/; revision=69181
2006-12-07 14:51:20 +00:00
Noam Lampert a9146fb120 Remove unnecessary NotWorking directives
svn path=/trunk/mcs/; revision=69095
2006-12-06 12:34:26 +00:00
Merav Sudri 6dd4c86f05 svn path=/trunk/mcs/; revision=68938 2006-12-04 10:32:46 +00:00
Noam Lampert ea11f95bf8 Mark missing NunitWeb
svn path=/trunk/mcs/; revision=68677
2006-11-29 17:35:44 +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
Andrew Skiba 8f71607234 TARGET_JVM NotWorking test attributes
svn path=/trunk/mcs/; revision=68262
2006-11-21 16:28:36 +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 f9a969d38c 2006-11-06 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: DataBinding flow.


svn path=/trunk/mcs/; revision=67403
2006-11-06 12:07:24 +00:00
Igor Zelmanovich d672afb4ef 2006-11-01 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: UpdateItem, DeleteItem.


svn path=/trunk/mcs/; revision=67210
2006-11-01 09:46:43 +00:00
Igor Zelmanovich 887380a240 2006-10-30 Igor Zelmanovich <[email protected]>
* FormFiew.cs: fixed: UpdateItem, InsertItem.


svn path=/trunk/mcs/; revision=67137
2006-10-30 14:37:27 +00:00
Igor Zelmanovich c3f7ec637b 2006-10-30 Igor Zelmanovich <[email protected]>
* FormFiew.cs: fixed: PageIndex, rendering.


svn path=/trunk/mcs/; revision=67131
2006-10-30 14:19:11 +00:00
Igor Zelmanovich e27043c7b6 2006-10-30 Igor Zelmanovich <[email protected]>
* FormViewTest.cs: removed NotWorking attributes
			

svn path=/trunk/mcs/; revision=67126
2006-10-30 13:37:09 +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 3b71f9b1ba 2006-10-23 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.


svn path=/trunk/mcs/; revision=66905
2006-10-23 15:26:14 +00:00
Merav Sudri 5e7a595295 Updating FormView Test
svn path=/trunk/mcs/; revision=66893
2006-10-23 09:07:36 +00:00
Igor Zelmanovich e96c740fac 2006-10-18 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: OnBubbleEvent returns true when event is handled.


svn path=/trunk/mcs/; revision=66790
2006-10-18 14:57:27 +00:00
Igor Zelmanovich 92a0db5946 2006-10-17 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: CreateDataSourceSelectArguments method.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66755
2006-10-17 16:50:08 +00:00
Igor Zelmanovich 6b322be935 2006-10-08 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: CurrentMode property.


svn path=/trunk/mcs/; revision=66410
2006-10-08 14:09:12 +00:00
Igor Zelmanovich 664094d178 2006-10-04 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* GridView.cs:
	* DetailsView.cs: 
	* PagerSettings.cs: 
	corrected pager rendering: Color style applied to A tag,
	Input type="image" used if ImageUrl is not empty.
		

svn path=/trunk/mcs/; revision=66222
2006-10-04 14:27:00 +00:00
Igor Zelmanovich 223a9f2a9e 2006-09-28 Igor Zelmanovich <[email protected]>
* FormViewTest.cs: removed NotWorking attributes, fixed tests
			

svn path=/trunk/mcs/; revision=66052
2006-09-28 14:57:30 +00:00
Igor Zelmanovich 37b0835adf 2006-09-28 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: OnBubbleEvent works properly
		

svn path=/trunk/mcs/; revision=66035
2006-09-28 14:17:47 +00:00
Igor Zelmanovich f93924f219 2006-09-28 Igor Zelmanovich <[email protected]>
* FormView.cs: removed NotWorking attributes
			

svn path=/trunk/mcs/; revision=66018
2006-09-28 09:24:39 +00:00
Andrew Skiba e96c905457 FormView.cs: Render compatibility with .Net
FormViewTest.cs: fixes for several tests

svn path=/trunk/mcs/; revision=63163
2006-07-30 15:29:30 +00:00
Andrew Skiba fa48b489b7 * FormViewTest.cs: fix few tests.
svn path=/trunk/mcs/; revision=63046
2006-07-27 15:33:48 +00:00
Andrew Skiba fbf931d904 visual studio ifdef
svn path=/trunk/mcs/; revision=63000
2006-07-26 16:19:27 +00:00
Merav Sudri efc5fb645e FormViewTest Update - Three postback tests were added
svn path=/trunk/mcs/; revision=62914
2006-07-24 13:11:08 +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
Konstantin Triger b34116d786 instantiate correct template when the bounding data source is empty
svn path=/trunk/mcs/; revision=62103
2006-06-28 04:55:56 +00:00
Konstantin Triger cd87023062 disabling setting out of range FormView.PageIndex
svn path=/trunk/mcs/; revision=62032
2006-06-25 09:15:36 +00:00
Andrew Skiba 5160ba326b NunitWeb test framework major API refactoring; downport to net 1.1
svn path=/trunk/mcs/; revision=61910
2006-06-21 15:57:20 +00:00
Andrew Skiba b70c6ba453 handle CssClass property in FormView
svn path=/trunk/mcs/; revision=61871
2006-06-20 08:43:16 +00:00
Konstantin Triger 42ad8b2c02 fix FormView.PageCount after data binding
svn path=/trunk/mcs/; revision=59837
2006-04-25 07:49:23 +00:00
Konstantin Triger 9c61d86aa0 ensure rebinding when FormView.PageIndex is called
svn path=/trunk/mcs/; revision=59688
2006-04-20 09:15:05 +00:00