Files
openide/plugins/package-search/test-resources/semantic-comparison-data.csv
Lamberto Basti 36b4d9d135 # Conflicts:
#	community/plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/ui/toolwindow/models/PackageSearchDataService.kt

GitOrigin-RevId: 354b78805afe88cc82a7c4527bf7569b8a4a25d0
2021-09-29 09:50:47 +00:00

1.4 KiB

1#version 1 name,version 1 semantic part,version 1 stability,version 1 releaseDate,version 2 name,version 2 semantic part,version 2 stability,version 2 releaseDate,expected compareTo result
2#Name is prioritized over timestamp if they're not the same
31.0.0,1.0.0,%%NULL%%,222222,2.0.0,2.0.0,%%NULL%%,111111,-1
41.0.0-b01,1.0.0,-b01,222222,1.0.0,1.0.0,%%NULL%%,111111,-1
5#If same name and only one of the two has a timestamp, that comes first
61.0.0,1.0.0,%%NULL%%,%%NULL%%,1.0.0,1.0.0,%%NULL%%,111111,-1
71.0.0-b01,1.0.0,-b01,%%NULL%%,1.0.0-b01,1.0.0,-b01,111111,-1
81.0.0,1.0.0,%%NULL%%,111111,1.0.0,1.0.0,%%NULL%%,%%NULL%%,1
91.0.0-b01,1.0.0,-b01,111111,1.0.0-b01,1.0.0,-b01,%%NULL%%,1
10#If same name and neither has a timestamp, they are identical
111.0.0,1.0.0,%%NULL%%,%%NULL%%,1.0.0,1.0.0,%%NULL%%,%%NULL%%,0
121.0.0-b01,1.0.0,-b01,%%NULL%%,1.0.0-b01,1.0.0,-b01,%%NULL%%,0
131.0.0,1.0.0,%%NULL%%,%%NULL%%,1.0.0,1.0.0,%%NULL%%,%%NULL%%,0
141.0.0-b01,1.0.0,-b01,%%NULL%%,1.0.0-b01,1.0.0,-b01,%%NULL%%,0
15#If same name and both have a timestamp, they are compared by timestamp
161.0.0,1.0.0,%%NULL%%,111111,1.0.0,1.0.0,%%NULL%%,222222,-1
171.0.0-b01,1.0.0,-b01,111111,1.0.0-b01,1.0.0,-b01,222222,-1
181.0.0,1.0.0,%%NULL%%,222222,1.0.0,1.0.0,%%NULL%%,111111,1
191.0.0-b01,1.0.0,-b01,222222,1.0.0-b01,1.0.0,-b01,111111,1
201.0.0,1.0.0,%%NULL%%,111111,1.0.0,1.0.0,%%NULL%%,111111,0
211.0.0-b01,1.0.0,-b01,111111,1.0.0-b01,1.0.0,-b01,111111,0