Added ObjectExtensionsTests, Added functionality for MVC to render any macro types (i.e. razor and xslt, etc..)

Adds UmbracoHelper as a property to the RenderViewPage for MVC. Tested rendering Xslt and Razor macros with and
without parameters and works well.
Next we need to get the RTE rendering with macros embedded in MVC.
This commit is contained in:
Shannon Deminick
2012-09-03 07:54:09 +07:00
parent 2fc0fe574b
commit c3747d70ce
7 changed files with 209 additions and 7 deletions

View File

@@ -1,11 +1,14 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Security;
using System.Text;
using System.Web.Mvc;
using NUnit.Framework;
using Umbraco.Core;
namespace Umbraco.Tests
{
[TestFixture]
[TestFixture]
public class StringExtensionsTests
{
[TestCase("Hello this is my string", " string", "Hello this is my")]