Home
last modified time | relevance | path

Searched refs:invoked (Results 1 – 25 of 922) sorted by relevance

12345678910>>...37

/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/
DIOFileFilterAbstractTest.java30 private boolean invoked; field in IOFileFilterAbstractTest.TesterFalseFileFilter
45 return this.invoked; in isInvoked()
52 public void setInvoked(final boolean invoked) { in setInvoked() argument
53 this.invoked = invoked; in setInvoked()
60 private boolean invoked; field in IOFileFilterAbstractTest.TesterTrueFileFilter
75 return this.invoked; in isInvoked()
82 public void setInvoked(final boolean invoked) { in setInvoked() argument
83 this.invoked = invoked; in setInvoked()
87 …tersInvoked(final int testNumber, final TesterFalseFileFilter[] filters, final boolean[] invoked) { in assertFalseFiltersInvoked() argument
89 …assertEquals(invoked[i - 1], filters[i].isInvoked(), "test " + testNumber + " filter " + i + " inv… in assertFalseFiltersInvoked()
[all …]
/external/pigweed/pw_result/
Dresult_test.cc301 bool invoked = false; in TEST() local
302 auto ret = r.or_else([&invoked](Status) { invoked = true; }); in TEST()
303 EXPECT_FALSE(invoked); in TEST()
310 bool invoked = false; in TEST() local
311 auto ret = r.or_else([&invoked](Status) { invoked = true; }); in TEST()
312 EXPECT_TRUE(invoked); in TEST()
340 bool invoked = false; in TEST() local
341 auto ret = std::move(r).or_else([&invoked](Status) { invoked = true; }); in TEST()
342 EXPECT_FALSE(invoked); in TEST()
349 bool invoked = false; in TEST() local
[all …]
/external/testng/src/test/java/test/objectfactory/
DCustomFactoryTest.java22 assert LoggingObjectFactory.invoked == 1 : "Logging factory invoked " in setFactoryOnTestNG()
23 + LoggingObjectFactory.invoked + " times"; in setFactoryOnTestNG()
28 LoggingObjectFactory.invoked = 0; in resetCount()
37 assert LoggingObjectFactory.invoked == 1 : "Logging factory invoked " in setFactoryOnSuite()
38 + LoggingObjectFactory.invoked + " times"; in setFactoryOnSuite()
48 assert LoggingObjectFactory.invoked == 1 : "Logging factory invoked " in setFactoryByAnnotation()
49 + LoggingObjectFactory.invoked + " times"; in setFactoryByAnnotation()
DLoggingObjectFactory.java18 public static int invoked; field in LoggingObjectFactory
23 invoked++; in newInstance()
/external/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp34 std::atomic_bool invoked = ATOMIC_VAR_INIT(false); variable
38 invoked = true; in f0()
47 invoked = true; in f1()
54 invoked = true; in f2()
60 invoked = true; in f3()
67 invoked = true; in f4()
82 invoked = false; in test()
89 assert(invoked == !IsDeferred); in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/futures/futures.async/
Dasync.pass.cpp36 std::atomic_bool invoked{false}; variable
40 invoked = true; in f0()
49 invoked = true; in f1()
56 invoked = true; in f2()
62 invoked = true; in f3()
69 invoked = true; in f4()
84 invoked = false; in test()
91 assert(invoked == !IsDeferred); in test()
/external/guice/core/test/com/google/inject/internal/
DProxyFactoryTest.java52 assertTrue(simple.invoked); in testSimpleCase()
53 assertTrue(interceptor.invoked); in testSimpleCase()
57 boolean invoked = false; field in ProxyFactoryTest.Simple
60 invoked = true; in invoke()
66 boolean invoked = false; field in ProxyFactoryTest.SimpleInterceptor
70 invoked = true; in invoke()
91 assertFalse(interceptor.invoked); in testInterceptOneMethod()
95 assertFalse(interceptor.invoked); in testInterceptOneMethod()
99 assertTrue(interceptor.invoked); in testInterceptOneMethod()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletTest.java139 final boolean[] invoked = new boolean[1]; in testRequestAndResponseBindings()
145 invoked[0] = true; in testRequestAndResponseBindings()
159 assertTrue(invoked[0]); in testRequestAndResponseBindings()
338 final boolean[] invoked = new boolean[1]; in testNewRequestObject()
343 invoked[0] = true; in testNewRequestObject()
351 assertTrue(invoked[0]); in testNewRequestObject()
359 final boolean[] invoked = new boolean[1]; in testExistingRequestObject()
364 invoked[0] = true; in testExistingRequestObject()
376 assertTrue(invoked[0]); in testExistingRequestObject()
384 final boolean[] invoked = new boolean[1]; in testNewSessionObject()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtcp_rtt.c8 __u32 invoked; member
47 static int verify_sk(int map_fd, int client_fd, const char *msg, __u32 invoked, in verify_sk() argument
59 if (val.invoked != invoked) { in verify_sk()
61 msg, val.invoked, invoked); in verify_sk()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/function/
DObjectsTest.java35 private boolean invoked; field in ObjectsTest.TestableFailableSupplier
43 invoked = true; in get()
48 return invoked; in isInvoked()
54 private boolean invoked; field in ObjectsTest.TestableSupplier
62 invoked = true; in get()
67 return invoked; in isInvoked()
/external/testng/src/test/java/test/simple/
DIncludedExcludedTest.java69 Collection<ITestNGMethod> invoked = suite.getInvokedMethods(); in generateReport() local
70 Assert.assertEquals(invoked.size(), m_included.length); in generateReport()
72 Assert.assertTrue(containsMethod(invoked, s)); in generateReport()
85 private boolean containsMethod(Collection<ITestNGMethod> invoked, String string) { in containsMethod() argument
86 for (ITestNGMethod m : invoked) { in containsMethod()
/external/javassist/src/test/testproxy/
DTarget189.java12 int invoked = 0; field in Target189.TestMethodHandler
16 invoked++; in invoke()
21 return invoked == 1; in wasInvokedOnce()
25 invoked = 0; in reset()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord_test.cc982 bool invoked = false; in TEST() local
983 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
986 EXPECT_TRUE(invoked); in TEST()
996 bool invoked = false; in TEST() local
997 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1000 EXPECT_FALSE(invoked); in TEST()
1002 EXPECT_TRUE(invoked); in TEST()
1006 bool invoked = false; in TEST() local
1007 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1013 EXPECT_FALSE(invoked); in TEST()
[all …]
/external/guice/core/test/com/google/inject/
DIntegrationTest.java43 assertTrue(foo.invoked); in testIntegration()
48 assertTrue(foo.invoked); in testIntegration()
53 boolean invoked; field in IntegrationTest.Foo
56 invoked = true; in foo()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord_test.cc998 bool invoked = false; in TEST() local
999 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1002 EXPECT_TRUE(invoked); in TEST()
1012 bool invoked = false; in TEST() local
1013 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1016 EXPECT_FALSE(invoked); in TEST()
1018 EXPECT_TRUE(invoked); in TEST()
1022 bool invoked = false; in TEST() local
1023 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1029 EXPECT_FALSE(invoked); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc1002 bool invoked = false; in TEST() local
1003 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1006 EXPECT_TRUE(invoked); in TEST()
1016 bool invoked = false; in TEST() local
1017 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1020 EXPECT_FALSE(invoked); in TEST()
1022 EXPECT_TRUE(invoked); in TEST()
1026 bool invoked = false; in TEST() local
1027 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST()
1033 EXPECT_FALSE(invoked); in TEST()
[all …]
/external/cronet/components/prefs/
Dsegregated_pref_store_unittest.cc39 : invoked(invoked_in), read_error(read_error_in) {} in Data()
41 bool invoked; member
47 EXPECT_FALSE(data_->invoked); in MockReadErrorDelegate()
52 EXPECT_FALSE(data_->invoked); in OnError()
53 data_->invoked = true; in OnError()
276 EXPECT_FALSE(read_error_delegate_data_.invoked); in TEST_F()
280 EXPECT_FALSE(read_error_delegate_data_.invoked); in TEST_F()
285 EXPECT_FALSE(read_error_delegate_data_.invoked); in TEST_F()
326 EXPECT_FALSE(read_error_delegate_data_.invoked); in TEST_F()
330 EXPECT_FALSE(read_error_delegate_data_.invoked); in TEST_F()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowMagnificationControllerTest.java75 assertThat(testListener.invoked).isTrue(); in setCenter_notifiesListener()
98 assertThat(testListener.invoked).isTrue(); in setScale_notifiesListener()
139 assertThat(testListener.invoked).isTrue(); in reset_notifiesListener()
155 assertThat(testListener.invoked).isFalse(); in removeListener_removesListener()
162 private boolean invoked = false; field in ShadowMagnificationControllerTest.TestListener
174 this.invoked = true; in onMagnificationChanged()
DShadowSoftKeyboardControllerTest.java57 assertThat(listener.invoked).isTrue(); in addOnShowModeChangedListener_registersListener()
70 assertThat(listener.invoked).isFalse(); in removeOnShowModeChangedListener_unregistersListener()
91 private boolean invoked = false; field in ShadowSoftKeyboardControllerTest.TestOnShowModeChangedListener
96 this.invoked = true; in onShowModeChanged()
/external/mesa3d/src/compiler/glsl/glcpp/tests/
D085-incorrect-argument-count.c.expected1 0:2(1): preprocessor error: Error: macro MULT invoked with 1 arguments (expected 2)
3 0:3(1): preprocessor error: Error: macro MULT invoked with 1 arguments (expected 2)
5 0:4(1): preprocessor error: Error: macro MULT invoked with 3 arguments (expected 2)
/external/openthread/third_party/nlbuild-autotools/repo/automake/post/rules/
Dcoverage.am24 # (automake in particular) such that 'make coverage' may be invoked
36 # This target is intended to be user-visibile and -invoked.
41 # This target is intended to be user-visibile and -invoked.
47 # This target is NOT intended to be user-visibile and -invoked.
55 # This target is intended to be user-visibile and -invoked.
/external/testng/src/test/java/test/sample/
DREADME.txt1 This directory contains "samples": TestNG tests that are not invoked directly but invoked
/external/testng/src/test/java/test/listeners/
DLListener.java8 public static boolean invoked = false; field in LListener
12 invoked = true; in beforeInvocation()
/external/llvm/test/Instrumentation/AddressSanitizer/
Dglobal_metadata_darwin.ll3 ; routines are invoked.
27 ; Test that __asan_register_image_globals is invoked from the constructor:
33 ; Test that __asan_unregister_image_globals is invoked from the destructor:
/external/abseil-cpp/absl/strings/
Dcord_test.cc1496 bool invoked = false; in TEST_P() local
1497 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST_P()
1500 EXPECT_TRUE(invoked); in TEST_P()
1510 bool invoked = false; in TEST_P() local
1511 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST_P()
1514 EXPECT_FALSE(invoked); in TEST_P()
1516 EXPECT_TRUE(invoked); in TEST_P()
1520 bool invoked = false; in TEST_P() local
1521 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST_P()
1527 EXPECT_FALSE(invoked); in TEST_P()
[all …]

12345678910>>...37