Namespaces | |
| namespace | anonymous_namespace{compression_test.cc} |
| namespace | anonymous_namespace{snes_palette_test.cc} |
| namespace | anonymous_namespace{test_manager.cc} |
| namespace | anonymous_namespace{test_recorder.cc} |
| namespace | anonymous_namespace{test_script_parser.cc} |
| namespace | anonymous_namespace{widget_discovery_service.cc} |
| namespace | gui |
| namespace | integration |
Classes | |
| class | AITilePlacementTest |
| Integration tests for AI-controlled tile placement. More... | |
| class | ArenaTestSuite |
| class | CanvasAutomationAPITest |
| class | CanvasCoordinateSyncTest |
| Tests for canvas coordinate synchronization. More... | |
| class | DungeonEditorIntegrationTest |
| Integration test framework using real ROM data. More... | |
| class | DungeonEditorV2IntegrationTest |
| Integration test framework for DungeonEditorV2. More... | |
| class | DungeonObjectRenderingE2ETests |
| Comprehensive E2E test fixture for dungeon object rendering system. More... | |
| class | DungeonObjectRenderingTests |
| Tests for ObjectDrawer with realistic dungeon scenarios. More... | |
| class | DungeonRoomTest |
| class | E2ERomDependentTest |
| Comprehensive End-to-End ROM testing suite. More... | |
| class | E2ETestSuite |
| End-to-End test suite for comprehensive ROM testing. More... | |
| class | EditorIntegrationTest |
| Base class for editor integration tests. More... | |
| class | EmulatorTestSuite |
| Test suite for core emulator components. More... | |
| class | GeminiVisionTest |
| class | IntegratedTestSuite |
| class | MessageRomTest |
| class | MockRom |
| Enhanced ROM for testing that behaves like a real ROM but with test data. More... | |
| class | ObjectParserStructsTest |
| class | ObjectParserTest |
| class | OverworldE2ETest |
| Comprehensive End-to-End Overworld Test Suite. More... | |
| class | PerformanceTestSuite |
| struct | ResourceStats |
| class | RomDependentTest |
| Test fixture for ROM-dependent tests. More... | |
| class | RomDependentTestSuite |
| class | RomTest |
| class | SpriteBuilderTest |
| struct | TestConfig |
| class | TestDungeonObjects |
| Simplified test framework for dungeon object rendering. More... | |
| class | TestEditor |
| class | TestManager |
| class | TestRecorder |
| struct | TestResult |
| struct | TestResults |
| class | TestRomManager |
| Utility class for handling test ROM files. More... | |
| struct | TestScript |
| class | TestScriptParser |
| struct | TestScriptStep |
| class | TestSuite |
| class | TileSelectorWidgetTest |
| class | UITestSuite |
| class | UnitTestSuite |
| class | WidgetDiscoveryService |
| class | ZSCustomOverworldTestSuite |
| ZSCustomOverworld upgrade testing suite. More... | |
| class | ZSCustomOverworldUpgradeTest |
| ZSCustomOverworld upgrade testing suite. More... | |
Enumerations | |
| enum class | TestStatus { kNotRun , kRunning , kPassed , kFailed , kSkipped } |
| enum class | TestCategory { kUnit , kIntegration , kUI , kPerformance , kMemory } |
| enum class | TestMode { kAll , kUnit , kIntegration , kE2E , kRomDependent , kZSCustomOverworld , kCore , kGraphics , kEditor , kDeprecated , kSpecific } |
Functions | |
| const char * | TestStatusToString (TestStatus status) |
| const char * | TestCategoryToString (TestCategory category) |
| ImVec4 | GetTestStatusColor (TestStatus status) |
| void | RegisterZ3edTestSuites () |
| void | RegisterObjectBrowserTests_SelectObject (DungeonObjectRenderingE2ETests *self) |
| Test: Select object from browser. | |
| void | RegisterObjectBrowserTests_SearchFilter (DungeonObjectRenderingE2ETests *self) |
| Test: Search and filter objects. | |
| void | RegisterObjectPlacementTests_SnapToGrid (DungeonObjectRenderingE2ETests *self) |
| Test: Place object with snap to grid. | |
| void | RegisterObjectPlacementTests_MultipleObjects (DungeonObjectRenderingE2ETests *self) |
| Test: Place multiple objects sequentially. | |
| void | RegisterObjectSelectionTests_MultiSelect (DungeonObjectRenderingE2ETests *self) |
| Test: Multi-select objects with Ctrl+drag. | |
| void | RegisterObjectSelectionTests_MoveObject (DungeonObjectRenderingE2ETests *self) |
| Test: Move selected object with drag. | |
| void | RegisterObjectSelectionTests_DeleteObject (DungeonObjectRenderingE2ETests *self) |
| Test: Delete selected object. | |
| void | RegisterLayerManagementTests_PlaceOnLayers (DungeonObjectRenderingE2ETests *self) |
| Test: Place objects on different layers. | |
| void | RegisterLayerManagementTests_RenderingOrder (DungeonObjectRenderingE2ETests *self) |
| Test: Layer rendering order. | |
| void | RegisterSaveWorkflowTests_RoundTrip (DungeonObjectRenderingE2ETests *self) |
| Test: Save and reload room (round-trip) | |
| void | RegisterSaveWorkflowTests_MultipleTypes (DungeonObjectRenderingE2ETests *self) |
| Test: Save with multiple object types. | |
| void | RegisterRenderingQualityTests_Palettes (DungeonObjectRenderingE2ETests *self) |
| Test: Render with different palettes. | |
| void | RegisterRenderingQualityTests_ComplexRoom (DungeonObjectRenderingE2ETests *self) |
| Test: Complex room scenario rendering. | |
| TEST_F (DungeonObjectRenderingE2ETests, RunAllTests) | |
| TEST_F (OverworldE2ETest, ExtractVanillaGoldenData) | |
| TEST_F (OverworldE2ETest, LoadVanillaOverworldData) | |
| TEST_F (OverworldE2ETest, ApplyZSCustomOverworldV3) | |
| TEST_F (OverworldE2ETest, OverworldEditPersistence) | |
| TEST_F (OverworldE2ETest, CoordinateCalculationValidation) | |
| TEST_F (OverworldE2ETest, BeforeAfterValidation) | |
| TEST_F (OverworldE2ETest, RomDependentTestSuiteIntegration) | |
| TEST_F (OverworldE2ETest, PerformanceAndStability) | |
| TEST_F (E2ERomDependentTest, BasicROMLoadSave) | |
| TEST_F (E2ERomDependentTest, ROMDataEditWorkflow) | |
| TEST_F (E2ERomDependentTest, TransactionSystem) | |
| TEST_F (E2ERomDependentTest, CorruptionDetection) | |
| TEST_F (E2ERomDependentTest, LargeScaleEditing) | |
| TEST_F (ZSCustomOverworldUpgradeTest, VanillaBaseline) | |
| TEST_F (ZSCustomOverworldUpgradeTest, VanillaToV2Upgrade) | |
| TEST_F (ZSCustomOverworldUpgradeTest, V2ToV3Upgrade) | |
| TEST_F (ZSCustomOverworldUpgradeTest, VanillaToV3Upgrade) | |
| TEST_F (ZSCustomOverworldUpgradeTest, AddressValidation) | |
| TEST_F (ZSCustomOverworldUpgradeTest, FeatureToggle) | |
| TEST_F (ZSCustomOverworldUpgradeTest, DataIntegrity) | |
| TEST_F (AITilePlacementTest, ParsePlaceTileCommand) | |
| TEST_F (AITilePlacementTest, ParseSelectTileCommand) | |
| TEST_F (AITilePlacementTest, ParseOpenEditorCommand) | |
| TEST_F (AITilePlacementTest, ActionToStringRoundtrip) | |
| TEST_F (AITilePlacementTest, ActionRefinement) | |
| TEST_F (AITilePlacementTest, MultipleCommandsParsing) | |
| TEST_F (AITilePlacementTest, HexAndDecimalParsing) | |
| TEST_F (GeminiVisionTest, BasicImageAnalysis) | |
| TEST_F (GeminiVisionTest, ImageWithSpecificPrompt) | |
| TEST_F (GeminiVisionTest, InvalidImagePath) | |
| TEST_F (GeminiVisionTest, MultipleRequestsSequential) | |
| TEST_F (GeminiVisionTest, RateLimitHandling) | |
| TEST_F (DungeonEditorIntegrationTest, LoadRoomFromRealRom) | |
| TEST_F (DungeonEditorIntegrationTest, LoadMultipleRooms) | |
| TEST_F (DungeonEditorIntegrationTest, DungeonEditorInitialization) | |
| TEST_F (DungeonEditorIntegrationTest, ObjectEncodingRoundTrip) | |
| TEST_F (DungeonEditorIntegrationTest, EncodeType1Object) | |
| TEST_F (DungeonEditorIntegrationTest, EncodeType2Object) | |
| TEST_F (DungeonEditorIntegrationTest, EncodeType3Object) | |
| TEST_F (DungeonEditorIntegrationTest, AddObjectToRoom) | |
| TEST_F (DungeonEditorIntegrationTest, RemoveObjectFromRoom) | |
| TEST_F (DungeonEditorIntegrationTest, UpdateObjectInRoom) | |
| TEST_F (DungeonEditorIntegrationTest, ValidateObjectBounds) | |
| TEST_F (DungeonEditorIntegrationTest, SaveAndReloadRoom) | |
| TEST_F (DungeonEditorIntegrationTest, RenderObjectWithTiles) | |
| TEST_F (DungeonEditorIntegrationTest, ObjectsOnDifferentLayers) | |
| TEST_F (DungeonEditorV2IntegrationTest, EditorInitialization) | |
| TEST_F (DungeonEditorV2IntegrationTest, RomLoadStatus) | |
| TEST_F (DungeonEditorV2IntegrationTest, LoadAllRooms) | |
| TEST_F (DungeonEditorV2IntegrationTest, LoadWithoutRom) | |
| TEST_F (DungeonEditorV2IntegrationTest, LoadSequence) | |
| TEST_F (DungeonEditorV2IntegrationTest, UpdateBeforeLoad) | |
| TEST_F (DungeonEditorV2IntegrationTest, UpdateAfterLoad) | |
| TEST_F (DungeonEditorV2IntegrationTest, SaveWithoutRom) | |
| TEST_F (DungeonEditorV2IntegrationTest, SaveAfterLoad) | |
| TEST_F (DungeonEditorV2IntegrationTest, AddRoomTab) | |
| TEST_F (DungeonEditorV2IntegrationTest, AddMultipleRoomTabs) | |
| TEST_F (DungeonEditorV2IntegrationTest, RoomLoaderDelegation) | |
| TEST_F (DungeonEditorV2IntegrationTest, ComponentsInitializedAfterLoad) | |
| TEST_F (DungeonEditorV2IntegrationTest, SetRomAfterConstruction) | |
| TEST_F (DungeonEditorV2IntegrationTest, SetRomAndLoad) | |
| TEST_F (DungeonEditorV2IntegrationTest, UnimplementedMethods) | |
| TEST_F (DungeonEditorV2IntegrationTest, MultipleUpdateCycles) | |
| TEST_F (DungeonEditorV2IntegrationTest, InvalidRoomId) | |
| TEST_F (DungeonEditorV2IntegrationTest, NegativeRoomId) | |
| TEST_F (DungeonEditorV2IntegrationTest, LoadTwice) | |
| TEST_F (DungeonObjectRenderingTests, BasicObjectDrawing) | |
| TEST_F (DungeonObjectRenderingTests, MultiLayerRendering) | |
| TEST_F (DungeonObjectRenderingTests, EmptyObjectList) | |
| TEST_F (DungeonObjectRenderingTests, LargeObjectSet) | |
| TEST_F (DungeonObjectRenderingTests, BoundaryObjects) | |
| TEST_F (DungeonObjectRenderingTests, VariousObjectTypes) | |
| TEST_F (DungeonObjectRenderingTests, ErrorHandling) | |
| TEST_F (DungeonRoomTest, SingleRoomLoadOk) | |
| TEST_F (MessageRomTest, ParseSingleMessage_CommandParsing) | |
| TEST_F (MessageRomTest, ParseSingleMessage_BasicAscii) | |
| TEST_F (MessageRomTest, FindMatchingCharacter_Success) | |
| TEST_F (MessageRomTest, FindMatchingCharacter_Failure) | |
| TEST_F (MessageRomTest, FindDictionaryEntry_Success) | |
| TEST_F (MessageRomTest, FindDictionaryEntry_Failure) | |
| TEST_F (MessageRomTest, ParseMessageToData_Basic) | |
| TEST_F (MessageRomTest, ReplaceAllDictionaryWords_Success) | |
| TEST_F (MessageRomTest, ReplaceAllDictionaryWords_NoMatch) | |
| TEST_F (MessageRomTest, ParseTextDataByte_Success) | |
| TEST_F (MessageRomTest, ParseTextDataByte_Failure) | |
| TEST_F (MessageRomTest, ParseSingleMessage_SpecialCharacters) | |
| TEST_F (MessageRomTest, ParseSingleMessage_DictionaryReference) | |
| TEST_F (MessageRomTest, ParseSingleMessage_InvalidTerminator) | |
| TEST_F (MessageRomTest, ParseSingleMessage_EmptyData) | |
| TEST_F (MessageRomTest, OptimizeMessageForDictionary_Basic) | |
| TEST_F (MessageRomTest, SetMessage_Success) | |
| TEST_F (MessageRomTest, FindMatchingElement_CommandWithArgument) | |
| TEST_F (MessageRomTest, FindMatchingElement_InvalidCommand) | |
| TEST_F (MessageRomTest, BuildDictionaryEntries_CorrectSize) | |
| TEST_F (MessageRomTest, ParseMessageData_CommandWithArgument_NoExtraCharacters) | |
| TEST_F (MessageRomTest, ParseMessageData_MultipleCommandsWithArguments) | |
| TEST_F (MessageRomTest, ParseMessageData_CommandWithoutArgument) | |
| TEST_F (MessageRomTest, ParseMessageData_MixedCommands) | |
| int | RunIntegrationTest () |
| MATCHER_P (StatusIs, status, "") | |
| template<typename T > | |
| ::testing::AssertionResult | IsOkAndHolds (const absl::StatusOr< T > &status_or, const T &value) |
| MATCHER_P (IsOkAndHolds, value, "") | |
| MATCHER_P (StatusIsWithMessage, message, "") | |
| MATCHER_P (StatusIsWithCode, code, "") | |
| template<typename T , typename Matcher > | |
| ::testing::AssertionResult | IsOkAndMatches (const absl::StatusOr< T > &status_or, const Matcher &matcher) |
| template<typename T > | |
| ::testing::AssertionResult | StatusOrEqual (const absl::StatusOr< T > &a, const absl::StatusOr< T > &b) |
| TEST (HexTest, HexByte) | |
| TEST (HexTest, HexWord) | |
| TEST (HexTest, HexLong) | |
| TEST (HexTest, HexLongLong) | |
| TEST (LC_LZ2_CompressionTest, TrivialRepeatedBytes) | |
| TEST (LC_LZ2_CompressionTest, RepeatedBytesBetweenUncompressable) | |
| TEST (LC_LZ2_CompressionTest, RepeatedBytesBeforeUncompressable) | |
| TEST (LC_LZ2_CompressionTest, RepeatedBytesAfterUncompressable) | |
| TEST (LC_LZ2_CompressionTest, RepeatedBytesAfterUncompressableRepeated) | |
| TEST (LC_LZ2_CompressionTest, RepeatedBytesBeforeUncompressableRepeated) | |
| TEST (LC_LZ2_CompressionTest, NewDecompressionPieceOk) | |
| TEST (LC_LZ2_CompressionTest, CompressionSingleSet) | |
| TEST (LC_LZ2_CompressionTest, CompressionSingleWord) | |
| TEST (LC_LZ2_CompressionTest, CompressionSingleIncrement) | |
| TEST (LC_LZ2_CompressionTest, CompressionSingleCopy) | |
| TEST (LC_LZ2_CompressionTest, CompressionSingleOverflowIncrement) | |
| TEST (HandleDirectCopyTest, NotDirectCopyWithAccumulatedBytes) | |
| TEST (HandleDirectCopyTest, NotDirectCopyWithoutAccumulatedBytes) | |
| TEST (HandleDirectCopyTest, AccumulateBytesWithoutMax) | |
| TEST (CheckIncByteV3Test, IncreasingSequence) | |
| TEST (CheckIncByteV3Test, IncreasingSequenceSurroundedByIdenticalBytes) | |
| TEST (CheckIncByteV3Test, NotAnIncreasingSequence) | |
| TEST (LC_LZ2_CompressionTest, DecompressionValidCommand) | |
| TEST (LC_LZ2_CompressionTest, DecompressionMixingCommand) | |
| TEST (SnesColorTest, DefaultConstructor) | |
| TEST (SnesColorTest, RGBConstructor) | |
| TEST (SnesColorTest, SNESConstructor) | |
| TEST (SnesColorTest, ConvertRgbToSnes) | |
| TEST (SnesColorTest, ConvertSnestoRGB) | |
| TEST (SnesColorTest, ConvertSnesToRGB_Binary) | |
| TEST (SnesColorTest, Extraction) | |
| TEST (SnesColorTest, Convert) | |
| TEST (SnesPaletteTest, DefaultConstructor) | |
| TEST (SnesPaletteTest, AddColor) | |
| TEST (SnesPaletteTest, AddMultipleColors) | |
| TEST (SnesPaletteTest, UpdateColor) | |
| TEST (SnesPaletteTest, SubPalette) | |
| TEST (SnesPaletteTest, VectorConstructor) | |
| TEST (SnesPaletteTest, Clear) | |
| TEST (SnesPaletteTest, Iterator) | |
| TEST (SnesPaletteTest, OperatorAccess) | |
| TEST (SnesTileTest, UnpackBppTile) | |
| TEST (SnesTileTest, PackBppTile) | |
| TEST (SnesTileTest, ConvertBpp) | |
| TEST (SnesTileTest, TileInfo) | |
| TEST (SnesTileTest, TileInfoToWord) | |
| TEST (SnesTileTest, WordToTileInfo) | |
| TEST (SnesTileTest, Tile32) | |
| TEST (SnesTileTest, Tile16) | |
| TEST_F (CanvasAutomationAPITest, TileToCanvas_BasicConversion) | |
| TEST_F (CanvasAutomationAPITest, TileToCanvas_WithZoom) | |
| TEST_F (CanvasAutomationAPITest, CanvasToTile_BasicConversion) | |
| TEST_F (CanvasAutomationAPITest, CanvasToTile_WithZoom) | |
| TEST_F (CanvasAutomationAPITest, CoordinateRoundTrip) | |
| TEST_F (CanvasAutomationAPITest, IsInBounds_ValidCoordinates) | |
| TEST_F (CanvasAutomationAPITest, IsInBounds_InvalidCoordinates) | |
| TEST_F (CanvasAutomationAPITest, SetTileAt_WithCallback) | |
| TEST_F (CanvasAutomationAPITest, SetTileAt_OutOfBounds) | |
| TEST_F (CanvasAutomationAPITest, GetTileAt_WithCallback) | |
| TEST_F (CanvasAutomationAPITest, GetTileAt_OutOfBounds) | |
| TEST_F (CanvasAutomationAPITest, SetTiles_BatchOperation) | |
| TEST_F (CanvasAutomationAPITest, SelectTile) | |
| TEST_F (CanvasAutomationAPITest, SelectTileRect) | |
| TEST_F (CanvasAutomationAPITest, SelectTileRect_SwappedCoordinates) | |
| TEST_F (CanvasAutomationAPITest, ClearSelection) | |
| TEST_F (CanvasAutomationAPITest, SelectTile_OutOfBounds) | |
| TEST_F (CanvasAutomationAPITest, SetZoom_ValidRange) | |
| TEST_F (CanvasAutomationAPITest, SetZoom_Clamping) | |
| TEST_F (CanvasAutomationAPITest, ScrollToTile_ValidTile) | |
| TEST_F (CanvasAutomationAPITest, ScrollToTile_OutOfBounds) | |
| TEST_F (CanvasAutomationAPITest, CenterOn_ValidTile) | |
| TEST_F (CanvasAutomationAPITest, CenterOn_OutOfBounds) | |
| TEST_F (CanvasAutomationAPITest, GetDimensions) | |
| TEST_F (CanvasAutomationAPITest, GetDimensions_WithZoom) | |
| TEST_F (CanvasAutomationAPITest, GetVisibleRegion) | |
| TEST_F (CanvasAutomationAPITest, IsTileVisible_AtOrigin) | |
| TEST_F (CanvasAutomationAPITest, IsTileVisible_OutOfBounds) | |
| TEST_F (CanvasAutomationAPITest, CompleteWorkflow) | |
| TEST_F (CanvasAutomationAPITest, DifferentGridSizes) | |
| TEST_F (CanvasAutomationAPITest, MultipleZoomLevels) | |
| TEST_F (CanvasCoordinateSyncTest, HoverMousePos_InitialState) | |
| TEST_F (CanvasCoordinateSyncTest, HoverMousePos_IndependentFromDrawnPos) | |
| TEST_F (CanvasCoordinateSyncTest, CoordinateSpace_WorldNotScreen) | |
| TEST_F (CanvasCoordinateSyncTest, MapCalculation_SmallMaps) | |
| TEST_F (CanvasCoordinateSyncTest, MapCalculation_LargeMaps) | |
| TEST_F (CanvasCoordinateSyncTest, HoverPosition_ScaleInvariant) | |
| TEST_F (CanvasCoordinateSyncTest, OverworldMapHighlight_UsesHoverNotDrawn) | |
| TEST_F (CanvasCoordinateSyncTest, OverworldMapIndex_From8x8Grid) | |
| TEST_F (CanvasCoordinateSyncTest, MapBoundaries_512x512) | |
| TEST_F (CanvasCoordinateSyncTest, MapBoundaries_1024x1024) | |
| TEST_F (TileSelectorWidgetTest, Construction) | |
| TEST_F (TileSelectorWidgetTest, ConstructionWithConfig) | |
| TEST_F (TileSelectorWidgetTest, AttachCanvas) | |
| TEST_F (TileSelectorWidgetTest, SetTileCount) | |
| TEST_F (TileSelectorWidgetTest, SetSelectedTile) | |
| TEST_F (TileSelectorWidgetTest, TileOrigin) | |
| TEST_F (TileSelectorWidgetTest, RenderWithoutAtlas) | |
| TEST_F (TileSelectorWidgetTest, ProgrammaticSelection) | |
| TEST_F (TileSelectorWidgetTest, ScrollToTile) | |
| TEST_F (TileSelectorWidgetTest, DifferentConfigs) | |
| TEST_F (RomTest, Uninitialized) | |
| TEST_F (RomTest, LoadFromFile) | |
| TEST_F (RomTest, LoadFromFileInvalid) | |
| TEST_F (RomTest, LoadFromFileEmpty) | |
| TEST_F (RomTest, ReadByteOk) | |
| TEST_F (RomTest, ReadByteInvalid) | |
| TEST_F (RomTest, ReadWordOk) | |
| TEST_F (RomTest, ReadWordInvalid) | |
| TEST_F (RomTest, ReadLongOk) | |
| TEST_F (RomTest, ReadBytesOk) | |
| TEST_F (RomTest, ReadBytesOutOfRange) | |
| TEST_F (RomTest, WriteByteOk) | |
| TEST_F (RomTest, WriteWordOk) | |
| TEST_F (RomTest, WriteLongOk) | |
| TEST_F (RomTest, WriteTransactionSuccess) | |
| TEST_F (RomTest, WriteTransactionFailure) | |
| TEST_F (RomTest, ReadTransactionSuccess) | |
| TEST_F (RomTest, ReadTransactionFailure) | |
| TEST_F (RomTest, SaveTruncatesExistingFile) | |
| TEST_F (RomTest, TransactionRollbackRestoresOriginals) | |
| TEST (DungeonToolsetTest, BasicFunctionality) | |
| Unit tests for individual dungeon components. | |
| TEST (DungeonToolsetTest, CallbackFunctionality) | |
| TEST (DungeonUsageTrackerTest, BasicFunctionality) | |
| TEST (ComponentArchitectureTest, FileSizeReduction) | |
| TEST_F (ObjectParserStructsTest, ObjectRoutineInfoDefaultConstructor) | |
| TEST_F (ObjectParserStructsTest, ObjectSubtypeInfoDefaultConstructor) | |
| TEST_F (ObjectParserStructsTest, ObjectSizeInfoDefaultConstructor) | |
| TEST_F (ObjectParserStructsTest, ObjectRoutineInfoAssignment) | |
| TEST_F (ObjectParserStructsTest, ObjectSubtypeInfoAssignment) | |
| TEST_F (ObjectParserStructsTest, ObjectSizeInfoAssignment) | |
| TEST_F (ObjectParserTest, ParseSubtype1Object) | |
| TEST_F (ObjectParserTest, ParseSubtype2Object) | |
| TEST_F (ObjectParserTest, ParseSubtype3Object) | |
| TEST_F (ObjectParserTest, GetObjectSubtype) | |
| TEST_F (ObjectParserTest, ParseObjectSize) | |
| TEST_F (ObjectParserTest, ParseObjectRoutine) | |
| TEST_F (ObjectParserTest, InvalidObjectId) | |
| TEST_F (ObjectParserTest, NullRom) | |
| TEST_F (SpriteBuilderTest, BuildSpritePropertiesOk) | |
| TestConfig | ParseArguments (int argc, char *argv[]) |
| void | SetupTestEnvironment (const TestConfig &config) |
| void | ConfigureTestFilters (const TestConfig &config) |
|
strong |
| Enumerator | |
|---|---|
| kNotRun | |
| kRunning | |
| kPassed | |
| kFailed | |
| kSkipped | |
Definition at line 43 of file test_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kUnit | |
| kIntegration | |
| kUI | |
| kPerformance | |
| kMemory | |
Definition at line 46 of file test_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kAll | |
| kUnit | |
| kIntegration | |
| kE2E | |
| kRomDependent | |
| kZSCustomOverworld | |
| kCore | |
| kGraphics | |
| kEditor | |
| kDeprecated | |
| kSpecific | |
Definition at line 36 of file yaze_test.cc.
| const char * yaze::test::TestStatusToString | ( | TestStatus | status | ) |
| const char * yaze::test::TestCategoryToString | ( | TestCategory | category | ) |
Definition at line 80 of file test_manager.cc.
References kIntegration, kMemory, kPerformance, kUI, and kUnit.
| ImVec4 yaze::test::GetTestStatusColor | ( | TestStatus | status | ) |
Definition at line 96 of file test_manager.cc.
References kFailed, kNotRun, kPassed, kRunning, and kSkipped.
Referenced by yaze::test::TestManager::DrawTestDashboard().
| void yaze::test::RegisterZ3edTestSuites | ( | ) |
Definition at line 9 of file z3ed_test_suite.cc.
References yaze::test::TestManager::Get(), LOG_INFO, and yaze::test::TestManager::RegisterTestSuite().
Referenced by yaze::editor::EditorManager::InitializeTestSuites().

| void yaze::test::RegisterObjectBrowserTests_SelectObject | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Select object from browser.
Validates:
Definition at line 185 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterObjectBrowserTests_SearchFilter | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Search and filter objects.
Validates:
Definition at line 226 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterObjectPlacementTests_SnapToGrid | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Place object with snap to grid.
Validates:
Definition at line 321 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterObjectPlacementTests_MultipleObjects | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Place multiple objects sequentially.
Validates:
Definition at line 364 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterObjectSelectionTests_MultiSelect | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Multi-select objects with Ctrl+drag.
Validates:
Definition at line 451 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterObjectSelectionTests_MoveObject | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Move selected object with drag.
Validates:
Definition at line 498 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterObjectSelectionTests_DeleteObject | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Delete selected object.
Validates:
Definition at line 543 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterLayerManagementTests_PlaceOnLayers | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Place objects on different layers.
Validates:
Definition at line 627 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterLayerManagementTests_RenderingOrder | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Layer rendering order.
Validates:
Definition at line 687 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterSaveWorkflowTests_RoundTrip | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Save and reload room (round-trip)
Validates:
Definition at line 779 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterSaveWorkflowTests_MultipleTypes | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Save with multiple object types.
Validates:
Definition at line 833 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterRenderingQualityTests_Palettes | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Render with different palettes.
Validates:
Definition at line 944 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| void yaze::test::RegisterRenderingQualityTests_ComplexRoom | ( | DungeonObjectRenderingE2ETests * | self | ) |
Test: Complex room scenario rendering.
Validates:
Definition at line 988 of file dungeon_object_rendering_e2e_tests.cc.
References yaze::test::DungeonObjectRenderingE2ETests::dungeon_editor_, and yaze::test::DungeonObjectRenderingE2ETests::engine_.
Referenced by yaze::test::DungeonObjectRenderingE2ETests::RegisterAllTests().
| yaze::test::TEST_F | ( | DungeonObjectRenderingE2ETests | , |
| RunAllTests | |||
| ) |
Definition at line 1126 of file dungeon_object_rendering_e2e_tests.cc.
| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| ExtractVanillaGoldenData | |||
| ) |
Definition at line 101 of file overworld_e2e_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| LoadVanillaOverworldData | |||
| ) |
Definition at line 116 of file overworld_e2e_test.cc.
References yaze::zelda3::Overworld::all_items(), yaze::zelda3::Overworld::all_sprites(), ASSERT_OK, yaze::zelda3::Overworld::entrances(), yaze::zelda3::Overworld::exits(), yaze::zelda3::Overworld::expanded_tile16(), yaze::zelda3::Overworld::expanded_tile32(), yaze::zelda3::Overworld::holes(), yaze::zelda3::Overworld::is_loaded(), yaze::zelda3::Overworld::Load(), and yaze::zelda3::Overworld::overworld_maps().
| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| ApplyZSCustomOverworldV3 | |||
| ) |
Definition at line 156 of file overworld_e2e_test.cc.
References ASSERT_OK, yaze::zelda3::Overworld::expanded_tile16(), yaze::zelda3::Overworld::expanded_tile32(), and yaze::zelda3::Overworld::Load().

| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| OverworldEditPersistence | |||
| ) |
| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| CoordinateCalculationValidation | |||
| ) |
Definition at line 257 of file overworld_e2e_test.cc.
References ASSERT_OK, yaze::zelda3::Overworld::entrances(), yaze::zelda3::Overworld::holes(), and yaze::zelda3::Overworld::Load().

| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| BeforeAfterValidation | |||
| ) |
Definition at line 309 of file overworld_e2e_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| RomDependentTestSuiteIntegration | |||
| ) |
Definition at line 361 of file overworld_e2e_test.cc.
References yaze::zelda3::Overworld::all_items(), yaze::zelda3::Overworld::all_sprites(), ASSERT_OK, yaze::zelda3::Overworld::entrances(), yaze::zelda3::Overworld::exits(), yaze::zelda3::Overworld::is_loaded(), yaze::zelda3::Overworld::Load(), yaze::zelda3::Overworld::overworld_maps(), yaze::zelda3::SmallArea, and yaze::zelda3::TallArea.
| yaze::test::TEST_F | ( | OverworldE2ETest | , |
| PerformanceAndStability | |||
| ) |
Definition at line 403 of file overworld_e2e_test.cc.
References ASSERT_OK, yaze::zelda3::Overworld::entrances(), yaze::zelda3::Overworld::exits(), yaze::zelda3::Overworld::Load(), and yaze::zelda3::Overworld::overworld_maps().

| yaze::test::TEST_F | ( | E2ERomDependentTest | , |
| BasicROMLoadSave | |||
| ) |
Definition at line 130 of file e2e_rom_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | E2ERomDependentTest | , |
| ROMDataEditWorkflow | |||
| ) |
Definition at line 142 of file e2e_rom_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | E2ERomDependentTest | , |
| TransactionSystem | |||
| ) |
Definition at line 179 of file e2e_rom_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | E2ERomDependentTest | , |
| CorruptionDetection | |||
| ) |
Definition at line 218 of file e2e_rom_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | E2ERomDependentTest | , |
| LargeScaleEditing | |||
| ) |
Definition at line 243 of file e2e_rom_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| VanillaBaseline | |||
| ) |
Definition at line 167 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| VanillaToV2Upgrade | |||
| ) |
Definition at line 181 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| V2ToV3Upgrade | |||
| ) |
Definition at line 206 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| VanillaToV3Upgrade | |||
| ) |
Definition at line 234 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| AddressValidation | |||
| ) |
Definition at line 259 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| FeatureToggle | |||
| ) |
Definition at line 275 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | ZSCustomOverworldUpgradeTest | , |
| DataIntegrity | |||
| ) |
Definition at line 330 of file zscustomoverworld_upgrade_test.cc.
References ASSERT_OK.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| ParsePlaceTileCommand | |||
| ) |
Definition at line 33 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| ParseSelectTileCommand | |||
| ) |
Definition at line 57 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| ParseOpenEditorCommand | |||
| ) |
Definition at line 68 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| ActionToStringRoundtrip | |||
| ) |
Definition at line 79 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| ActionRefinement | |||
| ) |
Definition at line 157 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| MultipleCommandsParsing | |||
| ) |
Definition at line 174 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | AITilePlacementTest | , |
| HexAndDecimalParsing | |||
| ) |
Definition at line 194 of file test_ai_tile_placement.cc.
| yaze::test::TEST_F | ( | GeminiVisionTest | , |
| BasicImageAnalysis | |||
| ) |
Definition at line 72 of file test_gemini_vision.cc.
References yaze::cli::GeminiConfig::api_key, yaze::cli::GeminiAIService::GenerateMultimodalResponse(), yaze::cli::GeminiConfig::model, and yaze::cli::GeminiConfig::verbose.

| yaze::test::TEST_F | ( | GeminiVisionTest | , |
| ImageWithSpecificPrompt | |||
| ) |
Definition at line 96 of file test_gemini_vision.cc.
References yaze::cli::GeminiConfig::api_key, yaze::cli::GeminiAIService::GenerateMultimodalResponse(), yaze::cli::GeminiConfig::model, and yaze::cli::GeminiConfig::verbose.

| yaze::test::TEST_F | ( | GeminiVisionTest | , |
| InvalidImagePath | |||
| ) |
Definition at line 124 of file test_gemini_vision.cc.
References yaze::cli::GeminiConfig::api_key, yaze::cli::GeminiAIService::GenerateMultimodalResponse(), and yaze::cli::GeminiConfig::model.

| yaze::test::TEST_F | ( | GeminiVisionTest | , |
| MultipleRequestsSequential | |||
| ) |
Definition at line 178 of file test_gemini_vision.cc.
References yaze::cli::GeminiConfig::api_key, yaze::cli::GeminiAIService::GenerateMultimodalResponse(), yaze::cli::GeminiConfig::model, and yaze::cli::GeminiConfig::verbose.

| yaze::test::TEST_F | ( | GeminiVisionTest | , |
| RateLimitHandling | |||
| ) |
Definition at line 203 of file test_gemini_vision.cc.
References yaze::cli::GeminiConfig::api_key, yaze::cli::GeminiAIService::GenerateMultimodalResponse(), yaze::cli::GeminiConfig::model, and yaze::cli::GeminiConfig::verbose.

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| LoadRoomFromRealRom | |||
| ) |
Definition at line 15 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| LoadMultipleRooms | |||
| ) |
Definition at line 22 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| DungeonEditorInitialization | |||
| ) |
Definition at line 32 of file dungeon_editor_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| ObjectEncodingRoundTrip | |||
| ) |
Definition at line 45 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| EncodeType1Object | |||
| ) |
Definition at line 54 of file dungeon_editor_test.cc.
References yaze::zelda3::RoomObject::EncodeObjectToBytes().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| EncodeType2Object | |||
| ) |
Definition at line 65 of file dungeon_editor_test.cc.
References yaze::zelda3::RoomObject::EncodeObjectToBytes().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| EncodeType3Object | |||
| ) |
Definition at line 74 of file dungeon_editor_test.cc.
References yaze::zelda3::RoomObject::EncodeObjectToBytes().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| AddObjectToRoom | |||
| ) |
Definition at line 88 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom(), and yaze::zelda3::RoomObject::set_rom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| RemoveObjectFromRoom | |||
| ) |
Definition at line 103 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| UpdateObjectInRoom | |||
| ) |
Definition at line 117 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom(), yaze::zelda3::RoomObject::x_, and yaze::zelda3::RoomObject::y_.

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| ValidateObjectBounds | |||
| ) |
Definition at line 139 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| SaveAndReloadRoom | |||
| ) |
Definition at line 164 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| RenderObjectWithTiles | |||
| ) |
Definition at line 186 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorIntegrationTest | , |
| ObjectsOnDifferentLayers | |||
| ) |
Definition at line 204 of file dungeon_editor_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| EditorInitialization | |||
| ) |
Definition at line 10 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| RomLoadStatus | |||
| ) |
Definition at line 16 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| LoadAllRooms | |||
| ) |
Definition at line 27 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| LoadWithoutRom | |||
| ) |
Definition at line 34 of file dungeon_editor_v2_test.cc.
References yaze::editor::DungeonEditorV2::Load().

| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| LoadSequence | |||
| ) |
Definition at line 42 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| UpdateBeforeLoad | |||
| ) |
Definition at line 57 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| UpdateAfterLoad | |||
| ) |
Definition at line 63 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| SaveWithoutRom | |||
| ) |
Definition at line 76 of file dungeon_editor_v2_test.cc.
References yaze::editor::DungeonEditorV2::Save().

| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| SaveAfterLoad | |||
| ) |
Definition at line 84 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| AddRoomTab | |||
| ) |
Definition at line 98 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| AddMultipleRoomTabs | |||
| ) |
Definition at line 110 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| RoomLoaderDelegation | |||
| ) |
Definition at line 127 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| ComponentsInitializedAfterLoad | |||
| ) |
Definition at line 136 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| SetRomAfterConstruction | |||
| ) |
Definition at line 150 of file dungeon_editor_v2_test.cc.
References yaze::editor::DungeonEditorV2::IsRomLoaded(), yaze::editor::DungeonEditorV2::rom(), and yaze::editor::DungeonEditorV2::set_rom().

| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| SetRomAndLoad | |||
| ) |
Definition at line 161 of file dungeon_editor_v2_test.cc.
References yaze::editor::DungeonEditorV2::Initialize(), yaze::editor::DungeonEditorV2::Load(), and yaze::editor::DungeonEditorV2::set_rom().

| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| UnimplementedMethods | |||
| ) |
Definition at line 177 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| MultipleUpdateCycles | |||
| ) |
Definition at line 197 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| InvalidRoomId | |||
| ) |
Definition at line 212 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| NegativeRoomId | |||
| ) |
Definition at line 224 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonEditorV2IntegrationTest | , |
| LoadTwice | |||
| ) |
Definition at line 236 of file dungeon_editor_v2_test.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| BasicObjectDrawing | |||
| ) |
Definition at line 84 of file dungeon_object_rendering_tests.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| MultiLayerRendering | |||
| ) |
Definition at line 102 of file dungeon_object_rendering_tests.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| EmptyObjectList | |||
| ) |
Definition at line 120 of file dungeon_object_rendering_tests.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| LargeObjectSet | |||
| ) |
Definition at line 132 of file dungeon_object_rendering_tests.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| BoundaryObjects | |||
| ) |
Definition at line 157 of file dungeon_object_rendering_tests.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| VariousObjectTypes | |||
| ) |
Definition at line 173 of file dungeon_object_rendering_tests.cc.
| yaze::test::TEST_F | ( | DungeonObjectRenderingTests | , |
| ErrorHandling | |||
| ) |
Definition at line 200 of file dungeon_object_rendering_tests.cc.
References yaze::zelda3::ObjectDrawer::DrawObjectList().

| yaze::test::TEST_F | ( | DungeonRoomTest | , |
| SingleRoomLoadOk | |||
| ) |
Definition at line 27 of file dungeon_room_test.cc.
References yaze::zelda3::LoadRoomFromRom().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseSingleMessage_CommandParsing | |||
| ) |
Definition at line 35 of file message_test.cc.
References yaze::editor::ParseSingleMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseSingleMessage_BasicAscii | |||
| ) |
Definition at line 48 of file message_test.cc.
References yaze::editor::ParseMessageData(), and yaze::editor::ParseSingleMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| FindMatchingCharacter_Success | |||
| ) |
Definition at line 64 of file message_test.cc.
References yaze::editor::FindMatchingCharacter().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| FindMatchingCharacter_Failure | |||
| ) |
Definition at line 71 of file message_test.cc.
References yaze::editor::FindMatchingCharacter().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| FindDictionaryEntry_Success | |||
| ) |
Definition at line 76 of file message_test.cc.
References yaze::editor::FindDictionaryEntry().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| FindDictionaryEntry_Failure | |||
| ) |
Definition at line 81 of file message_test.cc.
References yaze::editor::FindDictionaryEntry().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseMessageToData_Basic | |||
| ) |
Definition at line 86 of file message_test.cc.
References yaze::editor::ParseMessageToData().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ReplaceAllDictionaryWords_Success | |||
| ) |
Definition at line 93 of file message_test.cc.
References yaze::editor::ReplaceAllDictionaryWords().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ReplaceAllDictionaryWords_NoMatch | |||
| ) |
Definition at line 102 of file message_test.cc.
References yaze::editor::ReplaceAllDictionaryWords().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseTextDataByte_Success | |||
| ) |
Definition at line 110 of file message_test.cc.
References yaze::editor::ParseTextDataByte().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseTextDataByte_Failure | |||
| ) |
Definition at line 116 of file message_test.cc.
References yaze::editor::ParseTextDataByte().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseSingleMessage_SpecialCharacters | |||
| ) |
Definition at line 120 of file message_test.cc.
References yaze::editor::ParseSingleMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseSingleMessage_DictionaryReference | |||
| ) |
Definition at line 132 of file message_test.cc.
References yaze::editor::ParseSingleMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseSingleMessage_InvalidTerminator | |||
| ) |
Definition at line 144 of file message_test.cc.
References yaze::editor::ParseSingleMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseSingleMessage_EmptyData | |||
| ) |
Definition at line 152 of file message_test.cc.
References yaze::editor::ParseSingleMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| OptimizeMessageForDictionary_Basic | |||
| ) |
Definition at line 164 of file message_test.cc.
References yaze::editor::MessageData::OptimizeMessageForDictionary().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| SetMessage_Success | |||
| ) |
Definition at line 177 of file message_test.cc.
References yaze::editor::MessageData::ContentsParsed, yaze::editor::MessageData::RawString, and yaze::editor::MessageData::SetMessage().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| FindMatchingElement_CommandWithArgument | |||
| ) |
Definition at line 189 of file message_test.cc.
References yaze::editor::ParsedElement::Active, yaze::editor::FindMatchingElement(), yaze::editor::ParsedElement::Parent, yaze::editor::TextElement::Token, and yaze::editor::ParsedElement::Value.

| yaze::test::TEST_F | ( | MessageRomTest | , |
| FindMatchingElement_InvalidCommand | |||
| ) |
Definition at line 198 of file message_test.cc.
References yaze::editor::ParsedElement::Active, and yaze::editor::FindMatchingElement().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| BuildDictionaryEntries_CorrectSize | |||
| ) |
Definition at line 205 of file message_test.cc.
References yaze::editor::BuildDictionaryEntries(), and yaze::editor::kNumDictionaryEntries.

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseMessageData_CommandWithArgument_NoExtraCharacters | |||
| ) |
Definition at line 211 of file message_test.cc.
References yaze::editor::MessageData::Address, yaze::editor::MessageData::Data, yaze::editor::MessageData::ID, and yaze::editor::ParseMessageData().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseMessageData_MultipleCommandsWithArguments | |||
| ) |
Definition at line 236 of file message_test.cc.
References yaze::editor::MessageData::Data, yaze::editor::MessageData::ID, and yaze::editor::ParseMessageData().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseMessageData_CommandWithoutArgument | |||
| ) |
Definition at line 259 of file message_test.cc.
References yaze::editor::MessageData::Data, yaze::editor::MessageData::ID, and yaze::editor::ParseMessageData().

| yaze::test::TEST_F | ( | MessageRomTest | , |
| ParseMessageData_MixedCommands | |||
| ) |
Definition at line 277 of file message_test.cc.
References yaze::editor::MessageData::Data, yaze::editor::MessageData::ID, and yaze::editor::ParseMessageData().

| int yaze::test::RunIntegrationTest | ( | ) |
Definition at line 57 of file test_editor.cc.
References yaze::gui::ColorsYaze(), yaze::core::CreateWindow(), yaze::Controller::DoRender(), yaze::Controller::IsActive(), yaze::Controller::OnExit(), yaze::Controller::OnInput(), yaze::Controller::set_active(), yaze::test::TestEditor::Update(), and yaze::Controller::window().
| ::testing::AssertionResult yaze::test::IsOkAndHolds | ( | const absl::StatusOr< T > & | status_or, |
| const T & | value | ||
| ) |
Definition at line 30 of file testing.h.
Referenced by MATCHER_P().
| yaze::test::MATCHER_P | ( | IsOkAndHolds | , |
| value | , | ||
| "" | |||
| ) |
Definition at line 43 of file testing.h.
References IsOkAndHolds().

| yaze::test::MATCHER_P | ( | StatusIsWithMessage | , |
| message | , | ||
| "" | |||
| ) |
| ::testing::AssertionResult yaze::test::IsOkAndMatches | ( | const absl::StatusOr< T > & | status_or, |
| const Matcher & | matcher | ||
| ) |
| ::testing::AssertionResult yaze::test::StatusOrEqual | ( | const absl::StatusOr< T > & | a, |
| const absl::StatusOr< T > & | b | ||
| ) |
| yaze::test::TEST | ( | HexTest | , |
| HexByte | |||
| ) |
Definition at line 10 of file hex_test.cc.
References yaze::util::HexByte(), yaze::util::HexStringParams::k0x, yaze::util::HexStringParams::kHash, yaze::util::HexStringParams::kNone, yaze::util::HexStringParams::prefix, and yaze::util::HexStringParams::uppercase.

| yaze::test::TEST | ( | HexTest | , |
| HexWord | |||
| ) |
Definition at line 33 of file hex_test.cc.
References yaze::util::HexWord(), yaze::util::HexStringParams::k0x, yaze::util::HexStringParams::kHash, yaze::util::HexStringParams::kNone, yaze::util::HexStringParams::prefix, and yaze::util::HexStringParams::uppercase.

| yaze::test::TEST | ( | HexTest | , |
| HexLong | |||
| ) |
Definition at line 56 of file hex_test.cc.
References yaze::util::HexLong(), yaze::util::HexStringParams::k0x, yaze::util::HexStringParams::kHash, yaze::util::HexStringParams::kNone, yaze::util::HexStringParams::prefix, and yaze::util::HexStringParams::uppercase.

| yaze::test::TEST | ( | HexTest | , |
| HexLongLong | |||
| ) |
Definition at line 79 of file hex_test.cc.
References yaze::util::HexLongLong(), yaze::util::HexStringParams::k0x, yaze::util::HexStringParams::kHash, yaze::util::HexStringParams::kNone, yaze::util::HexStringParams::prefix, and yaze::util::HexStringParams::uppercase.

| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| TrivialRepeatedBytes | |||
| ) |
Definition at line 106 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| RepeatedBytesBetweenUncompressable | |||
| ) |
Definition at line 110 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| RepeatedBytesBeforeUncompressable | |||
| ) |
Definition at line 115 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| RepeatedBytesAfterUncompressable | |||
| ) |
Definition at line 120 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| RepeatedBytesAfterUncompressableRepeated | |||
| ) |
Definition at line 125 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| RepeatedBytesBeforeUncompressableRepeated | |||
| ) |
Definition at line 131 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| NewDecompressionPieceOk | |||
| ) |
Definition at line 137 of file compression_test.cc.
References yaze::gfx::lc_lz2::CompressionPiece::argument, yaze::gfx::lc_lz2::CompressionPiece::argument_length, yaze::gfx::lc_lz2::CompressionPiece::command, yaze::gfx::lc_lz2::CompressionPiece::length, and yaze::gfx::lc_lz2::CompressionPiece::next.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| CompressionSingleSet | |||
| ) |
Definition at line 163 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| CompressionSingleWord | |||
| ) |
Definition at line 172 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| CompressionSingleIncrement | |||
| ) |
Definition at line 181 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| CompressionSingleCopy | |||
| ) |
Definition at line 189 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| CompressionSingleOverflowIncrement | |||
| ) |
Definition at line 198 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | HandleDirectCopyTest | , |
| NotDirectCopyWithAccumulatedBytes | |||
| ) |
TEST(LC_LZ2_CompressionTest, CompressionSingleCopyRepeat) { std::vector<uint8_t> single_copy_expected = {0x03, 0x0A, 0x07, 0x14, 0x03, 0x0A, 0x07, 0x14};
auto comp_result = ExpectCompressV3Ok( single_copy_expected, {BUILD_HEADER(0x00, 0x04), 0x03, 0x0A, 0x07, 0x14, BUILD_HEADER(0x04, 0x04), 0x00, 0x00, 0xFF}); EXPECT_THAT(single_copy_expected, ElementsAreArray(comp_result.data(), 6)); }
TEST(LC_LZ2_CompressionTest, CompressionMixedRepeatIncrement) { AssertCompressionQuality( {0x05, 0x05, 0x05, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x05, 0x02, 0x05, 0x02, 0x05, 0x02, 0x0A, 0x0B, 0x05, 0x02, 0x05, 0x02, 0x05, 0x02, 0x08, 0x0A, 0x00, 0x05}, {BUILD_HEADER(0x01, 0x04), 0x05, BUILD_HEADER(0x03, 0x06), 0x06, BUILD_HEADER(0x00, 0x01), 0x05, 0xFF}); }
TEST(LC_LZ2_CompressionTest, CompressionMixedIncrementIntraCopyOffset) { "Mixing, inc, alternate, intra copy" compress start: 3, length: 21 compressed length: 9 AssertCompressionQuality( {0x05, 0x05, 0x05, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x05, 0x02, 0x05, 0x02, 0x05, 0x02, 0x0A, 0x0B, 0x05, 0x02, 0x05, 0x02, 0x05, 0x02, 0x08, 0x0A, 0x00, 0x05}, {BUILD_HEADER(0x03, 0x07), 0x05, BUILD_HEADER(0x02, 0x06), 0x05, 0x02, BUILD_HEADER(0x04, 0x08), 0x05, 0x00, 0xFF}); }
TEST(LC_LZ2_CompressionTest, CompressionMixedIncrementIntraCopySource) { "Mixing, inc, alternate, intra copy" 0, 28 16 AssertCompressionQuality( {0x05, 0x05, 0x05, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x05, 0x02, 0x05, 0x02, 0x05, 0x02, 0x0A, 0x0B, 0x05, 0x02, 0x05, 0x02, 0x05, 0x02, 0x08, 0x0A, 0x00, 0x05}, {BUILD_HEADER(0x01, 0x04), 0x05, BUILD_HEADER(0x03, 0x06), 0x06, BUILD_HEADER(0x02, 0x06), 0x05, 0x02, BUILD_HEADER(0x04, 0x08), 0x08, 0x00, BUILD_HEADER(0x00, 0x04), 0x08, 0x0A, 0x00, 0x05, 0xFF}); }
Extended Header 111CCCLL LLLLLLLL CCC: Real command LLLLLLLLLL: Length
Normally you have 5 bits for the length, so the maximum value you can represent is 31 (which outputs 32 bytes). With the long length, you get 5 more bits for the length, so the maximum value you can represent becomes 1023, outputting 1024 bytes at a time.
void build_extended_header(uint8_t command, uint8_t length, uint8_t& byte1, uint8_t& byte2) { byte1 = command << 3; byte1 += (length - 1); byte1 += 0b11100000; byte2 = length >> 3; }
std::vector<uint8_t> CreateRepeatedBetweenUncompressable( int leftUncompressedSize, int repeatedByteSize, int rightUncompressedSize) { std::vector<uint8_t> result( leftUncompressedSize + repeatedByteSize + rightUncompressedSize, 0); std::fill_n(result.begin() + leftUncompressedSize, repeatedByteSize, 0x00); return result; }
TEST(LC_LZ2_CompressionTest, LengthBorderCompression) { "Length border compression" std::vector<uint8_t> result(42, 0); std::fill_n(result.begin(), 42, 0x05); AssertCompressionQuality(result, {BUILD_HEADER(0x04, 42), 0x05, 0x05, 0xFF});
"Extended length, 400 repeat of 5" std::vector<uint8_t> result2(400, 0); std::fill_n(result2.begin(), 400, 0x05); uint8_t byte1; uint8_t byte2; build_extended_header(0x01, 42, byte1, byte2); AssertCompressionQuality(result2, {byte1, byte2, 0x05, 0x05, 0xFF});
"Extended length, 1050 repeat of 5" std::vector<uint8_t> result3(1050, 0); std::fill_n(result3.begin(), 1050, 0x05); uint8_t byte3; uint8_t byte4; build_extended_header(0x04, 1050, byte3, byte4); AssertCompressionQuality(result3, {byte3, byte4, 0x05, 0x05, 0xFF});
// "Extended length, 2050 repeat of 5" std::vector<uint8_t> result4(2050, 0); std::fill_n(result4.begin(), 2050, 0x05); uint8_t byte5; uint8_t byte6; build_extended_header(0x04, 2050, byte5, byte6); AssertCompressionQuality(result4, {byte5, byte6, 0x05, 0x05, 0xFF}); }
TEST(LC_LZ2_CompressionTest, CompressionExtendedWordCopy) { ROM rom; uint8_t buffer[3000]; for (unsigned int i = 0; i < 3000; i += 2) { buffer[i] = 0x05; buffer[i + 1] = 0x06; } uint8_t hightlength_word_1050[] = { 0b11101011, 0xFF, 0x05, 0x06, BUILD_HEADER(0x02, 0x1A), 0x05, 0x06, 0xFF};
// "Extended word copy" auto comp_result = ExpectCompressOk(rom, buffer, 1050); EXPECT_THAT(hightlength_word_1050, ElementsAreArray(comp_result.data(), 8));
std::vector<uint8_t> buffer(3000, 0); std::fill_n(buffer.begin(), 3000, 0x05); for (unsigned int i = 0; i < 3000; i += 2) { buffer[i] = 0x05; buffer[i + 1] = 0x06; }
uint8_t byte1; uint8_t byte2; build_extended_header(0x02, 0x1A, byte1, byte2); AssertCompressionQuality( buffer, {0b11101011, 0xFF, 0x05, 0x06, byte1, byte2, 0x05, 0x06, 0xFF}); }
TEST(LC_LZ2_CompressionTest, CompressionMixedPatterns) { AssertCompressionQuality( {0x05, 0x05, 0x05, 0x06, 0x07, 0x06, 0x07, 0x08, 0x09, 0x0A}, {BUILD_HEADER(0x01, 0x03), 0x05, BUILD_HEADER(0x02, 0x04), 0x06, 0x07, BUILD_HEADER(0x03, 0x03), 0x08, 0xFF}); }
TEST(LC_LZ2_CompressionTest, CompressionLongIntraCopy) { ROM rom; uint8_t long_data[15] = {0x05, 0x06, 0x07, 0x08, 0x05, 0x06, 0x07, 0x08, 0x05, 0x06, 0x07, 0x08, 0x05, 0x06, 0x07}; uint8_t long_expected[] = {BUILD_HEADER(0x00, 0x04), 0x05, 0x06, 0x07, 0x08, BUILD_HEADER(0x04, 0x0C), 0x00, 0x00, 0xFF};
auto comp_result = ExpectCompressOk(rom, long_data, 15); EXPECT_THAT(long_expected, ElementsAreArray(comp_result.data(), sizeof(long_expected))); }
Definition at line 357 of file compression_test.cc.
References yaze::gfx::lc_lz2::CompressionContext::cmd_with_max.
| yaze::test::TEST | ( | HandleDirectCopyTest | , |
| NotDirectCopyWithoutAccumulatedBytes | |||
| ) |
Definition at line 365 of file compression_test.cc.
References yaze::gfx::lc_lz2::CompressionContext::cmd_with_max.
| yaze::test::TEST | ( | HandleDirectCopyTest | , |
| AccumulateBytesWithoutMax | |||
| ) |
Definition at line 372 of file compression_test.cc.
References yaze::gfx::lc_lz2::CompressionContext::cmd_with_max.
| yaze::test::TEST | ( | CheckIncByteV3Test | , |
| IncreasingSequence | |||
| ) |
Definition at line 382 of file compression_test.cc.
| yaze::test::TEST | ( | CheckIncByteV3Test | , |
| IncreasingSequenceSurroundedByIdenticalBytes | |||
| ) |
Definition at line 388 of file compression_test.cc.
| yaze::test::TEST | ( | CheckIncByteV3Test | , |
| NotAnIncreasingSequence | |||
| ) |
Definition at line 396 of file compression_test.cc.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| DecompressionValidCommand | |||
| ) |
Definition at line 403 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | LC_LZ2_CompressionTest | , |
| DecompressionMixingCommand | |||
| ) |
Definition at line 412 of file compression_test.cc.
References BUILD_HEADER.
| yaze::test::TEST | ( | SnesColorTest | , |
| DefaultConstructor | |||
| ) |
Definition at line 27 of file snes_palette_test.cc.
References yaze::gfx::SnesColor::rgb(), and yaze::gfx::SnesColor::snes().

| yaze::test::TEST | ( | SnesColorTest | , |
| RGBConstructor | |||
| ) |
Definition at line 36 of file snes_palette_test.cc.
References yaze::gfx::SnesColor::rgb().

| yaze::test::TEST | ( | SnesColorTest | , |
| SNESConstructor | |||
| ) |
Definition at line 45 of file snes_palette_test.cc.
References yaze::gfx::SnesColor::snes().

| yaze::test::TEST | ( | SnesColorTest | , |
| ConvertRgbToSnes | |||
| ) |
Definition at line 51 of file snes_palette_test.cc.
| yaze::test::TEST | ( | SnesColorTest | , |
| ConvertSnestoRGB | |||
| ) |
Definition at line 57 of file snes_palette_test.cc.
References snes_color::blue, snes_color::green, and snes_color::red.
| yaze::test::TEST | ( | SnesColorTest | , |
| ConvertSnesToRGB_Binary | |||
| ) |
Definition at line 65 of file snes_palette_test.cc.
| yaze::test::TEST | ( | SnesColorTest | , |
| Extraction | |||
| ) |
Definition at line 82 of file snes_palette_test.cc.
| yaze::test::TEST | ( | SnesColorTest | , |
| Convert | |||
| ) |
Definition at line 94 of file snes_palette_test.cc.
References yaze::gfx::Convert().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| DefaultConstructor | |||
| ) |
Definition at line 113 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::empty(), and yaze::gfx::SnesPalette::size().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| AddColor | |||
| ) |
Definition at line 119 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor(), and yaze::gfx::SnesPalette::size().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| AddMultipleColors | |||
| ) |
Definition at line 126 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor(), and yaze::gfx::SnesPalette::size().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| UpdateColor | |||
| ) |
Definition at line 135 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor(), and yaze::gfx::SnesPalette::UpdateColor().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| SubPalette | |||
| ) |
Definition at line 145 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor(), and yaze::gfx::SnesPalette::sub_palette().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| VectorConstructor | |||
| ) |
Definition at line 160 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::size().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| Clear | |||
| ) |
Definition at line 167 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor(), yaze::gfx::SnesPalette::clear(), yaze::gfx::SnesPalette::empty(), and yaze::gfx::SnesPalette::size().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| Iterator | |||
| ) |
Definition at line 176 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor().

| yaze::test::TEST | ( | SnesPaletteTest | , |
| OperatorAccess | |||
| ) |
Definition at line 191 of file snes_palette_test.cc.
References yaze::gfx::SnesPalette::AddColor().

| yaze::test::TEST | ( | SnesTileTest | , |
| UnpackBppTile | |||
| ) |
Definition at line 13 of file snes_tile_test.cc.
References yaze::gfx::UnpackBppTile().

| yaze::test::TEST | ( | SnesTileTest | , |
| PackBppTile | |||
| ) |
Definition at line 75 of file snes_tile_test.cc.
References snes_tile8::data, and yaze::gfx::PackBppTile().

| yaze::test::TEST | ( | SnesTileTest | , |
| ConvertBpp | |||
| ) |
Definition at line 99 of file snes_tile_test.cc.
References yaze::gfx::ConvertBpp().

| yaze::test::TEST | ( | SnesTileTest | , |
| TileInfo | |||
| ) |
Definition at line 120 of file snes_tile_test.cc.
References yaze::gfx::TileInfo::horizontal_mirror_, yaze::gfx::TileInfo::id_, yaze::gfx::TileInfo::over_, yaze::gfx::TileInfo::palette_, and yaze::gfx::TileInfo::vertical_mirror_.
| yaze::test::TEST | ( | SnesTileTest | , |
| TileInfoToWord | |||
| ) |
Definition at line 141 of file snes_tile_test.cc.
References yaze::gfx::TileInfoToWord().

| yaze::test::TEST | ( | SnesTileTest | , |
| WordToTileInfo | |||
| ) |
Definition at line 154 of file snes_tile_test.cc.
References yaze::gfx::TileInfo::horizontal_mirror_, yaze::gfx::TileInfo::id_, yaze::gfx::TileInfo::over_, yaze::gfx::TileInfo::palette_, yaze::gfx::TileInfo::vertical_mirror_, and yaze::gfx::WordToTileInfo().

| yaze::test::TEST | ( | SnesTileTest | , |
| Tile32 | |||
| ) |
Definition at line 165 of file snes_tile_test.cc.
References yaze::gfx::Tile32::GetPackedValue(), yaze::gfx::Tile32::tile0_, yaze::gfx::Tile32::tile1_, yaze::gfx::Tile32::tile2_, and yaze::gfx::Tile32::tile3_.

| yaze::test::TEST | ( | SnesTileTest | , |
| Tile16 | |||
| ) |
Definition at line 188 of file snes_tile_test.cc.
References yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, yaze::gfx::Tile16::tile3_, and yaze::gfx::Tile16::tiles_info.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| TileToCanvas_BasicConversion | |||
| ) |
Definition at line 34 of file canvas_automation_api_test.cc.
References yaze::gui::CanvasAutomationAPI::TileToCanvas().

| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| TileToCanvas_WithZoom | |||
| ) |
Definition at line 58 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| CanvasToTile_BasicConversion | |||
| ) |
Definition at line 73 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| CanvasToTile_WithZoom | |||
| ) |
Definition at line 92 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| CoordinateRoundTrip | |||
| ) |
Definition at line 107 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| IsInBounds_ValidCoordinates | |||
| ) |
Definition at line 124 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| IsInBounds_InvalidCoordinates | |||
| ) |
Definition at line 130 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SetTileAt_WithCallback | |||
| ) |
Definition at line 143 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SetTileAt_OutOfBounds | |||
| ) |
Definition at line 160 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| GetTileAt_WithCallback | |||
| ) |
Definition at line 175 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| GetTileAt_OutOfBounds | |||
| ) |
Definition at line 187 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SetTiles_BatchOperation | |||
| ) |
Definition at line 195 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SelectTile | |||
| ) |
Definition at line 218 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SelectTileRect | |||
| ) |
Definition at line 226 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SelectTileRect_SwappedCoordinates | |||
| ) |
Definition at line 242 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| ClearSelection | |||
| ) |
Definition at line 251 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SelectTile_OutOfBounds | |||
| ) |
Definition at line 264 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SetZoom_ValidRange | |||
| ) |
Definition at line 278 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| SetZoom_Clamping | |||
| ) |
Definition at line 289 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| ScrollToTile_ValidTile | |||
| ) |
Definition at line 301 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| ScrollToTile_OutOfBounds | |||
| ) |
Definition at line 310 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| CenterOn_ValidTile | |||
| ) |
Definition at line 318 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| CenterOn_OutOfBounds | |||
| ) |
Definition at line 329 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| GetDimensions | |||
| ) |
Definition at line 340 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| GetDimensions_WithZoom | |||
| ) |
Definition at line 349 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| GetVisibleRegion | |||
| ) |
Definition at line 358 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| IsTileVisible_AtOrigin | |||
| ) |
Definition at line 373 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| IsTileVisible_OutOfBounds | |||
| ) |
Definition at line 386 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| CompleteWorkflow | |||
| ) |
Definition at line 397 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| DifferentGridSizes | |||
| ) |
Definition at line 435 of file canvas_automation_api_test.cc.
References yaze::gui::k32x32, and yaze::gui::k8x8.
| yaze::test::TEST_F | ( | CanvasAutomationAPITest | , |
| MultipleZoomLevels | |||
| ) |
Definition at line 455 of file canvas_automation_api_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| HoverMousePos_InitialState | |||
| ) |
Definition at line 42 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| HoverMousePos_IndependentFromDrawnPos | |||
| ) |
Definition at line 51 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| CoordinateSpace_WorldNotScreen | |||
| ) |
Definition at line 69 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| MapCalculation_SmallMaps | |||
| ) |
Definition at line 97 of file canvas_coordinate_sync_test.cc.
References yaze::zelda3::kOverworldMapSize.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| MapCalculation_LargeMaps | |||
| ) |
Definition at line 124 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| HoverPosition_ScaleInvariant | |||
| ) |
Definition at line 154 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| OverworldMapHighlight_UsesHoverNotDrawn | |||
| ) |
Definition at line 181 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| OverworldMapIndex_From8x8Grid | |||
| ) |
Definition at line 201 of file canvas_coordinate_sync_test.cc.
References yaze::zelda3::kOverworldMapSize.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| MapBoundaries_512x512 | |||
| ) |
Definition at line 249 of file canvas_coordinate_sync_test.cc.
References yaze::zelda3::kOverworldMapSize.
| yaze::test::TEST_F | ( | CanvasCoordinateSyncTest | , |
| MapBoundaries_1024x1024 | |||
| ) |
Definition at line 274 of file canvas_coordinate_sync_test.cc.
| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| Construction | |||
| ) |
Definition at line 38 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::GetSelectedTileID().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| ConstructionWithConfig | |||
| ) |
Definition at line 44 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::GetSelectedTileID().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| AttachCanvas | |||
| ) |
Definition at line 50 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::AttachCanvas().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| SetTileCount | |||
| ) |
Definition at line 57 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::GetSelectedTileID(), yaze::gui::TileSelectorWidget::SetSelectedTile(), and yaze::gui::TileSelectorWidget::SetTileCount().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| SetSelectedTile | |||
| ) |
Definition at line 70 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::GetSelectedTileID(), yaze::gui::TileSelectorWidget::SetSelectedTile(), and yaze::gui::TileSelectorWidget::SetTileCount().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| TileOrigin | |||
| ) |
Definition at line 89 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::SetTileCount(), and yaze::gui::TileSelectorWidget::TileOrigin().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| RenderWithoutAtlas | |||
| ) |
Definition at line 120 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::AttachCanvas(), and yaze::gui::TileSelectorWidget::Render().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| ProgrammaticSelection | |||
| ) |
Definition at line 134 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::AttachCanvas(), yaze::gui::TileSelectorWidget::GetSelectedTileID(), yaze::gui::TileSelectorWidget::SetSelectedTile(), yaze::gui::TileSelectorWidget::SetTileCount(), and yaze::gui::TileSelectorWidget::TileOrigin().
| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| ScrollToTile | |||
| ) |
Definition at line 158 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::AttachCanvas(), yaze::gui::TileSelectorWidget::ScrollToTile(), and yaze::gui::TileSelectorWidget::SetTileCount().

| yaze::test::TEST_F | ( | TileSelectorWidgetTest | , |
| DifferentConfigs | |||
| ) |
Definition at line 174 of file tile_selector_widget_test.cc.
References yaze::gui::TileSelectorWidget::Config::display_scale, yaze::gui::TileSelectorWidget::Config::draw_offset, yaze::gui::TileSelectorWidget::GetSelectedTileID(), yaze::gui::TileSelectorWidget::SetSelectedTile(), yaze::gui::TileSelectorWidget::SetTileCount(), yaze::gui::TileSelectorWidget::Config::tile_size, yaze::gui::TileSelectorWidget::Config::tiles_per_row, and yaze::gui::TileSelectorWidget::Config::total_tiles.

| yaze::test::TEST_F | ( | RomTest | , |
| Uninitialized | |||
| ) |
Definition at line 29 of file rom_test.cc.
| yaze::test::TEST_F | ( | RomTest | , |
| LoadFromFile | |||
| ) |
Definition at line 34 of file rom_test.cc.
References EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| LoadFromFileInvalid | |||
| ) |
Definition at line 43 of file rom_test.cc.
| yaze::test::TEST_F | ( | RomTest | , |
| LoadFromFileEmpty | |||
| ) |
Definition at line 50 of file rom_test.cc.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadByteOk | |||
| ) |
Definition at line 55 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadByteInvalid | |||
| ) |
Definition at line 65 of file rom_test.cc.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadWordOk | |||
| ) |
Definition at line 70 of file rom_test.cc.
References EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadWordInvalid | |||
| ) |
Definition at line 81 of file rom_test.cc.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadLongOk | |||
| ) |
Definition at line 86 of file rom_test.cc.
References EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadBytesOk | |||
| ) |
Definition at line 98 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| ReadBytesOutOfRange | |||
| ) |
Definition at line 106 of file rom_test.cc.
References EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| WriteByteOk | |||
| ) |
Definition at line 114 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| WriteWordOk | |||
| ) |
Definition at line 125 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| WriteLongOk | |||
| ) |
Definition at line 136 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
| yaze::test::TEST_F | ( | RomTest | , |
| WriteTransactionSuccess | |||
| ) |
Definition at line 147 of file rom_test.cc.
References EXPECT_OK, yaze::Rom::LoadFromData(), and yaze::Rom::WriteTransaction().

| yaze::test::TEST_F | ( | RomTest | , |
| WriteTransactionFailure | |||
| ) |
Definition at line 160 of file rom_test.cc.
References EXPECT_OK, yaze::Rom::LoadFromData(), and yaze::Rom::WriteTransaction().

| yaze::test::TEST_F | ( | RomTest | , |
| ReadTransactionSuccess | |||
| ) |
Definition at line 174 of file rom_test.cc.
References EXPECT_OK, yaze::Rom::LoadFromData(), and yaze::Rom::ReadTransaction().

| yaze::test::TEST_F | ( | RomTest | , |
| ReadTransactionFailure | |||
| ) |
Definition at line 186 of file rom_test.cc.
References EXPECT_OK, yaze::Rom::LoadFromData(), and yaze::Rom::ReadTransaction().

| yaze::test::TEST_F | ( | RomTest | , |
| SaveTruncatesExistingFile | |||
| ) |
Definition at line 195 of file rom_test.cc.
References EXPECT_OK, yaze::Rom::SaveSettings::filename, yaze::Rom::LoadFromFile(), yaze::Rom::ReadByte(), yaze::Rom::size(), and yaze::Rom::SaveSettings::z3_save.

| yaze::test::TEST_F | ( | RomTest | , |
| TransactionRollbackRestoresOriginals | |||
| ) |
Definition at line 223 of file rom_test.cc.
References yaze::Transaction::Commit(), EXPECT_OK, yaze::Transaction::WriteByte(), and yaze::Transaction::WriteWord().

| yaze::test::TEST | ( | DungeonToolsetTest | , |
| BasicFunctionality | |||
| ) |
Unit tests for individual dungeon components.
These tests validate component behavior without requiring ROM files or complex graphics initialization.
Definition at line 19 of file dungeon_component_unit_test.cc.
References yaze::editor::DungeonToolset::background_type(), yaze::editor::DungeonToolset::kBackground1, yaze::editor::DungeonToolset::kBackground2, yaze::editor::DungeonToolset::kBackground3, yaze::editor::DungeonToolset::kBackgroundAny, yaze::editor::DungeonToolset::kBlock, yaze::editor::DungeonToolset::kChest, yaze::editor::DungeonToolset::kDoor, yaze::editor::DungeonToolset::kEntrance, yaze::editor::DungeonToolset::kItem, yaze::editor::DungeonToolset::kNoType, yaze::editor::DungeonToolset::kObject, yaze::editor::DungeonToolset::kSprite, yaze::editor::DungeonToolset::placement_type(), yaze::editor::DungeonToolset::set_background_type(), and yaze::editor::DungeonToolset::set_placement_type().

| yaze::test::TEST | ( | DungeonToolsetTest | , |
| CallbackFunctionality | |||
| ) |
Definition at line 57 of file dungeon_component_unit_test.cc.
References yaze::editor::DungeonToolset::SetPaletteToggleCallback(), yaze::editor::DungeonToolset::SetRedoCallback(), and yaze::editor::DungeonToolset::SetUndoCallback().

| yaze::test::TEST | ( | DungeonUsageTrackerTest | , |
| BasicFunctionality | |||
| ) |
Definition at line 77 of file dungeon_component_unit_test.cc.
References yaze::editor::DungeonUsageTracker::ClearUsageStats(), yaze::editor::DungeonUsageTracker::GetBlocksetUsage(), yaze::editor::DungeonUsageTracker::GetPaletteUsage(), yaze::editor::DungeonUsageTracker::GetSelectedBlockset(), yaze::editor::DungeonUsageTracker::GetSelectedPalette(), yaze::editor::DungeonUsageTracker::GetSelectedSpriteset(), yaze::editor::DungeonUsageTracker::GetSpritesetUsage(), yaze::editor::DungeonUsageTracker::SetSelectedBlockset(), yaze::editor::DungeonUsageTracker::SetSelectedPalette(), and yaze::editor::DungeonUsageTracker::SetSelectedSpriteset().
| yaze::test::TEST | ( | ComponentArchitectureTest | , |
| FileSizeReduction | |||
| ) |
Definition at line 108 of file dungeon_component_unit_test.cc.
References yaze::editor::DungeonToolset::background_type(), yaze::editor::DungeonUsageTracker::GetBlocksetUsage(), and yaze::editor::DungeonToolset::kBackgroundAny.

| yaze::test::TEST_F | ( | ObjectParserStructsTest | , |
| ObjectRoutineInfoDefaultConstructor | |||
| ) |
Definition at line 13 of file object_parser_structs_test.cc.
References yaze::zelda3::ObjectRoutineInfo::is_orientation_dependent, yaze::zelda3::ObjectRoutineInfo::is_repeatable, yaze::zelda3::ObjectRoutineInfo::routine_ptr, yaze::zelda3::ObjectRoutineInfo::tile_count, and yaze::zelda3::ObjectRoutineInfo::tile_ptr.
| yaze::test::TEST_F | ( | ObjectParserStructsTest | , |
| ObjectSubtypeInfoDefaultConstructor | |||
| ) |
Definition at line 23 of file object_parser_structs_test.cc.
References yaze::zelda3::ObjectSubtypeInfo::max_tile_count, yaze::zelda3::ObjectSubtypeInfo::routine_ptr, yaze::zelda3::ObjectSubtypeInfo::subtype, and yaze::zelda3::ObjectSubtypeInfo::subtype_ptr.
| yaze::test::TEST_F | ( | ObjectParserStructsTest | , |
| ObjectSizeInfoDefaultConstructor | |||
| ) |
| yaze::test::TEST_F | ( | ObjectParserStructsTest | , |
| ObjectRoutineInfoAssignment | |||
| ) |
Definition at line 42 of file object_parser_structs_test.cc.
References yaze::zelda3::ObjectRoutineInfo::is_orientation_dependent, yaze::zelda3::ObjectRoutineInfo::is_repeatable, yaze::zelda3::ObjectRoutineInfo::routine_ptr, yaze::zelda3::ObjectRoutineInfo::tile_count, and yaze::zelda3::ObjectRoutineInfo::tile_ptr.
| yaze::test::TEST_F | ( | ObjectParserStructsTest | , |
| ObjectSubtypeInfoAssignment | |||
| ) |
Definition at line 58 of file object_parser_structs_test.cc.
References yaze::zelda3::ObjectSubtypeInfo::max_tile_count, yaze::zelda3::ObjectSubtypeInfo::routine_ptr, yaze::zelda3::ObjectSubtypeInfo::subtype, and yaze::zelda3::ObjectSubtypeInfo::subtype_ptr.
| yaze::test::TEST_F | ( | ObjectParserStructsTest | , |
| ObjectSizeInfoAssignment | |||
| ) |
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| ParseSubtype1Object | |||
| ) |
Definition at line 63 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| ParseSubtype2Object | |||
| ) |
Definition at line 76 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| ParseSubtype3Object | |||
| ) |
Definition at line 84 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| GetObjectSubtype | |||
| ) |
Definition at line 92 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| ParseObjectSize | |||
| ) |
Definition at line 106 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| ParseObjectRoutine | |||
| ) |
Definition at line 118 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| InvalidObjectId | |||
| ) |
Definition at line 130 of file object_parser_test.cc.
| yaze::test::TEST_F | ( | ObjectParserTest | , |
| NullRom | |||
| ) |
Definition at line 136 of file object_parser_test.cc.
References yaze::zelda3::ObjectParser::ParseObject().

| yaze::test::TEST_F | ( | SpriteBuilderTest | , |
| BuildSpritePropertiesOk | |||
| ) |
Definition at line 56 of file sprite_builder_test.cc.
| TestConfig yaze::test::ParseArguments | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 62 of file yaze_test.cc.
References yaze::test::TestConfig::enable_ui_tests, kCore, kDeprecated, kE2E, kEditor, kGraphics, kIntegration, kRomDependent, kSpecific, kUnit, kZSCustomOverworld, yaze::test::TestConfig::mode, yaze::test::TestConfig::rom_path, yaze::test::TestConfig::show_gui, yaze::test::TestConfig::skip_rom_tests, yaze::test::TestConfig::test_pattern, yaze::test::TestConfig::test_speed, and yaze::test::TestConfig::verbose.
Referenced by main().
| void yaze::test::SetupTestEnvironment | ( | const TestConfig & | config | ) |
Definition at line 152 of file yaze_test.cc.
References yaze::test::TestConfig::enable_ui_tests, yaze::test::TestConfig::rom_path, yaze::test::TestConfig::skip_rom_tests, and yaze::test::TestConfig::verbose.
Referenced by main().
| void yaze::test::ConfigureTestFilters | ( | const TestConfig & | config | ) |
Definition at line 172 of file yaze_test.cc.
References kAll, kCore, kDeprecated, kE2E, kEditor, kGraphics, kIntegration, kRomDependent, kSpecific, kUnit, kZSCustomOverworld, yaze::test::TestConfig::mode, yaze::test::TestConfig::test_pattern, and yaze::test::TestConfig::verbose.
Referenced by main().