Lines Matching refs:session

696   auto session = ApexSession::GetSession(1547);  in TEST_F()  local
697 ASSERT_FALSE(session->GetBuildFingerprint().empty()); in TEST_F()
829 auto session = ApexSession::GetSession(1547); in TEST_F() local
830 ASSERT_TRUE(session->GetChildSessionIds().empty()); in TEST_F()
831 ASSERT_FALSE(session->IsRollback()); in TEST_F()
832 ASSERT_FALSE(session->HasRollbackEnabled()); in TEST_F()
833 ASSERT_EQ(0, session->GetRollbackId()); in TEST_F()
1699 ApexSessionInfo session; in TEST_F() local
1700 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F()
1704 EXPECT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1707 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F()
1711 EXPECT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1717 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F()
1719 EXPECT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1790 ApexSessionInfo session; in TEST_F() local
1791 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(456, &session))) in TEST_F()
1795 EXPECT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1840 ApexSessionInfo session; in TEST_F() local
1841 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(10, &session))) in TEST_F()
1845 ASSERT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1850 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(10, &session))) in TEST_F()
1854 ASSERT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1881 ApexSessionInfo session; in TEST_F() local
1882 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(666, &session))); in TEST_F()
1885 ASSERT_THAT(session, SessionInfoEq(expected)); in TEST_F()
1899 auto session = ApexSession::CreateSession(73); in TEST_F() local
1900 ASSERT_TRUE(IsOk(session)); in TEST_F()
1902 IsOk(session->UpdateStateAndCommit(::apex::proto::SessionState::STAGED))); in TEST_F()
1914 auto session = ApexSession::CreateSession(239); in TEST_F() local
1915 ASSERT_TRUE(IsOk(session)); in TEST_F()
1917 session->UpdateStateAndCommit(::apex::proto::SessionState::ACTIVATED))); in TEST_F()
1929 auto session = ApexSession::CreateSession(1543); in TEST_F() local
1930 ASSERT_TRUE(IsOk(session)); in TEST_F()
1932 session->UpdateStateAndCommit(::apex::proto::SessionState::SUCCESS))); in TEST_F()
2001 auto session = ApexSession::CreateSession(230 + i); in TEST_F() local
2003 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(state))); in TEST_F()
2004 if (!session->IsFinalized()) { in TEST_F()
2017 for (auto& session : sessions) { in TEST_F() local
2018 ASSERT_FALSE(session.IsFinalized()); in TEST_F()
2262 auto session = ApexSession::CreateSession(1543); in TEST_F() local
2263 ASSERT_TRUE(IsOk(session)); in TEST_F()
2264 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(SessionState::ACTIVATED))); in TEST_F()
2311 auto session = ApexSession::CreateSession(101); in TEST_F() local
2312 ASSERT_TRUE(IsOk(session)); in TEST_F()
2313 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(SessionState::ACTIVATED))); in TEST_F()
2335 auto session = ApexSession::CreateSession(17239); in TEST_F() local
2336 ASSERT_TRUE(IsOk(session)); in TEST_F()
2338 IsOk(session->UpdateStateAndCommit(SessionState::REVERT_IN_PROGRESS))); in TEST_F()
2368 auto session = ApexSession::CreateSession(53); in TEST_F() local
2369 ASSERT_TRUE(IsOk(session)); in TEST_F()
2370 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(SessionState::SUCCESS))); in TEST_F()
2393 auto session = ApexSession::CreateSession(53); in TEST_F() local
2394 ASSERT_TRUE(IsOk(session)); in TEST_F()
2395 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(SessionState::ACTIVATED))); in TEST_F()
2410 auto session = ApexSession::CreateSession(17239); in TEST_F() local
2411 ASSERT_TRUE(IsOk(session)); in TEST_F()
2412 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(SessionState::REVERT_FAILED))); in TEST_F()
2431 auto session = ApexSession::CreateSession(1543); in TEST_F() local
2432 ASSERT_TRUE(IsOk(session)); in TEST_F()
2433 ASSERT_TRUE(IsOk(session->UpdateStateAndCommit(SessionState::ACTIVATED))); in TEST_F()
2439 session = ApexSession::GetSession(1543); in TEST_F()
2440 ASSERT_EQ(session->GetCrashingNativeProcess(), native_process); in TEST_F()