Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.unicode.cldr.util.SupplementalDataInfo;
import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
import org.unicode.cldr.util.SupplementalDataInfo.PopulationData;
import org.unicode.cldr.util.TestCLDRPaths;
import org.unicode.cldr.util.TestCoverageLevel2; // test function
import org.unicode.cldr.util.Validity;
import org.unicode.cldr.util.Validity.Status;
Expand Down Expand Up @@ -442,8 +443,16 @@ public void TestParentCoverage() {
}
}

// NOTE this could be sped up *a lot* if we had method to retrieve all the possible paths that
// could be Core or Basic
// Then we'd just make 60-70 queries against each CLDRFile instead of up to tens of thousands.

public void testBasicAgainstLastRelease() {
String oldVersion = ToolConstants.CLDR_VERSIONS.get(ToolConstants.CLDR_VERSIONS.size() - 1);
if (!TestCLDRPaths.canUseArchiveDirectory()) {
Comment thread
macchiati marked this conversation as resolved.
// TestCLDRPaths prints warning if archive not present/usable, so just exit
return;
}
String lastReleaseRuleFile =
CLDRPaths.ARCHIVE_DIRECTORY
+ "/cldr-"
Expand Down
Loading