Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for expectedStrings (0.07 seconds)

  1. internal/store/store_test.go

    				ItemCount: 1,
    			},
    			expectedString: "01894394-d046-4783-ba0d-f1c6885790dc.event.snappy",
    		},
    		{
    			key: Key{
    				Name:      "01894394-d046-4783-ba0d-f1c6885790dc",
    				Extension: ".event",
    				ItemCount: 1,
    			},
    			expectedString: "01894394-d046-4783-ba0d-f1c6885790dc.event",
    		},
    	}
    
    	for i, testCase := range testCases {
    		if testCase.expectedString != testCase.key.String() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            // Verify that the string part ends with the null terminator
            assertArrayEquals(expectedString, subArray(buffer, 1, expectedString.length));
            assertEquals(0, buffer[1 + expectedString.length], "String must be null terminated");
        }
    
        @Test
        @DisplayName("toString includes command name and filename")
        void testToStringIncludesInformation() {
            String str = cmd.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        Reader joinedReader = CharSource.concat(source, source).openStream();
    
        String expectedString = testString + testString;
        assertThat(CharStreams.toString(joinedReader)).isEqualTo(expectedString);
      }
    
      private static CharSource newCharSource(String text) {
        return new CharSource() {
          @Override
          public Reader openStream() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            referral.resolveHashes = true;
    
            // When
            String expectedString =
                    "DfsReferral[pathConsumed=20,server=testServer,share=testShare,link=testLink,path=/test/path,ttl=300,expiration=1234567890,resolveHashes=true]";
            String actualString = referral.toString();
    
            // Then
            assertEquals(expectedString, actualString, "The toString method should return the expected string representation.");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top