• Home
  • Raw
  • Download

Lines Matching refs:script

63     std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1");  in HWTEST_F_L0()  local
64 script->SetScriptId(100); in HWTEST_F_L0()
65 ASSERT_EQ(script->GetScriptId(), 100); in HWTEST_F_L0()
70 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1"); in HWTEST_F_L0() local
71 script->SetFileName("xx"); in HWTEST_F_L0()
72 ASSERT_EQ(script->GetFileName(), "xx"); in HWTEST_F_L0()
77 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1"); in HWTEST_F_L0() local
78 script->SetUrl("121"); in HWTEST_F_L0()
79 ASSERT_EQ(script->GetUrl(), "121"); in HWTEST_F_L0()
84 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1"); in HWTEST_F_L0() local
85 script->SetHash("111"); in HWTEST_F_L0()
86 ASSERT_EQ(script->GetHash(), "111"); in HWTEST_F_L0()
91 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1"); in HWTEST_F_L0() local
92 script->SetScriptSource("a=1"); in HWTEST_F_L0()
93 ASSERT_EQ(script->GetScriptSource(), "a=1"); in HWTEST_F_L0()
98 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1"); in HWTEST_F_L0() local
99 script->SetSourceMapUrl("192"); in HWTEST_F_L0()
100 ASSERT_EQ(script->GetSourceMapUrl(), "192"); in HWTEST_F_L0()
105 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(1, "name_1", "url_1", "source_1"); in HWTEST_F_L0() local
106 script->SetEndLine(200); in HWTEST_F_L0()
107 ASSERT_EQ(script->GetEndLine(), 200); in HWTEST_F_L0()