Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testSuccess (0.04 sec)

  1. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

    import org.junit.jupiter.params.provider.CsvSource;
    
    @DisplayName("NbtException Tests")
    class NbtExceptionTest {
    
        @Test
        @DisplayName("getErrorString success returns SUCCESS")
        void testSuccess() {
            assertEquals("SUCCESS", NbtException.getErrorString(NbtException.SUCCESS, 0));
        }
    
        @Test
        @DisplayName("getErrorString for name service error with known code")
        void testNameServiceKnown() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link AbstractFuture}.
     *
     * @author Brian Stoler
     */
    @NullUnmarked
    public class AbstractFutureTest extends TestCase {
      public void testSuccess() throws ExecutionException, InterruptedException {
        Object value = new Object();
        assertSame(
            value,
            new AbstractFuture<Object>() {
              {
                set(value);
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link AbstractFuture}.
     *
     * @author Brian Stoler
     */
    @NullUnmarked
    public class AbstractFutureTest extends TestCase {
      public void testSuccess() throws ExecutionException, InterruptedException {
        Object value = new Object();
        assertSame(
            value,
            new AbstractFuture<Object>() {
              {
                set(value);
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    public class MsrpcSamrConnect2Test {
    
        private SamrPolicyHandle mockPolicyHandle;
        private String testServer;
        private int testAccess;
    
        @BeforeEach
        void setUp() {
            mockPolicyHandle = mock(SamrPolicyHandle.class);
            testServer = "testServer";
            testAccess = 0x02000000; // SAM_SERVER_CONNECT access right
        }
    
        @Test
        @DisplayName("Should construct with correct parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            activityHelper.logout(createUser("testuser", new String[] { "111", "222" }));
            assertEquals("action:LOGOUT\tuser:testuser\tpermissions:111|222", localLogMsg.get());
        }
    
        public void test_access() {
            activityHelper.useEcsFormat = false;
            activityHelper.access(OptionalThing.empty(), "/", "aaa");
            assertEquals("action:ACCESS\tuser:-\tpath:/\texecute:aaa", localLogMsg.get());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top