Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertNotNull (0.25 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    .orElse(null);
            assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId);
            List<PluginExecution> pluginExecutions = plugin.getExecutions();
            PluginExecution pluginExecution = pluginExecutions.stream()
                    .filter(pe -> pe.getId().equals(expectedId))
                    .findFirst()
                    .orElse(null);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Object key = new Object();
        assertNotNull(cache.getUnchecked(key));
    
        CacheTesting.simulateValueReclamation(cache, key);
    
        // this blocks if computation can't deal with partially-collected values
        assertNotNull(cache.getUnchecked(key));
        assertEquals(1, cache.size());
        assertEquals(2, countingLoader.getCount());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Object key = new Object();
        assertNotNull(cache.getUnchecked(key));
    
        CacheTesting.simulateValueReclamation(cache, key);
    
        // this blocks if computation can't deal with partially-collected values
        assertNotNull(cache.getUnchecked(key));
        assertEquals(1, cache.size());
        assertEquals(2, countingLoader.getCount());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top