Working with unit tests and making a few corrections around ContentTypes.

This commit is contained in:
Morten Christensen
2012-11-30 09:34:09 -01:00
parent 2f83e5ba31
commit 152c8e810d
25 changed files with 362 additions and 157 deletions

View File

@@ -1,13 +1,19 @@
using Umbraco.Tests.CodeFirst.Attributes;
using umbraco.editorControls.textfield;
using umbraco.editorControls.textfieldmultiple;
namespace Umbraco.Tests.CodeFirst.TestModels.Composition
{
public class Meta : IMeta
public class Meta : ContentTypeBase, IMeta
{
[PropertyType(typeof(TextFieldDataType), PropertyGroup = "Content")]
public string MetaKeywords { get; set; }
[PropertyType(typeof(textfieldMultipleDataType))]
public string MetaDescription { get; set; }
}
[Alias("meta", Name = "Meta")]
[Mixin(typeof(Meta))]
public interface IMeta
{}
}