Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 3,751 for Rtest (0.03 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new ReportPlugin().equals(null));
    
            new ReportPlugin().equals(new ReportPlugin());
        }
    
        @Test
        void testEqualsIdentity() {
            ReportPlugin thing = new ReportPlugin();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new Reporting().equals(null));
    
            new Reporting().equals(new Reporting());
        }
    
        @Test
        void testEqualsIdentity() {
            Reporting thing = new Reporting();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Reporting().toString());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    class JSpecifyNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
    
        override val nullableAnnotationName: String = "org.jspecify.annotations.Nullable"
    
        @Test
        fun `from non-null array returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  5. internal/store/queuestore_test.go

    	Name     string `json:"Name"`
    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    	testItem = TestItem{Name: "test-item", Property: "property"}
    	// Ext for test item
    	testItemExt = ".test"
    )
    
    // Initialize the queue store.
    func setUpQueueStore(directory string, limit uint64) (Store[TestItem], error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param escaper the non-null escaper to test
       * @param c the character to test
       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param cp the Unicode code point to test
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param escaper the non-null escaper to test
       * @param c the character to test
       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param cp the Unicode code point to test
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            assertArrayEquals(blobCred(), (byte[]) getField(obj, "blob"));
        }
    
        @Test
        void writeParameterWordsWithBlob() throws Exception {
            setupNegotiateStubs();
            when(mockConfig.getVcNumber()).thenReturn(0);
            when(mockConfig.getNativeOs()).thenReturn("Test OS");
            when(mockConfig.getNativeLanman()).thenReturn("Test LAN");
    
            byte[] blob = blobCred();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Tests for our hostname verifier. Most of these tests are from AOSP, which itself includes tests
     * from the Apache HTTP Client test suite.
     */
    class HostnameVerifierTest {
      private val verifier = OkHostnameVerifier
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test fun verify() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      @Test
      public void equivalent_nodeSetsDiffer() {
        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
Back to Top