Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for isNotEmpty (0.06 sec)

  1. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

        public void test_apply_string() {
            BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty();
    
            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
            assertFalse(isNotEmpty.apply(null));
        }
    
        public void test_apply_integer() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isNotEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsNotEmptyCollectionOfQ() {
            final Collection<String> c = new ArrayList<String>();
            c.add("hoge");
            assertThat(CollectionsUtil.isNotEmpty(c), is(true));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

    testing/$performanceProjectName/build/performance-test-results.zip
    """
                if (performanceTestProject.performanceTests.any { it.testProjects.isNotEmpty() }) {
                    val dependencyBuildIds =
                        performanceTestProject.performanceTests
                            .filter { it.testProjects.isNotEmpty() }
                            .joinToString(",") { "%dep.${it.id}.env.BUILD_ID%" }
    
                    val dependencyBaselines =
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

            // https://github.com/google/conscrypt/issues/985
            // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1])
          } else {
            assertThat(sessionIds[0]).isNotEmpty()
            assertThat(sessionIds[1]).isNotEmpty()
    
            assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[1])
          }
        } else {
          if (tlsVersion == TlsVersion.TLS_1_3) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (1)
  5. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

     * limitations under the License.
     */
    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import java.io.ByteArrayOutputStream
    import java.io.PrintStream
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            in 8..9 -> {
              id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 10..12 -> {
              id = null // 'id' on a line of its own.
            }
    
            in 13..14 -> {
              type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 15..17 -> {
              type = null // 'event' on a line of its own
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

                final String resourceName = params != null ? params.get(ExtractData.RESOURCE_NAME_KEY) : null;
    
                String value = null;
                if (StringUtil.isNotEmpty(url)) {
                    value = url;
                } else if (StringUtil.isNotEmpty(resourceName)) {
                    value = resourceName;
                }
    
                if (value != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEmpty
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.TestUtil.assumeNetwork
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

          plans += it
        }
    
      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/Gradleception.kt

            val idSuffix =
                if (idParts.isNotEmpty()) {
                    "With${idParts.joinToString(separator = "And")}"
                } else {
                    ""
                }
            id("${model.projectId}_Gradleception$idSuffix")
            name = "Gradleception - ${labels.joinToString(separator = " ")}"
            val descriptionSuffix =
                if (descriptionParts.isNotEmpty()) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu May 01 14:55:05 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top