We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1b2c8 commit ec5f624Copy full SHA for ec5f624
net.sourceforge.pmd.eclipse.plugin.test/src/main/java/net/sourceforge/pmd/eclipse/ui/preferences/br/RuleUIUtilTest.java
@@ -0,0 +1,22 @@
1
+package net.sourceforge.pmd.eclipse.ui.preferences.br;
2
+
3
+import static org.junit.Assert.assertNotNull;
4
5
+import org.junit.Test;
6
7
+import net.sourceforge.pmd.Rule;
8
+import net.sourceforge.pmd.eclipse.ui.IndexedString;
9
+import net.sourceforge.pmd.lang.rule.XPathRule;
10
11
+public class RuleUIUtilTest {
12
13
+ /**
14
+ * There should be no UnsupportedOperationException...
15
+ */
16
+ @Test
17
+ public void testTndexedPropertyStringFromRule() {
18
+ Rule rule = new XPathRule();
19
+ IndexedString s = RuleUIUtil.indexedPropertyStringFrom(rule);
20
+ assertNotNull(s);
21
+ }
22
+}
0 commit comments