- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for standardCount (0.14 sec)
-
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); } @Override public int count(@Nullable Object element) { return standardCount(element); } @Override public boolean equals(@Nullable Object object) { return standardEquals(object); } @Override public int hashCode() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 09 15:17:25 UTC 2018 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); } @Override public int count(@Nullable Object element) { return standardCount(element); } @Override public boolean equals(@Nullable Object object) { return standardEquals(object); } @Override public int hashCode() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* you override {@link #entrySet}, you may wish to override {@link #count} to forward to this * implementation. * * @since 7.0 */ protected int standardCount(@CheckForNull Object object) { for (Entry<?> entry : this.entrySet()) { if (Objects.equal(entry.getElement(), object)) { return entry.getCount(); } } return 0; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
* you override {@link #entrySet}, you may wish to override {@link #count} to forward to this * implementation. * * @since 7.0 */ protected int standardCount(@CheckForNull Object object) { for (Entry<?> entry : this.entrySet()) { if (Objects.equal(entry.getElement(), object)) { return entry.getCount(); } } return 0; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy
TestEnum.ENUM3 == toEnum(TestEnum, "enum3") TestEnum.ENUM_4_1 == toEnum(TestEnum, "enum_4_1") TestEnum.STANDARD_OUT == toEnum(TestEnum, "Standard_Out") TestEnum.STANDARD_OUT == toEnum(TestEnum, "standardOut") } def "converts enum constants to themselves"() { expect: TestEnum.ENUM1 == toEnum(TestEnum, TestEnum.ENUM1) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGConsoleLoggingIntegrationTest.groovy
} """ when: args "-q" fails "test" then: outputContains(""" Gradle test > org.gradle.TestNGStandardOutputTest.printTest STANDARD_OUT line 1 line 2 line 3 """) } @Issue("https://github.com/gradle/gradle/issues/25857")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.6K bytes - Viewed (1) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy
quiet { events "standardOut", "standardError" } } } """ when: executer.withStackTraceChecksDisabled() args("-q") fails("test") then: outputContains(""" ${maybeParentheses('printTest')} STANDARD_OUT line 1 line 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy
assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker} standard output""") assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker} standard error""") } else { outputDoesNotContain("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker} standard output""")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 14:21:18 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/AbstractTestLoggerTest.groovy
when: logger.logEvent(methodDescriptor, TestLogEvent.STANDARD_OUT, "event 1") logger.logEvent(methodDescriptor, TestLogEvent.STANDARD_OUT, "event 2") then: textOutputFactory.toString() == "{TestEventLogger}{INFO}${sep}OuterSuiteClass > InnerSuiteClass\ > TestClass > a test STANDARD_OUT${sep}event 1{TestEventLogger}{INFO}event 2" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java
return events.contains(TestLogEvent.STANDARD_OUT) && events.contains(TestLogEvent.STANDARD_ERROR); } @Override public TestLogging setShowStandardStreams(boolean flag) { if (flag) { events.addAll(EnumSet.of(TestLogEvent.STANDARD_OUT, TestLogEvent.STANDARD_ERROR)); } else { events.removeAll(EnumSet.of(TestLogEvent.STANDARD_OUT, TestLogEvent.STANDARD_ERROR)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 10:04:16 UTC 2024 - 4.8K bytes - Viewed (0)