Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 203 for teststring (0.13 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                }
            };
    
            String[] testStrings = { "simple", "with spaces", "special!@#$%^&*()", "unicode_test", "", "very long string " + "x".repeat(100) };
    
            for (String testStr : testStrings) {
                String encrypted = cipher.encrypt(testStr);
                String decrypted = cipher.decrypt(encrypted);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs
         * @see #getString(Field, Object)
         */
        public static String getString(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return getString(field, null);
        }
    
        /**
         * Returns the value of a {@link Field} as a {@link String}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        default Optional<String> getString(@Nonnull URI relativeSource) {
            return getString(relativeSource, StandardCharsets.UTF_8);
        }
    
        /**
         * PUTs the source file (must exist as file) to target URI. The target MUST BE relative from the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, testData);
            assertThat(FieldUtil.getString(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetStringFieldObject() throws Exception {
            final Field field = getClass().getField("STRING_DATA");
            assertThat(FieldUtil.getString(field), is(STRING_DATA));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.readBytesWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testToString() {
            // Test the string representation of the object
            String result = smbComQueryInformation.toString();
            assertTrue(result.startsWith("SmbComQueryInformation["));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/message/MessageFormatter.java

                final String pattern = ResourceBundleUtil.getString(resourceBundle, key);
                if (pattern != null) {
                    return pattern;
                }
            }
            return resourceBundle.getString(messageCode);
        }
    
        /**
         * Returns the system name.
         *
         * @param messageCode
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

            assertEquals(e.getMessage(), NbtException.getErrorString(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED));
        }
    
        @Test
        @DisplayName("toString includes class, code and error string")
        void testToString() {
            NbtException e = new NbtException(NbtException.ERR_SSN_SRVC, NbtException.NO_RESOURCES);
            String str = e.toString();
            assertTrue(str.contains("errorClass=2"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            // When
            int result = trans2SetFileInformation.readDataWireFormat(new byte[0], 0, 0);
    
            // Then
            assertEquals(0, result);
        }
    
        @Test
        void testToString() {
            // When
            String result = trans2SetFileInformation.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2SetFileInformation["));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/TestCharSink.java

      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
        this.byteSink = new TestByteSink(options);
      }
    
      public String getString() {
        return new String(byteSink.getBytes(), UTF_8);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return byteSink.wasStreamOpened();
      }
    
      @Override
      public boolean wasStreamClosed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. schema/field.go

    				if data != nil && *data != nil {
    					field.ReflectValueOf(ctx, value).SetString(**data)
    				}
    			case string:
    				field.ReflectValueOf(ctx, value).SetString(data)
    			case []byte:
    				field.ReflectValueOf(ctx, value).SetString(string(data))
    			case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64:
    				field.ReflectValueOf(ctx, value).SetString(utils.ToString(data))
    			case float64, float32:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
Back to top