File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+ using Newtonsoft . Json . Linq ;
3+ using System ;
4+ using System . Text ;
5+
6+ namespace Ipfs . Api
7+ {
8+ [ TestClass ]
9+ public class DagApiTest
10+ {
11+ [ TestMethod ]
12+ public void GetAsync ( )
13+ {
14+ var ipfs = TestFixture . Ipfs ;
15+ ExceptionAssert . Throws < NotImplementedException > ( ( ) => ipfs . Dag . GetAsync ( "cid" ) ) ;
16+ }
17+
18+ [ TestMethod ]
19+ public void PutAsync ( )
20+ {
21+ var ipfs = TestFixture . Ipfs ;
22+ ExceptionAssert . Throws < NotImplementedException > ( ( ) => ipfs . Dag . PutAsync ( null , null ) ) ;
23+ }
24+
25+ }
26+ }
27+
Original file line number Diff line number Diff line change 8686 </ItemGroup >
8787 <ItemGroup >
8888 <Compile Include =" CoreApi\FileSystemApiTest.cs" />
89+ <Compile Include =" CoreApi\DagApiTest.cs" />
8990 <Compile Include =" CoreApi\ObjectApiTest.cs" />
9091 <Compile Include =" CoreApi\SwarmApiTest.cs" />
9192 <Compile Include =" CoreApi\DhtApiTest.cs" />
You can’t perform that action at this time.
0 commit comments