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 Habersack
d7ae726e35
[asp.net] HtmlForum.Name rendering updates + test updates
2011-03-25 22:48:22 +01:00
Marek Habersack
5d3c9886fe
[asp.net] Fix for bug #662918 . Do not create the HtmlTitle child control for HtmlHead if <title> wasn't used in the page code.
2011-01-11 23:19:57 +01:00
Marek Safar
d82dda826c
Fixed more missing protected internal modifiers
2011-01-10 08:45:01 +00:00
Marek Habersack
b5de6386ee
2010-07-09 Marek Habersack <[email protected] >
...
* HtmlInputButton.cs: if ServerClick handler is found, do NOT
attribute-encode the onclick attribute.
svn path=/trunk/mcs/; revision=160185
2010-07-10 00:24:59 +00:00
Marek Habersack
91eeb59971
2010-06-21 Marek Habersack <[email protected] >
...
* HtmlControl.cs: PreProcessRelativeReference deos not
atribute-encode the attribute value. Fixes bug #596430
2010-06-21 Marek Habersack <[email protected] >
* HtmlImageTest.cs: fixed an invalid test.
svn path=/trunk/mcs/; revision=159250
2010-06-21 12:31:12 +00:00
Raja R Harinath
bccd4d4e3a
* HtmlFormTest.cs: Derive from SystemWebTestShim.Page to make
...
explicit the dependence on the internals of the Page class.
svn path=/trunk/mcs/; revision=137436
2009-07-06 18:02:16 +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
Marek Habersack
f078cd6349
2008-11-07 Marek Habersack <[email protected] >
...
* HtmlFormTest.cs: added a test for the undocumented Action
property.
svn path=/trunk/mcs/; revision=118211
2008-11-07 20:05:36 +00:00
Christian Hergert
3eb3075f11
2008-10-07 Christian Hergert <[email protected] >
...
* System.Web.UI.HtmlControls/HtmlImage.cs: Do not render the src
attribute if it is null or empty. An empty src attribute makes
browsers download the current page url as the url of the image.
* Test/System.Web.UI.HtmlControls/HtmlImageTest.cs: Add test to
make sure the src attribute is not rendered when it is empty.
svn path=/trunk/mcs/; revision=115158
2008-10-07 23:41:53 +00:00
Dean Brettle
382be2e62f
++ System.Web.UI.HtmlControls/ChangeLog (working copy)
...
* HtmlControl.cs (PreProcessRelativeReference),
HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
Encode attributes that could contain HTML special chars.
* HtmlSelect (RenderChildren): HTML-encode option text.
++ Test/System.Web.UI.HtmlControls/ChangeLog (working copy)
* HtmlInputButtonTest.cs, HtmlImageTest.cs, HtmlFormTest.cs,
HtmlInputRadioButtonTest.cs, HtmlSelectTest.cs: Added tests
for HTML-encoded of attributes.
svn path=/trunk/mcs/; revision=109349
2008-07-31 14:34:51 +00:00
Gert Driesen
105bb93866
* HtmlAnchor.cs: Do not render empty name, target or title attribute.
...
Removed extra check for target attribute in RenderAttributes. Use
string.Empty instead of "", and check string's Length instead of
comparison with "" or string.Empty. Minor code formatting.
* HtmlAnchorTest.cs: Added RenderAttributes tests for empty or null
HRef, Name, Target and Title.
svn path=/trunk/mcs/; revision=105270
2008-06-08 21:11:28 +00:00
Igor Zelmanovich
0d8e7654c7
2008-05-04 Igor Zelmanovich <[email protected] >
...
* HtmlInputButtonTest.cs: use HtmlDiff properly.
svn path=/trunk/mcs/; revision=102467
2008-05-04 14:53:55 +00:00
Noam Lampert
80dd505236
Fixes for Java compilations:
...
1. Upgrade project/solution files to visual studio 2008
2. In Grasshopper, the InternalVisible attribute in System.Web doesn't work, so need to compile without using the internals of System.Web.
svn path=/trunk/mcs/; revision=100539
2008-04-13 07:44:03 +00:00
Marek Habersack
7876e9fdc1
2008-04-03 Marek Habersack <[email protected] >
...
* DataListTest.cs: added test for bug #376519
(SelectedValue_SelectedIndex
2008-04-03 Marek Habersack <[email protected] >
* DataList.cs: use the value of SelectedIndex, not selectedIndex,
to return the key value in the SelectedValue property. Fixes bug
#376519 . Patch from Sergey Kuleshov <[email protected] >, thanks
2008-04-03 Marek Habersack <[email protected] >
* HtmlFormTest.cs: indirect test for bug #376352 is 2.0+ only.
svn path=/trunk/mcs/; revision=99704
2008-04-02 22:53:23 +00:00
Marek Habersack
8314f68b84
2008-04-02 Marek Habersack <[email protected] >
...
* HtmlFormTest.cs: added an indirect test for bug #376352
(HttpRequest.QueryStringRaw internal property) - Mono only.
2008-04-02 Marek Habersack <[email protected] >
* Page.cs: make SetContext internal (used from tests).
svn path=/trunk/mcs/; revision=99694
2008-04-02 21:29:36 +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
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
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
Adar Wesley
4f7562ef6f
HtmlSelectTest.cs: updated tests to use HtmlDiff
...
svn path=/trunk/mcs/; revision=70472
2007-01-04 13:00:44 +00:00
Igor Zelmanovich
92574d4e3a
2006-11-13 Igor Zelmanovich <[email protected] >
...
* HtmlContainerControl.cs: fixed: InnerHtml property
svn path=/trunk/mcs/; revision=67743
2006-11-13 08:35:05 +00:00
Igor Zelmanovich
abd1c495e4
fix directive
...
svn path=/trunk/mcs/; revision=67446
2006-11-07 12:27:48 +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
Igor Zelmanovich
9e4ee4e774
fix directive
...
svn path=/trunk/mcs/; revision=67266
2006-11-02 13:42:54 +00:00
Yoni Klain
7a6090166e
added a NotWorking category attribute for tests that pass on .NET and fail on mono.
...
svn path=/trunk/mcs/; revision=67260
2006-11-02 09:11:11 +00:00
Yoni Klain
d6560d7b46
Added a NotDotNet category attribute for tests that pass on mono and do not pass on .NET, yet the difference in behavior is reasonable.
...
svn path=/trunk/mcs/; revision=67212
2006-11-01 13:07:32 +00:00
Igor Zelmanovich
03f6a0761b
* HtmlAnchor.cs:
...
implemented CausesValidation and ValidationGroup properties
svn path=/trunk/mcs/; revision=65523
2006-09-17 08:50:05 +00:00
Andrew Skiba
442d12fd20
additional asserts for a testcase
...
svn path=/trunk/mcs/; revision=62396
2006-07-10 14:01:32 +00:00
Gonzalo Paniagua Javier
656880e15b
2006-04-21 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlInputRadioButtonTest.cs: added test for bug #78101 .
svn path=/trunk/mcs/; revision=59769
2006-04-21 18:49:53 +00:00
Gonzalo Paniagua Javier
1bf800f4dd
2005-11-28 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlTextAreaTest.cs: add new test for 'Name'.
svn path=/trunk/mcs/; revision=53595
2005-11-28 22:06:10 +00:00
Gonzalo Paniagua Javier
1457b748b9
2005-11-28 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlTableTest.cs: remove white-space characters when comparing
the output.
svn path=/trunk/mcs/; revision=53592
2005-11-28 21:47:25 +00:00
Gonzalo Paniagua Javier
920315e488
2005-11-21 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlInputButtonTest.cs: more tests for 'onclick'.
svn path=/trunk/mcs/; revision=53315
2005-11-21 18:39:12 +00:00
Sebastien Pouliot
e48d91b092
Make sure that all CAS tests are ignored if the security manager is off
...
svn path=/trunk/mcs/; revision=51421
2005-10-07 17:52:19 +00:00
Gonzalo Paniagua Javier
5afe3848c8
2005-09-29 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlFormTest.cs: Trim() the rendered form when comparing (\n vs \r\n).
svn path=/trunk/mcs/; revision=50985
2005-09-29 05:49:06 +00:00
Gonzalo Paniagua Javier
4053dadeea
2005-09-19 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlInputButtonTest.cs: make sure the onclick attribute is rendered
when we have a ServerClick event registered.
svn path=/trunk/mcs/; revision=50257
2005-09-19 21:01:20 +00:00
Sebastien Pouliot
b5493e7317
2005-09-19 Sebastien Pouliot <[email protected] >
...
* HtmlAnchorCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlAnchorTest.cs: RaisePostBackEvent now throws a NRE under 2.0 RC.
* HtmlButtonCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlContainerControlCas.cs: New. CAS unit tests.
* HtmlFormCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlFormTest.cs: Fixed rendering output under 2.0 RC.
* HtmlImageCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputButtonCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputButtonTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputControlCas.cs: New. CAS unit tests.
* HtmlInputControlTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputCheckBoxCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputCheckBoxTest.cs: Fixed attribute count for 2.0 RC (which is
now identical to 1.x results).
* HtmlInputFileCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputFileTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputHiddenCas.cs: Fixed attribute count for 2.0 RC.
* HtmlInputPasswordCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputPasswordTest.cs: Adjusted tests as 2.0 RC removed the
ctor(string).
* HtmlInputRadioButtonCas.cs: Fixed attribute count for 2.0 RC.
* HtmlInputRadioButtonTest.cs: Added "normal" unit tests execution
under Deny Unrestricted.
* HtmlInputResetCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputResetTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputSubmitCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputSubmitTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputTextCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputTextTest.cs: Fixed attribute count for 2.0 RC.
* HtmlLinkCas.cs: New. CAS unit tests.
* HtmlMetaCas.cs: New. CAS unit tests.
* HtmlMetaTest.cs: Fixed rendering for 2.0 RC (tag ending).
* HtmlSelectCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTableCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTableCellCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTableRowCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTextAreaCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50250
2005-09-19 18:12:27 +00:00
Sebastien Pouliot
06a5f1498e
2005-09-13 Sebastien Pouliot <[email protected] >
...
* HtmlInputTextTest.cs: Fix expected value for LoadPostData (in the
cases where MS returns a NullReferenceException).
svn path=/trunk/mcs/; revision=50035
2005-09-14 12:25:43 +00:00
Chris Toshok
99fce0aea1
2005-09-11 Chris Toshok <[email protected] >
...
* HtmlInputFileTest.cs (Attribute_Count): fix for 2.0.
svn path=/trunk/mcs/; revision=49916
2005-09-11 17:36:59 +00:00
Chris Toshok
f879477e6a
2005-09-11 Chris Toshok <[email protected] >
...
* HtmlInputFileTest.cs: new tests.
svn path=/trunk/mcs/; revision=49912
2005-09-11 17:07:18 +00:00
Chris Toshok
8ceb815cec
2005-09-09 Chris Toshok <[email protected] >
...
* HtmlFormTest.cs: Add test for RenderChildren.
svn path=/trunk/mcs/; revision=49827
2005-09-09 20:12:20 +00:00
Chris Toshok
f9ca36cf35
2005-09-09 Chris Toshok <[email protected] >
...
* HtmlInputButtonTest.cs (RenderAttributes): add in
CausesValidation and ValidationGroup here.
svn path=/trunk/mcs/; revision=49821
2005-09-09 19:21:08 +00:00
Sebastien Pouliot
11961c0c13
2005-09-09 Sebastien Pouliot <[email protected] >
...
* HtmlTableRowTest.cs: Added tests for InnerHtml and InnerText setters
* HtmlTableTest.cs: Added tests for InnerHtml and InnerText setters
svn path=/trunk/mcs/; revision=49796
2005-09-09 12:46:27 +00:00
Chris Toshok
39a2dee980
2005-09-07 Chris Toshok <[email protected] >
...
* HtmlFormTest.cs: more tests to get at the root of the confusion
that is the Name property. Also, copy over Gonzalo's
Name_InsideNaming from HtmlInputControlTest.cs here.
svn path=/trunk/mcs/; revision=49667
2005-09-07 22:01:26 +00:00
Gonzalo Paniagua Javier
72476c333d
2005-09-07 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlInputControlTest.cs: new tests for the case when the control is
inside a different naming container.
svn path=/trunk/mcs/; revision=49655
2005-09-07 18:51:14 +00:00
Chris Toshok
480716a7ab
2005-09-06 Chris Toshok <[email protected] >
...
* HtmlLinkTest.cs: add empty render test.
* HtmlMetaTest.cs: same.
svn path=/trunk/mcs/; revision=49582
2005-09-06 21:40:54 +00:00
Chris Toshok
76e822061b
2005-09-06 Chris Toshok <[email protected] >
...
* HtmlLinkTest.cs: new tests.
* HtmlMetaTest.cs: new tests.
svn path=/trunk/mcs/; revision=49578
2005-09-06 21:23:56 +00:00
Chris Toshok
b980355ee7
2005-09-05 Chris Toshok <[email protected] >
...
* HtmlFormTest.cs: add some more tests to make figure out the
property spot to be storing some of these attributes.
svn path=/trunk/mcs/; revision=49509
2005-09-05 20:26:34 +00:00
Chris Toshok
3cdd6fbd6e
add check to see that HtmlInputReset isn't setting base.CausesValidation or base.ValidationGroup to something else
...
svn path=/trunk/mcs/; revision=49351
2005-09-02 15:41:00 +00:00
Sebastien Pouliot
7e157b09ef
2005-09-01 Sebastien Pouliot <[email protected] >
...
* HtmlAnchorCas.cs, HtmlButtonCas.cs, HtmlEmptyTagControlBuilderCas.cs,
HtmlFormCas.cs, HtmlGenericControlCas.cs, HtmlHeadBuilderCas.cs,
HtmlHeadCas.cs, HtmlImageCas.cs, HtmlInputButtonCas.cs,
HtmlInputCheckBoxCas.cs, HtmlInputFileCas.cs, HtmlInputHiddenCas.cs,
HtmlInputImageCas.cs, HtmlInputPasswordCas.cs,
HtmlInputRadioButtonCas.cs, HtmlInputResetCas.cs,
HtmlInputSubmitCas.cs, HtmlInputTextCas.cs, HtmlSelectBuilderCas.cs,
HtmlSelectCas.cs, HtmlTableCas.cs, HtmlTableCellCas.cs.
HtmlTableRowCas.cs, HtmlTitleCas.cs: New. CAS unit tests to check for
AspNetHostingPermission Level.
svn path=/trunk/mcs/; revision=49298
2005-09-01 21:23:27 +00:00
Chris Toshok
83ff30ba3a
2005-08-29 Chris Toshok <[email protected] >
...
* HtmlInputSubmitTest.cs: new, base-level tests.
* HtmlInputButtonTest.cs: add CausesValidation/ValidationGroup
view state tests.
svn path=/trunk/mcs/; revision=49076
2005-08-29 18:05:53 +00:00