Sergey Nuyanzin created CALCITE-7261:
----------------------------------------
Summary: DiffRepository generation xml doesn't respect
alphabetical order
Key: CALCITE-7261
URL: https://issues.apache.org/jira/browse/CALCITE-7261
Project: Calcite
Issue Type: Bug
Components: testkit
Reporter: Sergey Nuyanzin
Assignee: Sergey Nuyanzin
Especially often reproduced for existing empty files.
For instance current expected is empty or absent (might be a case if just want
to regenerate from scratch)
then if a class has methods
{code:java}
@Test void testDiff() {
...
}
@Test void testmulti() {
...
}
@Test void testNull() {
...
}
{code}
Here {{testmulti}} was intentionally written in lowercase to highlight another
issue. While generation it compares names with ignoring case. At the same side
while sorting in {{DiffRepository}} it uses lexicographical order without
ignoring of case.
So as a result generated xml for the class with methods above might result in a
variety of versions and not stable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)