yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
command_context_test.cc File Reference
#include "cli/service/resources/command_context.h"
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "app/rom.h"
#include "mocks/mock_rom.h"

Go to the source code of this file.

Classes

class  yaze::cli::resources::CommandContextTest
 
class  yaze::cli::resources::ArgumentParserTest
 
class  yaze::cli::resources::OutputFormatterTest
 

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::cli
 Namespace for the command line interface.
 
namespace  yaze::cli::resources
 

Functions

 yaze::cli::resources::TEST_F (CommandContextTest, LoadsRomFromConfig)
 
 yaze::cli::resources::TEST_F (CommandContextTest, UsesExternalRomContext)
 
 yaze::cli::resources::TEST_F (CommandContextTest, LoadsRomFromPath)
 
 yaze::cli::resources::TEST_F (CommandContextTest, EnsuresLabelsLoaded)
 
 yaze::cli::resources::TEST_F (CommandContextTest, GetFormatReturnsConfigFormat)
 
 yaze::cli::resources::TEST_F (CommandContextTest, IsVerboseReturnsConfigVerbose)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, ParsesStringArguments)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, ParsesIntArguments)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, ParsesHexArguments)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, DetectsFlags)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, GetsPositionalArguments)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, ValidatesRequiredArguments)
 
 yaze::cli::resources::TEST_F (ArgumentParserTest, HandlesMissingArguments)
 
 yaze::cli::resources::TEST_F (OutputFormatterTest, CreatesFromString)
 
 yaze::cli::resources::TEST_F (OutputFormatterTest, GeneratesValidJson)
 
 yaze::cli::resources::TEST_F (OutputFormatterTest, GeneratesValidText)
 
 yaze::cli::resources::TEST_F (OutputFormatterTest, EscapesJsonStrings)
 
 yaze::cli::resources::TEST_F (OutputFormatterTest, HandlesEmptyObjects)
 
 yaze::cli::resources::TEST_F (OutputFormatterTest, HandlesEmptyArrays)