Skip to content

Commit 4318792

Browse files
committed
Add notes to func test
1 parent 05becfa commit 4318792

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/TransportVersionGenerationFuncTest.groovy

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,16 @@ class TransportVersionGenerationFuncTest extends AbstractTransportVersionFuncTes
1818
then:
1919
result.task(":myserver:generateTransportVersionDefinition").outcome == TaskOutcome.SUCCESS
2020
}
21+
22+
/*
23+
TODO: Add tests that check that:
24+
- TVs added ontop of main in git, but are no longer referenced, are deleted
25+
- name without branches param should fail
26+
- branches without name param should fail (+ other invalid combos)
27+
- multiple branches should create patch versions
28+
- a single branch value should create only a primary id
29+
- a latest file without a corresponding definition file should be reverted to main
30+
- a merge conflict should be resolved, resulting in regeneration of the latest file.
31+
-
32+
*/
2133
}

0 commit comments

Comments
 (0)