Lines Matching refs:process1
63 Process process1(SpawnChild("SimpleChildProcess")); in TEST_F() local
64 EXPECT_TRUE(process1.IsValid()); in TEST_F()
69 process2 = std::move(process1); in TEST_F()
71 EXPECT_FALSE(process1.IsValid()); in TEST_F()
82 Process process1(SpawnChild("SimpleChildProcess")); in TEST_F() local
83 ASSERT_TRUE(process1.IsValid()); in TEST_F()
85 Process process2 = process1.Duplicate(); in TEST_F()
86 ASSERT_TRUE(process1.IsValid()); in TEST_F()
88 EXPECT_EQ(process1.Pid(), process2.Pid()); in TEST_F()
89 EXPECT_FALSE(process1.is_current()); in TEST_F()
92 process1.Close(); in TEST_F()
97 Process process1 = Process::Current(); in TEST_F() local
98 ASSERT_TRUE(process1.IsValid()); in TEST_F()
100 Process process2 = process1.Duplicate(); in TEST_F()
101 ASSERT_TRUE(process1.IsValid()); in TEST_F()
103 EXPECT_EQ(process1.Pid(), process2.Pid()); in TEST_F()
104 EXPECT_TRUE(process1.is_current()); in TEST_F()
107 process1.Close(); in TEST_F()
112 Process process1(SpawnChild("SimpleChildProcess")); in TEST_F() local
113 ASSERT_TRUE(process1.IsValid()); in TEST_F()
115 Process process2 = Process::DeprecatedGetProcessFromHandle(process1.Handle()); in TEST_F()
116 ASSERT_TRUE(process1.IsValid()); in TEST_F()
118 EXPECT_EQ(process1.Pid(), process2.Pid()); in TEST_F()
119 EXPECT_FALSE(process1.is_current()); in TEST_F()
122 process1.Close(); in TEST_F()