예제 #1
0
        public async Task ConformanceTestClient()
        {
            var client = new ConformanceMetadataRepository(null, "http://localhost");

            var cancellationToken = CancellationToken.None;

            var blob = await client.GetBLOBAsync(cancellationToken);

            Assert.True(blob.Entries.Length > 0);

            var entry_1 = await client.GetMetadataStatementAsync(blob, blob.Entries[^ 1], cancellationToken);
예제 #2
0
        public async Task ConformanceTestClient()
        {
            var client = new ConformanceMetadataRepository(null, "http://localhost");

            var toc = await client.GetToc();

            Assert.True(toc.Entries.Length > 0);

            var entry_1 = await client.GetMetadataStatement(toc.Entries[toc.Entries.Length - 1]);

            Assert.NotNull(entry_1.Description);
        }