Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 254 for teststring (0.74 seconds)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("toString should return formatted string with details")
        void testToString() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. internal/crypto/sse_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"net/http"
    	"testing"
    )
    
    func TestS3String(t *testing.T) {
    	const Domain = "SSE-S3"
    	if domain := S3.String(); domain != Domain {
    		t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            assertEquals(dataSize, result);
            for (int i = 0; i < dataSize; i++) {
                assertEquals(sourceData[i], outputBuffer[i]);
            }
        }
    
        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("TransCallNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

          assertEquals(
              "One of the registered catchers did not receive an event.",
              expectedEvents,
              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
        assertThat(eventBus.toString()).isEqualTo("EventBus{a b ; - \" < > / \\ €}");
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

          assertEquals(
              "One of the registered catchers did not receive an event.",
              expectedEvents,
              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
        assertThat(eventBus.toString()).isEqualTo("EventBus{a b ; - \" < > / \\ €}");
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. docs/de/docs/environment-variables.md

    Sie können mehr darüber lesen auf [The Twelve-Factor App: Config](https://12factor.net/config).
    
    ///
    
    ## Typen und Validierung { #types-and-validation }
    
    Diese Umgebungsvariablen können nur **Textstrings** handhaben, da sie extern zu Python sind und kompatibel mit anderen Programmen und dem Rest des Systems (und sogar mit verschiedenen Betriebssystemen, wie Linux, Windows, macOS) sein müssen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        // The radix is used as an array index, so try a negative value.
        assertThrows(NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", -1));
      }
    
      public void testToString() {
        // We can easily afford to test this exhaustively.
        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.toString((byte) i)).isEqualTo(Integer.toString(i));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // This should throw an exception during decode
            assertThrows(Exception.class, () -> {
                response.readDataWireFormat(buffer, 0, 10);
            });
        }
    
        @Test
        void testToString() {
            // Test toString method
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            String result = response.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test with zero length
            result = response.readDataWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            // Test the toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.contains("Trans2SetFileInformationResponse"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            // Use reflection to set private dialectIndex field
            setDialectIndex(response, 11);
            assertFalse(response.isValid(mockContext, request));
        }
    
        @Test
        public void testToString() {
            response.getServerData().securityMode = 1;
            response.getServerData().encryptedPasswords = true;
            response.getServerData().smaxMpxCount = 50;
            response.getServerData().maxNumberVcs = 1;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top