Commit Graph
3 Commits
Author SHA1 Message Date
Marek Habersack 7d2a8fcc9c 2009-07-03 Marek Habersack <[email protected]>
* Added some resources to WebPages - a test web page for
	DynamicControlTest and the required DynamicData scaffolding.

2009-07-03  Marek Habersack  <[email protected]>

	* Makefile: added more resources to the test assembly

2009-07-03  Marek Habersack  <[email protected]>

	* DynamicControlTest.cs: added

2009-07-03  Marek Habersack  <[email protected]>

	* DynamicDataContainerModelProvider.cs,
	DynamicDataContainerTableProvider.cs: are generic classes now.

2009-07-03  Marek Habersack  <[email protected]>

	* IDynamicDataContainer.cs: became a generic interface.

	* DynamicDataSource.cs; some reformatting.
	DynamicDataSourceView is a generic class now.

	* DynamicDataContainer.cs: IDynamicDataContainer is a generic
	interface now.

2009-07-03  Marek Habersack  <[email protected]>

	* TestsSetup.cs: custom WebTest setup for DynamicData

	* TestsBasePage.cs: a base class for all the web pages used by the
	tests.

	* MiscExtensions.cs: added some helper extensions for fishing out
	controls from control trees.

	* ITestDataContext.cs: GetTableData gets full set of query
	arguments.

2009-07-03  Marek Habersack  <[email protected]>

	* AssemblyInfo.cs: added. Necessary, because we need to set up
	WebTest environment and it is done via an assembly-level custom
	attribute.

svn path=/trunk/mcs/; revision=137369
2009-07-03 15:07:04 +00:00
Marek Habersack efcfa151e4 2009-06-17 Marek Habersack <[email protected]>
* MetaColumnTest.cs: added another data context.
    	Added tests for EntityTypeProperty, HtmlEncode, IsBinaryData,
    	IsCustomProperty, IsFloatingPoint, IsForeignKeyComponent,
    	IsGenerated, IsInteger, IsLongString, IsPrimaryKey, IsReadOnly,
    	IsString, MaxLength, Model, Name, NullDisplayText, Provider,
    	RequiredErrorMessage, Scaffold, Table, TypeCode, UIHint.

    2009-06-17  Marek Habersack  <[email protected]>

    	* DynamicDataStringLengthAttribute.cs: added

    	* DynamicDataContainerColumnProvider.cs: implemented
    	EntityTypeProperty, IsCustomProperty, IsGenerated, MaxLength.

    2009-06-17  Marek Habersack  <[email protected]>

    	* MetaTable.cs: fixed Scaffold implementation.
    	Added internal ScaffoldAllTables property.

    	* MetaColumn.cs: fixed TypeCode, MaxLength, Scaffold, UIHint
    	implementations.
    	Implemented IsLongString, IsBinaryData, IsReadOnly,
    	NullDisplayText, RequiredErrorMessage

    2009-06-17  Marek Habersack  <[email protected]>

    	* System.Web.DynamicData_test.dll.sources: added
    	Common/FooNoScaffold.cs, Common/TestDataContext2.cs,
    	ModelProviders/DynamicDataStringLengthAttribute.cs

    2009-06-15  Marek Habersack  <[email protected]>

    	* MetaColumnTest.cs: added

    2009-06-15  Marek Habersack  <[email protected]>

    	* TestDataContext.cs: added new tables

    	* BazColumnAttributes.cs, BazDataTypeDefaultTypes.cs,
    	FooWithMetadataType.cs: added

    2009-06-15  Marek Habersack  <[email protected]>

    	* MetaColumn.cs: implemented ApplyFormatInEditMode, Attributes,
    	ConvertEmptyStringToNull, DataFormatString, DataTypeAttribute,
    	DefaultValue, Description, DisplayName

    2009-06-15  Marek Habersack  <[email protected]>

    	* MetaTable.cs: use MetaModel.GetTypeDescriptor to retrieve
    	associated entity type attributes.

    	* MetaModel.cs: implemented registration of type metadata
    	cache. Metadata is provided by a set of TypeDescriptionProvider
    	instances (if ContextConfig is present for given model provider)
    	or by default type description provider (note that this
    	functionality is not implemented in
    	System.ComponentModel.TypeDescriptor yet!).

svn path=/trunk/mcs/; revision=136272
2009-06-17 00:08:11 +00:00
Marek Habersack 5776009840 2009-06-12 Marek Habersack <[email protected]>
* MetaTableTest.cs: tests use single data model provider now.
	Implemented tests for IsReadOnly, ListActionPath, Model, Name,
	Provider, Scaffold, SortColumn, SortDescending, ToString.
	Fixed ForeignKeyColumnNames test.

2009-06-12  Marek Habersack  <[email protected]>

	* TestDataContainer.cs: GetTables uses an object of the associated
	data type to create table collection.

	* TestDataColumn.cs: foreign key columns are determined using a
	custom attribute instead of a name now. This makes it possible to
	specify which table.column they are associated with.

	* FooDisplayColumnAttribute.cs: changed sortDescending to true in
	class attributes.

	* AssociatedBar.cs, AssociatedFoo.cs, FooEmptySortColumn.cs,
	FooMisnamedSortColumn.cs, FooNoScaffold.cs, FooReadOnly.cs,
	ITestDataContext.cs, TestDataContext.cs: added

2009-06-12  Marek Habersack  <[email protected]>

	* MetaTable.cs: implemented correct detection of foreign key
	columns.
	Implemented IsReadOnly, SortColumn, SortDescending.

svn path=/trunk/mcs/; revision=135997
2009-06-12 13:14:49 +00:00