Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2131 - 2140 of 4,254 for avoid (0.02 sec)

  1. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      }
    
      @Test
      public void equivalent_nodeSetsDiffer() {
        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

    class FileSourceTest {
    
        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

    @NullUnmarked
    public class StandardSystemPropertyTest extends TestCase {
    
      public void testGetKeyMatchesString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          String fieldName = property.name();
          String expected = Ascii.toLowerCase(fieldName).replaceAll("_", ".");
          assertEquals(expected, property.key());
        }
      }
    
      public void testGetValue() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacSidAttributesTest.java

        @BeforeEach
        void setUp() {
            // Mock the SID object
            sidMock = mock(SID.class);
            // Create a new PacSidAttributes instance before each test
            pacSidAttributes = new PacSidAttributes(sidMock, attributes);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#PacSidAttributes(jcifs.smb.SID, int)}.
         */
        @Test
        void testConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                }
                // If no credentials path, uses default credentials (GOOGLE_APPLICATION_CREDENTIALS env var)
            }
    
            this.storage = builder.build().getService();
        }
    
        @Override
        public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) {
            try {
                final BlobId blobId = BlobId.of(bucket, objectName);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
      /** Waits for an OAuth session for this client to be set. */
      public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException {
        while (session == null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                return (boolean) getFieldValue("dataDone");
            }
    
            boolean isHasMore() {
                return hasMore;
            }
    
            void setErrorCode(int code) {
                errorCode = code;
            }
    
            void setHasMore(boolean val) {
                hasMore = val;
            }
    
            boolean getParametersDone() {
                return (boolean) getFieldValue("parametersDone");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

            return aliases;
        }
    
        public Stream<MavenProject> projects() {
            return plan.keySet().stream();
        }
    
        public void addProject(MavenProject project, Map<String, BuildStep> steps) {
            plan.put(project, steps);
        }
    
        public void addStep(MavenProject project, String name, BuildStep step) {
            plan.get(project).put(name, step);
        }
    
        public Stream<BuildStep> allSteps() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 12:11:25 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(bimap3, emptyBimap);
      }
    
      @GwtIncompatible // keyType
      public void testKeyType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/JoinerTest.java

        }
      }
    
      public void test_useForNull_skipNulls() {
        Joiner j = Joiner.on("x").useForNull("y");
        assertThrows(UnsupportedOperationException.class, j::skipNulls);
      }
    
      public void test_skipNulls_useForNull() {
        Joiner j = Joiner.on("x").skipNulls();
        assertThrows(UnsupportedOperationException.class, () -> j.useForNull("y"));
      }
    
      public void test_useForNull_twice() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top