From e2678791bb028746f1b78aa232bef4240ebffa92 Mon Sep 17 00:00:00 2001 From: Maciej Przepióra Date: Mon, 25 May 2015 10:08:59 +0200 Subject: Fix font icon codepoint formatting in DesignResourceConverter (#17970) ResourceReference.getURL() is now used to ensure consistency. Change-Id: Ic204a826c093fc34af2be1e0e4e8a8dd4f820e09 --- server/tests/src/com/vaadin/tests/design/DesignFormatterTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/src/com') diff --git a/server/tests/src/com/vaadin/tests/design/DesignFormatterTest.java b/server/tests/src/com/vaadin/tests/design/DesignFormatterTest.java index dcabd6c637..00af20ea8c 100644 --- a/server/tests/src/com/vaadin/tests/design/DesignFormatterTest.java +++ b/server/tests/src/com/vaadin/tests/design/DesignFormatterTest.java @@ -275,8 +275,8 @@ public class DesignFormatterTest { String httpUrl = "http://example.com/icon.png"; String httpsUrl = "https://example.com/icon.png"; String themePath = "icons/icon.png"; - String fontAwesomeUrl = "fonticon://FontAwesome/0xf0f9"; - String someOtherFontUrl = "fonticon://SomeOther/0xF0F9"; + String fontAwesomeUrl = "fonticon://FontAwesome/f0f9"; + String someOtherFontUrl = "fonticon://SomeOther/F0F9"; String fileSystemPath = "c:\\app\\resources\\icon.png"; assertEquals(httpUrl, formatter.format(new ExternalResource(httpUrl))); @@ -315,8 +315,8 @@ public class DesignFormatterTest { String httpUrl = "http://example.com/icon.png"; String httpsUrl = "https://example.com/icon.png"; String themePath = "icons/icon.png"; - String fontAwesomeUrl = "fonticon://FontAwesome/0xf0f9"; - String someOtherFont = "fonticon://SomeOther/0xF0F9"; + String fontAwesomeUrl = "fonticon://FontAwesome/f0f9"; + String someOtherFont = "fonticon://SomeOther/F0F9"; String fontAwesomeUrlOld = "font://AMBULANCE"; String fileSystemPath = "c:\\app\\resources\\icon.png"; -- cgit v1.2.3