Remove tests for deprecated getCheck methods.
This removes a bunch of warnings while 'rake test'.
Lars Kanis
8 years ago
11 | 11 | |
12 | 12 | def test_setCheck_TRUE |
13 | 13 | @checkButton.check = Fox::TRUE |
14 | assert_equal(true, @checkButton.check) | |
15 | 14 | assert_equal(Fox::TRUE, @checkButton.checkState) |
16 | 15 | assert(@checkButton.checked?) |
17 | 16 | assert([email protected]?) |
20 | 19 | |
21 | 20 | def test_setCheck_FALSE |
22 | 21 | @checkButton.check = Fox::FALSE |
23 | assert_equal(false, @checkButton.check) | |
24 | 22 | assert_equal(Fox::FALSE, @checkButton.checkState) |
25 | 23 | assert([email protected]?) |
26 | 24 | assert(@checkButton.unchecked?) |
29 | 27 | |
30 | 28 | def test_setCheck_MAYBE |
31 | 29 | @checkButton.check = Fox::MAYBE |
32 | assert_equal(true, @checkButton.check) # this is not a typo! | |
33 | 30 | assert_equal(Fox::MAYBE, @checkButton.checkState) |
34 | 31 | assert([email protected]?) |
35 | 32 | assert([email protected]?) |
38 | 35 | |
39 | 36 | def test_setCheck_true |
40 | 37 | @checkButton.check = true |
41 | assert_equal(true, @checkButton.check) | |
42 | 38 | assert_equal(Fox::TRUE, @checkButton.checkState) |
43 | 39 | assert(@checkButton.checked?) |
44 | 40 | assert([email protected]?) |
47 | 43 | |
48 | 44 | def test_setCheck_false |
49 | 45 | @checkButton.check = false |
50 | assert_equal(false, @checkButton.check) | |
51 | 46 | assert_equal(Fox::FALSE, @checkButton.checkState) |
52 | 47 | assert([email protected]?) |
53 | 48 | assert(@checkButton.unchecked?) |
11 | 11 | |
12 | 12 | def test_setCheck_TRUE |
13 | 13 | @menuCheck.check = Fox::TRUE |
14 | assert_equal(true, @menuCheck.check) | |
15 | 14 | assert_equal(Fox::TRUE, @menuCheck.checkState) |
16 | 15 | assert(@menuCheck.checked?) |
17 | 16 | assert([email protected]?) |
20 | 19 | |
21 | 20 | def test_setCheck_FALSE |
22 | 21 | @menuCheck.check = Fox::FALSE |
23 | assert_equal(false, @menuCheck.check) | |
24 | 22 | assert_equal(Fox::FALSE, @menuCheck.checkState) |
25 | 23 | assert([email protected]?) |
26 | 24 | assert(@menuCheck.unchecked?) |
29 | 27 | |
30 | 28 | def test_setCheck_MAYBE |
31 | 29 | @menuCheck.check = Fox::MAYBE |
32 | assert_equal(true, @menuCheck.check) # this is not a typo! | |
33 | 30 | assert_equal(Fox::MAYBE, @menuCheck.checkState) |
34 | 31 | assert([email protected]?) |
35 | 32 | assert([email protected]?) |
38 | 35 | |
39 | 36 | def test_setCheck_true |
40 | 37 | @menuCheck.check = true |
41 | assert_equal(true, @menuCheck.check) | |
42 | 38 | assert_equal(Fox::TRUE, @menuCheck.checkState) |
43 | 39 | assert(@menuCheck.checked?) |
44 | 40 | assert([email protected]?) |
47 | 43 | |
48 | 44 | def test_setCheck_false |
49 | 45 | @menuCheck.check = false |
50 | assert_equal(false, @menuCheck.check) | |
51 | 46 | assert_equal(Fox::FALSE, @menuCheck.checkState) |
52 | 47 | assert([email protected]?) |
53 | 48 | assert(@menuCheck.unchecked?) |
11 | 11 | |
12 | 12 | def test_setCheck_TRUE |
13 | 13 | @menuRadio.check = Fox::TRUE |
14 | assert_equal(true, @menuRadio.check) | |
15 | 14 | assert_equal(Fox::TRUE, @menuRadio.checkState) |
16 | 15 | assert(@menuRadio.checked?) |
17 | 16 | assert([email protected]?) |
20 | 19 | |
21 | 20 | def test_setCheck_FALSE |
22 | 21 | @menuRadio.check = Fox::FALSE |
23 | assert_equal(false, @menuRadio.check) | |
24 | 22 | assert_equal(Fox::FALSE, @menuRadio.checkState) |
25 | 23 | assert([email protected]?) |
26 | 24 | assert(@menuRadio.unchecked?) |
29 | 27 | |
30 | 28 | def test_setCheck_MAYBE |
31 | 29 | @menuRadio.check = Fox::MAYBE |
32 | assert_equal(true, @menuRadio.check) # this is not a typo! | |
33 | 30 | assert_equal(Fox::MAYBE, @menuRadio.checkState) |
34 | 31 | assert([email protected]?) |
35 | 32 | assert([email protected]?) |
38 | 35 | |
39 | 36 | def test_setCheck_true |
40 | 37 | @menuRadio.check = true |
41 | assert_equal(true, @menuRadio.check) | |
42 | 38 | assert_equal(Fox::TRUE, @menuRadio.checkState) |
43 | 39 | assert(@menuRadio.checked?) |
44 | 40 | assert([email protected]?) |
47 | 43 | |
48 | 44 | def test_setCheck_false |
49 | 45 | @menuRadio.check = false |
50 | assert_equal(false, @menuRadio.check) | |
51 | 46 | assert_equal(Fox::FALSE, @menuRadio.checkState) |
52 | 47 | assert([email protected]?) |
53 | 48 | assert(@menuRadio.unchecked?) |
11 | 11 | |
12 | 12 | def test_setCheck_TRUE |
13 | 13 | @radioButton.check = Fox::TRUE |
14 | assert_equal(true, @radioButton.check) | |
15 | 14 | assert_equal(Fox::TRUE, @radioButton.checkState) |
16 | 15 | assert(@radioButton.checked?) |
17 | 16 | assert([email protected]?) |
20 | 19 | |
21 | 20 | def test_setCheck_FALSE |
22 | 21 | @radioButton.check = Fox::FALSE |
23 | assert_equal(false, @radioButton.check) | |
24 | 22 | assert_equal(Fox::FALSE, @radioButton.checkState) |
25 | 23 | assert([email protected]?) |
26 | 24 | assert(@radioButton.unchecked?) |
29 | 27 | |
30 | 28 | def test_setCheck_MAYBE |
31 | 29 | @radioButton.check = Fox::MAYBE |
32 | assert_equal(true, @radioButton.check) # this is not a typo! | |
33 | 30 | assert_equal(Fox::MAYBE, @radioButton.checkState) |
34 | 31 | assert([email protected]?) |
35 | 32 | assert([email protected]?) |
38 | 35 | |
39 | 36 | def test_setCheck_true |
40 | 37 | @radioButton.check = true |
41 | assert_equal(true, @radioButton.check) | |
42 | 38 | assert_equal(Fox::TRUE, @radioButton.checkState) |
43 | 39 | assert(@radioButton.checked?) |
44 | 40 | assert([email protected]?) |
47 | 43 | |
48 | 44 | def test_setCheck_false |
49 | 45 | @radioButton.check = false |
50 | assert_equal(false, @radioButton.check) | |
51 | 46 | assert_equal(Fox::FALSE, @radioButton.checkState) |
52 | 47 | assert([email protected]?) |
53 | 48 | assert(@radioButton.unchecked?) |