Home
last modified time | relevance | path

Searched refs:has_warning (Results 1 – 25 of 106) sorted by relevance

12345

/dports/devel/py-logbook/Logbook-1.1.0/tests/
H A Dtest_groups.py13 assert (not handler.has_warning('A warning'))
44 assert handler.has_warning('Warning 1')
45 assert handler.has_warning('Warning 2')
57 assert handler.has_warning('Warning 1')
58 assert not handler.has_warning('Warning 2')
68 assert not handler.has_warning('Warning 1')
69 assert not handler.has_warning('Warning 2')
79 assert not handler.has_warning('Warning 1')
80 assert handler.has_warning('Warning 2')
90 assert handler.has_warning('Warning 1')
[all …]
H A Dtest_handlers.py50 assert handler.has_warning('From my logger')
75 assert test_handler.has_warning('This is a warning')
107 assert handler.has_warning('foo', channel='Logger1')
108 assert (not handler.has_warning('bar', channel='Logger2'))
109 assert (not outer_handler.has_warning('foo', channel='Logger1'))
110 assert outer_handler.has_warning('bar', channel='Logger2')
128 assert h3.has_warning('Wuuu')
H A Dtest_test_handler.py6 assert active_handler.has_warning(re.compile('^Hello'))
7 assert (not active_handler.has_warning(re.compile('world$')))
8 assert (not active_handler.has_warning('^Hello World'))
H A Dtest_null_handler.py13 assert (not handler.has_warning('A warning'))
49 assert outer.has_warning('2', channel='2')
50 assert (not outer.has_warning('1', channel='1'))
H A Dtest_logbook.py19 assert handler.has_warning('warning part 1')
20 assert handler.has_warning('warning part 2')
H A Dtest_queues.py46 assert test_handler.has_warning('This is a warning')
89 assert test_handler.has_warning('Hello World')
103 assert test_handler.has_warning('Just testing')
/dports/games/julius/julius-1.7.0/src/building/
H A Dconstruction_warning.c18 static int has_warning = 0; variable
22 has_warning = 0; in building_construction_warning_reset()
28 has_warning = 1; in show()
65 if (!has_warning) { in check_water()
96 if (!has_warning && type == BUILDING_GRANARY) { in check_market()
105 if (!has_warning) { in check_barracks()
114 if (!has_warning && type == BUILDING_BARRACKS) { in check_weapons_access()
123 if (!has_warning && type == BUILDING_TOWER) { in check_wall()
132 if (!has_warning && type == BUILDING_THEATER) { in check_actor_access()
150 if (!has_warning && type == BUILDING_COLOSSEUM) { in check_lion_access()
[all …]
/dports/games/augustus/augustus-3.1.0/src/building/
H A Dconstruction_warning.c18 static int has_warning = 0; variable
22 has_warning = 0; in building_construction_warning_reset()
28 has_warning = 1; in show()
94 if (!has_warning) { in check_water()
125 if (!has_warning && type == BUILDING_GRANARY) { in check_market()
134 if (!has_warning) { in check_barracks()
143 if (!has_warning && type == BUILDING_BARRACKS) { in check_weapons_access()
152 if (!has_warning && type == BUILDING_TOWER) { in check_wall()
161 if (!has_warning && type == BUILDING_THEATER) { in check_actor_access()
188 if (!has_warning && type == BUILDING_HIPPODROME) { in check_charioteer_access()
[all …]
/dports/www/hotcrp/hotcrp-2.102/lib/
H A Dmessageset.php12 public $has_warning; variable in MessageSet
24 $this->has_warning = $this->has_error = 0;
69 ++$this->has_warning;
90 function has_warning() { function in MessageSet
91 return $this->has_warning > 0;
94 return $this->has_warning;
97 return $this->has_warning > 0 || $this->has_error > 0;
106 return $this->has_warning > 0 ? self::WARNING : self::INFO;
160 if (!$this->has_warning)
/dports/graphics/p5-GD-Graph/GDGraph-1.54/t/
H A Derror.t22 ok(! $error->has_warning);
28 ok($error->has_warning, 3);
33 ok($error->has_warning, 3);
38 ok(! $error->has_warning);
44 ok(! $error->has_warning);
/dports/textproc/R-cran-DT/DT/tests/testit/
H A Dtest-utils.R33 (has_warning(out <- coerceValue(c('a', 'c'), factor(levels = c('a', 'b')))))
36 (!has_warning(coerceValue('a', 'b')))
38 (has_warning(coerceValue('b', list(1))))
/dports/lang/elixir-devel/elixir-1.13.1/lib/mix/test/mix/tasks/
H A Dcompile.erlang_test.exs115 file = Path.absname("src/has_warning.erl")
118 -module(has_warning).
135 refute_received {:mix_shell, :info, ["Compiled src/has_warning.erl"]}
139 -module(has_warning).
152 file = Path.absname("src/has_warning.erl")
155 -module(has_warning).
166 assert output =~ ~r"src/has_warning.erl:2:(1:)? warning: function my_fn/0 is unused\n"
170 -module(has_warning).
/dports/lang/elixir/elixir-1.12.3/lib/mix/test/mix/tasks/
H A Dcompile.erlang_test.exs109 file = Path.absname("src/has_warning.erl")
112 -module(has_warning).
129 refute_received {:mix_shell, :info, ["Compiled src/has_warning.erl"]}
133 -module(has_warning).
146 file = Path.absname("src/has_warning.erl")
149 -module(has_warning).
160 assert output == "src/has_warning.erl:2: Warning: function my_fn/0 is unused\n"
164 -module(has_warning).
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/vtzero/examples/
H A Dvtzero-check.cpp24 void has_warning() noexcept { in has_warning() function in result
72 result.has_warning(); in print_warning()
205 result.has_warning(); in main()
212 result.has_warning(); in main()
/dports/net-mgmt/irrtoolset/irrtoolset-release-5.1.3/src/rpsl/
H A Dobject.hh74 bool has_warning; // the object's definition has error member in Object
81 has_error(false), has_warning(false), isDeleted(false) {} in Object()
84 has_error(false), has_warning(false), isDeleted(false) { in Object()
93 has_warning = obj.has_warning; in Object()
/dports/devel/p5-Config-Model/Config-Model-2.147/t/
H A Dinstance.t69 is( $inst->has_warning, 2, "check warning count at instance level" );
73 is( $inst->has_warning, 0, "check cleared warning count at instance level" );
90 is( $binst->has_warning, 0, "test has_warning with big model" );
H A Dvalue_compute.t672 is($cww->has_warning, 1, "check has_warning after check");
674 is($cww->has_warning, 1, "check has_warning after compute");
677 is($cww->has_warning, 0, "check has_warning after fixing with override");
686 is($cww->has_warning, 0, "computed value is fine");
688 is($cww->has_warning, 1, "overridden value trigges a warning");
691 is($cww->has_warning, 1, "check that warning is still present");
694 is($cww->has_warning, 1, "check that warning is still present");
706 is($cwoaf->has_warning, 1, "check if bad value has warnings");
709 is($cwoaf->has_warning, 0, "check if apply fix has cleaned up the warnings");
/dports/math/R-cran-terra/terra/R/
H A Dmessages.R16 if (x@ptr$has_warning()) {
24 if (x$has_warning()) {
/dports/math/R-cran-terra/terra/src/
H A DspatRasterMultiple.h28 bool has_warning() { return msg.has_warning; } in has_warning() function
56 bool has_warning() { return msg.has_warning; } in has_warning() function
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/
H A DA.h3 inline int has_warning(int x) { in has_warning() function
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/
H A DA.h3 inline int has_warning(int x) { in has_warning() function
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/
H A DA.h3 inline int has_warning(int x) { in has_warning() function
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/
H A DA.h3 inline int has_warning(int x) { in has_warning() function
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/
H A DA.h3 inline int has_warning(int x) { in has_warning() function
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/
H A DA.h3 inline int has_warning(int x) { in has_warning() function

12345