Lines Matching refs:assertElement
98 assertElement(ImapList.EMPTY, list.getElementOrNone(0));
99 assertElement(STRING_1, list.getElementOrNone(1));
100 assertElement(LIST_1, list.getElementOrNone(2));
101 assertElement(ImapString.EMPTY, list.getElementOrNone(3));
102 assertElement(ImapElement.NONE, list.getElementOrNone(4)); // Out of index.
105 assertElement(ImapElement.NONE, ImapList.EMPTY.getElementOrNone(0));
111 assertElement(ImapList.EMPTY, list.getListOrEmpty(0));
112 assertElement(ImapList.EMPTY, list.getListOrEmpty(1));
113 assertElement(LIST_1, list.getListOrEmpty(2));
114 assertElement(ImapList.EMPTY, list.getListOrEmpty(3));
115 assertElement(ImapList.EMPTY, list.getListOrEmpty(4)); // Out of index.
118 assertElement(ImapList.EMPTY, ImapList.EMPTY.getListOrEmpty(0));
124 assertElement(ImapString.EMPTY, list.getStringOrEmpty(0));
125 assertElement(STRING_1, list.getStringOrEmpty(1));
126 assertElement(ImapString.EMPTY, list.getStringOrEmpty(2));
127 assertElement(ImapString.EMPTY, list.getStringOrEmpty(3));
128 assertElement(ImapString.EMPTY, list.getStringOrEmpty(4)); // Out of index.
131 assertElement(ImapString.EMPTY, ImapList.EMPTY.getStringOrEmpty(0));
144 assertElement(null, list.getKeyedElementOrNull("ab", false));
145 assertElement(STRING_1, list.getKeyedElementOrNull("abcd", false));
146 assertElement(K3, list.getKeyedElementOrNull("def", false));
147 assertElement(STRING_2, list.getKeyedElementOrNull("abc", false));
149 assertElement(STRING_1, list.getKeyedElementOrNull("ab", true));
150 assertElement(STRING_1, list.getKeyedElementOrNull("abcd", true));
151 assertElement(K3, list.getKeyedElementOrNull("def", true));
152 assertElement(STRING_1, list.getKeyedElementOrNull("abc", true));
155 assertElement(null, list.getKeyedElementOrNull(null, false));
161 assertElement(null, buildList(K1).getKeyedElementOrNull("abcd", false));
168 assertElement(LIST_1, list.getKeyedListOrEmpty("key", false));
169 assertElement(LIST_1, list.getKeyedListOrEmpty("key", true));
170 assertElement(ImapList.EMPTY, list.getKeyedListOrEmpty("ke", false));
171 assertElement(LIST_1, list.getKeyedListOrEmpty("ke", true));
173 assertElement(ImapList.EMPTY, list.getKeyedListOrEmpty("ke"));
174 assertElement(LIST_1, list.getKeyedListOrEmpty("key"));
181 assertElement(STRING_1, list.getKeyedListOrEmpty("key", false));
182 assertElement(STRING_1, list.getKeyedListOrEmpty("key", true));
183 assertElement(ImapString.EMPTY, list.getKeyedListOrEmpty("ke", false));
184 assertElement(STRING_1, list.getKeyedListOrEmpty("ke", true));
186 assertElement(ImapString.EMPTY, list.getKeyedListOrEmpty("ke"));
187 assertElement(STRING_1, list.getKeyedListOrEmpty("key"));