Skip to content

Commit c730914

Browse files
committed
Merge branch 'develop' into fb_chris_misc_issues
2 parents 7b9d0a9 + b244b28 commit c730914

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/org/labkey/test/BaseWebDriverTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ public abstract class BaseWebDriverTest extends LabKeySiteWrapper implements Cle
226226
public static final String TRICKY_CHARACTERS = "><&/%\\' \"1\u00E4\u00F6\u00FC\u00C5";
227227
public static final String TRICKY_CHARACTERS_NO_QUOTES = "></% 1\u00E4\u00F6\u00FC\u00C5";
228228
public static final String TRICKY_CHARACTERS_FOR_PROJECT_NAMES = "\u2603~!@$&()_+{}-=[],.#\u00E4\u00F6\u00FC\u00C5"; // No slash or space
229-
// TODO using </script> breaks CustomizeViewTest because of the '/'
230229
public static final String INJECT_CHARS_1 = Crawler.injectScriptBlock;
231230
public static final String INJECT_CHARS_2 = Crawler.injectAttributeScript;
232231

src/org/labkey/test/tests/list/ListTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,13 +801,13 @@ public void testCustomViews()
801801
/* Issue 23487: add regression coverage for batch insert into list with multiple errors
802802
*/
803803
@Test
804-
public void testBatchInsertErrors() throws IOException, CommandException
804+
public void testBatchInsertErrors()
805805
{
806806
// create the list for this case
807807
String multiErrorListName = "multiErrorBatchList";
808808
String[] expectedErrors = new String[]{
809809
getConversionErrorMessage("green", "ShouldInsertCorrectly", Boolean.class),
810-
getConversionErrorMessage("five", "Id", Integer.class) + "; Missing value for required property: Id"
810+
getConversionErrorMessage("five", "Id", Integer.class)
811811
};
812812

813813
createList(multiErrorListName, BatchListColumns, BatchListData);

src/org/labkey/test/util/AuditLogHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public boolean validateDetailAuditLog(DetailedAuditEventRow expectedAuditDetail,
249249
if (StringUtils.isEmpty(expectedValue) && actualValue == null)
250250
continue;
251251

252-
if (!expectedValue.equals(actualValue))
252+
if (!expectedValue.equalsIgnoreCase(actualValue))
253253
{
254254
pass = false;
255255
TestLogger.log(prop + " is not as expected. Expected: " + expectedValue + ", Actual: " + actualValue);

src/org/labkey/test/util/TestDataGenerator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
*/
7373
public class TestDataGenerator
7474
{
75-
private static final String WIDE_CHAR = "👾";
76-
private static final char WIDE_PLACEHOLDER = 'Π'; // Wide character can't be picked from the string with 'charAt'
77-
private static final String NON_LATIN_STRING = "и안は";
75+
private static final String WIDE_CHAR = "\uD83D\uDC7E"; // 👾
76+
private static final char WIDE_PLACEHOLDER = '\u03A0'; // 'Π' - Wide character can't be picked from the string with 'charAt'
77+
private static final String NON_LATIN_STRING = "\u0438\uC548\u306F"; // "и안は"
7878
// chose a Character random from this String
7979
public static final String CHARSET_STRING = "ABCDEFG01234abcdefvxyz~!@#$%^&*()-+=_{}[]|:;\"',.<>" + NON_LATIN_STRING + WIDE_PLACEHOLDER;
8080
public static final String ALPHANUMERIC_STRING = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvxyz";

0 commit comments

Comments
 (0)