Home
last modified time | relevance | path

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

12345678910>>...47

/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/conscrypt/openjdk/src/test/java/org/conscrypt/
DAddressUtilsTest.java30 assertFalse(AddressUtils.isValidSniHostname("www")); in test_isValidSniHostname_NotFQDN_Failure()
34 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()
38 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()
50 assertFalse(AddressUtils.isLiteralIpAddress("127.0.0.1a")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
51 assertFalse(AddressUtils.isLiteralIpAddress(" 255.255.255.255")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
52 assertFalse(AddressUtils.isLiteralIpAddress("0.0.00.0009")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
53 assertFalse(AddressUtils.isLiteralIpAddress("192.009z.010.19")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
54 assertFalse(AddressUtils.isLiteralIpAddress("254.249..094")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
58 assertFalse(AddressUtils.isLiteralIpAddress("256.255.255.255")); in test_isLiteralIpAddress_IPv4_NumbersTooLarge_Failure()
59 assertFalse(AddressUtils.isLiteralIpAddress("255.255.255.256")); in test_isLiteralIpAddress_IPv4_NumbersTooLarge_Failure()
[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/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()
75 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
76 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
108 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
140 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt()
141 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt()
143 assertFalse(verifier.verify("a.bar.com", session)); in verifySubjectAlt()
182 assertFalse(verifier.verify("a.foo.com", session)); in verifyNonAsciiSubjectAlt()
222 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAltOnly()
[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()
118 assertFalse( in testGetExpectedCost()
124 assertFalse(shortInfo.isValidShortNumber(invalidNumber)); in testGetExpectedCost()
159 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode()
171 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DUriPatternTypeTest.java28 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet()
29 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet()
30 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
31 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
34 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
35 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
38 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
39 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
42 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
43 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
[all …]
DServletScopesTest.java92 assertFalse(ServletScopes.isRequestScoped(map.get(a))); in testIsRequestScopedPositive()
93 assertFalse(ServletScopes.isRequestScoped(map.get(b))); in testIsRequestScopedPositive()
97 assertFalse(ServletScopes.isRequestScoped(map.get(e))); in testIsRequestScopedPositive()
155 assertFalse(ServletScopes.isRequestScoped(map.get(a))); in testIsRequestScopedNegative()
156 assertFalse(ServletScopes.isRequestScoped(map.get(b))); in testIsRequestScopedNegative()
157 assertFalse(ServletScopes.isRequestScoped(map.get(c))); in testIsRequestScopedNegative()
158 assertFalse(ServletScopes.isRequestScoped(map.get(d))); in testIsRequestScopedNegative()
159 assertFalse(ServletScopes.isRequestScoped(map.get(e))); in testIsRequestScopedNegative()
160 assertFalse(ServletScopes.isRequestScoped(map.get(f))); in testIsRequestScopedNegative()
161 assertFalse(ServletScopes.isRequestScoped(map.get(g))); in testIsRequestScopedNegative()
[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/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/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 …]
DLabelInfoTest.java15 import static org.junit.Assert.assertFalse;
38 assertFalse(LabelInfo.isMultiTarget(label)); in testDefaults()
39 assertFalse(LabelInfo.isSuccessor(label)); in testDefaults()
40 assertFalse(LabelInfo.isMethodInvocationLine(label)); in testDefaults()
41 assertFalse(LabelInfo.isDone(label)); in testDefaults()
50 assertFalse(LabelInfo.isSuccessor(label)); in testOtherInfoObject()
56 assertFalse(LabelInfo.isMultiTarget(label)); in testSuccessor()
63 assertFalse(LabelInfo.isMultiTarget(label)); in testMultiTarget1()
64 assertFalse(LabelInfo.isSuccessor(label)); in testMultiTarget1()
68 assertFalse(LabelInfo.isSuccessor(label)); in testMultiTarget1()
[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/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()
65 assertFalse(a.getProbes()[0]); in testMerge()
71 assertFalse(b.getProbes()[0]); in testMerge()
72 assertFalse(b.getProbes()[1]); in testMerge()
[all …]
/external/autotest/client/common_lib/cros/
Dautoupdater_unittest.py49 self.assertFalse(updater.check_version())
58 self.assertFalse(updater.check_version())
59 self.assertFalse(updater.check_version_to_confirm_install())
66 self.assertFalse(updater.check_version())
67 self.assertFalse(updater.check_version_to_confirm_install())
75 self.assertFalse(updater.check_version())
76 self.assertFalse(updater.check_version_to_confirm_install())
100 self.assertFalse(updater.check_version())
101 self.assertFalse(updater.check_version_to_confirm_install())
109 self.assertFalse(updater.check_version())
[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/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Dplay_unittest.py29 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
30 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
34 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
43 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
44 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
48 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
57 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
58 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
72 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
82 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
[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.java52 assertFalse(any().equals(not(any()))); in testAny()
56 assertFalse(not(any()).matches(null)); in testNot()
59 assertFalse(not(any()).equals(any())); in testNot()
64 assertFalse(any().and(not(any())).matches(null)); in testAnd()
67 assertFalse(any().and(any()).equals(not(any()))); in testAnd()
72 assertFalse(not(any()).or(not(any())).matches(null)); in testOr()
75 assertFalse(any().or(any()).equals(not(any()))); in testOr()
80 assertFalse(annotatedWith(Foo.class).matches( in testAnnotatedWith()
84 assertFalse(annotatedWith(Foo.class).equals(annotatedWith(Named.class))); in testAnnotatedWith()
96 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/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/
Dchrome_tracing_agent_unittest.py148 self.assertFalse(
150 self.assertFalse(
152 self.assertFalse(
167 self.assertFalse(
169 self.assertFalse(
207 self.assertFalse(devtool2.is_tracing_running)
211 self.assertFalse(devtool4.is_tracing_running)
214 self.assertFalse(devtool1.collected)
217 self.assertFalse(devtool1.is_tracing_running)
218 self.assertFalse(devtool2.is_tracing_running)
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_unittest.py48 self.assertFalse(dep_manager._lookup_dict)
62 self.assertFalse(dep_info.Update.called)
82 self.assertFalse(dep_info1.Update.called)
83 self.assertFalse(dep_info2.Update.called)
108 self.assertFalse(dep_info1.Update.called)
109 self.assertFalse(dep_info2.Update.called)
110 self.assertFalse(dep_info3.Update.called)
155 self.assertFalse(dep_info.Update.called)
156 self.assertFalse(dep_info_a.Update.called)
157 self.assertFalse(dep_info_b.Update.called)
[all …]
/external/mockito/src/test/java/org/mockito/internal/matchers/
DStringMatchersTest.java5 import static org.junit.Assert.assertFalse;
19 assertFalse(new StartsWith("junit").matches("mockito is here")); in doesNotStartWithString()
24 assertFalse(new StartsWith("java").matches(null)); in nullStartsWith()
34 assertFalse(new EndsWith("junit").matches("here is mockito")); in doesNotEndWithString()
39 assertFalse(new EndsWith("java").matches(null)); in nullEndsWith()
49 assertFalse(new Contains("junit").matches("****mockito****")); in stringDoesNotContain()
54 assertFalse(new Contains("mockito").matches(null)); in nullContainsNothing()
65 assertFalse(new Find("eleph.nt").matches("the otter in the room")); in doesNotMatchRegex()
70 assertFalse(new Find("eleph.nt").matches(null)); in nullDoesNotMatchRegex()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLocationTest.java12 import static junit.framework.Assert.assertFalse;
51 assertFalse(location.hasAccuracy()); in removeFieldShouldReportHasFieldAsFalse()
55 assertFalse(location.hasBearing()); in removeFieldShouldReportHasFieldAsFalse()
59 assertFalse(location.hasAltitude()); in removeFieldShouldReportHasFieldAsFalse()
63 assertFalse(location.hasSpeed()); in removeFieldShouldReportHasFieldAsFalse()
70 assertFalse(defaultLocation.hasAccuracy()); in defaultLocationShouldNotReportFieldsAsAvailable()
71 assertFalse(defaultLocation.hasBearing()); in defaultLocationShouldNotReportFieldsAsAvailable()
72 assertFalse(defaultLocation.hasAltitude()); in defaultLocationShouldNotReportFieldsAsAvailable()
73 assertFalse(defaultLocation.hasSpeed()); in defaultLocationShouldNotReportFieldsAsAvailable()
87 assertFalse(l.hasAccuracy()); in settingFieldShouldMakeHasFieldReturnTrue()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/
Ddecorators_unittest.py73 self.assertFalse(decorators.GetDisabledAttributes(Ford))
81 self.assertFalse(decorators.GetDisabledAttributes(Ford))
124 self.assertFalse(decorators.GetDisabledAttributes(Accord().Drive))
176 self.assertFalse(decorators.GetEnabledAttributes(Ford))
184 self.assertFalse(decorators.GetEnabledAttributes(Ford))
225 self.assertFalse(decorators.GetEnabledAttributes(Accord().Drive))
259 self.assertFalse(decorators.GetEmails(Ford))
260 self.assertFalse(decorators.GetComponent(Ford))
290 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0])
293 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0])
[all …]

12345678910>>...47