Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 423 for Expect (0.05 seconds)

  1. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.net.MimeTypeUtil#guessContentType(String)} .
         */
        @Test
        public void testGuessContentType() {
            exception.expect(EmptyArgumentException.class);
            exception.expectMessage(is("[ECL0010]argument[path] is null or empty string."));
            MimeTypeUtil.guessContentType(null);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/test/java/org/elasticsearch/gradle/internal/BwcVersionsTests.java

            BwcVersions vc = new BwcVersions(
                listOfVersions.stream().map(this::formatVersionToLine).collect(Collectors.toList()),
                Version.fromString("8.0.0")
            );
            expectedEx.expect(IllegalStateException.class);
            expectedEx.expectMessage("but they are released");
            vc.compareToAuthoritative(authoritativeReleasedVersions);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 23.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet_NotContains() throws Exception {
            exception.expect(IllegalKeyOfBeanMapException.class);
            exception.expectMessage(is("[ECL0016]key[xxx] is not included in this BeanMap : {aaa=1, bbb=2}."));
            final BeanMap map = new BeanMap();
            map.put("aaa", 1);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

       *
       * Now we will execute this function with an eager context:
       *
       *   A =[[0, 1],[1, 0]]
       *   B =[[1, 0],[0, 1]]
       *
       *   output1, output2, output3 = two_adds_and_mm(A, B)
       *
       * We expect outputs:
       *
       *   output1 = [[1, 1],[1, 1]]
       *   output2 = [[2, 0],[0, 2]]
       *   output3 = [[2, 2],[2, 2]]
       *
       */
    
      // Build eager context.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 39.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.CalendarConversionUtil#localize(Calendar)}
         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[calendar] is null."));
            CalendarConversionUtil.localize(null);
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                executor.shutdown();
                assertTrue(executor.awaitTermination(5, TimeUnit.SECONDS));
    
                // Some operations might succeed before key wipe, some might fail after
                // At minimum, we expect some activity (not all operations should be no-ops)
                int totalOperations = successCount.get() + failureCount.get();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

        /**
         * Test method for
         * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)}
         * .
         */
        @Test
        public void testToBinaryException() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object."));
            BinaryConversionUtil.toBinary(new Object());
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        @Test
        public void testCopyMapToBean_SrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[src] is null."));
            BeanUtil.copyMapToBean(null, new Object());
        }
    
        /**
         *
         */
        @Test
        public void testCopyBeanToMap_DestNull() {
            exception.expect(NullArgumentException.class);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. cmd/data-usage-cache.go

    	if len(topE.Children) > dataScannerForceCompactAtFolders {
    		// If we still have too many children, compact self.
    		scannerLogOnceIf(GlobalContext, fmt.Errorf("forceCompact: %q has %d children. Force compacting. Expect reduced scanner performance", d.Info.Name, len(topE.Children)), d.Info.Name)
    		d.reduceChildrenOf(hashPath(d.Info.Name), limit, true)
    	}
    	if len(d.Cache) <= limit {
    		return
    	}
    
    	// Check for abandoned entries.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  10. cmd/object-multipart-handlers.go

    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    				etag = etag[len(etag)-32:]
    			}
    		}
    	}
    
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{"\"" + etag + "\""}
    	hash.TransferChecksumHeader(w, r)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
Back to Top