Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 359 for arrange (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            // Arrange
            CliRequest request = new CliRequest(new String[] {"-Dx", "validate"}, null);
    
            // Act
            cli.cli(request);
            cli.properties(request);
    
            // Assert
            assertEquals("true", request.getUserProperties().getProperty("x"));
        }
    
        @Test
        void populatePropertiesMultiple() throws Exception {
            // Arrange
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            return Stream.of(Arguments.of(anon), Arguments.of(mock));
        }
    
        @Test
        @DisplayName("Class is a public interface in expected package")
        void testPublicInterfaceAndPackage() {
            // Arrange & Act
            Class<SessionSetupHandler> clazz = SessionSetupHandler.class;
    
            // Assert
            assertTrue(clazz.isInterface(), "Should be an interface");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

     * serialisation and invalid input handling.
     */
    class NegTokenTargTest {
    
        @Test
        @DisplayName("happy path – full token round‑trip")
        void testRoundTripFull() throws IOException {
            // Arrange – create a fully populated token
            ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            byte[] tokenArray = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 9, 9 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            @Test
            @DisplayName("readDirect over SMB2 returns bytes read and uses current offset")
            void readDirectSmb2Happy() throws Exception {
                SmbFileInputStream in = newStream();
    
                // Arrange SMB2 response to return 3 bytes
                Smb2ReadResponse smb2Resp = mock(Smb2ReadResponse.class);
                when(smb2Resp.getDataLength()).thenReturn(3);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

        class HappyPath {
            @Test
            @DisplayName("All getters return configured values and MIC roundtrips")
            void testAllMethodsHappyPath() throws Exception {
                // Arrange
                ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5
                ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Sat May 10 01:44:04 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/Base64Test.java

            ;
        }
    
        @ParameterizedTest(name = "encode({1}) -> {2}")
        @MethodSource("encodeProvider")
        void testEncode(byte[] input, String expected) {
            // Arrange & Act
            String actual = Base64.encode(input);
            // Assert
            assertEquals(expected, actual, "Base64.encode should match expected string");
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            assertEquals(SmbConstants.DEFAULT_PORT, port);
        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
        void testOpenConnectionWithValidUrl() throws IOException {
            // Arrange - Create URL with handler
            URL url = new URL(null, "smb://host/share", handler);
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. dbflute_fess/dfprop/replaceSchemaMap.dfprop

        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o arrangeBeforeRepsMap: (NotRequired - Default map:{})
        #  You can arrange resource files before ReplaceSchema.
        #
        #; arrangeBeforeRepsMap = map:{
        #    ; copy = map:{
        #        ; ../erd/*.ddl = ./playsql/replace-schema-10-basic.sql
        #    }
        #}
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.3K bytes
    - Click Count (0)
Back to Top