Lines Matching refs:sessions

1722   std::vector<ApexSessionInfo> sessions;  in TEST_F()  local
1723 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))) in TEST_F()
1725 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected))); in TEST_F()
1747 std::vector<ApexSessionInfo> sessions; in TEST_F() local
1748 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1756 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected_session1), in TEST_F()
1765 sessions.clear(); in TEST_F()
1766 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1770 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(new_session), in TEST_F()
1950 std::vector<ApexSessionInfo> sessions; in TEST_F() local
1951 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1952 ASSERT_EQ(2u, sessions.size()); in TEST_F()
1956 sessions.clear(); in TEST_F()
1957 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1960 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected))); in TEST_F()
1970 std::vector<ApexSessionInfo> sessions; in TEST_F() local
1971 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1972 ASSERT_EQ(2u, sessions.size()); in TEST_F()
1976 sessions.clear(); in TEST_F()
1977 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1982 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected1), in TEST_F()
2008 std::vector<ApexSession> sessions = ApexSession::GetSessions(); in TEST_F() local
2009 ASSERT_EQ(states.size(), sessions.size()); in TEST_F()
2013 sessions = ApexSession::GetSessions(); in TEST_F()
2014 ASSERT_EQ(nonFinalSessions, sessions.size()); in TEST_F()
2017 for (auto& session : sessions) { in TEST_F()
2349 std::vector<ApexSessionInfo> sessions; in TEST_F() local
2350 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
2353 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected))); in TEST_F()
2380 std::vector<ApexSessionInfo> sessions; in TEST_F() local
2381 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
2384 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected))); in TEST_F()