Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 520 for getSlash (0.27 seconds)

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

            SsoProcessException exception2 = new SsoProcessException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "SSO configuration error";
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        // Helper methods for reflection
        private void setFieldValue(Object obj, String fieldName, Object value) {
            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                field.set(obj, value);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

                return "";
            }
            final StringBuilder buf = new StringBuilder(100);
            for (final Object arg : methodArgs) {
                if (arg != null) {
                    buf.append(arg.getClass().getName());
                } else {
                    buf.append("null");
                }
                buf.append(", ");
            }
            buf.setLength(buf.length() - 2);
            return new String(buf);
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!FileSource.class.equals(obj.getClass())) {
                return false;
            }
    
            FileSource other = (FileSource) obj;
            return this.path.equals(other.path);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

       * the time this method is called.
       */
      Iterator<Subscriber> getSubscribers(Object event) {
        ImmutableSet<Class<?>> eventTypes = flattenHierarchy(event.getClass());
    
        List<Iterator<Subscriber>> subscriberIterators =
            Lists.newArrayListWithCapacity(eventTypes.size());
    
        for (Class<?> eventType : eventTypes) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          } catch (Throwable t) {
            threadUnexpectedException(t);
            return null;
          }
        }
      }
    
      <T> T serialClone(T o) {
        T clone = reserialize(o);
        assertThat(clone.getClass()).isEqualTo(o.getClass());
        return clone;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            protected void setFieldValue(String fieldName, Object value) {
                try {
                    Field field = null;
                    Class<?> clazz = this.getClass();
                    while (clazz != null && field == null) {
                        try {
                            field = clazz.getDeclaredField(fieldName);
                        } catch (NoSuchFieldException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

         */
        public void setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            Class<?> beanType = bean.getClass();
    
            // Find the default "set" method
            MethodInfo setterInfo = findCachedMethod(beanType, "", null);
            if (setterInfo == null) {
                // Look for any method named "set" with one parameter
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top