diff options
author | be_ <be.0@gmx.com> | 2017-05-20 17:53:41 -0500 |
---|---|---|
committer | be_ <be.0@gmx.com> | 2017-05-20 17:53:41 -0500 |
commit | 997d0566ef55dbbea5c0aa36cd9b22de6905ecd6 (patch) | |
tree | b6f2eac77fe043ae3310bdc8f5755e48cce7eb2f /src/test/looping_control_test.cpp | |
parent | 0dbdf38ce9e9dd22827aaab71af4711d9e472876 (diff) |
fix LoopingControlTests after changing beatloop_toggle behavior
Diffstat (limited to 'src/test/looping_control_test.cpp')
-rw-r--r-- | src/test/looping_control_test.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/looping_control_test.cpp b/src/test/looping_control_test.cpp index 963cb0f0f7..be7df3fdc6 100644 --- a/src/test/looping_control_test.cpp +++ b/src/test/looping_control_test.cpp @@ -596,8 +596,8 @@ TEST_F(LoopingControlTest, BeatLoopSize_SetAndToggle) { m_pButtonBeatLoopToggle->set(1.0); m_pButtonBeatLoopToggle->set(0.0); - EXPECT_FALSE(m_pLoopEnabled->toBool()); - EXPECT_FALSE(m_pBeatLoop2Enabled->toBool()); + EXPECT_TRUE(m_pLoopEnabled->toBool()); + EXPECT_TRUE(m_pBeatLoop2Enabled->toBool()); } TEST_F(LoopingControlTest, BeatLoopSize_SetWithoutTrackLoaded) { @@ -642,8 +642,8 @@ TEST_F(LoopingControlTest, BeatLoopSize_IsSetByNumberedControl) { m_pButtonBeatLoopToggle->set(1.0); m_pButtonBeatLoopToggle->set(0.0); - EXPECT_FALSE(m_pBeatLoop2Enabled->toBool()); - EXPECT_FALSE(m_pLoopEnabled->toBool()); + EXPECT_TRUE(m_pBeatLoop2Enabled->toBool()); + EXPECT_TRUE(m_pLoopEnabled->toBool()); EXPECT_EQ(2.0, m_pBeatLoopSize->get()); } @@ -677,8 +677,8 @@ TEST_F(LoopingControlTest, BeatLoopSize_ValueChangeDoesNotActivateLoop) { m_pButtonBeatLoopToggle->set(0.0); EXPECT_TRUE(m_pLoopEnabled->toBool()); - m_pButtonBeatLoopToggle->set(1.0); - m_pButtonBeatLoopToggle->set(0.0); + m_pButtonReloopToggle->set(1.0); + m_pButtonReloopToggle->set(0.0); EXPECT_FALSE(m_pLoopEnabled->toBool()); m_pBeatLoopSize->set(4.0); EXPECT_FALSE(m_pLoopEnabled->toBool()); @@ -696,8 +696,8 @@ TEST_F(LoopingControlTest, BeatLoopSize_ValueChangeResizesBeatLoop) { double oldLoopEnd = m_pLoopEndPoint->get(); double oldLoopLength = oldLoopEnd - oldLoopStart; - m_pButtonBeatLoopToggle->set(1.0); - m_pButtonBeatLoopToggle->set(0.0); + m_pButtonReloopToggle->set(1.0); + m_pButtonReloopToggle->set(0.0); EXPECT_FALSE(m_pLoopEnabled->toBool()); m_pBeatLoopSize->set(4.0); |