53 references to s_checksum1
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (53)
PersistentStorage\AbstractPersistentStorageTests.cs (53)
69Assert.NotEqual(s_checksum1, s_checksum2);
105=> withChecksum ? s_checksum1 : null;
338Assert.False(await storage.ChecksumMatchesAsync(streamName1, s_checksum1));
351Assert.True(await storage.WriteStreamAsync(streamName1, EncodeString(GetData1(size)), s_checksum1));
370Assert.True(await storage.WriteStreamAsync(streamName1, EncodeString(GetData1(size)), s_checksum1));
394Assert.False(await storage.ChecksumMatchesAsync(streamName1, s_checksum1));
408Assert.True(await storage.WriteStreamAsync(streamName1, EncodeString(GetData1(size)), checksum: s_checksum1));
413Assert.True(await storage.ChecksumMatchesAsync(streamName1, s_checksum1));
427Assert.True(await storage.WriteStreamAsync(streamName1, EncodeString(GetData1(size)), checksum: s_checksum1));
433Assert.False(await storage.ChecksumMatchesAsync(streamName1, s_checksum1));
448Assert.True(await storage.WriteStreamAsync(streamName1, EncodeString(GetData1(size)), checksum: s_checksum1));
453Assert.True(await storage.ChecksumMatchesAsync(streamName1, s_checksum1));
467Assert.True(await storage.WriteStreamAsync(streamName1, EncodeString(GetData1(size)), checksum: s_checksum1));
488await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
493Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
509await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
514Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
530await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
535Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
551await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
556Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
572await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
577Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
580Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
596await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
601Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
604Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
620await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
625Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
628Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
644await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
649Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
652Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
668await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
673Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
689await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
694Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
710await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
715Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
731await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
736Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
752await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
757Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
760Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
776await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
781Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
784Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
800await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
805Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));
808Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
824await storage.WriteStreamAsync(document, streamName1, EncodeString(GetData1(size)), checksum: s_checksum1);
829Assert.True(await storage.ChecksumMatchesAsync(document, streamName1, s_checksum1));
832Assert.True(await storage.ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), streamName1, s_checksum1));