Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 809 for fair (0.03 sec)

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

     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  2. internal/lock/lock_test.go

    		}
    	}()
    
    	_, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests lock directory fail.
    func TestLockDirFail(t *testing.T) {
    	d := t.TempDir()
    
    	_, err := LockedOpenFile(d, os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests rwlock methods.
    func TestRWLockedFile(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. internal/arn/arn_test.go

    		},
    		{
    			name: "invalid ARN length must fail",
    			args: args{
    				arnStr: "arn:minio:",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN partition must fail",
    			args: args{
    				arnStr: "arn:invalid:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN service must fail",
    			args: args{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * }
       * ```
       *
       * The first property of the pair is the adapter that was used, the second property is the value.
       */
      internal val generalNameDnsName = Adapters.IA5_STRING.withTag(tag = 2L)
      internal val generalNameIpAddress = Adapters.OCTET_STRING.withTag(tag = 7L)
      internal val generalName: DerAdapter<Pair<DerAdapter<*>, Any?>> =
        Adapters.choice(
          generalNameDnsName,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        try {
          pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          getUninterruptibly(future, 0, SECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                    value = value.replace("${" + entry.getKey() + "}", entry.getValue());
                }
                return new Pair<>(key, value);
            }).collect(Collectors.toMap(Pair<String, String>::getFirst, Pair<String, String>::getSecond));
            final Map<String, String> configScriptMap = config.getHandlerScriptMap();
    
            initParamMap.putAll(configParamMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      }
    
      /**
       * Just like fail(reason), but additionally recording (using threadRecordFailure) any
       * AssertionFailedError thrown, so that the current testcase will fail.
       */
      public void threadFail(String reason) {
        try {
          fail(reason);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          fail(reason);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.getEntry(2).getElement(), is("3"));
            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. integration-tests/gradle/gradlew.bat

    echo location of your Java installation.
    
    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo.
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    echo location of your Java installation.
    
    goto fail
    
    :execute
    @rem Setup the command line
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 28 18:15:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top