Merge branch '2.0.x' into 2.1.x

This commit is contained in:
Phillip Webb
2019-06-04 02:07:14 -07:00
107 changed files with 130 additions and 112 deletions

View File

@@ -73,7 +73,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
String result = engine.process("template", attrs);
String result = engine.process("template", attrs).trim();
assertThat(result).isEqualTo("<html>bar</html>");
});
}
@@ -210,7 +210,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
.getBean(ISpringWebFluxTemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
String result = engine.process("data-dialect", attrs);
String result = engine.process("data-dialect", attrs).trim();
assertThat(result).isEqualTo("<html><body data-foo=\"bar\"></body></html>");
});
}
@@ -221,7 +221,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
ISpringWebFluxTemplateEngine engine = context
.getBean(ISpringWebFluxTemplateEngine.class);
Context attrs = new Context(Locale.UK);
String result = engine.process("java8time-dialect", attrs);
String result = engine.process("java8time-dialect", attrs).trim();
assertThat(result).isEqualTo("<html><body>2015-11-24</body></html>");
});
}
@@ -251,7 +251,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
.getBean(ISpringWebFluxTemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
String result = engine.process("home", attrs);
String result = engine.process("home", attrs).trim();
assertThat(result).isEqualTo("<html><body>bar</body></html>");
});
}

View File

@@ -95,7 +95,7 @@ public class ThymeleafServletAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
String result = engine.process("template.html", attrs);
String result = engine.process("template.html", attrs).trim();
assertThat(result).isEqualTo("<html>bar</html>");
});
}
@@ -222,7 +222,7 @@ public class ThymeleafServletAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
String result = engine.process("data-dialect", attrs);
String result = engine.process("data-dialect", attrs).trim();
assertThat(result).isEqualTo("<html><body data-foo=\"bar\"></body></html>");
});
}
@@ -232,7 +232,7 @@ public class ThymeleafServletAutoConfigurationTests {
this.contextRunner.run((context) -> {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK);
String result = engine.process("java8time-dialect", attrs);
String result = engine.process("java8time-dialect", attrs).trim();
assertThat(result).isEqualTo("<html><body>2015-11-24</body></html>");
});
}
@@ -262,7 +262,7 @@ public class ThymeleafServletAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
String result = engine.process("home", attrs);
String result = engine.process("home", attrs).trim();
assertThat(result).isEqualTo("<html><body>bar</body></html>");
});
}

View File

@@ -15,4 +15,4 @@
</basic>
</attributes>
</entity>
</entity-mappings>
</entity-mappings>

View File

@@ -1 +1 @@
INSERT INTO CITY (ID, NAME, STATE, COUNTRY, MAP) values (2000, 'Washington', 'DC', 'US', 'Google');
INSERT INTO CITY (ID, NAME, STATE, COUNTRY, MAP) values (2000, 'Washington', 'DC', 'US', 'Google');

View File

@@ -14,4 +14,4 @@ objectClasses: ( 1.3.6.1.4.1.32473.1.2.2
SUP top
AUXILIARY
MAY exampleAttributeName
X-ORIGIN 'Managing Schema Document' )
X-ORIGIN 'Managing Schema Document' )

View File

@@ -1 +1 @@
INSERT INTO BAR VALUES (1, 'Andy');
INSERT INTO BAR VALUES (1, 'Andy');

View File

@@ -1 +1 @@
INSERT INTO NON_ANNOTATED (ID, VALUE) values (2000, 'Test');
INSERT INTO NON_ANNOTATED (ID, VALUE) values (2000, 'Test');

View File

@@ -23,4 +23,4 @@
</expiry>
</cache>
</config>
</config>

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
</configuration>
</configuration>

View File

@@ -6,4 +6,4 @@
<h2>A Message</h2>
<div>{{message}} at {{time}}</div>
</body>
</html>
</html>

View File

@@ -12,4 +12,4 @@
</div>
<div class="jumbotron">{{#include}}{{body}}{{/include}}</div>
</body>
</html>
</html>

View File

@@ -12,4 +12,4 @@
</div>
<div class="jumbotron">{{>content}}</div>
</body>
</html>
</html>

View File

@@ -1,4 +1,4 @@
CREATE TABLE SPAM (
id INTEGER IDENTITY PRIMARY KEY,
name VARCHAR(30),
);
);

View File

@@ -1 +1 @@
INSERT INTO FOO VALUES (1, 'Andy');
INSERT INTO FOO VALUES (1, 'Andy');

View File

@@ -1,2 +1,2 @@
INSERT INTO BAR(id, name) VALUES (1, 'bar');
INSERT INTO BAR(id, name) VALUES (2, 'ばー');
INSERT INTO BAR(id, name) VALUES (2, 'ばー');

View File

@@ -1,4 +1,4 @@
CREATE TABLE FOO (
id INTEGER IDENTITY PRIMARY KEY,
name VARCHAR(30),
);
);

View File

@@ -1,4 +1,4 @@
CREATE TABLE BAR (
id INTEGER IDENTITY PRIMARY KEY,
name VARCHAR(30),
);
);

View File

@@ -1 +1 @@
<html><body data:foo="${foo}"></body></html>
<html><body data:foo="${foo}"></body></html>

View File

@@ -1,8 +1,8 @@
<html>
<body>
<ul>
<li>status: {{status}}</li>
<li>message: {{message}}</li>
<li>status: {{status}}</li>
<li>message: {{message}}</li>
</ul>
</body>
</html>
</html>

View File

@@ -1 +1 @@
<html><body th:text="${foo}">Home</body></html>
<html><body th:text="${foo}">Home</body></html>

View File

@@ -1 +1 @@
<html><body th:text="${#temporals.create('2015','11','24')}"></body></html>
<html><body th:text="${#temporals.create('2015','11','24')}"></body></html>

View File

@@ -11,4 +11,4 @@
</div>
</div>
</body>
</html>
</html>

View File

@@ -1 +1 @@
Message: ${greeting}
Message: ${greeting}

View File

@@ -1 +1 @@
<html><body>Message: <span th:text="${greeting}">Hello</span></body></html>
<html><body>Message: <span th:text="${greeting}">Hello</span></body></html>

View File

@@ -1 +1 @@
Message: ${greeting}
Message: ${greeting}

View File

@@ -1 +1 @@
<html th:text="${foo}">foo</html>
<html th:text="${foo}">foo</html>

View File

@@ -1,4 +1,4 @@
<html xmlns:th="https://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
<html xmlns:th="https://www.thymeleaf.org" xmlns:layout="https://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
<head>
<title layout:fragment="title">Content</title>
</head>
@@ -7,4 +7,4 @@
<span th:text="${foo}">foo</span>
</div>
</body>
</html>
</html>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www.springframework.org/spring-ws/wsdl"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.springframework.org/spring-ws/wsdl">
<wsdl:definitions xmlns:wsdl="https://schemas.xmlsoap.org/wsdl/"
xmlns:tns="https://www.springframework.org/spring-ws/wsdl"
xmlns:wsdlsoap="https://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="https://www.springframework.org/spring-ws/wsdl">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" targetNamespace="http://www.springframework.org/spring-ws/wsdl">
<xsd:schema xmlns:xsd="https://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" targetNamespace="https://www.springframework.org/spring-ws/wsdl">
<xsd:element name="request" type="xsd:string" />
<xsd:element name="response" type="xsd:string" />
</xsd:schema>
@@ -23,7 +23,7 @@
</wsdl:portType>
<wsdl:binding name="binding" type="tns:portType">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http/" />
transport="https://schemas.xmlsoap.org/soap/http/" />
<wsdl:operation name="operation">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="request">
@@ -40,4 +40,3 @@
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://www.springframework.org/spring-ws/wsdl/schemas">
targetNamespace="https://www.springframework.org/spring-ws/wsdl/schemas">
<element name="request" type="string" />
<element name="response" type="string" />
</schema>