1 package org.apache.maven.surefire.its.jiras;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.surefire.its.fixture.OutputValidator;
23 import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
24 import org.apache.maven.surefire.its.fixture.TestFile;
25 import org.junit.Test;
26
27 import static org.junit.Assert.assertTrue;
28
29
30
31
32
33
34 public class Surefire740TruncatedCommaIT
35 extends SurefireJUnit4IntegrationTestCase
36 {
37 @Test
38 public void testRussianLocaleReport()
39 {
40 OutputValidator validator = unpack( "/surefire-740-comma-truncated" )
41 .setMavenOpts( "-Duser.language=ru -Duser.country=RU" )
42 .failNever()
43 .addSurefireReportGoal()
44 .executeCurrentGoals();
45
46 TestFile siteFile = validator.getSiteFile( "surefire-report.html" );
47 assertTrue( "Expecting file", siteFile.exists() );
48 siteFile.assertContainsText( "027" );
49 }
50
51 }