tests/ceftests/command_line_unittest.cc
// Test creating a command line using set and append methods.
Test creating a command line using set and append methods.
Test creating a command line using set and append methods .
TEST(CommandLineTest, Manual) {
  CefRefPtr<CefCommandLine> command_line = CefCommandLine::CreateCommandLine();
  EXPECT_TRUE(command_line.get() != nullptr);
  command_line->SetProgram("test.exe");
  command_line->AppendSwitch("switch1");
  command_line->AppendSwitchWithValue("switch2", "VAL2");
  command_line->AppendSwitchWithValue("switch3", "val3");
  command_line->AppendSwitchWithValue("switch4", "val 4");
  command_line->AppendArgument("arg1");
  command_line->AppendArgument("arg 2");
  VerifyCommandLine(command_line);
}
TEST ( CommandLineTest , Manual ) { CefRefPtr < CefCommandLine > command_line = CefCommandLine :: CreateCommandLine ( ) ; EXPECT_TRUE ( command_line . get ( ) != nullptr ) ; command_line -> SetProgram ( " " ) ; command_line -> AppendSwitch ( " " ) ; command_line -> AppendSwitchWithValue ( " " , " " ) ; command_line -> AppendSwitchWithValue ( " " , " " ) ; command_line -> AppendSwitchWithValue ( " " , " " ) ; command_line -> AppendArgument ( " " ) ; command_line -> AppendArgument ( " " ) ; VerifyCommandLine ( command_line ) ; }
Test creating a command line using set and append methods.
Test creating a command line using set and append methods .