예제 #1
0
        private const int NumStandardBlockFragments = 8; // this number must match the number of fragments added in AddStandardBlock

        private void AddStandardBlock(PipDataBuilder pipDataBuilder)
        {
            pipDataBuilder.Add(Path1);
            pipDataBuilder.Add(Path2);
            pipDataBuilder.Add(CaseVaryingString);
            pipDataBuilder.Add(m_expectedStringId0);
            pipDataBuilder.AddVsoHash(SourceFile);
            pipDataBuilder.AddVsoHash(OutputFile);
            pipDataBuilder.AddVsoHash(RewrittenFile);
            pipDataBuilder.AddVsoHash(RewrittenFile2);

            // if you add more fragments here, update
            //   (1) NumStandardBlockFragments constant above
            //   (2) VerifyStandardBlock method below
        }