Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setupIndex (0.31 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

                    break;
                default:
                    throw new IllegalArgumentException("Don't know how to implement script [" + script + "]");
            }
        }
    
        @Setup
        public void setupIndex() throws IOException {
            Path path = Path.of(System.getProperty("tests.index"));
            IOUtils.rm(path);
            Directory directory = new MMapDirectory(path);
            try (
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            setupAndX = new SmbComSessionSetupAndX(mockSession, mockAndx, mockAuth);
        }
    
        @Test
        void testConstructor() {
            assertNotNull(setupAndX);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command);
            assertEquals(mockSession, setupAndX.session);
            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top