[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #9166(accepted unittest)

Opened 22 months ago

Last modified 22 months ago

teach TestForStrayFiles about editor backup files

Reported by: markus Owned by: markus
Component: other Data Locale:
Phase: rc Review:
Weeks: 0.1 Data Xpath:
Xref:

Description

Silly test failure:

TestCLDRFile {
  TestForStrayFiles {
    Error: (TestCLDRFile.java:542) collation has extra files[am.xml~, ar.xml~, as.xml~, az.xml~, be.xml~, bg.xml~, bn.xml~, bs.xml~, bs_Cyrl.xml~, ca.xml~, chr.xml~, cs.xml~, da.xml~, de.xml~, dz.xml~, el.xml~, en_US.xml~, es.xml~, et.xml~, fa.xml~, fa_AF.xml~, fi.xml~, fo.xml~, fr.xml~, fr_CA.xml~, ga.xml~, gl.xml~, gu.xml~, he.xml~, hi.xml~, hr.xml~, hy.xml~, id.xml~, ig.xml~, is.xml~, it.xml~, ja.xml~, ka.xml~, kk.xml~, kl.xml~, km.xml~, kn.xml~, kok.xml~, ku.xml~, ky.xml~, lo.xml~, mk.xml~, ml.xml~, mn.xml~, mr.xml~, ms.xml~, my.xml~, nb.xml~, ne.xml~, nl.xml~, nn.xml~, or.xml~, pa.xml~, ps.xml~, pt.xml~, root.xml~, ru.xml~, se.xml~, si.xml~, sk.xml~, smn.xml~, sr.xml~, sr_Latn.xml~, st.xml~, sv.xml~, sw.xml~, ta.xml~, te.xml~, th.xml~, tr.xml~, ug.xml~, uk.xml~, ur.xml~, vi.xml~, xh.xml~, yi.xml~, yo.xml~, zh.xml~, zu.xml~]
  } (0.027s) FAILED (1 failure(s))
} (0.027s) FAILED (1 failure(s))

Obviously, these are all old backup files from my text editor. Please teach the test code to ignore them.

Attachments

Change History

comment:1 Changed 22 months ago by srl

… if the test could read SVN metadata, it could determine that the files are ignored for commit.
Probably a copy of the gitignore regex would suffice.

I agree, it's a silly error.

comment:2 Changed 22 months ago by emmons

  • Owner changed from anybody to markus
  • Priority changed from assess to medium
  • Status changed from new to accepted
  • Milestone changed from UNSCH to upcoming
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.