Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,514 for Void (0.03 sec)

  1. src/test/java/jcifs/tests/FileLocationTest.java

    
        // test case for #30
        @Test ( expected = MalformedURLException.class )
        public void testInvalid () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb:a", getContext()) ) {
                p.getType();
            }
        }
    
    
        // #41
        @Test
        public void testGetName () throws MalformedURLException, CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testContainsKeyYes() {
        assertTrue(multimap().containsKey(k0()));
      }
    
      public void testContainsKeyNo() {
        assertFalse(multimap().containsKey(k3()));
      }
    
      public void testContainsKeysFromKeySet() {
        for (K k : multimap().keySet()) {
          assertTrue(multimap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithGet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ConverterTest.java

      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
        assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL));
    
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS);
        assertEquals(LONGS, ImmutableList.copyOf(convertedValues));
      }
    
      public void testConvertAllIsView() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        client.newCall(request).enqueue(new Callback() {
          @Override public void onFailure(Call call, IOException e) {
            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/text/TokenizerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWhitespace() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        reference = new ValidTestObject(1, 2);
        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            return sb.toString();
        }
    
        public void format(StringBuilder builder, long size) {
            format(builder, size, null, false);
        }
    
        public void format(StringBuilder builder, long size, ScaleUnit unit) {
            format(builder, size, unit, false);
        }
    
        private void format(StringBuilder builder, long size, ScaleUnit unit, boolean omitSymbol) {
            if (size < 0L) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * @param selector The selector of the project.
         */
        public void activateRequiredProject(String selector) {
            this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.ACTIVATION_REQUIRED));
        }
    
        /**
         * Mark a project as optional and activated.
         * @param selector The selector of the project.
         */
        public void activateOptionalProject(String selector) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setUrl(java.lang.String)
         */
        @Override
        public void setUrl(final String url) {
            this.url = url;
        }
    
        @Override
        public String getMetaData() {
            return metaData;
        }
    
        @Override
        public void setMetaData(final String metaData) {
            this.metaData = metaData;
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top