Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,094 for isSetup (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

    /**
     * Tests for {@link Files#fileTraverser()}.
     *
     * @author Jens Nyman
     */
    
    @NullUnmarked
    public class FilesFileTraverserTest extends IoTestCase {
    
      private File rootDir;
    
      @Override
      public void setUp() throws IOException {
        rootDir = createTempDir();
      }
    
      public void testFileTraverser_emptyDirectory() throws Exception {
        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

      @Param({"10", "100", "10000"})
      int n;
    
      private final byte[][] encodingInputs = new byte[INPUTS_COUNT][];
      private final String[] decodingInputs = new String[INPUTS_COUNT];
    
      @BeforeExperiment
      public void setUp() {
        Random rng = new Random();
        for (int i = 0; i < encodingInputs.length; i++) {
          encodingInputs[i] = new byte[n];
          rng.nextBytes(encodingInputs[i]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DfsResolverTest.java

        @Mock
        private Credentials mockCredentials;
    
        @Mock
        private SmbTransportPool mockTransportPool;
    
        @Mock
        private SmbTransportInternal mockTransport;
    
        @BeforeEach
        void setUp() {
            dfsResolver = new DfsImpl(mockContext);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        // Test for isTrustedDomain method
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    /**
     * @author Gregory Kick
     */
    @NullUnmarked
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private RuntimeWrapper runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(RuntimeWrapper.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
        verify(runtimeMock).exit(1);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacGroupTest.java

    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. .github/workflows/maven.yml

    jobs:
      build:
        runs-on: macos-14
        env:
          PARENT_BRANCH: main
        timeout-minutes: 15
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 21
          uses: actions/setup-java@v4
          with:
            java-version: '21'
            distribution: 'temurin'
        - uses: actions/cache@v4
          with:
            path: ~/.m2/repository
            key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:07:19 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcLsarCloseTest.java

    import jcifs.dcerpc.rpc.policy_handle;
    import jcifs.dcerpc.msrpc.MsrpcLsarClose;
    
    class MsrpcLsarCloseTest {
    
        @Mock
        private policy_handle mockPolicyHandle;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. .github/workflows/root-disable.yml

        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.24.x]
            os: [ubuntu-latest]
    
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Start root lockdown tests
            run: |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 734 bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

    public class SmbComTreeDisconnectTest {
    
        private Configuration config;
        private SmbComTreeDisconnect smbComTreeDisconnect;
    
        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            MockitoAnnotations.initMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid configuration
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top