- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 5,228 for avoid (0.03 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
@Mock private Configuration mockConfig; private Trans2GetDfsReferral trans2GetDfsReferral; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() throws Exception { // Given String filename = "\\\\server\\share\\file.txt"; // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
/** * @throws Exception */ @Test public void testSplit() throws Exception { final String[] array = StringUtil.split("aaa\nbbb", "\n"); assertEquals("1", 2, array.length); assertEquals("2", "aaa", array[0]); assertEquals("3", "bbb", array[1]); } /** * */ @Test public void testSplit2() {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
@Test public void test_setCommandList() throws Exception { final List<String> commands = Collections.singletonList("test_command"); generator.setCommandList(commands); assertTrue(true); } @Test public void test_setCommandList_null() throws Exception { generator.setCommandList(null); assertTrue(true); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
*/ class FileEndOfFileInformationTest { private FileEndOfFileInformation fileInfo; @BeforeEach void setUp() { fileInfo = new FileEndOfFileInformation(); } @Test @DisplayName("Test default constructor creates valid instance") void testDefaultConstructor() { // Verify instance is created assertNotNull(fileInfo);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
@NullUnmarked public class TypeResolverTest extends TestCase { public void testWhere_noMapping() { Type t = aTypeVariable(); assertEquals(t, new TypeResolver().resolveType(t)); } public void testWhere_typeVariableMapping() { Type t = aTypeVariable(); assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t)); } public <T> void testWhere_indirectMapping() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@ExtendWith(MockitoExtension.class) public class SmbTreeHandleInternalTest { @Mock private SmbTreeHandleInternal handle; @Test @DisplayName("release(): verifies it is invoked exactly once") void release_invokedOnce() throws Exception { // Arrange: no setup needed; we verify interaction only // Act: call release handle.release(); // Assert: verify one invocation and no moreCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
super(config, command); } public void setTestResponse(TestServerMessageBlock2Response response) { this.testResponse = response; } public void setTestSize(int size) { this.testSize = size; } public void setTestLength(int length) { this.testEncodedLength = length; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
} } public void testTestFeatureEnums() { // Haha! Let's test our own test rig! assertGoodFeatureEnum(ExampleFeature.class); } public void testAddImpliedFeatures_returnsSameSetInstance() { Set<Feature<?>> features = newHashSet(FOO); assertThat(addImpliedFeatures(features)).isSameInstanceAs(features); } public void testAddImpliedFeatures_addsImpliedFeatures() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
void testCommandInitialization() { Smb2ReadRequest readRequest = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0); // Command is set in parent constructor assertNotNull(readRequest); } @Test @DisplayName("Should accept null file ID in constructor") void testConstructorWithNullFileId() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
@Test public void test_update_nullUser() { TestAuthenticationChain chain = new TestAuthenticationChain(); chain.updateThrowsException = false; chain.update(null); assertEquals(1, chain.updateCalls.size()); assertNull(chain.updateCalls.get(0)); } // Test update with multiple calls @Test public void test_update_multipleCalls() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0)