Lines Matching refs:tracks
74 const std::vector<sk_sp<MockTracker>>& tracks() const { return fTracks; } in DEF_TEST() function in DEF_TEST::MockResourceProvider
100 const auto& tracks = rp->tracks(); in DEF_TEST() local
103 REPORTER_ASSERT(r, tracks.size() == 2); in DEF_TEST()
106 REPORTER_ASSERT(r, !tracks[0]->isPlaying()); in DEF_TEST()
107 REPORTER_ASSERT(r, !tracks[1]->isPlaying()); in DEF_TEST()
110 REPORTER_ASSERT(r, tracks[0]->isPlaying()); in DEF_TEST()
111 REPORTER_ASSERT(r, !tracks[1]->isPlaying()); in DEF_TEST()
112 REPORTER_ASSERT(r, tracks[0]->currentTime() == 0); in DEF_TEST()
115 REPORTER_ASSERT(r, tracks[0]->isPlaying()); in DEF_TEST()
116 REPORTER_ASSERT(r, tracks[1]->isPlaying()); in DEF_TEST()
117 REPORTER_ASSERT(r, tracks[0]->currentTime() == 3); in DEF_TEST()
118 REPORTER_ASSERT(r, tracks[1]->currentTime() == 0); in DEF_TEST()
121 REPORTER_ASSERT(r, tracks[0]->isPlaying()); in DEF_TEST()
122 REPORTER_ASSERT(r, tracks[1]->isPlaying()); in DEF_TEST()
123 REPORTER_ASSERT(r, tracks[0]->currentTime() == 5); in DEF_TEST()
124 REPORTER_ASSERT(r, tracks[1]->currentTime() == 2); in DEF_TEST()
127 REPORTER_ASSERT(r, !tracks[0]->isPlaying()); in DEF_TEST()
128 REPORTER_ASSERT(r, tracks[1]->isPlaying()); in DEF_TEST()
129 REPORTER_ASSERT(r, tracks[1]->currentTime() == 3); in DEF_TEST()
132 REPORTER_ASSERT(r, !tracks[0]->isPlaying()); in DEF_TEST()
133 REPORTER_ASSERT(r, !tracks[1]->isPlaying()); in DEF_TEST()