Home
last modified time | relevance | path

Searched refs:assertFalse (Results 1 – 25 of 2063) sorted by relevance

12345678910>>...83

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java31 import static org.junit.Assert.assertFalse;
43 assertFalse(verifier.verify("localhost", session)); in verify()
76 assertFalse(verifier.verify("foo.com", session)); in verifyCn()
77 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
78 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
111 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
112 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
144 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt()
145 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt()
147 assertFalse(verifier.verify("a.bar.com", session)); in verifySubjectAlt()
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DAddressUtilsTest.java32 assertFalse(AddressUtils.isValidSniHostname("www")); in test_isValidSniHostname_NotFQDN_Failure()
40 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()
44 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()
48 assertFalse(AddressUtils.isValidSniHostname("www.google.com.")); in test_isValidSniHostname_TrailingDot()
52 assertFalse(AddressUtils.isValidSniHostname("www\0.google.com")); in test_isValidSniHostname_NullByte()
64 assertFalse(AddressUtils.isLiteralIpAddress("127.0.0.1a")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
65 assertFalse(AddressUtils.isLiteralIpAddress(" 255.255.255.255")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
66 assertFalse(AddressUtils.isLiteralIpAddress("0.0.00.0009")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
67 assertFalse(AddressUtils.isLiteralIpAddress("192.009z.010.19")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
68 assertFalse(AddressUtils.isLiteralIpAddress("254.249..094")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DAddressUtilsTest.java30 assertFalse(AddressUtils.isValidSniHostname("www")); in test_isValidSniHostname_NotFQDN_Failure()
38 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()
42 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()
46 assertFalse(AddressUtils.isValidSniHostname("www.google.com.")); in test_isValidSniHostname_TrailingDot()
50 assertFalse(AddressUtils.isValidSniHostname("www\0.google.com")); in test_isValidSniHostname_NullByte()
62 assertFalse(AddressUtils.isLiteralIpAddress("127.0.0.1a")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
63 assertFalse(AddressUtils.isLiteralIpAddress(" 255.255.255.255")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
64 assertFalse(AddressUtils.isLiteralIpAddress("0.0.00.0009")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
65 assertFalse(AddressUtils.isLiteralIpAddress("192.009z.010.19")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
66 assertFalse(AddressUtils.isLiteralIpAddress("254.249..094")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java38 assertFalse(element.isAbstract()); in testPrivateField()
39 assertFalse(element.isPackagePrivate()); in testPrivateField()
40 assertFalse(element.isProtected()); in testPrivateField()
41 assertFalse(element.isPublic()); in testPrivateField()
42 assertFalse(element.isFinal()); in testPrivateField()
43 assertFalse(element.isStatic()); in testPrivateField()
49 assertFalse(element.isPrivate()); in testPackagePrivateField()
51 assertFalse(element.isProtected()); in testPackagePrivateField()
52 assertFalse(element.isPublic()); in testPackagePrivateField()
53 assertFalse(element.isFinal()); in testPackagePrivateField()
[all …]
/external/smali/util/src/test/java/org/jf/util/
DNumberUtilsTest.java67 Assert.assertFalse(NumberUtils.isLikelyFloat(0)); in isLikelyFloatTest()
68 Assert.assertFalse(NumberUtils.isLikelyFloat(1)); in isLikelyFloatTest()
69 Assert.assertFalse(NumberUtils.isLikelyFloat(10)); in isLikelyFloatTest()
70 Assert.assertFalse(NumberUtils.isLikelyFloat(100)); in isLikelyFloatTest()
71 Assert.assertFalse(NumberUtils.isLikelyFloat(1000)); in isLikelyFloatTest()
72 Assert.assertFalse(NumberUtils.isLikelyFloat(1024)); in isLikelyFloatTest()
73 Assert.assertFalse(NumberUtils.isLikelyFloat(1234)); in isLikelyFloatTest()
74 Assert.assertFalse(NumberUtils.isLikelyFloat(-5)); in isLikelyFloatTest()
75 Assert.assertFalse(NumberUtils.isLikelyFloat(-13)); in isLikelyFloatTest()
76 Assert.assertFalse(NumberUtils.isLikelyFloat(-123)); in isLikelyFloatTest()
[all …]
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_util.py40 self.assertFalse(self.is_tuple("(a)"))
41 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
56 self.assertFalse(self.is_list("[]+[]"))
127 self.assertFalse(n)
129 self.assertFalse(n)
156 self.assertFalse(self.find_binding("a", "foo = a"))
157 self.assertFalse(self.find_binding("a", "foo = (a, b, c)"))
164 self.assertFalse(self.find_binding("a", "(foo, b) = (b, a)"))
165 self.assertFalse(self.find_binding("a", "(foo, (b, c)) = (a, b, c)"))
172 self.assertFalse(self.find_binding("a", "[foo, b] = (b, a)"))
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_util.py43 self.assertFalse(self.is_tuple("(a)"))
44 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
59 self.assertFalse(self.is_list("[]+[]"))
130 self.assertFalse(n)
132 self.assertFalse(n)
159 self.assertFalse(self.find_binding("a", "foo = a"))
160 self.assertFalse(self.find_binding("a", "foo = (a, b, c)"))
167 self.assertFalse(self.find_binding("a", "(foo, b) = (b, a)"))
168 self.assertFalse(self.find_binding("a", "(foo, (b, c)) = (a, b, c)"))
175 self.assertFalse(self.find_binding("a", "[foo, b] = (b, a)"))
[all …]
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberInfoTest.java38 assertFalse(shortInfo.isPossibleShortNumber(impossibleNumber)); in testIsPossibleShortNumber()
50 assertFalse(shortInfo.isValidShortNumber( in testIsValidShortNumber()
52 assertFalse( in testIsValidShortNumber()
69 assertFalse(shortInfo.isCarrierSpecific(notCarrierSpecificNumber)); in testIsCarrierSpecific()
70 assertFalse( in testIsCarrierSpecific()
78 assertFalse( in testIsCarrierSpecific()
86 assertFalse(shortInfo.isSmsServiceForRegion(smsServiceNumberForSomeRegion, RegionCode.BB)); in testIsSmsService()
125 assertFalse( in testGetExpectedCost()
131 assertFalse(shortInfo.isValidShortNumber(invalidNumber)); in testGetExpectedCost()
166 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DReschedulerTest.java19 import static org.junit.Assert.assertFalse;
45 assertFalse(runner.ran); in runs()
47 assertFalse(runner.ran); in runs()
56 assertFalse(runner.ran); in cancels()
58 assertFalse(runner.ran); in cancels()
63 assertFalse(runner.ran); in cancels()
69 assertFalse(runner.ran); in cancelPermanently()
71 assertFalse(runner.ran); in cancelPermanently()
76 assertFalse(runner.ran); in cancelPermanently()
77 assertFalse(exec.executed); in cancelPermanently()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAsyncSettableFutureTest.java39 assertFalse(future.isSet()); in testCreate()
40 assertFalse(future.isDone()); in testCreate()
41 assertFalse(future.isCancelled()); in testCreate()
49 assertFalse(future.setValue(23)); in testSetValue()
50 assertFalse(future.setException(new Exception("bar"))); in testSetValue()
51 assertFalse(future.setFuture(SettableFuture.<Integer>create())); in testSetValue()
54 assertFalse(future.isCancelled()); in testSetValue()
64 assertFalse(future.setValue(23)); in testSetException()
65 assertFalse(future.setException(new Exception("quux"))); in testSetException()
66 assertFalse(future.setFuture(SettableFuture.create())); in testSetException()
[all …]
/external/python/cpython3/Lib/test/
Dtest_stringprep.py11 self.assertFalse(in_table_a1("\u0222"))
14 self.assertFalse(in_table_b1("\u00ae"))
23 self.assertFalse(in_table_c11("\u0021"))
26 self.assertFalse(in_table_c12("\u00a1"))
29 self.assertFalse(in_table_c12("\u00a1"))
32 self.assertFalse(in_table_c11_c12("\u00a1"))
35 self.assertFalse(in_table_c21("\u0020"))
38 self.assertFalse(in_table_c22("\u00a0"))
41 self.assertFalse(in_table_c21_c22("\u00a0"))
44 self.assertFalse(in_table_c3("\uf900"))
[all …]
/external/jsr330/tck/org/atinject/tck/auto/
DConvertible.java235 assertFalse(engine.qualifiersInheritedFromOverriddenMethod);
239 assertFalse("Expected unqualified value",
241 assertFalse("Expected unqualified value",
250 assertFalse("Expected unqualified value",
252 assertFalse("Expected unqualified value",
261 assertFalse("Expected unqualified value",
263 assertFalse("Expected unqualified value",
274 assertFalse("Expected unqualified value",
276 assertFalse("Expected unqualified value",
285 assertFalse("Expected unqualified value",
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DUriPatternTypeTest.java29 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet()
30 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet()
31 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
32 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
35 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
36 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
39 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
40 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
43 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
44 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
[all …]
/external/python/cpython2/Lib/test/
Dtest_stringprep.py12 self.assertFalse(in_table_a1(u"\u0222"))
15 self.assertFalse(in_table_b1(u"\u00ae"))
24 self.assertFalse(in_table_c11(u"\u0021"))
27 self.assertFalse(in_table_c12(u"\u00a1"))
30 self.assertFalse(in_table_c12(u"\u00a1"))
33 self.assertFalse(in_table_c11_c12(u"\u00a1"))
36 self.assertFalse(in_table_c21(u"\u0020"))
39 self.assertFalse(in_table_c22(u"\u00a0"))
42 self.assertFalse(in_table_c21_c22(u"\u00a0"))
45 self.assertFalse(in_table_c3(u"\uf900"))
[all …]
Dtest_fractions.py414 self.assertFalse(F(1, 2) < F(1, 2))
417 self.assertFalse(F(2, 3) <= F(1, 2))
419 self.assertFalse(F(1, 2) == F(1, 3))
420 self.assertFalse(F(1, 2) != F(1, 2))
426 self.assertFalse(F(1, 2) == DummyRational(3, 4))
427 self.assertFalse(DummyRational(3, 4) == F(1, 2))
430 self.assertFalse(F(1, 2) < DummyRational(1, 2))
431 self.assertFalse(F(1, 2) < DummyRational(1, 7))
432 self.assertFalse(F(1, 2) > DummyRational(3, 4))
433 self.assertFalse(F(1, 2) > DummyRational(1, 2))
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DLabelFlowAnalyzerTest.java14 import static org.junit.Assert.assertFalse;
42 assertFalse(analyzer.successor); in testInit()
49 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario01()
50 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario01()
56 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario02()
57 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario02()
64 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario03()
65 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario03()
71 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario04()
72 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario04()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataTest.java15 import static org.junit.Assert.assertFalse;
32 assertFalse(e.getProbes()[0]); in testCreateEmpty()
33 assertFalse(e.getProbes()[1]); in testCreateEmpty()
34 assertFalse(e.getProbes()[2]); in testCreateEmpty()
51 assertFalse(e.getProbes()[0]); in testReset()
52 assertFalse(e.getProbes()[1]); in testReset()
53 assertFalse(e.getProbes()[2]); in testReset()
60 assertFalse(e.hasHits()); in testHasHits()
69 assertFalse(e.hasHits()); in testHasHits_empty()
81 assertFalse(a.getProbes()[0]); in testMerge()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java22 import static org.junit.Assert.assertFalse;
32 assertFalse(cacheControl.noCache()); in emptyBuilderIsEmpty()
33 assertFalse(cacheControl.noStore()); in emptyBuilderIsEmpty()
36 assertFalse(cacheControl.isPrivate()); in emptyBuilderIsEmpty()
37 assertFalse(cacheControl.isPublic()); in emptyBuilderIsEmpty()
38 assertFalse(cacheControl.mustRevalidate()); in emptyBuilderIsEmpty()
41 assertFalse(cacheControl.onlyIfCached()); in emptyBuilderIsEmpty()
42 assertFalse(cacheControl.mustRevalidate()); in emptyBuilderIsEmpty()
66 assertFalse(cacheControl.isPrivate()); in completeBuilder()
67 assertFalse(cacheControl.isPublic()); in completeBuilder()
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py138 self.assertFalse(m_logging.info.called)
153 self.assertFalse(m_logging.info.called)
180 self.assertFalse(m_signal.set_wakeup_fd.called)
250 self.assertFalse(m_signal.signal.called)
682 self.assertFalse(self.loop.readers)
695 self.assertFalse(self.protocol.data_received.called)
720 self.assertFalse(self.loop.readers)
741 self.assertFalse(tr._close.called)
749 self.assertFalse(self.loop.readers)
826 self.assertFalse(self.loop.writers)
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteTest.java1381 assertFalse(extendableMessage.hasExtension( in testSanityCopyOnWrite()
1409 assertFalse(extendableMessage.hasExtension( in testSanityCopyOnWrite()
1651 assertFalse(one.equals(two)); in testEquals_notEqual()
1652 assertFalse(two.equals(one)); in testEquals_notEqual()
1654 assertFalse(one.equals(TestAllTypesLite.getDefaultInstance())); in testEquals_notEqual()
1655 assertFalse(TestAllTypesLite.getDefaultInstance().equals(one)); in testEquals_notEqual()
1660 assertFalse(oneFieldSet.equals(TestAllTypesLite.getDefaultInstance())); in testEquals_notEqual()
1661 assertFalse(TestAllTypesLite.getDefaultInstance().equals(oneFieldSet)); in testEquals_notEqual()
1666 assertFalse(oneFieldSet.equals(TestAllTypesLite.getDefaultInstance())); in testEquals_notEqual()
1667 assertFalse(TestAllTypesLite.getDefaultInstance().equals(oneFieldSet)); in testEquals_notEqual()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DEmptyCachesTest.java75 assertFalse(cache.equals(null)); in testEquals_null()
161 assertFalse(keys.remove(null)); in testKeySet_empty_remove()
162 assertFalse(keys.remove(6)); in testKeySet_empty_remove()
163 assertFalse(keys.remove(-6)); in testKeySet_empty_remove()
164 assertFalse(keys.removeAll(asList(null, 0, 15, 1500))); in testKeySet_empty_remove()
165 assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); in testKeySet_empty_remove()
181 assertFalse(keys.remove(null)); in testKeySet_remove()
182 assertFalse(keys.remove(6)); in testKeySet_remove()
183 assertFalse(keys.remove(-6)); in testKeySet_remove()
184 assertFalse(keys.removeAll(asList(null, 0, 15, 1500))); in testKeySet_remove()
[all …]
/external/guice/core/test/com/google/inject/matcher/
DMatcherTest.java48 assertFalse(any().equals(not(any()))); in testAny()
52 assertFalse(not(any()).matches(null)); in testNot()
55 assertFalse(not(any()).equals(any())); in testNot()
60 assertFalse(any().and(not(any())).matches(null)); in testAnd()
63 assertFalse(any().and(any()).equals(not(any()))); in testAnd()
68 assertFalse(not(any()).or(not(any())).matches(null)); in testOr()
71 assertFalse(any().or(any()).equals(not(any()))); in testOr()
76 assertFalse(annotatedWith(Foo.class).matches(MatcherTest.class.getMethods()[0])); in testAnnotatedWith()
79 assertFalse(annotatedWith(Foo.class).equals(annotatedWith(Named.class))); in testAnnotatedWith()
91 assertFalse(subclassesOf(Runnable.class).matches(Object.class)); in testSubclassesOf()
[all …]
/external/shflags/src/
Dshflags_test_parsing.sh30 assertFalse "parsed invalid flag 'x'" $?
43 assertFalse "parsed invalid flag 'x'" $?
45 assertFalse "parsed invalid flag 'xyz'" $?
55 assertFalse '-b) expected no output to STDERR' "[ -s '${stderrF}' ]"
65 assertFalse '-B) expected no output to STDERR' "[ -s '${stderrF}' ]"
73 assertFalse "-B) boolean was not false (${value})" ${value}
74 assertFalse '-B) expected no output to STDERR' "[ -s '${stderrF}' ]"
90 assertFalse '--noXX flag resulted in true value.' ${FLAGS_bool:-}
91 assertFalse 'expected no output to STDERR' "[ -s '${stderrF}' ]"
99 assertFalse 'expected no output to STDERR' "[ -s '${stderrF}' ]"
[all …]
Dshflags_test_defines.sh17 assertFalse '_flags_define() with no arguments should have failed.' $?
22 assertFalse '_flags_define() call with one argument should fail' $?
27 assertFalse '_flags_define() call with two arguments should fail' $?
32 assertFalse '_flags_define() call with three arguments should fail' $?
39 assertFalse '_flags_define() with existing flag name should fail' $?
49 assertFalse '_flags_define() with existing flag name should fail' $?
59 assertFalse '_flags_define() with "invalid" type should have failed.' $?
83 assertFalse \
94 assertFalse 'DEFINE_boolean() call with invalid default did not fail.' $?
116 assertFalse 'DEFINE_float() call with string value default did not fail.' $?
[all …]
/external/tensorflow/tensorflow/tools/docs/
Ddoc_controls_test.py53 self.assertFalse(doc_controls.should_skip(Child.my_method))
54 self.assertFalse(doc_controls.should_skip(GrandChild.my_method))
57 self.assertFalse(doc_controls.should_skip_class_attr(Child, 'my_method'))
58 self.assertFalse(
78 self.assertFalse(doc_controls.should_skip(Child.my_method))
79 self.assertFalse(doc_controls.should_skip(GrandChild.my_method))
105 self.assertFalse(doc_controls.should_skip(Child.my_method))
106 self.assertFalse(doc_controls.should_skip(GrandChild.my_method))
136 self.assertFalse(doc_controls.should_skip(GrandParent.my_method))
138 self.assertFalse(doc_controls.should_skip(Child.my_method))
[all …]

12345678910>>...83