Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TestEqual (0.1 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

            assertResolveConflict(a2n, a2n, a1n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a2n, a1n, a2n);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

            assertResolveConflict(a2n, a2n, a1n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

            assertResolveConflict(a1n, a2n, a1n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

            assertResolveConflict(a1n, a2n, a1n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. internal/etag/etag_test.go

    	{A: "3b83ef96387f14655fc854ddc3c6bd57", B: "3b83ef96387f14655fc854ddc3c6bd57-2", Equal: false}, // 2
    	{A: "3b83ef96387f14655fc854ddc3c6bd57", B: "ceb8853ddc5086cc4ab9e149f8f09c88", Equal: false},   // 3
    }
    
    func TestEqual(t *testing.T) {
    	for i, test := range equalTests {
    		A, err := Parse(test.A)
    		if err != nil {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		B, err := Parse(test.B)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(source.sizeIfKnown()).isAbsent();
    
          assertThrows(IOException.class, () -> source.size());
        }
      }
    
      public void testEqual() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path fooPath = fs.getPath("foo");
          Path barPath = fs.getPath("bar");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
        assertEquals(ASCII, Files.toString(temp2, UTF_8));
      }
    
      public void testEqual() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertFalse(Files.equal(asciiFile, i18nFile));
        assertTrue(Files.equal(asciiFile, asciiFile));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
        assertEquals(ASCII, Files.toString(temp2, UTF_8));
      }
    
      public void testEqual() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertFalse(Files.equal(asciiFile, i18nFile));
        assertTrue(Files.equal(asciiFile, asciiFile));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(source.sizeIfKnown()).isAbsent();
    
          assertThrows(IOException.class, () -> source.size());
        }
      }
    
      public void testEqual() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path fooPath = fs.getPath("foo");
          Path barPath = fs.getPath("bar");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    // slices before invoking the functions.
    
    var abcd = "abcd"
    var faces = "☺☻☹"
    var commas = "1,2,3,4"
    var dots = "1....2....3....4"
    
    type BinOpTest struct {
    	a string
    	b string
    	i int
    }
    
    func TestEqual(t *testing.T) {
    	// Run the tests and check for allocation at the same time.
    	allocs := testing.AllocsPerRun(10, func() {
    		for _, tt := range compareTests {
    			eql := Equal(tt.a, tt.b)
    			if eql != (tt.i == 0) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top