- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,026 for FAIL (0.02 seconds)
-
guava-tests/test/com/google/common/collect/MapMakerTest.java
public void xtestInitialCapacity_setTwice() { MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail(); } catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
// The root locator can be used very early during the setup of Maven, // even before the arguments from the command line are parsed. Any exception // that would happen here should cause the build to fail at a later stage // (when actually parsing the POM) and will lead to a better exception being // displayed to the user, so just bail out and return false. } return false; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
benchmarks/build.gradle
runtimeOnly 'org.apache.commons:commons-math3:3.2' } // enable the JMH's BenchmarkProcessor to generate the final benchmark classes // needs to be added separately otherwise Gradle will quote it and javac will fail tasks.named("compileJava").configure { options.compilerArgs.addAll(["-processor", "org.openjdk.jmh.generators.BenchmarkProcessor"]) } tasks.register('copyExpression', Copy) { dependsOn configurations.expression
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 22:04:23 GMT 2021 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) { // This is also acceptable behavior - skip may fail when it runs out of data assertTrue(e.getMessage().contains("unexpected EOF")); } } @Test @DisplayName("Keep-alive packets are transparently skipped")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
UpgradeContext context = createMockContext(); Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class)); // Mock first strategy to fail, second to succeed when(mockStrategies.get(0).isApplicable(context)).thenReturn(true); when(mockStrategies.get(0).apply(Mockito.eq(context), Mockito.any())) .thenReturn(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
params.put("score", 85); assertEquals("pass", groovyEngine.evaluate("return score >= 60 ? 'pass' : 'fail'", params)); params.put("score", 45); assertEquals("fail", groovyEngine.evaluate("return score >= 60 ? 'pass' : 'fail'", params)); } /** * Test that loops work */ @Test public void test_evaluate_loops() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
} @Test @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException") void shortBuffer_throwsAIOOBE() { // Arrange: length 1 means readInt2 will access index 1 and fail byte[] buffer = new byte[1]; Smb2LogoffResponse resp = newResponse(); // Act & AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
src/archive/tar/stat_unix.go
sys, ok := fi.Sys().(*syscall.Stat_t) if !ok { return nil } h.Uid = int(sys.Uid) h.Gid = int(sys.Gid) if doNameLookups { // Best effort at populating Uname and Gname. // The os/user functions may fail for any number of reasons // (not implemented on that platform, cgo not enabled, etc). if u, ok := userMap.Load(h.Uid); ok { h.Uname = u.(string) } else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
// Just verify the method exists, don't actually call it crawlerEngineClient.getClass().getMethod("close"); assertTrue(true); } catch (NoSuchMethodException e) { fail("close method should exist"); } } // Test toString method @Test public void test_toString() { // Test that toString returns a non-null value
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
helm-releases/minio-4.0.10.tgz
connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail. echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ; MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; $MC_COMMAND...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 04 16:09:22 GMT 2022 - 19.2K bytes - Click Count (0)