Home
last modified time | relevance | path

Searched refs:has_item (Results 1 – 25 of 262) sorted by relevance

1234567891011

/dports/textproc/py-pyhamcrest/PyHamcrest-2.0.2/tests/hamcrest_unit_test/collection/
H A Dissequence_containing_test.py18 "sequence contains 'a'", has_item(equal_to("a")), self._sequence("a", "b", "c")
23 "sequence without 'a'", has_item(equal_to("a")), self._sequence("b", "c")
25 self.assert_does_not_match("empty", has_item(equal_to("a")), [])
28 self.assert_matches("sequence contains 'a'", has_item("a"), self._sequence("a", "b", "c"))
29 self.assert_does_not_match("sequence without 'a'", has_item("a"), self._sequence("b", "c"))
32 self.assert_matches("quasi-sequence", has_item(1), QuasiSequence())
33 self.assert_does_not_match("non-sequence", has_item(1), object())
36 self.assert_description("a sequence containing 'a'", has_item("a"))
39 self.assert_no_mismatch_description(has_item("a"), self._sequence("a", "b"))
42 self.assert_mismatch_description("was <42>", has_item("a"), 42)
[all …]
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/python/
H A Dget_completions_test.py24 has_item,
110 has_item(
117 is_not( has_item( CompletionEntryMatcher( 'b' ) ) )
133 assert_that( results, has_item(
225 'completions': has_item(
252 'completions': has_item(
319 'completions': has_item(
378 'completions': has_item(
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/clang/
H A Dget_completions_test.py27 has_item,
157 'errors': has_item( NO_COMPLETIONS_ERROR ),
180 'errors': has_item( NO_COMPLETIONS_ERROR ),
203 'errors': has_item( NO_COMPLETIONS_ERROR ),
229 'errors': has_item( ErrorMatcher( ValueError, 'testy' ) )
481 assert_that( results, has_item(
554 has_item( CompletionEntryMatcher( 'include.hpp',
585 'completions': has_item(
603 'completions': has_item(
1494 'completions': has_item(
[all …]
/dports/graphics/akira/Akira-0.0.16/src/Layouts/Partials/
H A DTransformPanel.vala72 bool has_item = _selected_item != null;
74 if (has_item) {
78 x.enabled = has_item;
79 y.enabled = has_item;
80 height.enabled = has_item;
81 width.enabled = has_item;
82 rotation.enabled = has_item && !(_selected_item is Lib.Items.CanvasArtboard);
83 hflip_button.sensitive = has_item && !(_selected_item is Lib.Items.CanvasArtboard);
84 vflip_button.sensitive = has_item && !(_selected_item is Lib.Items.CanvasArtboard);
86 scale.sensitive = has_item && !(_selected_item is Lib.Items.CanvasArtboard);
[all …]
/dports/sysutils/cinnamon-control-center/cinnamon-control-center-4.8.2/panels/datetime/
H A Ddate-endian.c41 has_item (Item *items, in has_item() function
101 if (has_item (items, ITEM_DAY) == FALSE) { in date_endian_get_default()
109 if (has_item (items, ITEM_MONTH) == FALSE) { in date_endian_get_default()
116 if (has_item (items, ITEM_YEAR) == FALSE) { in date_endian_get_default()
/dports/sysutils/gnome-control-center/gnome-control-center-41.2/panels/datetime/
H A Ddate-endian.c41 has_item (Item *items, in has_item() function
101 if (has_item (items, ITEM_DAY) == FALSE) { in date_endian_get_default()
109 if (has_item (items, ITEM_MONTH) == FALSE) { in date_endian_get_default()
116 if (has_item (items, ITEM_YEAR) == FALSE) { in date_endian_get_default()
/dports/print/lyx/lyx-2.3.4.2/src/tex2lyx/
H A DContext.cpp84 has_item(false), deeper_paragraph(false), in Context()
133 if (has_item) { in check_layout()
141 has_item = false; in check_layout()
204 has_item = true; in set_item()
238 if (has_item) in dump()
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/java/
H A Dget_completions_test.py25 has_item,
221 'completions': has_item(
584 'completions': has_item(
662 'completions': has_item(
707 'completions': has_item(
853 'completions': has_item(
893 'completions': has_item(
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/typescript/
H A Dget_completions_test.py24 has_item,
201 'completions': has_item( {
307 'completions': has_item( has_entries( {
347 'completions': has_item( has_entries( {
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/javascript/
H A Dget_completions_test.py23 has_item,
124 'completions': has_item( {
148 'completions': has_item( has_entries( {
/dports/games/voadi/voadi-v0.3/data/maps/beach/
H A Dbar.lua16 local has_whiskey = game:has_item("whiskey")
17 local has_vacuum = game:has_item("vacuum")
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/javascriptreact/
H A Dget_completions_test.py20 from hamcrest import assert_that, equal_to, has_entries, has_item
69 'completions': has_item( has_entries( {
/dports/games/freedroidrpg/freedroidrpg-0.16.1/dialogs/
H A DTutorialTom.lua153 if (Tux:has_item("Normal Jacket")) or
154 (Tux:has_item("Improvised Buckler")) or
155 (Tux:has_item("Shoes")) or
156 (Tux:has_item("Worker Helmet")) then
292 if (Tux:has_item("Mug")) and
293 (Tux:has_item("Anti-grav Pod for Droids")) and
294 (Tux:has_item("Plasma Transistor")) then
1156 if (Tux:has_item("Source Book of Calculate Pi")) and
1157 (Tux:has_item("Source Book of Malformed packet")) then
1162 elseif (Tux:has_item("Source Book of Calculate Pi")) or
[all …]
H A DHF-EntranceBot.lua34 if (Tux:has_item("MS Stock Certificate")) then
69 if (Tux:has_item("MS Stock Certificate")) then
/dports/x11-toolkits/p5-Gtk2/Gtk2-1.24993/t/
H A DGtkRecentManager.t70 ok($manager->has_item($icon_uri), 'check add item');
89 ok($manager->has_item($icon_uri), 'check add full');
138 ok(!$manager->has_item($icon_uri), 'check remove item');
/dports/devel/py-lxml/lxml-4.7.1/src/lxml/html/
H A D_setmixin.py20 for has_item in self:
21 if item == has_item:
/dports/irc/irssi-scripts/irssi-scripts/scripts/
H A Didletime.pl44 if ( has_item($name,@{$nicks{$server->{chatnet}}}) ) {
53 sub has_item { subroutine
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Dnpc_talk_test.cpp615 return has_item( p, "bottle_glass", 1 ) && has_item( p, "beer", count ); in __anoncbf11f0f0302()
665 CHECK( has_item( player_character, "bottle_plastic", 1 ) );
734 REQUIRE( has_item( player_character, "bottle_plastic", 1 ) );
744 CHECK_FALSE( has_item( player_character, "beer", 1 ) );
745 CHECK( has_item( talker_npc, "bottle_plastic", 1 ) );
746 CHECK( has_item( talker_npc, "beer", 2 ) );
749 CHECK_FALSE( has_item( talker_npc, "beer", 2 ) );
750 CHECK( has_item( talker_npc, "beer", 1 ) );
753 CHECK( has_item( player_character, "beer", 1 ) );
756 CHECK( has_item( player_character, "beer", 0 ) );
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Dnpc_talk_test.cpp615 return has_item( p, "bottle_glass", 1 ) && has_item( p, "beer", count ); in __anona055d0610302()
665 CHECK( has_item( player_character, "bottle_plastic", 1 ) );
734 REQUIRE( has_item( player_character, "bottle_plastic", 1 ) );
744 CHECK_FALSE( has_item( player_character, "beer", 1 ) );
745 CHECK( has_item( talker_npc, "bottle_plastic", 1 ) );
746 CHECK( has_item( talker_npc, "beer", 2 ) );
749 CHECK_FALSE( has_item( talker_npc, "beer", 2 ) );
750 CHECK( has_item( talker_npc, "beer", 1 ) );
753 CHECK( has_item( player_character, "beer", 1 ) );
756 CHECK( has_item( player_character, "beer", 0 ) );
[all …]
/dports/x11-wm/qtile/qtile-0.18.1/libqtile/command/
H A Dinterface.py102 def has_item(self, node: CommandGraphNode, object_type: str, item: Union[str, int]) -> bool: member in CommandInterface
179 def has_item(self, node: CommandGraphNode, object_type: str, item: Union[str, int]) -> bool: member in QtileCommandInterface
262 def has_item(self, node: CommandGraphNode, object_type: str, item: Union[str, int]) -> bool: member in IPCCommandInterface
/dports/audio/ampache/ampache-php74-5.0.0/src/Module/Api/Method/
H A DPlaylistRemoveSongMethod.php75 if (!$playlist->has_item($track)) {
85 if (!$playlist->has_item(null, $track)) {
/dports/devel/p5-Glib/Glib-1.3293/t/
H A Dh.t53 ok ($bookmark_file->has_item($uris[0]),
117 ok ($bookmark_file->has_item($new_uri), 'check move_item/1');
118 ok (!$bookmark_file->has_item($uri), 'check move_item/2');
121 ok (!$bookmark_file->has_item($new_uri), 'check move_item/3');
/dports/textproc/py-pyhamcrest/PyHamcrest-2.0.2/src/hamcrest/library/collection/
H A Dissequence_containing.py41 delegates = [cast(Matcher[Sequence[T]], has_item(e)) for e in element_matchers]
57 def has_item(match: Union[Matcher[T], T]) -> Matcher[Sequence[T]]: function
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/python/ycm/tests/
H A Dsyntax_parse_test.py23 from hamcrest import assert_that, contains_inanyorder, has_item, has_items
240 has_item( 'foogroup' ) )
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Ditem_group.h168 virtual bool has_item( const itype_id &itemid ) const = 0;
315 bool has_item( const itype_id &itemid ) const override;
361 bool has_item( const itype_id &itemid ) const override;

1234567891011