Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,393 for Create (0.03 sec)

  1. src/test/java/jcifs/SmbTreeHandleTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    /**
     * Tests for SmbTreeHandle interface.
     * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface.
     * Each method of the interface is tested to ensure it behaves as expected.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/FileNotifyInformationTest.java

        class ImplementationTests {
    
            @Test
            @DisplayName("Test concrete implementation of FileNotifyInformation")
            void testConcreteImplementation() {
                // Create a simple implementation for testing
                FileNotifyInformation impl = new FileNotifyInformation() {
                    private final int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            private final Smb2LeaseKey leaseKey;
            private final SmbFile directoryFile;
            private volatile boolean active;
            private CompletableFuture<Void> notificationFuture;
    
            /**
             * Create a new change notification handle
             *
             * @param path directory path
             * @param key lease key
             * @param dir directory file
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        class ConstructorTests {
    
            @Test
            @DisplayName("Default constructor should create instance with default values")
            void testDefaultConstructor() {
                // When
                DcerpcBind defaultBind = new DcerpcBind();
    
                // Then
                assertNotNull(defaultBind, "Default constructor should create instance");
                assertEquals(0, defaultBind.getOpnum(), "Default opnum should be 0");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/cmd/api/api_test.go

    		pkg, err := w.import_(fi.Name())
    		if err != nil {
    			t.Fatalf("import %s: %v", fi.Name(), err)
    		}
    		w.export(pkg)
    
    		if *updateGolden {
    			os.Remove(goldenFile)
    			f, err := os.Create(goldenFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    			for _, feat := range w.Features() {
    				fmt.Fprintf(f, "%s\n", feat)
    			}
    			f.Close()
    		}
    
    		bs, err := os.ReadFile(goldenFile)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 02 17:06:27 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPackagePrivateBean() throws Exception {
            final MogeBean moge = MogeBeanFactory.create("moge");
            final BeanDesc beanDesc = new BeanDescImpl(moge.getClass());
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("name");
            assertThat(propDesc, is(notNullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel);
        }
    
        @Test
        void testWriteParametersWithLongFilename() {
            // Create a very long filename
            StringBuilder longPath = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longPath.append("verylongpath/");
            }
            longPath.append("file.txt");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                return;
            }
    
            MetadataGraphVertex vertex = new MetadataGraphVertex(node.md, versionedVertices, scopedVertices);
            vertices.add(vertex);
    
            if (parentVertex != null) // then create the edge
            {
                ArtifactMetadata md = node.getMd();
                MetadataGraphEdge e =
                        new MetadataGraphEdge(md.version, md.resolved, md.artifactScope, md.artifactUri, depth, pomOrder);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(currentTime - 1000, lastAccess, "Should return correct last access time");
                assertEquals(currentTime - 2000, createTime, "Should return correct create time");
                assertTrue(createTime <= lastAccess, "Create time should be before or equal to last access");
                assertTrue(lastAccess <= lastModified, "Last access should be before or equal to last modified");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                out[2 * i] = (byte) (chars[i] & 0xFF);
                out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF);
            }
            return out;
        }
    
        /**
         * Helper: create a buffer containing the parameter and data segments
         */
        private static byte[] createBuffer(int dataLen, byte[] dataBytes, String params) throws UnsupportedEncodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top