File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
OrigoDB.Modules.Protobuf.Test Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 33using System . Linq ;
44using Modules . ProtoBuf . Test . Domain ;
55using NUnit . Framework ;
6+ using OrigoDB . Core ;
7+ using OrigoDB . Core . Test ;
8+ using OrigoDB . Modules . ProtoBuf ;
69using ProtoBuf ;
710using ProtoBuf . Meta ;
811
@@ -112,5 +115,18 @@ private TodoModel BuildComplexModel()
112115 model . SetCategories ( play , "Fun" , "Health" ) ;
113116 return model ;
114117 }
118+
119+ [ Test ]
120+ public void Full_stack_smoke_test ( )
121+ {
122+ var config = new EngineConfiguration ( ) . ForIsolatedTest ( ) ;
123+ ProtoBufFormatter . ConfigureSnapshots < TodoModel > ( config , null ) ;
124+ Engine < TodoModel > engine = Engine . Create ( BuildComplexModel ( ) , config ) ;
125+ engine . CreateSnapshot ( ) ;
126+ engine . Close ( ) ;
127+ engine = Engine . Load < TodoModel > ( config ) ;
128+ var model = ( TodoModel ) engine . GetModel ( ) ;
129+ Dump ( model ) ;
130+ }
115131 }
116132}
Original file line number Diff line number Diff line change 1313 <projectUrl >https://github.com/devrexlabs/modules.protobufformatter</projectUrl >
1414 <licenseUrl >https://github.com/devrexlabs/origodb#license</licenseUrl >
1515 <requireLicenseAcceptance >false</requireLicenseAcceptance >
16- <releaseNotes >https://github.com/devrexlabs/modules.protobufformatter</releaseNotes >
16+ <releaseNotes >https://github.com/devrexlabs/modules.protobufformatter/releases </releaseNotes >
1717 <tags >in-memory imdb nosql prevalence odbms database imc</tags >
1818 <dependencies >
1919 <dependency id =" protobuf-net" version =" 2.0.0" />
2020 <dependency id =" origodb.core" version =" 0.13.0" />
2121 </dependencies >
2222 </metadata >
2323 <files >
24- <file src =" build\OrigoDB.*.dll" target =" lib\net40" />
25- <file src =" build\OrigoDB.*.pdb" target =" lib\net40" />
26- <file src =" build\OrigoDB.*.XML" target =" lib\net40" />
24+ <file src =" build\OrigoDB.Modules.Protobuf.*" target =" lib\net40" />
2725 <file src =" OrigoDB.Modules.Protobuf\**\*.cs" target =" src" />
2826 </files >
2927</package >
You can’t perform that action at this time.
0 commit comments