* [bcl] Remove AssertExtensions helper classes
Since we're on nunitlite now we can use the proper `Assert.Throws<>()`
instead and remove the helper class (which we actually duplicated!)
* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_09.aspx and
Test/WebPages/ListView_DynamicControl_09.aspx.cs
2009-09-15 Marek Habersack <[email protected]>
* FieldTemplateFactoryTest.cs: implemented tests for
BuildVirtualPath, GetFieldTemplateVirtualPath and PreprocessMode.
2009-09-15 Marek Habersack <[email protected]>
* MetaColumn.cs: DataTypeAttribtue created automatically for
string columns, must be of type MultilineText for long strings.
* FieldTemplateFactory.cs: implemented BuildVirtualPath,
CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode
and fixed implementation of TemplateFolderVirtualPath.
2009-09-15 Marek Habersack <[email protected]>
* DataTypeAttribute.cs: implemented GetDataTypeName
2009-09-15 Marek Habersack <[email protected]>
* ListView.cs: CreateChildControls calls EnsureDataBound only if
we're not in post-back and if data binding is required.
svn path=/trunk/mcs/; revision=141922
* DynamicControlTest.cs: added tests for ApplyFormatInEditMode,
Column, ConvertEmptyStringToNull, CssClass, DataField,
DataFormatString, FieldTemplate, Table, UIHint
2009-07-08 Marek Habersack <[email protected]>
* WebTest.cs: added new public property - TestBaseDir, to be used
by code which needs to access the files in the work dir.
2009-07-08 Marek Habersack <[email protected]>
* TestsSetup.cs: added the BuildPath helper method which converts
unix-style filesystem paths to the os-specific format.
svn path=/trunk/mcs/; revision=137568
* 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
* MetaModel.cs: implemented DynamicDataFolderVirtualPath
* DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
guessed at implementation of CreateHandler.
2009-06-27 Marek Habersack <[email protected]>
* MetaModelTest.cs: added test for DynamicDataFolderVirtualPath
* DynamicDataRouteHandlerTest.cs: implemented tests for
CreateHandler (one of them isn't working atm),
GetCustomVirtualPagePath, GetScaffoldVirtualPagePath,
GetRequestMetaTable, SetRequestMetaTable
2009-06-26 Marek Habersack <[email protected]>
* DynamicDataRouteTest.cs: MyDataContext3 is safely registered in
the fixture setup method.
Enabled the GetTableFromRouteData3 and GetRouteData tests - the
work fine now.
Added test for the RouteHandler property.
* DynamicDataRouteHandlerTest.cs: added tests for the constructor
and the Model property.
2009-06-26 Marek Habersack <[email protected]>
* MetaModel.cs: RegisterContextCore preserves already registered
tables.
* DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
route data from the routes collection (if the matching route
happened to be an instance of DynamicDataRoute it would initialize
its RouteHandler's Model property, which is not correct, according
to tests). Instead a new RouteData instance is created each time
we don't find any cached context.
* DynamicDataRoute.cs: the associated route handler is set its
Model property when we initialize for the first time.
GetRouteData checks whether route data returned by base class
relates to a table which exists in the current context. If no such
table exists, null is returned.
svn path=/trunk/mcs/; revision=137013
* RouteCollectionTest.cs, RouteTest.cs: added new tests for
GetVirtualPath
2009-06-25 Marek Habersack <[email protected]>
* PatternParser.cs: parameter name lookups must be
case-insensitive.
Null and empty (string) parameters are skipped when building query
part of the action path.
2009-06-25 Marek Habersack <[email protected]>
* LinqDataSource.cs: make ContextType not throw an exception when
ContextTypeName is not set, but rather return a null in that
case.
2009-06-25 Marek Habersack <[email protected]>
* MetaTableTest.cs: new GetVirtualPath tests.
* DynamicDataRouteTest.cs: added tests for route.Defaults
modifications on class init.
* DynamicDataRouteHandlerTest.cs: added
2009-06-25 Marek Habersack <[email protected]>
* MetaTable.cs: Fixes to make tests succeed.
* MetaModel.cs: added the GetDataFieldAttributes method for
retrieving attributes associated with data type/field.
Fixes to make tests succeed.
* MetaColumn.cs: refactoring - use
MetaModel.GetDataFieldAttributes instead of the local version.
* DynamicDataRouteHandler.cs: implemented GetRequestContext,
GetRequestMetaTable.
* DynamicDataRoute.cs: when the Action and Table properties are
set before one of GetVirtualPath or GetRouteData methods are
called for the first time, a check is made whether the Defaults
collection exists and whether it contains entries for Action and
Table. Initialization code makes sure those entries are inserted
into the dictionary in those cases.
svn path=/trunk/mcs/; revision=136875
* MetaTable.cs: implemented the DataContextType,
DataContextPropertyName properties and the ToString method.
* MetaColumn.cs: implemented the Scaffold, DisplayName,
SortExpression, UIHint properties and the ToString method.
* DynamicField.cs: implemented
* DynamicDataManager.cs: partially implemented RegisterControl.
Added internal AutoFieldGenerator class, used by RegisterControl
when dealing with GridView.
Implemented some properties.
* DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
* DynamicControl.cs: implemented parts of the class.
2009-04-29 Marek Habersack <[email protected]>
* DataBoundControl.cs: added InternalGetDataSource method, used by
DynamicData
2009-04-29 Marek Habersack <[email protected]>
* AssemblyInfo.cs: added InternalsVisibleTo for
System.Web.DynamicData
2009-04-29 Marek Habersack <[email protected]>
* Test/System.Web.DynamicData.ModelProviders/TableProviderTest.cs:
added
* System.Web.DynamicData_test.dll.sources: added
System.Web.DynamicData/DynamicDataManagerTest.cs,
System.Web.DynamicData/DynamicDataExtensionsTest.cs,
System.Web.DynamicData.ModelProviders/TableProviderTest.cs
* System.Web.DynamicData.dll.sources: added
System.Web.DynamicData.ModelProviders/DLinqAssociationProvider.cs
System.Web.DynamicData.ModelProviders/DLinqColumnProvider.cs
System.Web.DynamicData.ModelProviders/DLinqDataModelProvider.cs
System.Web.DynamicData.ModelProviders/DLinqTableProvider.cs and
removed
System.Web.DynamicData.ModelProviders/DLinqDataModelProviders.cs
2009-04-29 Marek Habersack <[email protected]>
* TableProvider.cs: implemented
* DLinqDataModelProvider.cs: renamed from
DLinqDataModelProviders.cs and moved some classes to separate
files.
* DLinqTableProvider.cs: moved to here from
DLinqDataModelProvider.cs
* DLinqColumnProvider.cs: moved to here from
DLinqDataModelProvider.cs
* DLinqAssociationProvider.cs: added
2009-04-29 Marek Habersack <[email protected]>
* DataBinder.cs: GetPropertyValue must throw also if propName is
empty.
2009-04-23 Marek Habersack <[email protected]>
* ContextConfiguration.cs: implemented all the methods and added a
parameterless constructor.
2009-04-23 Marek Habersack <[email protected]>
* System.Web.DynamicData_test.dll.sources: added
System.Web.DynamicData/ContextConfigurationTest.cs
* Makefile: tests need to be linked with
System.ComponentModel.DataAnnotations.dll
2009-04-23 Marek Habersack <[email protected]>
* AssociatedMetadataTypeTypeDescriptor.cs: added - doesn't add any
real functionality yet.
* AssociatedMetadataTypeTypeDescriptionProvider.cs: implemented
all the methods.
2009-04-23 Marek Habersack <[email protected]>
* System.ComponentModel.DataAnnotations_test.dll.sources: added
* System.ComponentModel.DataAnnotations.dll.sources: added
System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
* Makefile: enabled tests
2009-04-23 Marek Habersack <[email protected]>
* ContextConfigurationTest.cs: added
svn path=/trunk/mcs/; revision=133003
* DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs,
MetaModel.cs : ongoing implementation.
* DynamicDataRouteTest.cs, TestStubTypes.cs: new tests.
* MetaModelTest.cs : fixed test namespace and type aliases.
Now that this test does not always run first, remove run-order-
dependent assertions. Added some more assertions.
svn path=/trunk/mcs/; revision=116282