Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1681 - 1690 of 2,832 for contains (0.22 seconds)

  1. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            ScriptEngineException exception = new ScriptEngineException(message);
    
            String result = exception.toString();
            assertNotNull(result);
            assertTrue(result.contains("ScriptEngineException"));
            assertTrue(result.contains(message));
        }
    
        @Test
        public void test_withComplexCauseChain() {
            // Test with a chain of exceptions
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

                ZipEntry zipEntry
                while (zipEntry = zin.nextEntry) {
                    String shortName = zipEntry.name
                    if (shortName.contains('/')) {
                        shortName = shortName.substring(shortName.lastIndexOf('/') + 1)
                    }
                    if (shortName.endsWith('.jar')) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 08 13:44:59 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                String pomContent = Files.readString(pomFile);
                assertTrue(
                        pomContent.contains("<groupId>com.example</groupId>"),
                        "Expected " + pomContent + " to contain " + "<groupId>com.example</groupId>");
                // Note: The exact modifications depend on which strategies are applicable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            final Set<String> set = new CaseInsensitiveSet();
            set.add("one");
            assertThat(set.contains("ONE"), is(true));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            thumbnailManager.setThrowException(true);
            thumbnailManager.setExceptionMessage("Purge failed");
    
            String result = purgeThumbnailJob.execute();
    
            assertTrue(result.contains("Purge failed"));
        }
    
        // Test execute with exception thrown (no message)
        @Test
        public void test_execute_exceptionThrownNoMessage() {
            thumbnailManager.setThrowException(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. configure.py

          os.path.join(_TF_WORKSPACE_ROOT, 'tools', 'python_bin_path.sh'),
          'w') as f:
        f.write('export PYTHON_BIN_PATH="{}"'.format(python_bin_path))
    
    
    def reset_tf_configure_bazelrc():
      """Reset file that contains customized config settings."""
      open(_TF_BAZELRC, 'w').close()
    
    
    def cleanup_makefile():
      """Delete any leftover BUILD files from the Makefile build.
    
      These files could interfere with Bazel parsing.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/elasticsearch.forbidden-dependencies.gradle

    List<String> FORBIDDEN_DEPENDENCIES = [
      'guava'
    ]
    
    Closure checkDeps = { Configuration configuration ->
      configuration.resolutionStrategy.eachDependency {
        String artifactName = it.target.name
        if (FORBIDDEN_DEPENDENCIES.contains(artifactName)) {
          throw new GradleException("Dependency '${artifactName}' on configuration '${configuration.name}' is not allowed. " +
            "If it is needed as a transitive depenency, try adding it to the runtime classpath")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            List<MetadataGraphEdge> exList = excidentEdges.computeIfAbsent(vFrom, k -> new ArrayList<>());
    
            if (!exList.contains(e)) {
                exList.add(e);
            }
    
            List<MetadataGraphEdge> inList = incidentEdges.computeIfAbsent(vTo, k -> new ArrayList<>());
    
            if (!inList.contains(e)) {
                inList.add(e);
            }
    
            return this;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/line_test.go

    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    			t.Errorf("#%d: %q: want error %q; have %q", i, test.input, test.error, err)
    		}
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertFalse(entries.contains(mapEntry(k3(), v3())));
        multimap().put(k3(), v3());
        assertContains(entries, mapEntry(k3(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutPresentKeyPropagatesToEntries() {
        Collection<Entry<K, V>> entries = multimap().entries();
        assertFalse(entries.contains(mapEntry(k0(), v3())));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top