Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 292 for assume (0.23 sec)

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

                    long newTime = f.createTime();
                    if ( newTime == orig ) {
                        Assume.assumeTrue("Create time was not changed", false);
                    }
                    assertEquals(time, newTime);
                }
                catch ( SmbUnsupportedOperationException e ) {
                    Assume.assumeTrue("No Ntsmbs", false);
                }
                finally {
                    f.delete();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertThat(e.getMessage()).contains(ERROR_REUSE_EDGE);
      }
    
      @Test
      public void addEdge_parallelSelfLoopEdge_notAllowed() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
        assume().that(network.allowsParallelEdges()).isFalse();
    
        addEdge(N1, N1, E11);
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertThat(e.getMessage()).contains(ERROR_REUSE_EDGE);
      }
    
      @Test
      public void addEdge_parallelSelfLoopEdge_notAllowed() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
        assume().that(network.allowsParallelEdges()).isFalse();
    
        addEdge(N1, N1, E11);
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      public void putEdge_doesntAllowSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isFalse();
    
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      public void putEdge_doesntAllowSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isFalse();
    
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
      }
    
      @Test
      public void addEdge_parallelSelfLoopEdge_notAllowed() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
        assume().that(network.allowsParallelEdges()).isFalse();
    
        addEdge(N1, N1, E11);
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
      }
    
      @Test
      public void addEdge_parallelSelfLoopEdge_notAllowed() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
        assume().that(network.allowsParallelEdges()).isFalse();
    
        addEdge(N1, N1, E11);
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/KerberosTest.java

        }
    
    
        @Before
        public void setup () {
            Assume.assumeTrue("Skip kerberos auth", getProperties().get("test.skip.kerberos") == null);
        }
    
    
        @Test
        public void testKRB () throws Exception {
            Assume.assumeTrue(getContext().getConfig().getResolveOrder().contains(ResolverType.RESOLVER_DNS));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/SessionTest.java

                // broken samba servers
                Assume.assumeNoException(e);
            }
    
            if ( e.getNtStatus() != NtStatus.NT_STATUS_LOGON_FAILURE && e.getNtStatus() != NtStatus.NT_STATUS_ACCOUNT_DISABLED ) {
                throw e;
            }
            Assume.assumeNoException(e);
        }
    
    
        @Test
        public void logonUserNoDomain () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsParallelEdges()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        addEdge(N1, N1, E11_A);
        addEdge(N1, N2, E12);
        assertTrue(networkAsMutableNetwork.removeEdge(E11_A));
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top