Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,418 for SetUp (0.02 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        try {
          Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
          Object testInstance = test.getDeclaredConstructor().newInstance();
          test.getMethod("setUp").invoke(testInstance);
          test.getMethod(getName()).invoke(testInstance);
          test.getMethod("tearDown").invoke(testInstance);
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

                return 0;
            }
    
            @Override
            public String toString() {
                return "ConcreteSmbComNtTransaction";
            }
        }
    
        @BeforeEach
        void setUp() {
            smbComNtTransaction = new ConcreteSmbComNtTransaction();
        }
    
        @Test
        void testConstructor() {
            // Test if the offsets are initialized correctly by the constructor.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            originalMap.put("refreshKrb5Config", "true");
    
            @SuppressWarnings("unchecked")
            Map<String, Object> spyOpts = spy(originalMap);
    
            // Reset the spy to clear any prior invocations from setup
            reset(spyOpts);
    
            StaticJAASConfiguration cfg = new StaticJAASConfiguration(spyOpts);
    
            // Act
            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. PULL_REQUESTS_ETIQUETTE.md

    6. **Testing**:
       - Assume the submitter tested the code. If testing is unclear, ask for details (e.g., “How was this tested?”).
       - Reject untested PRs unless testing is infeasible, then assist with test setup.
    
    ## Tips for Success
    
    - **Small PRs**: Easier to review, faster to merge. Split large changes logically.
    - **Clear Commits**: Use `git rebase -i` to refine history before submitting.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun May 25 16:32:03 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

     *
     */
    @Deprecated
    class OperatingSystemProfileActivatorTest extends AbstractProfileActivatorTest<OperatingSystemProfileActivator> {
    
        @Override
        @BeforeEach
        void setUp() throws Exception {
            activator = new OperatingSystemProfileActivator();
        }
    
        private Profile newProfile(ActivationOS.Builder activationBuilder) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

                RenderDataUtil.register(data, "pathMappingItems", pathMappingService.getPathMappingList(pathMapPager)); // page navi
            }).useForm(SearchForm.class, setup -> {
                setup.setup(form -> {
                    copyBeanToBean(pathMapPager, form, op -> op.include("regex", "replacement"));
                });
            });
        }
    
        private HtmlResponse asEditHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/context/CIFSContextWrapperTest.java

    class CIFSContextWrapperTest {
    
        private CIFSContext mockDelegate;
        private Configuration mockConfiguration;
        private CIFSContextWrapper cifsContextWrapper;
    
        @BeforeEach
        void setUp() {
            mockDelegate = mock(CIFSContext.class);
            mockConfiguration = mock(Configuration.class);
            when(mockDelegate.getConfig()).thenReturn(mockConfiguration);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        @Inject
        private ArtifactResolver artifactResolver;
    
        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 26 10:49:22 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/netbios/NbtAddressTest.java

        private int testAddressInt = 0xC0A80101; // 192.168.1.1
        private byte[] testMacAddress = new byte[] { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
    
        @BeforeEach
        void setUp() {
            // Setup will be done per test as needed
        }
    
        @Test
        void testConstructorWithMinimalParameters() throws UnknownHostException {
            // Test the constructor with minimal parameters
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class LogNotificationJobTest extends UnitFessTestCase {
    
        private LogNotificationJob logNotificationJob;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            logNotificationJob = new LogNotificationJob();
        }
    
        @Test
        public void test_constructor() {
            LogNotificationJob job = new LogNotificationJob();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top