public S isFillingViewport() { isNotNull(); assertThat(actual.isFillViewport()) // .overridingErrorMessage("Expected to be filling viewport but was not.") // .isTrue(); return myself; }
public S hasMaximumScrollAmount(int amount) { isNotNull(); int actualAmount = actual.getMaxScrollAmount(); assertThat(actualAmount) // .overridingErrorMessage("Expected maximum scroll amount <%s> but was <%s>.", amount, actualAmount) // .isEqualTo(amount); return myself; }
public S isSmoothScrollingEnabled() { isNotNull(); assertThat(actual.isSmoothScrollingEnabled()) // .overridingErrorMessage("Expected smooth scrolling to be enabled but was disabled.") // .isTrue(); return myself; }
public S isSmoothScrollingDisabled() { isNotNull(); assertThat(actual.isSmoothScrollingEnabled()) // .overridingErrorMessage("Expected smooth scrolling to be disabled but was enabled.") // .isFalse(); return myself; } }
public S isNotFillingViewport() { isNotNull(); assertThat(actual.isFillViewport()) // .overridingErrorMessage("Expected to not be filling viewport but was.") // .isFalse(); return myself; }
public S isNotFillingViewport() { isNotNull(); assertThat(actual.isFillViewport()) // .overridingErrorMessage("Expected to not be filling viewport but was.") // .isFalse(); return myself; }
public S isFillingViewport() { isNotNull(); assertThat(actual.isFillViewport()) // .overridingErrorMessage("Expected to be filling viewport but was not.") // .isTrue(); return myself; }
public S isSmoothScrollingDisabled() { isNotNull(); assertThat(actual.isSmoothScrollingEnabled()) // .overridingErrorMessage("Expected smooth scrolling to be disabled but was enabled.") // .isFalse(); return myself; } }
public S hasMaximumScrollAmount(int amount) { isNotNull(); int actualAmount = actual.getMaxScrollAmount(); assertThat(actualAmount) // .overridingErrorMessage("Expected maximum scroll amount <%s> but was <%s>.", amount, actualAmount) // .isEqualTo(amount); return myself; }
public S isSmoothScrollingEnabled() { isNotNull(); assertThat(actual.isSmoothScrollingEnabled()) // .overridingErrorMessage("Expected smooth scrolling to be enabled but was disabled.") // .isTrue(); return myself; }