100 Unit tests in Umbraco 4.1
This post was imported from FARMCode.org which has been discontinued. These posts now exist here as an archive. They may contain broken links and images.
Well, hopefully there’ll be even more before the final release of 4.1 but as of tonight, there’s an even 100 written and passing! Most of these have to do with the data layer as we’ve implemented all of the proper database constraints, keys and indexes for 4.1! Here’s the full list of tests for those interested: - Application_Create_New_User_Assign_Application_And_Delete_User
- Application_Make_New
- Application_Make_New_Assign_User_And_Delete
- ApplicationTree_Make_New_Then_Delete_App
- DataTypeDefinition_Assign_Data_Type_To_Doc_Type_Then_Create_Doc_And_Set_Value
- DataTypeDefinition_Assign_Data_Type_With_PreValues
- DataTypeDefinition_Make_New
- Dictionary_Attempt_Duplicate_Key
- Dictionary_Change_Key
- Dictionary_Contructor_Guid
- Dictionary_Contructor_Key
- Dictionary_Create_Add_Text_And_Delete
- Dictionary_Delete_Parent_With_Children
- Dictionary_Get_Top_Level_Items
- Dictionary_IsTopMostItem
- Dictionary_Parent_Child_Relationship
- Dictionary_ToXml
- Document_Assign_Domain
- Document_Copy
- Document_Copy_And_Relate
- Document_Delete_All_Docs_By_Document_Type
- Document_Delete_Heirarchy_Permanently
- Document_Empty_Recycle_Bin
- Document_Make_New
- Document_Make_New_And_Publish
- Document_Move
- Document_Publish_Then_UnPublish
- Document_Publish_With_Result
- Document_Publish_With_Subs
- Document_Regenerate_Previews
- Document_RePublish_All
- Document_Save_And_Publish_Then_Roll_Back
- Document_To_Preview_Xml
- Document_Undelete
- DocumentType_Add_Properties_To_Tab_Then_Delete_It
- DocumentType_Delete_Doc_Type_With_Content
- DocumentType_Delete_Doc_Type_With_Content_And_Children_Of_Different_Doc_Types
- DocumentType_Get_All
- DocumentType_Has_Children
- DocumentType_Make_New
- IOHelper_MapPathTestVDirTraversal
- Language_Delete_Default_Language
- Language_Delete_With_Assigned_Dictionary_Items
- Language_Delete_With_Assigned_Domain
- Language_Get_By_Culture_Code
- Language_GetAll
- Language_Make_Duplicate
- Language_Make_New
- Language_To_Xml
- Macro_Make_New
- Macro_Make_New_Add_Property
- Macro_Not_Found_Constructor
- MacroProperty_Not_Found_Constructor
- Media_Delete_All_Docs_By_Document_Type
- Media_Delete_Heirarchy_Permanently
- Media_Empty_Recycle_Bin
- Media_Make_New
- Media_Move
- Media_Undelete
- Media_Update_Data
- MediaType_Add_Properties_To_Tab_Then_Delete_It
- MediaType_Delete_Media_Type_With_Media_And_Children_Of_Diff_Media_Types
- MediaType_Get_All
- Member_Add_To_Group
- Member_Make_New
- MemberGroup_Add_Member_To_Group_And_Delete_Group
- MemberGroup_Make_New
- MembershipProvider_Create_User
- MembershipProvider_Create_User_Assign_New_Role
- MemberType_Delete_With_Assigned_Members
- MemberType_Make_New
- Notification_Assign_To_New_Node_Then_Delete_Node
- Notification_Assign_To_New_User_Then_Delete_User
- Notification_Make_New
- Permission_Assign_To_New_Node_Then_Delete_Node
- Permission_Assign_To_New_User_Then_Delete_User
- Permission_Make_New
- PropertyType_Make_New
- Relation_Make_New
- Relation_Relate_Docs_And_Delete_Parent
- StyleSheet_Make_New
- StyleSheet_Make_New_AddProperty
- Tag_Add_Tags_To_Node
- Tag_Make_New
- Tag_Make_New_Assign_Node_Delete_Node
- Task_Assign_To_New_Node_Delete_Node_And_Ensure_Tasks_Removed
- Task_Make_New_And_Close
- Task_Not_Found_Constructor
- TaskType_Make_Duplicate
- TaskType_Make_New_Assign_Tasks_And_Remove
- TaskType_Not_Found_Constructor1
- TaskType_Not_Found_Constructor2
- Template_Assign_To_Document_And_Delete
- Template_Make_New
- Template_Make_New_With_Master_And_Remove_Heirarchy_And_Delete
- User_Delete_Admin_Not_Allowed
- User_Make_New_Duplicate_Login
- User_Make_New_Override1
- User_Make_New_Override2
- User_Not_Found_Constructor
comments powered by Disqus