01: package org.drools.eclipse.editors.completion;
02:
03: import org.drools.eclipse.editors.Keywords;
04:
05: import junit.framework.TestCase;
06:
07: public class KeywordsTest extends TestCase {
08:
09: public void testAll() {
10: Keywords keys = Keywords.getInstance();
11: String[] all = keys.getAllDroolsKeywords();
12: assertTrue(all.length > 0);
13: assertEquals("when", all[0]);
14:
15: }
16:
17: }
|