reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Utility/ArgsTest.cpp
  115   EXPECT_EQ(nullptr, args.GetArgumentVector());
  117   args.AppendArgument("1");
  118   EXPECT_NE(nullptr, args.GetArgumentVector()[0]);
  119   EXPECT_EQ(nullptr, args.GetArgumentVector()[1]);
  121   args.AppendArgument("2");
  122   EXPECT_NE(nullptr, args.GetArgumentVector()[0]);
  123   EXPECT_NE(nullptr, args.GetArgumentVector()[1]);
  124   EXPECT_EQ(nullptr, args.GetArgumentVector()[2]);
  126   args.AppendArgument("3");
  127   EXPECT_NE(nullptr, args.GetArgumentVector()[0]);
  128   EXPECT_NE(nullptr, args.GetArgumentVector()[1]);
  129   EXPECT_NE(nullptr, args.GetArgumentVector()[2]);
  130   EXPECT_EQ(nullptr, args.GetArgumentVector()[3]);
  132   args.InsertArgumentAtIndex(1, "1.5");
  133   EXPECT_NE(nullptr, args.GetArgumentVector()[0]);
  134   EXPECT_NE(nullptr, args.GetArgumentVector()[1]);
  135   EXPECT_NE(nullptr, args.GetArgumentVector()[2]);
  136   EXPECT_NE(nullptr, args.GetArgumentVector()[3]);
  137   EXPECT_EQ(nullptr, args.GetArgumentVector()[4]);
  139   args.InsertArgumentAtIndex(4, "3.5");
  140   EXPECT_NE(nullptr, args.GetArgumentVector()[0]);
  141   EXPECT_NE(nullptr, args.GetArgumentVector()[1]);
  142   EXPECT_NE(nullptr, args.GetArgumentVector()[2]);
  143   EXPECT_NE(nullptr, args.GetArgumentVector()[3]);
  144   EXPECT_NE(nullptr, args.GetArgumentVector()[4]);
  145   EXPECT_EQ(nullptr, args.GetArgumentVector()[5]);