Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 123 for testBar (0.34 seconds)

  1. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isStatic(), is(not(true)));
            foo.invokeStatic();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testBar() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc bar = beanDesc.getMethodDesc("bar", String.class);
            assertThat(bar, is(notNullValue()));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getStaticFieldValue(), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAaa() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            assertThat(aaa.getBeanDesc(), is(sameInstance(beanDesc)));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        }
    
        Map getInitializationParams() {
            return [
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path,
            ]
        }
    
        String replaceAsInternal(String name) {
            return name.replace('gradlebuild', 'gradlebuild.internal')
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
        assertFalse(map.remove("bar", 1));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertTrue(map.remove("foo", 1));
        assertTrue(map.isEmpty());
      }
    
      public void testReplace() {
        TestMap map = new TestMap();
        map.put("foo", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/IoTestCase.java

          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

          }
        }
      }
    
      public void testEquals() {
        EqualsTester tester = new EqualsTester();
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
            tester.addEqualityGroup(param);
          }
        }
        tester.testEquals();
      }
    
      @SuppressWarnings("unused")
      private void someMethod(int i, int j) {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/ParameterTest.java

          }
        }
      }
    
      public void testEquals() {
        EqualsTester tester = new EqualsTester();
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
            tester.addEqualityGroup(param);
          }
        }
        tester.testEquals();
      }
    
      @SuppressWarnings("unused")
      private void someMethod(int i, int j) {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null));
      }
    
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(Atomics.class); // there aren't any
        tester.testAllPublicStaticMethods(Atomics.class);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top