Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildNumberSet (0.09 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            metadata.merge(new Metadata());
    
            int buildNumber = metadata.metadata.getVersioning().getSnapshot().getBuildNumber();
            assertEquals(1, buildNumber);
        }
    
        @Test
        void buildNumberSet() {
            RemoteSnapshotMetadata metadata =
                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), 42);
            metadata.merge(new Metadata());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top