Sha256: ac185056d013eb515f1014547614c23f041d40875138b147c93ea75db99659db

Contents?: true

Size: 1006 Bytes

Versions: 1

Compression:

Stored size: 1006 Bytes

Contents

<?xml version="1.0"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Test Method with ExpectedException</Title>
      <Author>MbUnit</Author>
      <Description>Expansion snippet for a Test method with and expected exception</Description>
      <Shortcut>testexpectedexception</Shortcut>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>name</ID>
          <ToolTip>TestName</ToolTip>
          <Default>Test</Default>
        </Literal>
        <Literal>
          <ID>type</ID>
          <ToolTip>Expected Exception Type</ToolTip>
        </Literal>
      </Declarations>
      <Code Language="VB"><![CDATA[		<Test(),ExpectedException(GetType($type$Exception))> _
        Public Sub $name$()

		End Sub
]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mbunit2-2.4.2.355.20100801 docs/extras/Snippets/testexpectedexception.snippet