Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,167 for SetUp (0.02 sec)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @Mock
        private Address mockAddress;
    
        private NameServiceClientImpl nameServiceClient;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // Configure mock context with fast timeouts
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            // Setup configuration with minimal timeouts for fast testing
            when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DictionaryItemTest extends UnitFessTestCase {
    
        private TestDictionaryItem dictionaryItem;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            dictionaryItem = new TestDictionaryItem();
        }
    
        public void test_getId_defaultValue() {
            // Test that default ID value is 0
            assertEquals(0L, dictionaryItem.getId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            // For readAndXWireFormat testing, we need to setup the headerStart
            testBlock.headerStart = 0; // This is set by the decode method
            buffer[0] = 4; // wordCount
            buffer[1] = (byte) 0x42; // andxCommand
            SMBUtil.writeInt2(50, buffer, 3); // andxOffset
            SMBUtil.writeInt2(20, buffer, 9); // byteCount
    
            // Setup andx command data at offset 50 (absolute position)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                RenderDataUtil.register(data, "elevateWordItems", elevateWordService.getElevateWordList(elevateWordPager)); // page navi
            }).useForm(SearchForm.class, setup -> {
                setup.setup(form -> {
                    copyBeanToBean(elevateWordPager, form, op -> op.include("id"));
                });
            });
        }
    
        private HtmlResponse asEditHtml() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

        @Inject
        private ArtifactResolver artifactResolver;
    
        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected String component() {
            return "resolver";
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. .github/workflows/mint.yml

            run: |
              sudo -S rm -rf ${GITHUB_WORKSPACE}
              mkdir ${GITHUB_WORKSPACE}
          - name: checkout-step
            uses: actions/checkout@v4
    
          - name: setup-go-step
            uses: actions/setup-go@v5
            with:
              go-version: 1.24.x
    
          - name: github sha short
            id: vars
            run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

    import org.codelibs.fess.mylasta.direction.FessProp;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ComponentUtilTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.setFessConfig(null);
        }
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_setFessConfig_null() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

    public class FessListedClassificationProviderTest extends UnitFessTestCase {
    
        private FessListedClassificationProvider provider;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            provider = new FessListedClassificationProvider();
        }
    
        public void test_provide_notFound() {
            // Test with various classification names that should not be found
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top