Changeset 268
- Timestamp:
- 09/02/08 16:32:26 (3 months ago)
- Files:
-
- trunk/Source/Specifications/Machine.Specifications.Tests/AssemblyContext.cs (added)
- trunk/Source/Specifications/Machine.Specifications.Tests/Explorers/AssemblyExplorerTests.cs (modified) (1 diff)
- trunk/Source/Specifications/Machine.Specifications.Tests/Machine.Specifications.Tests.csproj (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Specifications/Machine.Specifications.Tests/Explorers/AssemblyExplorerTests.cs
r157 r268 148 148 } 149 149 } 150 151 [TestFixture] 152 public class AssemblyExplorer_FindAssemblyContextsIn_WithinAnAssembly : TestsFor<AssemblyExplorer> 153 { 154 private List<IAssemblyContext> assemblyContexts; 155 156 public override void BeforeEachTest() 157 { 158 var assembly = Assembly.GetExecutingAssembly(); 159 assemblyContexts = new List<IAssemblyContext>(Target.FindAssemblyContextsIn(assembly)); 160 } 161 162 [Test] 163 public void ShouldHaveOneAssemblyContext() 164 { 165 assemblyContexts.Count.ShouldEqual(1); 166 } 167 168 } 150 169 } trunk/Source/Specifications/Machine.Specifications.Tests/Machine.Specifications.Tests.csproj
r158 r268 4 4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 5 5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 6 <ProductVersion>9.0. 21022</ProductVersion>6 <ProductVersion>9.0.30729</ProductVersion> 7 7 <SchemaVersion>2.0</SchemaVersion> 8 8 <ProjectGuid>{FE10826D-F2C7-4FF3-A135-9EA9EF2C9CB4}</ProjectGuid> … … 55 55 </ItemGroup> 56 56 <ItemGroup> 57 <Compile Include="AssemblyContext.cs" /> 57 58 <Compile Include="ExampleSpecifications.cs" /> 58 59 <Compile Include="Explorers\AssemblyExplorerTests.cs" />