Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1191 - 1200 of 1,612 for EXPECTED (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                String pomContent = Files.readString(pomFile);
                assertTrue(
                        pomContent.contains("<groupId>com.example</groupId>"),
                        "Expected " + pomContent + " to contain " + "<groupId>com.example</groupId>");
                // Note: The exact modifications depend on which strategies are applicable
                // This test mainly verifies that apply goal can modify files
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. cmd/bucket-replication-utils_test.go

    	for i, test := range parseReplicationDecisionTest {
    		dsc, err := parseReplicateDecision(t.Context(), "bucket", test.expDsc.String())
    		if err != nil {
    			if test.expErr != err {
    				t.Errorf("Test%d (%s): Expected parse error got %t , want %t", i+1, test.name, err, test.expErr)
    			}
    			continue
    		}
    		if len(dsc.targetsMap) != len(test.expDsc.targetsMap) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            try {
                queryProcessor.execute(context, termQuery, 1.0f);
                fail();
            } catch (InvalidQueryException e) {
                // expected
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        @Test
        public void test_convertPrefixQuery_withDefaultField() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ConverterRuntimeException.class)
        public void testConvertValue_throwable() throws Exception {
            new CopyOptions().converter(new NumberConverter("##0")).convertValue("a", "aaa", Integer.class);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            notifyInfo.decode(buffer, 0, buffer.length);
    
            assertEquals(expectedOffset, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test toString contains expected information")
        void testToString() throws SMBProtocolDecodingException {
            String fileName = "log.txt";
            int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. internal/event/target/redis.go

    	}
    
    	if typeAvailable != "none" {
    		expectedType := "hash"
    		if r.Format == event.AccessFormat {
    			expectedType = "list"
    		}
    
    		if typeAvailable != expectedType {
    			return fmt.Errorf("expected type %v does not match with available type %v", expectedType, typeAvailable)
    		}
    	}
    
    	return nil
    }
    
    // RedisTarget - Redis target.
    type RedisTarget struct {
    	initOnce once.Init
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

            }
          }
    
          if (isFinalFrame) break // We are exhausted and have no continuations.
    
          readUntilNonControlFrame()
          if (opcode != OPCODE_CONTINUATION) {
            throw ProtocolException("Expected continuation opcode. Got: ${opcode.toHexString()}")
          }
        }
      }
    
      @Throws(IOException::class)
      override fun close() {
        if (closed) return
        closed = true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertTrue(result > 0);
            assertNotNull(response.getSecurityDescriptor());
        }
    
        @Test
        @DisplayName("Test toString returns expected format")
        void testToString() {
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Using test vector from RFC 2104 adapted for HMACT64
            byte[] key = new byte[16];
            Arrays.fill(key, (byte) 0x0b);
            byte[] data = "Hi There".getBytes();
    
            // Expected result calculated manually for HMACT64 with this key and data
            HMACT64 hmac = new HMACT64(key);
            hmac.engineUpdate(data, 0, data.length);
            byte[] result = hmac.engineDigest();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. tests/associations_has_one_test.go

    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	if err := DB.Model(&user).Association("Languages").Replace(Account{Number: "2"}); err == nil {
    		t.Error("expected association error to be not nil")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:49:45 GMT 2024
    - 7.1K bytes
    - Click Count (0)
Back to Top