@@ -20,62 +20,62 @@ class TestGeneratedCode(FileBasedTesting):
2020
2121 def test_basic (self ):
2222 expected = [
23- '// This file was generated by the JavaTM Architecture '
24- 'for XML Binding(JAXB) Reference Implementation' ,
25- '// Generated on: 2011.08.01 at 11:35:59 AM CEST'
23+ '// This file was generated by the JavaTM Architecture ' . lower () +
24+ 'for XML Binding(JAXB) Reference Implementation' . lower () ,
25+ '// Generated on: 2011.08.01 at 11:35:59 AM CEST' . lower ()
2626 ]
2727 test_file = self .get_test_loc ('generated/simple/generated_1.java' )
2828 result = list (generated .get_generated_code_hint (location = test_file ))
2929 assert result == expected
3030
3131 def test_basic_alt (self ):
3232 expected = [
33- '// This file was generated by the JavaTM Architecture '
34- 'for XML Binding(JAXB) Reference Implementation' ,
35- '// Generated on: 2013.11.15 at 04:17:00 PM CET'
33+ '// This file was generated by the JavaTM Architecture ' . lower () +
34+ 'for XML Binding(JAXB) Reference Implementation' . lower () ,
35+ '// Generated on: 2013.11.15 at 04:17:00 PM CET' . lower ()
3636 ]
3737 test_file = self .get_test_loc ('generated/simple/generated_3.java' )
3838 result = list (generated .get_generated_code_hint (location = test_file ))
3939 assert result == expected
4040
4141 def test_basic2 (self ):
42- expected = ['* This class was generated by the JAX-WS RI.' ]
42+ expected = ['* This class was generated by the JAX-WS RI.' . lower () ]
4343 test_file = self .get_test_loc ('generated/simple/generated_2.java' )
4444 result = list (generated .get_generated_code_hint (location = test_file ))
4545 assert result == expected
4646
4747 def test_basic3 (self ):
48- expected = ['/* This class was automatically generated' ]
48+ expected = ['/* This class was automatically generated' . lower () ]
4949 test_file = self .get_test_loc ('generated/simple/generated_4.java' )
5050 result = list (generated .get_generated_code_hint (location = test_file ))
5151 assert result == expected
5252
5353 def test_basic4 (self ):
5454 expected = [
55- '* <p>The following schema fragment specifies the '
56- 'expected content contained within this class.'
55+ '* <p>The following schema fragment specifies the ' . lower () +
56+ 'expected content contained within this class.' . lower ()
5757 ]
5858 test_file = self .get_test_loc ('generated/simple/generated_5.java' )
5959 result = list (generated .get_generated_code_hint (location = test_file ))
6060 assert result == expected
6161
6262 def test_basic5 (self ):
63- expected = ['/* DO NOT EDIT THIS FILE - it is machine generated */' ]
63+ expected = ['/* DO NOT EDIT THIS FILE - it is machine generated */' . lower () ]
6464 test_file = self .get_test_loc ('generated/simple/generated_6.c' )
6565 result = list (generated .get_generated_code_hint (location = test_file ))
6666 assert result == expected
6767
6868 def test_configure (self ):
6969 expected = [
70- '# Generated by GNU Autoconf 2.64 for Apache CouchDB 1.0.1.'
70+ '# Generated by GNU Autoconf 2.64 for Apache CouchDB 1.0.1.' . lower ()
7171 ]
7272 test_file = self .get_test_loc ('generated/simple/configure' )
7373 result = list (generated .get_generated_code_hint (location = test_file ))
7474 assert result == expected
7575
7676 def test_tomcat_jspc (self ):
7777 expected = [
78- '<!--Automatically created by Apache Jakarta Tomcat JspC.'
78+ '<!--Automatically created by Apache Jakarta Tomcat JspC.' . lower ()
7979 ]
8080 test_file = self .get_test_loc ('generated/jspc/web.xml' )
8181 result = list (generated .get_generated_code_hint (location = test_file ))
0 commit comments