Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for a2 (0.02 sec)

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

        private static final String GROUP_ID = "test";
    
        // fields -----------------------------------------------------------------
    
        protected Artifact a1;
    
        protected Artifact a2;
    
        protected Artifact b1;
    
        private final String roleHint;
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        private ConflictResolver conflictResolver;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A" }, new String[] { "b" })));
        }
    
        public void test_toLineString() {
            assertEquals("a1,a2,a3=>b1,b2,b3",
                    new SynonymItem(1, new String[] { "a1", "a2", "a3" }, new String[] { "b1", "b2", "b3" }).toLineString());
            assertEquals("a=>b", new SynonymItem(1, new String[] { "a" }, new String[] { "b" }).toLineString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

    public class GraphTest {
    
        @Test
        void testCycle() throws Graph.CycleDetectedException {
            Graph graph = new Graph();
            graph.addEdge("a1", "a2");
            assertThrows(Graph.CycleDetectedException.class, () -> graph.addEdge("a2", "a1"));
        }
    
        @Test
        public void testPerf() throws IOException {
            List<String[]> data = new ArrayList<>();
            String k = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

             assertEquals(5, itemList1.size());
    
             final SynonymItem synonymItem1 = itemList1.get(0);
             synonymItem1.setNewInputs(new String[] { "a1", "a2" });
             synonymItem1.setNewOutputs(new String[] { "A1", "A2" });
             synonymFile.update(synonymItem1);
             final PagingList<SynonymItem> itemList2 = synonymFile.selectList(0, 20);
             assertEquals(5, itemList2.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    return model;
                }
            }
        }
    
        private boolean withinSameGav(Artifact a1, Artifact a2) {
            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getVersion(), a2.getVersion());
        }
    
        private Properties toProperties(Map<String, String> dominant, Map<String, String> recessive) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. guava/src/com/google/common/eventbus/Dispatcher.java

        //
        // 1. Subscribers to events posted on different threads can be interleaved with each other
        //    freely. (A event on one thread, B event on another could yield any of
        //    [a1, a2, a3, b1, b2], [a1, b2, a2, a3, b2], [a1, b2, b3, a2, a3], etc.)
        // 2. It's possible for subscribers to actually be dispatched to in a different order than they
        //    were added to the queue. It's easily possible for one thread to take the head of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        set("a", "a", "a")
        val snapshot = cache["a"]!!
        snapshot.close()
        val editor = snapshot.edit()!!
        editor.setString(1, "a2")
        editor.commit()
        assertValue("a", "a", "a2")
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun editSnapshotAfterChangeAborted(parameters: Pair<FileSystem, Boolean>) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        String[] a2 = generator.generateFresh(String[].class);
        assertFalse(a1[0].equals(a2[0]));
      }
    
      public void testPrimitiveArray() {
        FreshValueGenerator generator = new FreshValueGenerator();
        int[] a1 = generator.generateFresh(int[].class);
        int[] a2 = generator.generateFresh(int[].class);
        assertTrue(a1[0] != a2[0]);
      }
    
      public void testRange() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

             *   v1<
             *       v3-v4
             *
             */
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
            // v1-->v2
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

        }
    
        @Test
        void testMirrorStopOnFirstMatch() {
            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
            Mirror mirrorA3 = newMirror("a", "a", "http://a3");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top