Search in sources :

Example 21 with IntSlider

use of com.twosigma.beakerx.widget.IntSlider in project beakerx by twosigma.

the class IntSliderTest method setOrientation_hasThatOrientation.

@Test
public void setOrientation_hasThatOrientation() throws Exception {
    String expected = "test";
    // given
    IntSlider intSlider = intSlider();
    // when
    intSlider.setOrientation(expected);
    // then
    Assertions.assertThat(intSlider.getOrientation()).isEqualTo(expected);
}
Also used : IntSlider(com.twosigma.beakerx.widget.IntSlider) Test(org.junit.Test) KernelTest(com.twosigma.beakerx.KernelTest)

Aggregations

IntSlider (com.twosigma.beakerx.widget.IntSlider)21 KernelTest (com.twosigma.beakerx.KernelTest)19 Test (org.junit.Test)19 Text (com.twosigma.beakerx.widget.Text)5 Widget (com.twosigma.beakerx.widget.Widget)4 CyclingDisplayBox (com.twosigma.beakerx.widget.CyclingDisplayBox)1 DirectionalLink (com.twosigma.beakerx.widget.DirectionalLink)1 Link (com.twosigma.beakerx.widget.Link)1 Tab (com.twosigma.beakerx.widget.Tab)1 Before (org.junit.Before)1