Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 1,612 for EXPECTED (0.07 seconds)

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            // Decode
            fileStandardInfo.decode(buffer, 0, buffer.length);
    
            // Test toString
            String result = fileStandardInfo.toString();
    
            // Verify string contains expected values
            assertTrue(result.contains("SmbQueryInfoStandard"));
            assertTrue(result.contains("allocationSize=" + expectedAllocationSize));
            assertTrue(result.contains("endOfFile=" + expectedEndOfFile));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. internal/s3select/sql/aggregation.go

    			// No rows were seen by MAX
    			return FromNull(), nil
    		}
    		return e.aggregate.runningMax, nil
    
    	case aggFnSum:
    		// TODO: check if returning 0 when no rows were seen
    		// by SUM is expected behavior.
    		return e.aggregate.runningSum, nil
    
    	default:
    		// TODO:
    	}
    
    	return nil, errInvalidAggregation
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input));
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(float expected, String input) {
        assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected));
      }
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseHex() {
        for (String signChar : ImmutableList.of("", "+", "-")) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input));
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(float expected, String input) {
        assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected));
      }
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseHex() {
        for (String signChar : ImmutableList.of("", "+", "-")) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .resolveType(subtype));
      }
    
      public <T> void testWhere_mapFromBoundedWildcard() {
        Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture();
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        Type unused =
            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        char[] sharedArray = new char[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Chars.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArray() {
        assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
    class IdnaMappingTableTest {
      private lateinit var table: SimpleIdnaMappingTable
      private lateinit var compactTable: IdnaMappingTable
    
      @BeforeEach
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            protocolHelper.init();
    
            try {
                protocolHelper.isValidWebProtocol(null);
                fail("Should throw exception for null URL");
            } catch (Exception e) {
                // Expected
                assertNotNull(e);
            }
        }
    
        @Test
        public void test_isValidFileProtocol_nullUrl() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              // generateWaitForWhenNotOccupyingTestCase).
              monitor1.enter();
            }
            try {
              method.invoke(monitor1, arguments.toArray());
              fail("expected IllegalMonitorStateException");
            } catch (InvocationTargetException e) {
              assertThat(e.getTargetException()).isInstanceOf(IllegalMonitorStateException.class);
            } finally {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                }
            };
    
            try {
                customEnv.getTimeAdjustTimeMillisAsLong();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test various numeric values for time adjust
        public void xtest_getTimeAdjustTimeMillisAsLong_variousValues() {
            // Test negative value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top