Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

9 tests failing #5

Open
togakangaroo opened this issue Aug 25, 2011 · 0 comments
Open

9 tests failing #5

togakangaroo opened this issue Aug 25, 2011 · 0 comments

Comments

@togakangaroo
Copy link

------ Test started: Assembly: Docu.Tests.dll ------

when the HtmlGenerator is told to convert a template that uses the assemblies collection to html
» should output the assembly value

when the HtmlGenerator is told to convert a template that uses the namespaces collection to html
» should output the namespace value

when the HtmlGenerator is told to convert a template that uses the namespace accessor to html
» should output the namespace value

when the HtmlGenerator is told to convert a template that uses the namespaces collection with linq to html
» should output the namespace value

when the HtmlGenerator is told to convert a template that uses the summary of the type accessor to html
» should output the summary content (FAIL)

when the HtmlGenerator is told to convert a template that uses method overloads to html
» should output the summary content (FAIL)

when the HtmlGenerator is told to convert a template that uses a method return type to html
» should output the summary content

when the HtmlGenerator is told to convert a template that uses a property to html
» should output the summary content

when a top level view is asked to resolve a path relative to the current level
» should use the original path

when a top level view is asked to resolve a path relative to the output root
» should use the original path without the prefix

when a one level deep view is asked to resolve a path relative to the current level
» should use the relative path without the prefix

when a one level deep view is asked to resolve a path relative to the output root
» should use the relative path without the prefix

when a two level deep view is asked to resolve a path relative to the output root
» should use the relative path without the prefix

when a two level deep view is asked to resolve a two level deep path relative to the output root with the same sub directory
» should use the relative path without the prefix

when a two level deep view is asked to resolve a two level deep path relative to the output root with a different sub directory
» should use the relative path without the prefix

when the HtmlOutputFormatter is told to format a parameter reference
» should output the parameter reference in a var tag

when the HtmlOutputFormatter is told to format a definition list
» should wrap the definition list in a dl tag
» should wrap each item term in a dt tag (FAIL)
» should wrap each item definition in a dd tag (FAIL)

when the HtmlOutputFormatter is told to format a numbered list
» should wrap the number list in a ol tag
» should wrap each item in a li tag (FAIL)

when the HtmlOutputFormatter is told to format a bullet list
» should wrap the number list in a ul tag
» should wrap each item in a li tag (FAIL)

when the HtmlOutputFormatter is told to format a table
» should wrap the number list in a table tag
» should wrap each item term in a td tag (FAIL)
» should wrap each item definition in a td tag (FAIL)
» should wrap each item in a tr tag (FAIL)

when the HtmlOutputFormatter is told to format a referencable that's a type
» should output the type name in an anchor tag
» should generate the url for the type

when the HtmlOutputFormatter is told to format a referencable that's a method
» should output the method name in an anchor tag
» should generate the url for the method

when the HtmlOutputFormatter is told to format a referencable that's a property
» should output the method name in an anchor tag
» should generate the url for the property

when the HtmlOutputFormatter is told to format a referencable that's a field
» should output the method name in an anchor tag
» should generate the url for the property

when the HtmlOutputFormatter is told to format a referencable that's an event
» should output the method name in an anchor tag
» should generate the url for the property

TestCase 'should output the summary content' failed: 
    NUnit.Framework.AssertionException:   Expected string length 7 but was 8. Strings differ at index 7.
      Expected: "summary"
      But was:  "summary "
      ------------------^

    at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression, String message, Object[] args)
    at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression)
    W:\docu\src\Docu.Tests\Extensions.cs(70,0): at Docu.Tests.Extensions.ShouldEqual[T](T actual, T expected)
    Output\HtmlGenerationTests.cs(72,0): at Docu.Tests.Output.when_the_HtmlGenerator_is_told_to_convert_a_template_that_uses_the_summary_of_the_type_accessor_to_html.<.ctor>b__3()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should output the summary content' failed: 
    NUnit.Framework.AssertionException:   Expected string length 26 but was 58. Strings differ at index 15.
      Expected: "Method()Method(String one)"
      But was:  "Method()Method(<a href="System/String.htm">String</a> one)"
      --------------------------^

    at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression, String message, Object[] args)
    at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression)
    W:\docu\src\Docu.Tests\Extensions.cs(70,0): at Docu.Tests.Extensions.ShouldEqual[T](T actual, T expected)
    Output\HtmlGenerationTests.cs(96,0): at Docu.Tests.Output.when_the_HtmlGenerator_is_told_to_convert_a_template_that_uses_method_overloads_to_html.<.ctor>b__4()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item term in a dt tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<dt>a</dt>" but is "<dl><dt>a </dt><dd>first </dd><dt>b </dt><dd>second </dd></dl>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(41,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_definition_list.<.ctor>b__2()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item definition in a dd tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<dd>first</dd>" but is "<dl><dt>a </dt><dd>first </dd><dt>b </dt><dd>second </dd></dl>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(47,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_definition_list.<.ctor>b__3()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item in a li tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<li>a</li>" but is "<ol><li>a </li><li>b </li></ol>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(72,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_numbered_list.<.ctor>b__2()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item in a li tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<li>a</li>" but is "<ul><li>a </li><li>b </li></ul>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(97,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_bullet_list.<.ctor>b__2()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item term in a td tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<td>a</td>" but is "<table><tr><td>a </td><td>first </td></tr><tr><td>b </td><td>second </td></tr></table>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(122,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_table.<.ctor>b__2()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item definition in a td tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<td>first</td>" but is "<table><tr><td>a </td><td>first </td></tr><tr><td>b </td><td>second </td></tr></table>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(128,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_table.<.ctor>b__3()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()

TestCase 'should wrap each item in a tr tag' failed: 
    Machine.Specifications.SpecificationException: Should contain "<tr><td>a</td><td>first</td></tr>" but is "<table><tr><td>a </td><td>first </td></tr><tr><td>b </td><td>second </td></tr></table>"
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\ExtensionMethods.cs(368,0): at Machine.Specifications.ShouldExtensionMethods.ShouldContain(String actual, String expected)
    Output\Rendering\HtmlOutputFormatterSpecs.cs(134,0): at Docu.Tests.Output.Rendering.when_the_HtmlOutputFormatter_is_told_to_format_a_table.<.ctor>b__4()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(75,0): at Machine.Specifications.Model.Specification.InvokeSpecificationField()
    c:\Users\Administrator\dev\machine.specifications\Source\Machine.Specifications\Model\Specification.cs(53,0): at Machine.Specifications.Model.Specification.Verify()


28 passed, 9 failed, 0 skipped, took 6.70 seconds (Machine.Specifications 0.3.0).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant