Skip to content

Commit

Permalink
Adding in class diagrams for discovery/exploration
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBarcz committed Sep 13, 2009
1 parent 30e20d1 commit 8f8541f
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 0 deletions.
186 changes: 186 additions & 0 deletions Rhino.Mocks/Diagrams/Constraints.cd
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="Rhino.Mocks.Constraints.AbstractConstraint" Collapsed="true">
<Position X="61.25" Y="6.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAABACAAAAAAAAAJAAAABAIAAAAAA=</HashCode>
<FileName>Constraints\AbstractConstraint.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.PublicFieldIs" Collapsed="true">
<Position X="54.5" Y="9.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.PublicFieldConstraint" Collapsed="true">
<Position X="54.5" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>CAAAAAAAIAAAAAAAAAAAAAAAAgAAIAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.PropertyIs" Collapsed="true">
<Position X="70.25" Y="9.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.PropertyConstraint" Collapsed="true">
<Position X="70.25" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>CEAAAAAAIAAAAAAAAAAAAAAAAAAAIAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.TypeOf" Collapsed="true">
<Position X="79.25" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAAAAAAAAAABAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Same" Collapsed="true">
<Position X="36.5" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIACAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.PredicateConstraint&lt;T&gt;" Collapsed="true">
<Position X="45.5" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAQAAAIAAAAABAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.LambdaConstraint" Collapsed="true">
<Position X="56.75" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAgAAAAAAAAAAAAAAAAAAAAAAAAAIAgAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.CollectionEqual" Collapsed="true">
<Position X="63.5" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAEAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.OneOf" Collapsed="true">
<Position X="72.5" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAEAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.IsIn" Collapsed="true">
<Position X="81.5" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAgAIAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.CollectionCount" Collapsed="true">
<Position X="38.75" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAEAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.ListElement" Collapsed="true">
<Position X="47.75" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAEAAAAAIAAAAAAAAAAgAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.KeyedListElement&lt;T&gt;" Collapsed="true">
<Position X="59" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAEAAAAAIAAAAAAAAACAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.ContainsAll" Collapsed="true">
<Position X="65.75" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAgAAAAIAAAAEAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Or" Collapsed="true">
<Position X="74.75" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAAAAAAAAACAAAAAAABAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Not" Collapsed="true">
<Position X="83.75" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAABAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.And" Collapsed="true">
<Position X="41" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAAAAAAAAACAAAAAAABAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Like" Collapsed="true">
<Position X="50" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAQAAAAAAAAAEAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Contains" Collapsed="true">
<Position X="61.25" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAIAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.EndsWith" Collapsed="true">
<Position X="68" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAACIAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.StartsWith" Collapsed="true">
<Position X="77" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Equal" Collapsed="true">
<Position X="86" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIACAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.Anything" Collapsed="true">
<Position X="43.25" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Constraints.ComparingConstraint" Collapsed="true">
<Position X="52.25" Y="7.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAAAAAAAEAAAAAIAAAAQAAAAAIAAAAAA=</HashCode>
<FileName>Constraints\Constraints.cs</FileName>
</TypeIdentifier>
</Class>
<Font Name="Tahoma" Size="8.25" />
</ClassDiagram>
47 changes: 47 additions & 0 deletions Rhino.Mocks/Diagrams/Expectations.cd
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="Rhino.Mocks.Expectations.ConstraintsExpectation" Collapsed="true">
<Position X="6" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AQAAAAAAAIAAAAAAgAAAAAAAAAAAAKAAAAAQAAAAAEA=</HashCode>
<FileName>Expectations\ConstraintsExpectation.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Expectations.AbstractExpectation" Collapsed="true">
<Position X="9.25" Y="1" Width="1.5" />
<TypeIdentifier>
<HashCode>BQAABAAYAoYgCLBAgAAoQCAEAgIAAIAAIABQPBQCJDQ=</HashCode>
<FileName>Expectations\AbstractExpectation.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="Rhino.Mocks.Expectations.AnyArgsExpectation" Collapsed="true">
<Position X="12.75" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AQAAAAAAAIAAAAAAgAAAAAAAAIAAAIAAAAAAAAAAAAA=</HashCode>
<FileName>Expectations\AnyArgsExpectation.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Expectations.ArgsEqualExpectation" Collapsed="true">
<Position X="8.25" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AQAAAAAAAIAAAAAAgAAAAAAAAAAAEIAgAAAAIAAAAAA=</HashCode>
<FileName>Expectations\ArgsEqualExpectation.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Expectations.CallbackExpectation" Collapsed="true">
<Position X="10.5" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AQBAAAAAAIAAAAAAgAAAAAAAAAAAAIAAAEAAAAAAAAA=</HashCode>
<FileName>Expectations\CallbackExpectation.cs</FileName>
</TypeIdentifier>
</Class>
<Interface Name="Rhino.Mocks.Interfaces.IExpectation" Collapsed="true">
<Position X="6.25" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AQAABAAYAAIAAABAAAAoAAAEAgAAAAAAIABALAQCABA=</HashCode>
<FileName>Interfaces\IExpectation.cs</FileName>
</TypeIdentifier>
</Interface>
<Font Name="Tahoma" Size="8.25" />
</ClassDiagram>
33 changes: 33 additions & 0 deletions Rhino.Mocks/Diagrams/MethodRecorders.cd
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="Rhino.Mocks.MethodRecorders.MethodRecorderBase" Collapsed="true">
<Position X="5" Y="1.25" Width="1.5" />
<TypeIdentifier>
<HashCode>EACIEAIIAAAAAoMAACAIEAQCEgQGAAkBFACIEAgAJQA=</HashCode>
<FileName>MethodRecorders\MethodRecorderBase.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder" Collapsed="true">
<Position X="5" Y="2.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AACIAQAAEAAAAAAAAAAIBAQAEAAEAAABAACIEAgAAAA=</HashCode>
<FileName>MethodRecorders\UnorderedMethodRecorder.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.MethodRecorders.OrderedMethodRecorder" Collapsed="true">
<Position X="5" Y="4" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAIAAAAAAAAAAAAAAAAAAAAEAAAAAAAAACAAAAAAAA=</HashCode>
<FileName>MethodRecorders\OrderedMethodRecorder.cs</FileName>
</TypeIdentifier>
</Class>
<Interface Name="Rhino.Mocks.Interfaces.IMethodRecorder" Collapsed="true">
<Position X="2.5" Y="1.25" Width="1.5" />
<TypeIdentifier>
<HashCode>EAAAEAIIAAAAAAEAACAAEAACEgQAAAEBBACAAAAABQA=</HashCode>
<FileName>Interfaces\IMethodRecorder.cs</FileName>
</TypeIdentifier>
</Interface>
<Font Name="Tahoma" Size="8.25" />
</ClassDiagram>
77 changes: 77 additions & 0 deletions Rhino.Mocks/Diagrams/MockStates.cd
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="Rhino.Mocks.Impl.RecordMockState" Collapsed="true">
<Position X="3.5" Y="3" Width="1.5" />
<TypeIdentifier>
<HashCode>AhAAAAIAKAADgQAAhEAAQAAQAEAwAAAAMQAAAgAAEQQ=</HashCode>
<FileName>Impl\RecordMockState.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="Rhino.Mocks.Impl.ReplayDynamicMockState" Collapsed="true">
<Position X="1.25" Y="1.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAEAA=</HashCode>
<FileName>Impl\ReplayDynamicMockState.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Impl.StubRecordMockState" Collapsed="true">
<Position X="1.25" Y="4.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAEAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAQ=</HashCode>
<FileName>Impl\StubRecordMockState.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Impl.StubReplayMockState" Collapsed="true">
<Position X="5.75" Y="1.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAQAAAAAAAAAAAAEAAAAAAAAAAAAAEQA=</HashCode>
<FileName>Impl\StubReplayMockState.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Impl.VerifiedMockState" Collapsed="true">
<Position X="3.5" Y="5.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAQAAgAIAAAAAAAAgBAAAIQAAAgAAEQA=</HashCode>
<FileName>Impl\VerifiedMockState.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="Rhino.Mocks.Impl.ReplayMockState" Collapsed="true">
<Position X="3.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAACIAACAQgAgAAAAAAAAAEgAAAAIQIAAgAAEQA=</HashCode>
<FileName>Impl\ReplayMockState.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="Rhino.Mocks.Impl.RecordPartialMockState" Collapsed="true">
<Position X="3.5" Y="4.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAEAA=</HashCode>
<FileName>Impl\RecordPartialMockState.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Impl.RecordDynamicMockState" Collapsed="true">
<Position X="5.75" Y="4.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAEAQ=</HashCode>
<FileName>Impl\RecordDynamicMockState.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="Rhino.Mocks.Impl.ReplayPartialMockState" Collapsed="true">
<Position X="3.5" Y="1.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAEAA=</HashCode>
<FileName>Impl\ReplayPartialMockState.cs</FileName>
</TypeIdentifier>
</Class>
<Interface Name="Rhino.Mocks.Interfaces.IMockState" Collapsed="true">
<Position X="8.25" Y="1.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAIAAAAQAAgAAAAAAAAAAgAAAAIQAAAgAAEQA=</HashCode>
<FileName>Interfaces\IMockState.cs</FileName>
</TypeIdentifier>
</Interface>
<Font Name="Tahoma" Size="8.25" />
</ClassDiagram>
4 changes: 4 additions & 0 deletions Rhino.Mocks/Rhino.Mocks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@
<Link>ayende-open-source.snk</Link>
</None>
<None Include="Diagram.cd" />
<None Include="Diagrams\Constraints.cd" />
<None Include="Diagrams\Expectations.cd" />
<None Include="Diagrams\MethodRecorders.cd" />
<None Include="Diagrams\MockStates.cd" />
</ItemGroup>
<ItemGroup>
<Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
Expand Down

0 comments on commit 8f8541f

Please sign in to comment.