Home
last modified time | relevance | path

Searched refs:assertEmpty (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/aosp_15_r20/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
H A DIfEmptyTestCase.java40 protected void assertEmpty(Object obj) in assertEmpty() method in IfEmptyTestCase
54 assertEmpty(null); in testNull()
55 assertEmpty(new NullAsString()); in testNull()
56 assertEmpty(new NullAsNumber()); in testNull()
61 assertEmpty(Collections.emptyMap()); in testDataStructures()
62 assertEmpty(Collections.emptyList()); in testDataStructures()
63 assertEmpty(new Object[]{}); in testDataStructures()
74 assertEmpty(""); in testString()
75 assertEmpty(new EmptyAsString()); in testString()
81 assertEmpty(0); in testNumber()
[all …]
/aosp_15_r20/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultimapClearTester.java19 import static com.google.common.collect.testing.Helpers.assertEmpty;
22 import static com.google.common.collect.testing.google.GoogleHelpers.assertEmpty;
54 assertEmpty(multimap()); in assertCleared()
56 assertEmpty(multimap().entries()); in assertCleared()
57 assertEmpty(multimap().asMap()); in assertCleared()
58 assertEmpty(multimap().keySet()); in assertCleared()
59 assertEmpty(multimap().keys()); in assertCleared()
60 assertEmpty(multimap().values()); in assertCleared()
109 assertEmpty(collection); in testClearPropagatesToGet()
121 assertEmpty(collection); in testClearPropagatesToAsMapGet()
[all …]
H A DMultimapRemoveAllTester.java20 import static com.google.common.collect.testing.Helpers.assertEmpty;
26 import static com.google.common.collect.testing.google.GoogleHelpers.assertEmpty;
47 assertEmpty(multimap().removeAll(k3())); in testRemoveAllAbsentKey()
65 assertEmpty(getResult); in testRemoveAllPropagatesToGet()
76 assertEmpty(multimap()); in testRemoveAllMultipleValues()
91 assertEmpty(multimap().removeAll(null)); in testRemoveAllNullKeyAbsent()
/aosp_15_r20/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultimapClearTester.java19 import static com.google.common.collect.testing.Helpers.assertEmpty;
22 import static com.google.common.collect.testing.google.GoogleHelpers.assertEmpty;
54 assertEmpty(multimap()); in assertCleared()
56 assertEmpty(multimap().entries()); in assertCleared()
57 assertEmpty(multimap().asMap()); in assertCleared()
58 assertEmpty(multimap().keySet()); in assertCleared()
59 assertEmpty(multimap().keys()); in assertCleared()
60 assertEmpty(multimap().values()); in assertCleared()
109 assertEmpty(collection); in testClearPropagatesToGet()
121 assertEmpty(collection); in testClearPropagatesToAsMapGet()
[all …]
H A DMultimapRemoveAllTester.java20 import static com.google.common.collect.testing.Helpers.assertEmpty;
26 import static com.google.common.collect.testing.google.GoogleHelpers.assertEmpty;
47 assertEmpty(multimap().removeAll(k3())); in testRemoveAllAbsentKey()
65 assertEmpty(getResult); in testRemoveAllPropagatesToGet()
76 assertEmpty(multimap()); in testRemoveAllMultipleValues()
91 assertEmpty(multimap().removeAll(null)); in testRemoveAllNullKeyAbsent()
/aosp_15_r20/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
H A DJimfsInputStreamTest.java44 assertEmpty(in); in testRead_singleByte()
53 assertEmpty(in); in testRead_wholeArray()
62 assertEmpty(in); in testRead_wholeArray_arrayLarger()
74 assertEmpty(in); in testRead_wholeArray_arraySmaller()
83 assertEmpty(in); in testRead_partialArray()
92 assertEmpty(in); in testRead_partialArray_sliceLarger()
103 assertEmpty(in); in testRead_partialArray_sliceSmaller()
153 assertEmpty(in); in testSkip()
155 assertEmpty(in); in testSkip()
163 assertEmpty(in); in testFullyReadInputStream_doesNotChangeStateWhenStoreChanges()
[all …]
/aosp_15_r20/cts/tests/tests/view/src/android/view/inspector/cts/
H A DIntFlagMappingTest.java50 assertEmpty(mapping.get(0)); in testNonExclusiveFlags()
54 assertEmpty(mapping.get(4)); in testNonExclusiveFlags()
63 assertEmpty(mapping.get(0)); in testMutuallyExclusiveFlags()
66 assertEmpty(mapping.get(3)); in testMutuallyExclusiveFlags()
67 assertEmpty(mapping.get(4)); in testMutuallyExclusiveFlags()
77 assertEmpty(mapping.get(0)); in testMixedFlags()
80 assertEmpty(mapping.get(3)); in testMixedFlags()
98 private static void assertEmpty(Collection collection) { in assertEmpty() method in IntFlagMappingTest
/aosp_15_r20/cts/tests/tests/companion/core/src/android/companion/cts/core/
H A DRetrieveAssociationsTest.kt25 import android.companion.cts.common.assertEmpty
51 assertEmpty(cdm.myAssociations) in <lambda>()
61 assertEmpty(cdm.myAssociations) in <lambda>()
66 assertEmpty(cdm.myAssociations) in <lambda>()
108 assertEmpty(cdm.myAssociations) in <lambda>()
114 assertEmpty(cdm.myAssociations) in test_getMyAssociations_otherPackages_NotIncluded()
127 assertEmpty(cdm.myAssociations) in test_getMyAssociations_otherPackages_NotIncluded()
160 assertEmpty(withShellPermissionIdentity { cdm.allAssociations }) in <lambda>()
173 assertEmpty(withShellPermissionIdentity { cdm.allAssociations }) in <lambda>()
H A DDisassociateTest.kt26 import android.companion.cts.common.assertEmpty
57 assertEmpty(cdm.myAssociations) in <lambda>()
90 assertEmpty(cdm.myAssociations) in test_disassociate_sameApp_multipleAssociations()
124 assertEmpty( in <lambda>()
133 assertEmpty( in test_disassociate_invalidId()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf.Test/
H A DUnknownFieldSetTest.cs172 Action<IMessage> assertEmpty = msg => in TestDiscardUnknownFields()
189 … MessageParsingHelpers.AssertReadingMessage(discardingParser1, data, m => assertEmpty(m)); in TestDiscardUnknownFields()
190 … MessageParsingHelpers.AssertReadingMessage(discardingParser2, data, m => assertEmpty(m)); in TestDiscardUnknownFields()
195 assertEmpty(discardingParser1.ParseFrom(data, 0, data.Length)); in TestDiscardUnknownFields()
196 assertEmpty(discardingParser2.ParseFrom(data, 0, data.Length)); in TestDiscardUnknownFields()
201 assertEmpty(discardingParser1.ParseFrom(new CodedInputStream(data))); in TestDiscardUnknownFields()
202 assertEmpty(discardingParser2.ParseFrom(new CodedInputStream(data))); in TestDiscardUnknownFields()
207 assertEmpty(discardingParser1.ParseFrom(new MemoryStream(data))); in TestDiscardUnknownFields()
208 assertEmpty(discardingParser2.ParseFrom(new MemoryStream(data))); in TestDiscardUnknownFields()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DUnknownFieldSetTest.cs172 Action<IMessage> assertEmpty = msg => in TestDiscardUnknownFields()
189 … MessageParsingHelpers.AssertReadingMessage(discardingParser1, data, m => assertEmpty(m)); in TestDiscardUnknownFields()
190 … MessageParsingHelpers.AssertReadingMessage(discardingParser2, data, m => assertEmpty(m)); in TestDiscardUnknownFields()
195 assertEmpty(discardingParser1.ParseFrom(data, 0, data.Length)); in TestDiscardUnknownFields()
196 assertEmpty(discardingParser2.ParseFrom(data, 0, data.Length)); in TestDiscardUnknownFields()
201 assertEmpty(discardingParser1.ParseFrom(new CodedInputStream(data))); in TestDiscardUnknownFields()
202 assertEmpty(discardingParser2.ParseFrom(new CodedInputStream(data))); in TestDiscardUnknownFields()
207 assertEmpty(discardingParser1.ParseFrom(new MemoryStream(data))); in TestDiscardUnknownFields()
208 assertEmpty(discardingParser2.ParseFrom(new MemoryStream(data))); in TestDiscardUnknownFields()
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/om/
H A DOverlayReferenceMapperTests.kt61 assertEmpty() in <lambda>()
69 assertEmpty() in <lambda>()
90 assertEmpty() in <lambda>()
102 assertEmpty() in <lambda>()
115 assertEmpty() in <lambda>()
160 assertEmpty() in <lambda>()
170 assertEmpty() in <lambda>()
174 assertEmpty() in <lambda>()
216 private fun assertEmpty() = assertMapping() in <lambda>() method in com.android.server.om.OverlayReferenceMapperTests
/aosp_15_r20/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/
H A DExceptionsTest.java40 assertEmpty(line); in assertCatchBlockEndNoException()
56 assertEmpty(line); in assertCatchBlockEndImplicitException()
62 assertEmpty(line); in assertFinally()
70 assertEmpty(line); in assertFinallyImplicitException()
78 assertEmpty(line); in assertBlockEndImplicitException()
H A DFinallyTest.java58 assertEmpty(line); in assertFinally()
76 assertEmpty(line); in assertTwoRegionsReturn1()
85 assertEmpty(line); in assertTwoRegionsReturn2()
105 assertEmpty(line); in assertEmptyTry2()
112 assertEmpty(line); in assertAlwaysCompletesAbruptly0()
/aosp_15_r20/external/jacoco/org.jacoco.core.test.validation.java7/src/org/jacoco/core/test/validation/java7/
H A DTryWithResourcesTest.java34 assertEmpty(line); in assertTry()
46 assertEmpty(line); in assertReturnInBodyClose()
49 assertEmpty(line); in assertReturnInBodyClose()
55 assertEmpty(line); in assertHandwritten()
82 assertEmpty(line); in assertThrowInBodyClose()
/aosp_15_r20/external/guava/guava-testlib/test/com/google/common/collect/testing/
H A DHelpersTest.java46 Helpers.assertEmpty(list); in testIsEmpty_iterable()
47 Helpers.assertEmpty( in testIsEmpty_iterable()
57 Helpers.assertEmpty(list); in testIsEmpty_iterable()
62 Helpers.assertEmpty( in testIsEmpty_iterable()
76 Helpers.assertEmpty(map); in testIsEmpty_map()
80 Helpers.assertEmpty(map); in testIsEmpty_map()
/aosp_15_r20/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
H A DHelpersTest.java46 Helpers.assertEmpty(list); in testIsEmpty_iterable()
47 Helpers.assertEmpty( in testIsEmpty_iterable()
57 Helpers.assertEmpty(list); in testIsEmpty_iterable()
62 Helpers.assertEmpty( in testIsEmpty_iterable()
76 Helpers.assertEmpty(map); in testIsEmpty_map()
80 Helpers.assertEmpty(map); in testIsEmpty_map()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/any/any.class/any.modifiers/
H A Dreset.pass.cpp28 assertEmpty(a); in main()
32 assertEmpty(a); in main()
42 assertEmpty<small>(a); in main()
53 assertEmpty<large>(a); in main()
/aosp_15_r20/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
H A Dreset.pass.cpp43 assertEmpty(a); in main()
47 assertEmpty(a); in main()
57 assertEmpty<small>(a); in main()
68 assertEmpty<large>(a); in main()
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/
H A DKeyPairGeneratorTest.java428 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerateHonorsRequestedAuthorizations()
541 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getBlockModes())); in testGenerate_EC_LegacySpec()
549 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerate_EC_LegacySpec()
550 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getEncryptionPaddings())); in testGenerate_EC_LegacySpec()
588 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getBlockModes())); in testGenerate_EC_LegacySpec()
596 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerate_EC_LegacySpec()
597 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getEncryptionPaddings())); in testGenerate_EC_LegacySpec()
634 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getBlockModes())); in testGenerate_EC_LegacySpec()
642 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerate_EC_LegacySpec()
643 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getEncryptionPaddings())); in testGenerate_EC_LegacySpec()
[all …]
/aosp_15_r20/external/jacoco/org.jacoco.core.test.validation.groovy/src/org/jacoco/core/test/validation/groovy/targets/
H A DGroovySortableClassTarget.groovy19 class GroovySortableClassTarget { // assertEmpty()
21 String first // assertEmpty()
22 String last // assertEmpty()
23 Integer born // assertEmpty()
H A DGroovyAutoExternalizeClassTarget.groovy19 class GroovyAutoExternalizeClassTarget { // assertEmpty()
21 String first // assertEmpty()
22 List favItems // assertEmpty()
23 Date since // assertEmpty()
H A DGroovyIndexPropertyClassTarget.groovy19 class GroovyIndexPropertyClassTarget { // assertEmpty()
22 FileType[] someField // assertEmpty()
24 List otherField // assertEmpty()
26 List furtherField // assertEmpty()
/aosp_15_r20/cts/tests/tests/telephony/current/src/android/telephony/cts/
H A DCellBroadcastDataMigrationTest.java68 assertEmpty("Headless LegacyCellBroadcastContentProvider must have no activities", in testLegacyContentProvider()
72 assertEmpty("Headless LegacyCellBroadcastContentProvider must have no receivers", in testLegacyContentProvider()
74 assertEmpty("Headless LegacyCellBroadcastContentProvider must have no services", in testLegacyContentProvider()
78 private static <T> void assertEmpty(String message, T[] array) { in assertEmpty() method in CellBroadcastDataMigrationTest
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/any/any.class/any.cons/
H A Dmove.pass.cpp39 assertEmpty(a); in test_move_does_not_throw()
45 assertEmpty(a); in test_move_does_not_throw()
57 assertEmpty(a1); in test_move_empty()
58 assertEmpty(a2); in test_move_empty()

12345678910>>...15