package com.vaadin.tests.application; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.openqa.selenium.By; import com.vaadin.testbench.elements.ButtonElement; import com.vaadin.testbench.elements.LabelElement; import com.vaadin.tests.tb3.SingleBrowserTest; public class MissingHierarchyDetectionTest extends SingleBrowserTest { @Test public void testMissingHierarchyDetection() { openTestURL(); assertTrue(isElementPresent(By.id("label"))); ButtonElement toggleProperly = $(ButtonElement.class) .caption("Toggle properly").first(); toggleProperly.click(); assertNoSystemNotifications(); assertFalse(isElementPresent(By.id("label"))); toggleProperly.click(); assertNoSystemNotifications(); assertTrue(isElementPresent(LabelElement.class)); ButtonElement toggleImproperly = $(ButtonElement.class) .caption("Toggle improperly").first(); toggleImproperly.click(); assertSystemNotification(); } } '>2.1-stable Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/vendor/plugins/coderay-0.7.6.227/lib/coderay/duo.rb
blob: 9d11c0e37f3fdb990e019b1f2adb0aeb26dcd61a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87