- Sort Score
- Num 10 results
- Language All
Results 1571 - 1580 of 2,277 for Tests (0.02 seconds)
-
src/test/java/jcifs/NetbiosNameTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; /** * Test class for NetbiosName interface functionality */ @DisplayName("NetbiosName Tests") class NetbiosNameTest extends BaseTest { @Mock private NetbiosName mockNetbiosName; @Test @DisplayName("Should define interface methods") void testNetbiosNameInterface() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.BaseTest; /** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
import jcifs.CIFSException; class SingletonContextTest { private static final Logger log = LoggerFactory.getLogger(SingletonContextTest.class); // Use reflection to reset the singleton instance between tests @BeforeEach @AfterEach void resetSingleton() { try { Field instance = SingletonContext.class.getDeclaredField("INSTANCE"); instance.setAccessible(true);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) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link PluginDescriptorBuilder}. * */ class PluginDescriptorBuilderTest { private PluginDescriptor build(String resource) throws IOException, PlexusConfigurationException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for CacheBuilder. */ @GwtCompatible // We are intentionally testing the TimeUnit overloads, too. @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds") @NullUnmarked public class CacheBuilderTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 37.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for CacheBuilder. */ @GwtCompatible // We are intentionally testing the TimeUnit overloads, too. @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds") @NullUnmarked public class CacheBuilderTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
cmd/admin-handlers-users-race_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. //go:build !race // +build !race // Tests in this file are not run under the `-race` flag as they are too slow // and cause context deadline errors. package cmd import ( "context" "fmt" "runtime" "testing" "time"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4K bytes - Click Count (0) -
internal/bucket/replication/filter.go
if f.Prefix != "" { if !f.Tag.IsEmpty() { return errInvalidFilter } } if !f.Tag.IsEmpty() { if err := f.Tag.Validate(); err != nil { return err } } return nil } // TestTags tests if the object tags satisfy the Filter tags requirement, // it returns true if there is no tags in the underlying Filter. func (f *Filter) TestTags(userTags string) bool { if f.cachedTags == nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
import java.net.URL; import java.net.URLClassLoader; import java.util.HashSet; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link Enums}. * * @author Steve McKay */ @GwtIncompatible @J2ktIncompatible @NullUnmarked public class EnumsTest extends TestCase { private enum TestEnum { CHEETO, HONDA,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0)