Ejemplo n.º 1
0
 /// <summary>
 /// Usefull to easily refactor old test code to new fluent api test code. Use this method, inline it (but keep its defintion), and polish
 /// </summary>
 internal static void TestLastHeader(IFragmentedVerification fragmented, Constraint name, Constraint offset, Constraint length)
 {
     TestLastHeader(fragmented.VerifyFragmentation(), name, offset, length);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Usefull to easily refactor old test code to new fluent api test code. Use this method, inline it (but keep its defintion), and polish
 /// </summary>
 public static void TestStream(IFragmentedVerification containerStream, Constraint dataFormat, Constraint length,
                               Constraint isFragmented, Constraint fragmentedContrainer, Constraint fragmentedIndex,
                               Constraint headerCount)
 {
     TestStream(containerStream.VerifyFragmentation(), dataFormat, length, isFragmented, fragmentedContrainer, fragmentedIndex, headerCount);
 }