Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 3,751 for Rtest (0.02 seconds)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    import java.io.File;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Scanner;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

     * there are multiple occurrences of elements.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-b-1.1.pom

      <groupId>maven-test</groupId>
      <artifactId>t08-b</artifactId>
      <packaging>jar</packaging>
      <version>1.1</version>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-c</artifactId>
          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-d</artifactId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 622 bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class KotlinNullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `from non-null returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = """
                    class Source {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

    import com.google.common.collect.testing.google.TestStringMultisetGenerator;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit test for {@link LinkedHashMultiset}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

        }
    
        /**
         * Verify that all methods can be called with null buffers without
         * throwing exceptions. This test ensures robustness of the implementation.
         */
        @Test
        void methodsHandleNullBuffersGracefully() {
            // Arrange
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/cmd/addr2line/addr2line_test.go

    	}
    }
    
    // This is line 101. The test depends on that.
    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir := t.TempDir()
    
    	// Build copy of test binary with debug symbols,
    	// since the one running now may not have them.
    	exepath := filepath.Join(tmpDir, "testaddr2line_test.exe")
    	out, err := testenv.Command(t, testenv.GoToolPath(t), "test", "-c", "-o", exepath, "cmd/addr2line").CombinedOutput()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. impl/maven-cli/pom.xml

          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-params</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-core</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top