Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for testCase (4.79 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Test with different parameters
            int[][] testCases = { { 0, 10 }, { 5, 20 }, { 50, 50 }, { 0, 0 } };
    
            for (int[] testCase : testCases) {
                // Arrange
                byte[] buffer = new byte[100];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.normalizer;
    
    import junit.framework.TestCase;
    
    public class ICUNormalizerTest extends TestCase {
        public void test_FullwidthHalfwidth() {
            ICUNormalizer normalizer = new ICUNormalizer("Fullwidth-Halfwidth");
    
            assertEquals("abcd", normalizer.normalize("abcd", null));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.opensearch.core.common.Strings;
    
    import junit.framework.TestCase;
    
    public class SuggesterBuilderTest extends TestCase {
        OpenSearchRunner runner;
    
        @Override
        public void setUp() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Nov 01 13:29:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import java.util.List;
    
    import junit.framework.TestCase;
    
    public class KatakanaToAlphabetConverterTest extends TestCase {
    
        private KatakanaToAlphabetConverter converter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.misc;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class Base64UtilTest extends TestCase {
    
        private static final String ORIGINAL = "how now brown cow\r\n";
    
        private static final byte[] BINARY_DATA = ORIGINAL.getBytes();
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

        }
    
        @Test
        public void testVariousFieldValues() {
            int[][] testCases = { { 0, 0, 0 }, { 100, 200, 300 }, { 32767, 32767, 32767 }, { 65535, 65535, 65535 } };
    
            for (int[] testCase : testCases) {
                int serverType = testCase[0];
                int proximity = testCase[1];
                int ttl = testCase[2];
    
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class SerializeUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testSerialize() throws Exception {
            final String[] a = new String[] { "1", "2" };
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. pom.xml

    				<artifactId>maven-surefire-plugin</artifactId>
    				<version>3.5.0</version>
    				<configuration>
    					<includes>
    						<include>**/*Test.java</include>
    						<include>**/*Tests.java</include>
    						<include>**/*TestCase.java</include>
    						<include>**/*TestSuite.java</include>
    					</includes>
    					<systemPropertyVariables>
    						<networkaddress.cache.ttl>-1</networkaddress.cache.ttl>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/NetbiosNameTest.java

            // Given
            String testName = "TESTNAME";
            String testScope = "TESTSCOPE";
            int testType = 0x20;
    
            when(mockNetbiosName.getName()).thenReturn(testName);
            when(mockNetbiosName.getScope()).thenReturn(testScope);
            when(mockNetbiosName.getNameType()).thenReturn(testType);
    
            // When/Then
            assertEquals(testName, mockNetbiosName.getName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top