Skip to main content

Test Verification Matrix

This matrix documents every test case across the R2K16 test suites (App.UnitTest, Base.UnitTest, RobloxTest, Roblox.Test, RCCService.Test), detailing what functions are exercised and what invariants are verified.

Test Suite Overview​

Suite NameTest CasesPrimary Source FileTarget Subsystem
Atomic5Base.UnitTest/atomic.cppFoundations
AutoRCCTest1RCCService.Test/AutoRCCTest.csIntegration
AutowedgeTest6App.UnitTest/AutowedgeTest.cppEngine Core
Base64BinaryStreamTest3App.UnitTest/Base64BinaryStreamTest.cppEngine Core
BasicScenarios7RCCService.Test/BasicScenarios.csIntegration
CEvent3Base.UnitTest/CEvent.cppFoundations
ChatTests6App.UnitTest/ChatTests.cppEngine Core
ClusterChangeHistoryTest2App.UnitTest/ClusterChangeHistoryTest.cppEngine Core
ClusterDeltaBuffer26App.UnitTest/ClusterReplicationTest.cppEngine Core
ClusterDeprecatedProperty6App.UnitTest/ClusterDeprecatedPropertyTest.cppEngine Core
ContentProvider1App.UnitTest/ContentProviderTest.cppEngine Core
Crypt2Base.UnitTest/Crypt.cppFoundations
CustomEvents15App.UnitTest/CustomEvents.cppEngine Core
DenseHashSet10Base.UnitTest/DenseHashSet.cppFoundations
FastLog10Base.UnitTest/Log.cppFoundations
FastLogSettings2App.UnitTest/FastLogSettingsTest.cppEngine Core
Format8Base.UnitTest/Time.cppFoundations
G3D9App.UnitTest/G3D.cppEngine Core
HTTPSuite9App.UnitTest/HTTPTest.cppEngine Core
HeapValueTest1App.UnitTest/HeapValueTest.cppEngine Core
HttpCacheEntryTest2App.UnitTest/HttpCacheEntryTest.cppEngine Core
HumanoidTest1App.UnitTest/HumanoidTest.cppEngine Core
Instance23App.UnitTest/Instance.cppEngine Core
LogServiceTest1App.UnitTest/LogServiceTest.cppEngine Core
LuaDebugger2App.UnitTest/LuaDebugger.cppEngine Core
LuaReflection36App.UnitTest/LuaReflection.cppEngine Core
LuaSandbox6App.UnitTest/LuaSandbox.cppEngine Core
LuaTokenizer4App.UnitTest/LuaTokenizer.cppEngine Core
LuaVector3Test5App.UnitTest/LuaVector3Test.cppEngine Core
LuaYieldingTest3App.UnitTest/LuaYieldingTest.cppEngine Core
MD5Suite4App.UnitTest/MD5.cppEngine Core
MSUnitProxy4Roblox.Test/MSUnitProxy/MSUnitProxy.csIntegration
MakeShared1Base.UnitTest/make_shared.cppFoundations
MiscRegression1App.UnitTest/MiscRegression.cppEngine Core
ModuleScriptTest18App.UnitTest/ModuleScriptTest.cppEngine Core
Network19App.UnitTest/Network.cppEngine Core
NetworkSecurity5App.UnitTest/NetworkSecurity.cppEngine Core
PathfindingTest1App.UnitTest/PathfindingTest.cppEngine Core
PostEffectTest5App.UnitTest/PostEffectTest.cppEngine Core
PropertyChangedSignal9App.UnitTest/PropertyChangedSignal.cppEngine Core
RakNet2App.UnitTest/RakNet.cppEngine Core
RaycastTest15App.UnitTest/RaycastTest.cppEngine Core
Reflection3App.UnitTest/ReflectionTest.cppEngine Core
RemoteSignals2App.UnitTest/RemoteSignal.cppEngine Core
ReplicatorGcJobTest6App.UnitTest/ReplicatorGcJobTest.cppEngine Core
ReplicatorStreamJobTest5App.UnitTest/ReplicatorStreamJobTest.cppEngine Core
SelectionTest3App.UnitTest/SelectionTest.cppEngine Core
SerializationTest2App.UnitTest/SerializationTest.cppEngine Core
ServerClientTests1RCCService.Test/ServerClientTests.csIntegration
SettingsTest12App.UnitTest/SettingsTest.cppEngine Core
SettingsUrl3App.UnitTest/SettingsURL.cppEngine Core
SoundEffectTests2App.UnitTest/SoundEffectTest.cppEngine Core
SpatialHash4App.UnitTest/SpatialHashTest.cppEngine Core
SpatialRegionTest2App.UnitTest/SpatialRegionTest.cppEngine Core
StreamRegionTest6App.UnitTest/StreamRegionTest.cppEngine Core
StressSoapTest4RCCService.Test/StressSoapTest.csIntegration
StressTests4RCCService.Test/StressTests.csIntegration
TaskScheduler1Base.UnitTest/TaskScheduler.cppFoundations
ThreadPoolTest3App.UnitTest/ThreadPoolTest.cppEngine Core
ToolTest1App.UnitTest/ToolTest.cppEngine Core
Trie5Base.UnitTest/trie.cppFoundations
URLParser5App.UnitTest/URLParserTest.cppEngine Core
VoxelCellUtilTest5App.UnitTest/VoxelCellUtilTest.cppEngine Core
WebParser13App.UnitTest/WebParserTest.cppEngine Core
WebSerializer5App.UnitTest/WebSerializerTest.cppEngine Core
Xml2App.UnitTest/XmlElement.cppEngine Core
intrusive_ptr12Base.UnitTest/intrusive_ptr.cppFoundations
signals21Base.UnitTest/signals.cppFoundations
spin_mutex1Base.UnitTest/spin_mutex_test.cppFoundations

Detailed Test Cases & Function Verification​

ClusterDeprecatedProperty::AnchoredCannotBeSet​

  • Location: App.UnitTest/ClusterDeprecatedPropertyTest.cpp:17
  • Verified Functions: BOOST_REQUIRE_EQUAL, Tuple, at, auto_ptr, dataModelSetup, execute
  • Invariants Checked: BOOST_REQUIRE_EQUAL(true, resultTuple->at(0).get<bool>()), BOOST_REQUIRE_EQUAL(true, resultTuple->at(0).get<bool>())

ClusterDeprecatedProperty::CFrameAndPositionCannotBeSet​

  • Location: App.UnitTest/ClusterDeprecatedPropertyTest.cpp:32
  • Verified Functions: BOOST_CHECK, BOOST_REQUIRE, BOOST_REQUIRE_EQUAL, Tuple, Vector3, at, auto_ptr, dataModelSetup
  • Invariants Checked: BOOST_CHECK(zeroFrame == resultTuple->at(0).get<CoordinateFrame>()), BOOST_REQUIRE_EQUAL(zeroVector, resultTuple->at(0).get<Vector3>()), BOOST_REQUIRE(zeroFrame == resultTuple->at(0).get<CoordinateFrame>()), BOOST_REQUIRE_EQUAL(zeroVector, resultTuple->at(0).get<Vector3>())

ClusterDeprecatedProperty::NameCannotBeSet​

  • Location: App.UnitTest/ClusterDeprecatedPropertyTest.cpp:54
  • Verified Functions: BOOST_REQUIRE_EQUAL, Tuple, at, auto_ptr, dataModelSetup, execute, string
  • Invariants Checked: BOOST_REQUIRE_EQUAL("Terrain", resultTuple->at(0).get<std::string>()), BOOST_REQUIRE_EQUAL("Terrain", resultTuple->at(0).get<std::string>())

ClusterDeprecatedProperty::ParentCannotBeSet​

  • Location: App.UnitTest/ClusterDeprecatedPropertyTest.cpp:69
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_REQUIRE_EQUAL, Tuple, at, auto_ptr, catch, dataModelSetup
  • Invariants Checked: BOOST_REQUIRE_EQUAL(dataModel->getWorkspace(), resultTuple->at(0).get<shared_ptr<Instance> >().get()), BOOST_CHECK_EQUAL("Cannot change Parent of type Terrain", e.what()), BOOST_CHECK(checked), BOOST_REQUIRE_EQUAL(dataModel->getWorkspace(), resultTuple->at(0).get<shared_ptr<Instance> >().get())

ClusterDeprecatedProperty::SizeCannotBeSet​

  • Location: App.UnitTest/ClusterDeprecatedPropertyTest.cpp:92
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_REQUIRE_EQUAL, Resize, Tuple, Vector3, at, auto_ptr
  • Invariants Checked: BOOST_REQUIRE_EQUAL(sizeVector, resultTuple->at(0).get<Vector3>()), BOOST_REQUIRE_EQUAL(sizeVector, resultTuple->at(0).get<Vector3>()), BOOST_CHECK_EQUAL("Cannot Resize() Terrain", e.what()), BOOST_CHECK(checked)

ClusterDeprecatedProperty::LockedCannotBeSet​

  • Location: App.UnitTest/ClusterDeprecatedPropertyTest.cpp:121
  • Verified Functions: BOOST_REQUIRE_EQUAL, Tuple, at, auto_ptr, dataModelSetup, execute
  • Invariants Checked: BOOST_REQUIRE_EQUAL(true, resultTuple->at(0).get<bool>()), BOOST_REQUIRE_EQUAL(true, resultTuple->at(0).get<bool>())

Instance::Clone​

  • Location: App.UnitTest/Instance.cpp:86
  • Verified Functions: BOOST_CHECK_EQUAL, Creatable, Diagnostics, Instance, ScriptingCreator, clone, getCount, shared_ptr
  • Invariants Checked: BOOST_CHECK_EQUAL(count, RBX::Diagnostics::Countable<RBX::Instance>::getCount())

Instance::CastTo​

  • Location: App.UnitTest/Instance.cpp:137
  • Verified Functions: BOOST_CHECK, BasicPartInstance, Creatable, Instance, PartInstance, get
  • Invariants Checked: BOOST_CHECK(RBX::Instance::fastDynamicCast<RBX::Instance>(part.get())), BOOST_CHECK(!RBX::Instance::fastDynamicCast<RBX::PartInstance>(instance.get())), BOOST_CHECK(!RBX::Instance::fastDynamicCast<RBX::PartInstance>(nullInstance)), BOOST_CHECK(inst->fastDynamicCast<RBX::Instance>())

Instance::CastToConst​

  • Location: App.UnitTest/Instance.cpp:155
  • Verified Functions: BOOST_CHECK, BasicPartInstance, Creatable, Instance, PartInstance, get
  • Invariants Checked: BOOST_CHECK(RBX::Instance::fastDynamicCast<RBX::Instance>(part.get())), BOOST_CHECK(!RBX::Instance::fastDynamicCast<RBX::PartInstance>(instance.get())), BOOST_CHECK(!RBX::Instance::fastDynamicCast<RBX::PartInstance>(nullInstance)), BOOST_CHECK(inst->fastDynamicCast<RBX::Instance>())

Instance::SharedCastTo​

  • Location: App.UnitTest/Instance.cpp:173
  • Verified Functions: BOOST_CHECK, BasicPartInstance, Creatable, Instance, PartInstance
  • Invariants Checked: BOOST_CHECK(RBX::Instance::fastSharedDynamicCast<const RBX::Instance>(part)), BOOST_CHECK(!RBX::Instance::fastSharedDynamicCast<const RBX::PartInstance>(instance)), BOOST_CHECK(!RBX::Instance::fastSharedDynamicCast<const RBX::PartInstance>(nullInstance))

Instance::LockUnlockDeprecated (Fixture: DataModelFixture)​

  • Location: App.UnitTest/Instance.cpp:186
  • Verified Functions: BOOST_CHECK, BOOST_REQUIRE_EQUAL, Lock, Reflection, Unlock, at, auto_ptr, execute
  • Invariants Checked: BOOST_REQUIRE_EQUAL(result->values.size(), 1), BOOST_CHECK(result->values.at(0).get<bool>())

Instance::Parenting​

  • Location: App.UnitTest/Instance.cpp:193
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_THROW, Creatable, DataModel, DataModelJob, Instance, exception, getParent
  • Invariants Checked: BOOST_CHECK(checkAncestor->getParent() != NULL), BOOST_CHECK_THROW(instance->setParent2(dm.dataModel), std::exception), BOOST_CHECK_THROW(checkAncestor->setParent2(dm.dataModel), std::exception), BOOST_CHECK_THROW(checkAncestor->setParent2(instance), std::exception)

Instance::ReparentingLock​

  • Location: App.UnitTest/Instance.cpp:213
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_THROW, Creatable, Instance, exception, get, getIsParentLocked, getParent
  • Invariants Checked: BOOST_CHECK(!parent->getIsParentLocked()), BOOST_CHECK(parent->getIsParentLocked()), BOOST_CHECK(child->getIsParentLocked()), BOOST_CHECK(child->getParent() == parent.get())

Instance::SetParentNull​

  • Location: App.UnitTest/Instance.cpp:251
  • Verified Functions: Creatable, Instance, get, getChild, setParent
  • Invariants Checked: Implicit assertion via execution

Instance::WaitForChildReturnsImmediatelyIfChildPresent​

  • Location: App.UnitTest/Instance.cpp:264
  • Verified Functions: BOOST_CHECK_EQUAL, Instance, LegacyLock, WaitForChild, Write, create, fromTestSource, getName
  • Invariants Checked: BOOST_CHECK_EQUAL(part->getName(), "Renamed")

Instance::WaitForSameChildAfterInitialWaitForChild​

  • Location: App.UnitTest/Instance.cpp:289
  • Verified Functions: BOOST_CHECK_EQUAL, Instance, LegacyLock, WaitForChild, Write, create, fromTestSource, getName
  • Invariants Checked: BOOST_CHECK_EQUAL(part->getName(), "Renamed")

Instance::TwoScriptsWaitingForSameChild​

  • Location: App.UnitTest/Instance.cpp:314
  • Verified Functions: BOOST_CHECK, Instance, LegacyLock, System, WaitForChild, Write, create, findFirstChildByName
  • Invariants Checked: BOOST_CHECK(dm->getWorkspace()->findFirstChildByName("Alice") != NULL), BOOST_CHECK(dm->getWorkspace()->findFirstChildByName("Bob") != NULL)

Instance::TwoScriptsWaitingForSameChildRenameOnResume​

  • Location: App.UnitTest/Instance.cpp:356
  • Verified Functions: BOOST_CHECK_EQUAL, Instance, LegacyLock, System, WaitForChild, Write, create, fromTestSource
  • Invariants Checked: BOOST_CHECK_EQUAL("PartBx", part->getName()), BOOST_CHECK_EQUAL("PartA", part2->getName())

Instance::TwoScriptsWaitingForDifferentChildren​

  • Location: App.UnitTest/Instance.cpp:414
  • Verified Functions: BOOST_CHECK, Instance, LegacyLock, System, WaitForChild, Write, create, findFirstChildByName
  • Invariants Checked: BOOST_CHECK(dm->getWorkspace()->findFirstChildByName("Alice") == NULL), BOOST_CHECK(dm->getWorkspace()->findFirstChildByName("AliceX") != NULL), BOOST_CHECK(dm->getWorkspace()->findFirstChildByName("Bob") == NULL), BOOST_CHECK(dm->getWorkspace()->findFirstChildByName("BobX") == NULL)

Instance::WaitForDifferentChildAfterInitialWaitForChild​

  • Location: App.UnitTest/Instance.cpp:478
  • Verified Functions: BOOST_CHECK_EQUAL, Instance, LegacyLock, System, WaitForChild, Write, create, fromTestSource
  • Invariants Checked: BOOST_CHECK_EQUAL(part->getName(), "Phase1"), BOOST_CHECK_EQUAL(part->getName(), "Phase2")

Instance::WaitForChildOutsideOfDataModel​

  • Location: App.UnitTest/Instance.cpp:525
  • Verified Functions: BOOST_CHECK_EQUAL, BOOST_REQUIRE, Instance, LegacyLock, System, WaitForChild, Write, create
  • Invariants Checked: BOOST_CHECK_EQUAL(part->getName(), "Phase1"), BOOST_REQUIRE(part->getParent() == NULL), BOOST_CHECK_EQUAL(part->getName(), "Phase2")

WebSerializer::TestWebSerializerList​

  • Location: App.UnitTest/WebSerializerTest.cpp:12
  • Verified Functions: BOOST_CHECK, ValueArray, Variant, WebParser, WebSerializer, at, get, getName
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(root.get(), value)), BOOST_CHECK(value.isType<shared_ptr<const Reflection::ValueArray> >()), BOOST_CHECK(newValueCollection), BOOST_CHECK(newValueCollection->size() == valueCollection->size())

WebSerializer::TestWebSerializerTable​

  • Location: App.UnitTest/WebSerializerTest.cpp:57
  • Verified Functions: BOOST_CHECK, ValueMap, Variant, WebParser, WebSerializer, find, get, getName
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(root.get(), value)), BOOST_CHECK(value.isType<shared_ptr<const Reflection::ValueMap> >()), BOOST_CHECK(newValueMap), BOOST_CHECK(newValueMap->size() == valueMap->size())

WebSerializer::TestWebSerializerInstance​

  • Location: App.UnitTest/WebSerializerTest.cpp:115
  • Verified Functions: BOOST_CHECK, Variant, WebParser, WebSerializer, get, getChildren, getName, parseWebGenericResponse
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(root.get(), newValue)), BOOST_CHECK(newValue.isType<shared_ptr<Instance> >()), BOOST_CHECK(newValue.get<shared_ptr<Instance> >()->getName() == "CustomPart"), BOOST_CHECK(newValue.get<shared_ptr<Instance> >()->getChildren()->size() == 3)

WebSerializer::TestInstanceClone​

  • Location: App.UnitTest/WebSerializerTest.cpp:135
  • Verified Functions: BOOST_CHECK, clone, fastDynamicCast, findFirstChildByName, get, getPart0, getPart1, setName
  • Invariants Checked: BOOST_CHECK(cloneModel), BOOST_CHECK(clonePart0), BOOST_CHECK(clonePart1), BOOST_CHECK(cloneWeld)

WebSerializer::TestInstanceCloneExternal​

  • Location: App.UnitTest/WebSerializerTest.cpp:164
  • Verified Functions: BOOST_CHECK, clone, fastSharedDynamicCast, get, getPart0, getPart1, setName, setParent
  • Invariants Checked: BOOST_CHECK(cloneWeld), BOOST_CHECK(cloneWeld->getPart0()), BOOST_CHECK(cloneWeld->getPart0() == part0.get()), BOOST_CHECK(cloneWeld->getPart1())

RemoteSignals::RemoteEvent​

  • Location: App.UnitTest/RemoteSignal.cpp:108
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_MESSAGE, DataModel, DataModelJob, System, Time, Wait
  • Invariants Checked: BOOST_CHECK(clientTest != 0), BOOST_MESSAGE("Test Client to Server"), BOOST_CHECK(serverTest->evt.Wait(RBX::Time::Interval::from_seconds(10))), BOOST_CHECK_EQUAL(serverTest->lastValue, 12)

RemoteSignals::EventReplicator​

  • Location: App.UnitTest/RemoteSignal.cpp:208
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_MESSAGE, BOOST_WARN, BOOST_WARN_EQUAL, DataModel, DataModelJob, System
  • Invariants Checked: BOOST_CHECK(clientTest != 0), BOOST_MESSAGE("Test Client to Server"), BOOST_CHECK(serverTest->evt.Wait(RBX::Time::Interval::from_seconds(10))), BOOST_CHECK_EQUAL(serverTest->lastValue, 12)

SerializationTest::SerializationReplicationTest​

  • Location: App.UnitTest/SerializationTest.cpp:171
  • Verified Functions: BOOST_CHECK, DataModel, DataModelJob, Random, System, createInstance, findFirstChildByName, getWorkspace
  • Invariants Checked: BOOST_CHECK(clientDm->getWorkspace()->findFirstChildByName("SerializationTest") != 0)

SerializationTest::RoundtripBinary​

  • Location: App.UnitTest/SerializationTest.cpp:199
  • Verified Functions: BOOST_CHECK_EQUAL, Random, bits, createInstance, deserialize, for, get, getBinaryRepresentation
  • Invariants Checked: BOOST_CHECK_EQUAL(binaryDataOriginal, binaryDataNew)

HttpCacheEntryTest::CACHE_DATA_TOSTRING_TEST (Fixture: Fixture)​

  • Location: App.UnitTest/HttpCacheEntryTest.cpp:75
  • Verified Functions: BOOST_CHECK_EQUAL, Cache, data, headers, size, toString
  • Invariants Checked: BOOST_CHECK_EQUAL(httpHeaders, headers.toString())

HttpCacheEntryTest::CACHE_UPDATE_TEST (Fixture: Fixture)​

  • Location: App.UnitTest/HttpCacheEntryTest.cpp:81
  • Verified Functions: BOOST_CHECK_EQUAL, Cache, body, c_str, data, getCacheHeader, getResponseBody, getResponseHeader
  • Invariants Checked: BOOST_CHECK_EQUAL(200, result.getCacheHeader().responseCode), BOOST_CHECK_EQUAL(httpHeaders, result.getResponseHeader().toString()), BOOST_CHECK_EQUAL(httpBody, result.getResponseBody().toString()), BOOST_CHECK_EQUAL(httpHeaders.size(), result.getResponseHeader().size())

MiscRegression::DE2399​

  • Location: App.UnitTest/MiscRegression.cpp:11
  • Verified Functions: BOOST_CHECK_EQUAL, DataModelJob, LegacyLock, clearContents, create, createInstance, get, lock
  • Invariants Checked: BOOST_CHECK_EQUAL(ts->countDescendantsOfType<Script>(), 0), BOOST_CHECK_EQUAL(ts->countDescendantsOfType<Script>(), 1), BOOST_CHECK_EQUAL(ts->countDescendantsOfType<Script>(), 0)

FastLogSettings::Serializer​

  • Location: App.UnitTest/FastLogSettingsTest.cpp:21
  • Verified Functions: BOOST_CHECK_EQUAL, DirExe, FetchClientSettingsData, FileSystem, TestFastFlag, TestLogGroup, c_str, close
  • Invariants Checked: BOOST_CHECK_EQUAL(FLog::TestLogGroup, 0), BOOST_CHECK_EQUAL(FFlag::TestFastFlag, false), BOOST_CHECK_EQUAL(FLog::TestLogGroup, 1), BOOST_CHECK_EQUAL(FFlag::TestFastFlag, true)

FastLogSettings::Lua (Fixture: DataModelFixture)​

  • Location: App.UnitTest/FastLogSettingsTest.cpp:44
  • Verified Functions: BOOST_CHECK_EQUAL, BOOST_CHECK_THROW, GetFFlag, GetFVariable, GetFastVariable, Reflection, at, auto_ptr
  • Invariants Checked: BOOST_CHECK_THROW(execute("return settings():GetFastVariable('ThisFlagDoesNotExist')"), std::exception), BOOST_CHECK_EQUAL(result->values.at(0).convert<std::string>(), "true"), BOOST_CHECK_EQUAL(result->values.at(1).convert<std::string>(), "false"), BOOST_CHECK_EQUAL(result->values.at(2).convert<bool>(), true)

WebParser::TestJSONEmpty​

  • Location: App.UnitTest/WebParserTest.cpp:9
  • Verified Functions: BOOST_CHECK, ValueArray, ValueTable, Variant, WebParser, parseJSONObject, size
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseJSONObject("\{\}", v)), BOOST_CHECK(v.isType<shared_ptr<const Reflection::ValueTable> >()), BOOST_CHECK(v.get<shared_ptr<const Reflection::ValueTable> >()->size() == 0), BOOST_CHECK(RBX::WebParser::parseJSONObject("[]", v))

WebParser::TestJSONBasic​

  • Location: App.UnitTest/WebParserTest.cpp:21
  • Verified Functions: BOOST_CHECK, ValueArray, ValueTable, Variant, WebParser, end, find, isNumber
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseJSONObject( "\{ \"a\" : 0, \"b\": false, \"c\": \"True\", \"d\": \{\}, \"e\": [], \"f\": null\}", v)), BOOST_CHECK(v.isType<shared_ptr<const Reflection::ValueTable> >()), BOOST_CHECK(table->size() == 6), BOOST_CHECK(it != table->end())

WebParser::TestJSONSub​

  • Location: App.UnitTest/WebParserTest.cpp:58
  • Verified Functions: BOOST_CHECK, ValueArray, ValueTable, Variant, WebParser, end, find, parseJSONObject
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseJSONObject( "\{ \"subdict\": \{ \"x\": true, \"y\": 0 \}, \"subarray\": [0, 1, null] \}", v)), BOOST_CHECK(table->size() == 2), BOOST_CHECK(it != table->end()), BOOST_CHECK(it->second.isType<shared_ptr<const Reflection::ValueTable> >())

WebParser::TestJSONWriteBasic​

  • Location: App.UnitTest/WebParserTest.cpp:93
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, ValueArray, ValueTable, Variant, Vector3, WebParser, find
  • Invariants Checked: BOOST_CHECK_EQUAL(RBX::WebParser::writeJSON(v, result, RBX::WebParser::FailOnNonJSON), false), BOOST_CHECK(RBX::WebParser::writeJSON(v, result, RBX::WebParser::SkipNonJSON)), BOOST_CHECK_EQUAL(result,"\{\"g\":\"test\",\"f\":null,\"e\":[],\"d\":\{\},\"c\":false,\"b\":4.5,\"a\":2\}"), BOOST_CHECK(RBX::WebParser::parseJSONObject(result, parsedV))

WebParser::TestJSONRountrip​

  • Location: App.UnitTest/WebParserTest.cpp:122
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, ValueTable, Variant, WebParser, find, make_shared, parseJSONObject
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::writeJSON(v, result)), BOOST_CHECK(RBX::WebParser::parseJSONObject(result, parsedV)), BOOST_CHECK(parsedV.isType<shared_ptr<const Reflection::ValueTable> >()), BOOST_CHECK_EQUAL(parsedTable->find("float")->second.get<double>(),floatValue)

WebParser::TestWebParserList​

  • Location: App.UnitTest/WebParserTest.cpp:142
  • Verified Functions: BOOST_CHECK, BOOST_REQUIRE, Reflection, ValueArray, WebParser, auto_ptr, istream, istringstream
  • Invariants Checked: BOOST_REQUIRE(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<shared_ptr<const Reflection::ValueArray> >())

WebParser::TestWebParserTable​

  • Location: App.UnitTest/WebParserTest.cpp:152
  • Verified Functions: BOOST_CHECK, Reflection, ValueMap, WebParser, auto_ptr, if, istream, istringstream
  • Invariants Checked: BOOST_CHECK(false), BOOST_CHECK(value.isType<shared_ptr<const Reflection::ValueMap> >())

WebParser::TestWebParserBool​

  • Location: App.UnitTest/WebParserTest.cpp:165
  • Verified Functions: BOOST_CHECK, Reflection, WebParser, auto_ptr, if, istream, istringstream, parseWebGenericResponse
  • Invariants Checked: BOOST_CHECK(false), BOOST_CHECK(value.isType<bool>()), BOOST_CHECK(false), BOOST_CHECK(value.isType<bool>())

WebParser::TestWebParserBoolWithType​

  • Location: App.UnitTest/WebParserTest.cpp:188
  • Verified Functions: BOOST_CHECK, Reflection, WebParser, auto_ptr, if, istream, istringstream, parseWebGenericResponse
  • Invariants Checked: BOOST_CHECK(false), BOOST_CHECK(value.isType<bool>()), BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<bool>())

WebParser::TestWebParserNumberWithType​

  • Location: App.UnitTest/WebParserTest.cpp:244
  • Verified Functions: BOOST_CHECK, Reflection, WebParser, auto_ptr, istream, istringstream, parseWebGenericResponse, stream
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<double>()), BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<double>())

WebParser::TestWebParserString​

  • Location: App.UnitTest/WebParserTest.cpp:275
  • Verified Functions: BOOST_CHECK, Reflection, WebParser, auto_ptr, if, istream, istringstream, parseWebGenericResponse
  • Invariants Checked: BOOST_CHECK(false), BOOST_CHECK(value.isType<std::string>()), BOOST_CHECK(false), BOOST_CHECK(value.isType<std::string>())

WebParser::TestWebParserStringWithType​

  • Location: App.UnitTest/WebParserTest.cpp:298
  • Verified Functions: BOOST_CHECK, Reflection, WebParser, auto_ptr, istream, istringstream, parseWebGenericResponse, stream
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<std::string>()), BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<std::string>())

WebParser::TestWebParserInstanceWithType​

  • Location: App.UnitTest/WebParserTest.cpp:317
  • Verified Functions: BOOST_CHECK, Reflection, WebParser, auto_ptr, istream, istringstream, parseWebGenericResponse, stream
  • Invariants Checked: BOOST_CHECK(RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(value.isType<shared_ptr<Instance> >()), BOOST_CHECK(!RBX::WebParser::parseWebGenericResponse(*stream, value)), BOOST_CHECK(!RBX::WebParser::parseWebGenericResponse(*stream, value))

SettingsTest::SettingsAreAvailableThroughLua​

  • Location: App.UnitTest/SettingsTest.cpp:33
  • Verified Functions: BOOST_CHECK, Reflection, at, auto_ptr, execute, isVoid, settings
  • Invariants Checked: BOOST_CHECK(!result->at(0).isVoid())

SettingsTest::NetworkIsAutoAddedToSettings​

  • Location: App.UnitTest/SettingsTest.cpp:41
  • Verified Functions: BOOST_CHECK, Reflection, at, auto_ptr, execute, isVoid, settings
  • Invariants Checked: BOOST_CHECK(!result->at(0).isVoid())

SettingsTest::SettingsAreSharedBetweenDataModels​

  • Location: App.UnitTest/SettingsTest.cpp:49
  • Verified Functions: BOOST_CHECK, Reflection, at, auto_ptr, execute, settings
  • Invariants Checked: BOOST_CHECK(!result->at(0).cast<bool>()), BOOST_CHECK(!result->at(0).cast<bool>()), BOOST_CHECK(result->at(0).cast<bool>()), BOOST_CHECK(result->at(0).cast<bool>())

SettingsTest::CanAccessMembersThroughBracketNotationWithoutTriggeringProtection​

  • Location: App.UnitTest/SettingsTest.cpp:68
  • Verified Functions: BOOST_CHECK, GetChildren, Reflection, TaskSchedulerSettings, at, auto_ptr, execute, settings
  • Invariants Checked: BOOST_CHECK(result->at(0).cast<double>() > 0)

SettingsTest::DifficultToCreateAServiceDirectlyUnderSettings​

  • Location: App.UnitTest/SettingsTest.cpp:77
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_REQUIRE, Reflection, SoundService, at, auto_ptr, catch
  • Invariants Checked: BOOST_REQUIRE(settings.get()), BOOST_CHECK(errored), BOOST_CHECK_EQUAL((Soundscape::SoundService*)NULL, sound), BOOST_CHECK_EQUAL((Soundscape::SoundService*)NULL, settings->find<Soundscape::SoundService>())

SettingsTest::DifficultToCreateAPartDirectlyUnderSettings​

  • Location: App.UnitTest/SettingsTest.cpp:101
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_CHECK_GT, GetChildren, Reflection, at, auto_ptr, catch
  • Invariants Checked: BOOST_CHECK_GT(childCount, 0), BOOST_CHECK(errored), BOOST_CHECK_EQUAL(childCount, result->at(0).cast<double>())

SettingsTest::DifficultToMoveAPartDirectlyUnderSettings​

  • Location: App.UnitTest/SettingsTest.cpp:122
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_CHECK_GT, GetChildren, Reflection, at, auto_ptr, catch
  • Invariants Checked: BOOST_CHECK_GT(childCount, 0), BOOST_CHECK(errored), BOOST_CHECK_EQUAL(childCount, result->at(0).cast<double>())

SettingsTest::DifficultToCreateAPartTransitivelyUnderSettings​

  • Location: App.UnitTest/SettingsTest.cpp:145
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, GetChildren, Reflection, at, auto_ptr, catch, execute
  • Invariants Checked: BOOST_CHECK_EQUAL(childCount, 0), BOOST_CHECK(errored), BOOST_CHECK_EQUAL(childCount, result->at(0).cast<double>())

SettingsTest::DifficultToMoveAPartTransitivelyUnderSettings​

  • Location: App.UnitTest/SettingsTest.cpp:168
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, GetChildren, Reflection, at, auto_ptr, catch, execute
  • Invariants Checked: BOOST_CHECK_EQUAL(childCount, 0), BOOST_CHECK(errored), BOOST_CHECK_EQUAL(childCount, result->at(0).cast<double>())

SettingsTest::SelectionDoesNotNukeSettings​

  • Location: App.UnitTest/SettingsTest.cpp:191
  • Verified Functions: BOOST_CHECK, BOOST_REQUIRE, GetChildren, Reflection, at, auto_ptr, execute, fastSharedDynamicCast
  • Invariants Checked: BOOST_REQUIRE(settings.get()), BOOST_CHECK(sel != NULL), BOOST_CHECK(sel->getParent() == settings.get()), BOOST_CHECK(1 < result->at(0).cast<double>())

SettingsTest::AddingPartUnderSelectionDoesNukeSettings​

  • Location: App.UnitTest/SettingsTest.cpp:211
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, Instances, Reflection, at, auto_ptr, catch, execute
  • Invariants Checked: BOOST_CHECK(errored), BOOST_CHECK_EQUAL((RBX::Instances*)NULL, sel->getChildren().read().get())

SettingsTest::AddingSelectionWithPartChildDoesNukeSettings​

  • Location: App.UnitTest/SettingsTest.cpp:234
  • Verified Functions: BOOST_CHECK, Reflection, at, auto_ptr, catch, execute, fastSharedDynamicCast, get
  • Invariants Checked: BOOST_CHECK(errored)

VoxelCellUtilTest::WorldToCell​

  • Location: App.UnitTest/VoxelCellUtilTest.cpp:11
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3, Vector3int16, for, worldToCell_floor
  • Invariants Checked: BOOST_CHECK_EQUAL(Vector3int16( kOffset + (x - 1) / 2, (y - 1) / 2, kOffset + (z - 1) / 2), worldToCell_floor(kEpsilon * Vector3(x,y,z)))

VoxelCellUtilTest::CellToWorld​

  • Location: App.UnitTest/VoxelCellUtilTest.cpp:28
  • Verified Functions: BOOST_CHECK_EQUAL, CoordinateFrame, Extents, Vector3, cell, cellToWorldExtents, cellToWorld_smallestCorner, for
  • Invariants Checked: BOOST_CHECK_EQUAL(mcExtents.min(), newExtents.min()), BOOST_CHECK_EQUAL(mcExtents.max(), newExtents.max())

VoxelCellUtilTest::WriteOneFormatReadOther​

  • Location: App.UnitTest/VoxelCellUtilTest.cpp:45
  • Verified Functions: BOOST_REQUIRE, asUnsignedCharForDeprecatedUses, for, getBlock, getCellBlock, getCellMaterial_Deprecated, getCellOrientation, getDirection
  • Invariants Checked: BOOST_REQUIRE(CELL_MATERIAL_Deprecated_Empty == (CellMaterial)0), BOOST_REQUIRE(CELL_BLOCK_Solid == (CellBlock)0), BOOST_REQUIRE(CELL_ORIENTATION_NegZ == (CellOrientation)0), BOOST_REQUIRE(v.solid.getBlock() == b)

VoxelCellUtilTest::ConstantVoxelsMatchDeprecatedVersion​

  • Location: App.UnitTest/VoxelCellUtilTest.cpp:111
  • Verified Functions: BOOST_REQUIRE, UNIQUE_EMPTY_CELL_REPRESENTATION, WATER_ON_WEDGE_CELL, asUnsignedCharForDeprecatedUses, kUniqueEmptyCellRepresentation, kWaterOnWedgeCell, readUnsignedCharFromDeprecatedUse
  • Invariants Checked: BOOST_REQUIRE(Cell::asUnsignedCharForDeprecatedUses(Constants::kUniqueEmptyCellRepresentation) == V1Deprecated::UNIQUE_EMPTY_CELL_REPRESENTATION), BOOST_REQUIRE(Constants::kUniqueEmptyCellRepresentation == Cell::readUnsignedCharFromDeprecatedUse(V1Deprecated::UNIQUE_EMPTY_CELL_REPRESENTATION)), BOOST_REQUIRE(Cell::asUnsignedCharForDeprecatedUses(Constants::kWaterOnWedgeCell) == V1Deprecated::WATER_ON_WEDGE_CELL), BOOST_REQUIRE(Constants::kWaterOnWedgeCell == Cell::readUnsignedCharFromDeprecatedUse(V1Deprecated::WATER_ON_WEDGE_CELL))

VoxelCellUtilTest::BlockFaceInfoIsEquivalent​

  • Location: App.UnitTest/VoxelCellUtilTest.cpp:119
  • Verified Functions: BOOST_REQUIRE, BlockAxisFace, BlockFaceInfo, OrientedFaceMap, UnOrientedBlockFaceInfos, initBlockOrientationFaceMap, memcmp, sizeof
  • Invariants Checked: BOOST_REQUIRE(sizeof(RBX::BlockFaceInfo) == sizeof(V1Deprecated::BlockFaceInfo)), BOOST_REQUIRE(sizeof(RBX::BlockAxisFace) == sizeof(V1Deprecated::BlockAxisFace)), BOOST_REQUIRE((void*)V1Deprecated::UnOrientedBlockFaceInfos != (void*)RBX::UnOrientedBlockFaceInfos), BOOST_REQUIRE((void*)V1Deprecated::OrientedFaceMap != (void*)RBX::OrientedFaceMap)

ChatTests::Chat​

  • Location: App.UnitTest/ChatTests.cpp:309
  • Verified Functions: test
  • Invariants Checked: Implicit assertion via execution

ChatTests::WebChatFilterChat​

  • Location: App.UnitTest/ChatTests.cpp:316
  • Verified Functions: test
  • Invariants Checked: Implicit assertion via execution

ChatTests::Chat2​

  • Location: App.UnitTest/ChatTests.cpp:323
  • Verified Functions: test
  • Invariants Checked: Implicit assertion via execution

ChatTests::TeamChat​

  • Location: App.UnitTest/ChatTests.cpp:330
  • Verified Functions: test
  • Invariants Checked: Implicit assertion via execution

ChatTests::WhisperChat​

  • Location: App.UnitTest/ChatTests.cpp:337
  • Verified Functions: test
  • Invariants Checked: Implicit assertion via execution

ChatTests::ReportAbuse​

  • Location: App.UnitTest/ChatTests.cpp:353
  • Verified Functions: BOOST_CHECK, CEvent, DataModel, DataModelJob, GetChildren, Players, ReportAbuse, Security
  • Invariants Checked: BOOST_CHECK(event->Wait(RBX::Time::Interval::from_seconds(10)))

ClusterDeltaBuffer::BitSetConstantsMakeSense​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:248
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, BitGroup, kBitInGroupMask, kShiftForGroup, sizeof, while
  • Invariants Checked: BOOST_CHECK(bits > 0), BOOST_CHECK_EQUAL(UintSet::kBitInGroupMask, bits - 1), BOOST_CHECK_EQUAL(UintSet::kShiftForGroup, shift), BOOST_CHECK_EQUAL(1 << kXZ_CHUNK_SIZE_AS_BITSHIFT, kXZ_CHUNK_SIZE)

ClusterDeltaBuffer::UintSetEncoding​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:265
  • Verified Functions: BOOST_CHECK_EQUAL, baseCellOffset, computeGlobalLocationFromUintRepresentation, computeUintRepresentingLocationInChunk, expected, for
  • Invariants Checked: BOOST_CHECK_EQUAL(expected.x, actual.x), BOOST_CHECK_EQUAL(expected.y, actual.y), BOOST_CHECK_EQUAL(expected.z, actual.z)

ClusterDeltaBuffer::LengthBitSetOrdering​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:286
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, for, pop, push, size
  • Invariants Checked: BOOST_CHECK_EQUAL(i, updateBuffer.size()), BOOST_CHECK_EQUAL(i, out.x), BOOST_CHECK_EQUAL(i, out.x)

ClusterDeltaBuffer::BitSetDoesNotStoreDuplicates​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:309
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, chk, computeUintRepresentingLocationInChunk, contains, insert, push, size
  • Invariants Checked: BOOST_CHECK(!s.contains(info)), BOOST_CHECK_EQUAL(0, s.size()), BOOST_CHECK(s.contains(info)), BOOST_CHECK_EQUAL(1, s.size())

ClusterDeltaBuffer::UpdatesGroupedByChunk​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:337
  • Verified Functions: BOOST_CHECK_EQUAL, BOOST_REQUIRE, Vector3int16, for, pop, push, size
  • Invariants Checked: BOOST_CHECK_EQUAL((i + 1) * 2, updateBuffer.size()), BOOST_REQUIRE(first == Vector3int16(0, 0, 0) || first == Vector3int16(0, 20, 0)), BOOST_CHECK_EQUAL(firstY, out.y), BOOST_CHECK_EQUAL(i, out.x)

ClusterDeltaBuffer::UpdatesContinueByChunk​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:370
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, if, pop, push
  • Invariants Checked: BOOST_CHECK_EQUAL(Vector3int16(40,0,0), read), BOOST_CHECK_EQUAL(Vector3int16(41,0,0), read1), BOOST_CHECK_EQUAL(Vector3int16(42,0,0), read2), BOOST_CHECK_EQUAL(Vector3int16(0,0,0), read3)

ClusterDeltaBuffer::GrowRetainsOrder​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:402
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, for, pop, push, size
  • Invariants Checked: BOOST_CHECK_EQUAL(i + 1, updateBuffer.size()), BOOST_CHECK_EQUAL(i / 32, out.y), BOOST_CHECK_EQUAL(i % 32, out.z), BOOST_CHECK_EQUAL(i + 1 - 32, updateBuffer.size())

ClusterDeltaBuffer::CreatingStateSanityCheck​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:456
  • Verified Functions: BOOST_CHECK_EQUAL, GetNumberOfBitsUsed, GetNumberOfBytesUsed, client, clientCluster, clientWrapper, createCell, getCell
  • Invariants Checked: BOOST_CHECK_EQUAL(1, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(32 + (1 + 1 + 48 + 14 + 2 + 16 + 2) + (1 + 1) + 32, buffer.writeStream->GetNumberOfBitsUsed())

ClusterDeltaBuffer::DuplicateEncoding​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:489
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, client, clientCluster, clientWrapper, createCell, getCell, getReplicationData
  • Invariants Checked: BOOST_CHECK_EQUAL(4, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(newCell1, serverCluster->getVoxelGrid()->getCell(testCellLocations[0])), BOOST_CHECK_EQUAL(newCell1, serverCluster->getVoxelGrid()->getCell(testCellLocations[1]))

ClusterDeltaBuffer::CanSetCellsInLargestChunk​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:529
  • Verified Functions: BOOST_CHECK_EQUAL, client, clientCluster, clientWrapper, createCell, getCell, getReplicationData, getVoxelGrid
  • Invariants Checked: BOOST_CHECK_EQUAL(2, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(Constants::kUniqueEmptyCellRepresentation, serverCluster->getVoxelGrid()->getCell(testCellLocation1))

ClusterDeltaBuffer::ShipsInTheNight​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:562
  • Verified Functions: BOOST_CHECK_EQUAL, client, clientCluster, clientWrapper, countPackets, createCell, getCell, getCellMaterial
  • Invariants Checked: BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(baseCell, serverCluster->getVoxelGrid()->getCell(testCellLocation)), BOOST_CHECK_EQUAL(baseMaterial, serverCluster->getVoxelGrid()->getCellMaterial(testCellLocation))

ClusterDeltaBuffer::ServerReceivesMoreUpdatesBeforeFinishedSendingOlderUpdates​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:630
  • Verified Functions: BOOST_CHECK_EQUAL, BOOST_REQUIRE, BOOST_REQUIRE_GT, client, clientCluster, clientCluster2, clientWrapper, clientWrapper2
  • Invariants Checked: BOOST_REQUIRE(clientWrapper->getReplicationData().updateBuffer.size() > 0), BOOST_REQUIRE_GT(remainPackets, 2), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper2->getReplicationData().updateBuffer.size())

ClusterDeltaBuffer::ClientDoesNotAcceptNetworkUpdatesForCellsInQueue​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:699
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, client, clientCluster, clientWrapper, commonLocation, createCell, getCell
  • Invariants Checked: BOOST_CHECK_EQUAL(2, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(2, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(2, clientWrapper->getReplicationData().updateBuffer.size())

ClusterDeltaBuffer::ServerDoesAcceptNetworkUpdatesForCellsInQueue​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:758
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, client, clientCluster, clientWrapper, commonLocation, createCell, getCell
  • Invariants Checked: BOOST_CHECK_EQUAL(2, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(2, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(3, serverWrapper->getReplicationData().updateBuffer.size())

ClusterDeltaBuffer::ClientIsNotClobberedByServerMergingUpdatesAndBouncing​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:815
  • Verified Functions: BOOST_CHECK_EQUAL, client, clientCluster, clientWrapper, commonLocation, createCell, getCell, getReplicationData
  • Invariants Checked: BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(newClientCell2, clientCluster->getVoxelGrid()->getCell(commonLocation)), BOOST_CHECK_EQUAL(newClientCell2, serverCluster->getVoxelGrid()->getCell(commonLocation))

ClusterDeltaBuffer::ClientIsNotClobberedByQuickServerBounces​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:849
  • Verified Functions: BOOST_CHECK_EQUAL, client, clientCluster, clientWrapper, commonLocation, createCell, getCell, getReplicationData
  • Invariants Checked: BOOST_CHECK_EQUAL(1, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(newClientCell2, clientCluster->getVoxelGrid()->getCell(commonLocation))

ClusterDeltaBuffer::EmptyChunkFromNewVoxelStorageDoesNotDisruptNetwork​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:896
  • Verified Functions: BOOST_CHECK, BOOST_CHECK_EQUAL, Region, client, clientCluster, clientWrapper, commonLocation, createCell
  • Invariants Checked: BOOST_CHECK(!r.isGuaranteedAllEmpty()), BOOST_CHECK(r.isGuaranteedAllEmpty()), BOOST_CHECK_EQUAL(Constants::kUniqueEmptyCellRepresentation, serverCluster->getVoxelGrid()->getCell(commonLocation)), BOOST_CHECK_EQUAL(CELL_MATERIAL_Water, serverCluster->getVoxelGrid()->getCellMaterial(commonLocation))

ClusterDeltaBuffer::SendAFewChunksOfRepeats​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:937
  • Verified Functions: BOOST_CHECK_EQUAL, BOOST_CHECK_MESSAGE, Vector3int16, client, clientCluster, clientWrapper, countPackets, createCell
  • Invariants Checked: BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_MESSAGE(cell == serverCluster->getVoxelGrid()->getCell(Vector3int16(x,y,z)), messageBuf), BOOST_CHECK_MESSAGE(material == serverCluster->getVoxelGrid()->getCellMaterial(Vector3int16(x,y,z)), messageBuf)

ClusterDeltaBuffer::AllCellPermutations​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:977
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, client, clientCluster, clientWrapper, countPackets, for, getBlock
  • Invariants Checked: BOOST_CHECK_EQUAL(0, serverWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(0, clientWrapper->getReplicationData().updateBuffer.size()), BOOST_CHECK_EQUAL(clientCluster->getVoxelGrid()->getCell(Vector3int16(i, 1, m)), serverCluster->getVoxelGrid()->getCell(Vector3int16(i, 1, m))), BOOST_CHECK_EQUAL(clientCluster->getVoxelGrid()->getCellMaterial(Vector3int16(i, 1, m)), serverCluster->getVoxelGrid()->getCellMaterial(Vector3int16(i, 1, m)))

ClusterDeltaBuffer::ManyPlayers​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1028
  • Verified Functions: runPacketCountTest
  • Invariants Checked: Implicit assertion via execution

ClusterDeltaBuffer::SmallerGameIsFast​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1041
  • Verified Functions: runPacketCountTest
  • Invariants Checked: Implicit assertion via execution

ClusterDeltaBuffer::TinyGameIsRealTime​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1054
  • Verified Functions: runPacketCountTest
  • Invariants Checked: Implicit assertion via execution

ClusterDeltaBuffer::InitialCachedChunksRemainFifoAcrossBatches​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1125
  • Verified Functions: BOOST_CHECK, ClusterReplicationData, Id, assign, begin, end, front, hasDataToSend
  • Invariants Checked: BOOST_CHECK(data.hasDataToSend()), BOOST_CHECK(data.initialChunkIterator.front() == chunks[0]), BOOST_CHECK(data.initialChunkIterator.front() == chunks[1]), BOOST_CHECK(data.initialChunkIterator.front() == chunks[2])

ClusterDeltaBuffer::ChunkSend​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1142
  • Verified Functions: BOOST_CHECK_EQUAL, Vector3int16, client, clientCluster, clientWrapper, countChunkPackets, for, getCell
  • Invariants Checked: BOOST_CHECK_EQUAL(cellOrig, cellReplicated)

ClusterDeltaBuffer::EmptyTerrainDoesNotGetReplicatedToNewPlayers​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1177
  • Verified Functions: BOOST_CHECK, Vector3int16, client, clientCluster, clientWrapper, countChunkPackets, getVoxelGrid, initialize
  • Invariants Checked: BOOST_CHECK(!clientCluster->isAllocated()), BOOST_CHECK(clientCluster->isAllocated()), BOOST_CHECK(!clientCluster->isAllocated()), BOOST_CHECK(!clientCluster->isAllocated())

ClusterDeltaBuffer::SendRandomTerrain​

  • Location: App.UnitTest/ClusterReplicationTest.cpp:1225
  • Verified Functions: Asserts, BOOST_CHECK_LE, BOOST_WARN_EQUAL, client, clientCluster, clientWrapper, countChunkPackets, generateReasonableTerrain
  • Invariants Checked: BOOST_CHECK_LE(packets,DesiredSendHertz*TargetSeconds), BOOST_WARN_EQUAL(0, packets)

StreamRegionTest::SpatialRegionToWorldTest​

  • Location: App.UnitTest/StreamRegionTest.cpp:11
  • Verified Functions: BOOST_CHECK_EQUAL, Id, max, min, smallestCornerOfRegionInGlobalCoordStuds
  • Invariants Checked: BOOST_CHECK_EQUAL(0, vmin.x), BOOST_CHECK_EQUAL(0, vmin.y), BOOST_CHECK_EQUAL(0, vmin.z), BOOST_CHECK_EQUAL(1920, vmax.x)

StreamRegionTest::SmallestCornerTest​

  • Location: App.UnitTest/StreamRegionTest.cpp:29
  • Verified Functions: BOOST_CHECK_EQUAL, Id, Vector3int32, extentsFromRegionId, floor, min, smallestCornerOfRegionInGlobalCoordStuds, spatialMax
  • Invariants Checked: BOOST_CHECK_EQUAL(spatialVMin, streamVMin), BOOST_CHECK_EQUAL(spatialVMax, streamVMax)

StreamRegionTest::LargestCornerTest​

  • Location: App.UnitTest/StreamRegionTest.cpp:46
  • Verified Functions: BOOST_CHECK_EQUAL, Id, Vector3int32, extentsFromRegionId, floor, largestCornerOfRegionInGlobalCoordStuds, max, spatialMax
  • Invariants Checked: BOOST_CHECK_EQUAL(spatialVMin, streamVMin), BOOST_CHECK_EQUAL(spatialVMax, streamVMax)