44 int $maxTestsPerBatch,
53 $result->maxTestsPerBatch = $maxTestsPerBatch;
54 $result->repeatCount = $repeatCount;
55 $result->rotation = $rotation;
56 $result->stopOnFailure = $stopOnFailure;
57 $result->testPosition = $testPosition;
58 $result->testsPerRow = $testsPerRow;
59 $result->testName = $testName;
81 $this->maxTestsPerBatch = VarInt::readSignedInt($in);
82 $this->repeatCount = VarInt::readSignedInt($in);
83 $this->rotation = Byte::readUnsigned($in);
84 $this->stopOnFailure = CommonTypes::getBool($in);
85 $this->testPosition = CommonTypes::getSignedBlockPosition($in);
86 $this->testsPerRow = VarInt::readSignedInt($in);
87 $this->testName = CommonTypes::getString($in);
91 VarInt::writeSignedInt($out, $this->maxTestsPerBatch);
92 VarInt::writeSignedInt($out, $this->repeatCount);
93 Byte::writeUnsigned($out, $this->rotation);
94 CommonTypes::putBool($out, $this->stopOnFailure);
95 CommonTypes::putSignedBlockPosition($out, $this->testPosition);
96 VarInt::writeSignedInt($out, $this->testsPerRow);
97 CommonTypes::putString($out, $this->testName);