Skip to content

Commit

Permalink
Update data style tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Jun 1, 2023
1 parent f176629 commit 267e3e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/de/blau/android/resources/DataStyleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void buildingTest() {
Map<String, String> tags = new TreeMap<>();
tags.put(Tags.KEY_BUILDING, Tags.VALUE_YES);
delegator.setTags(w, tags);
assertEquals(4, DataStyle.getStyleList(ApplicationProvider.getApplicationContext()).length);
assertEquals(5, DataStyle.getStyleList(ApplicationProvider.getApplicationContext()).length);
assertEquals(DataStyle.getBuiltinStyleName(), DataStyle.getCurrent().getName());
DataStyle.getStyle(DataStyle.getBuiltinStyleName());
DataStyle.switchTo("Color Round Nodes");
Expand All @@ -77,7 +77,7 @@ public void customStyle() {
fail(e.getMessage());
}
DataStyle.getStylesFromFiles(ApplicationProvider.getApplicationContext());
assertEquals(5, DataStyle.getStyleList(ApplicationProvider.getApplicationContext()).length);
assertEquals(6, DataStyle.getStyleList(ApplicationProvider.getApplicationContext()).length);
// matching test

final StorageDelegator delegator = App.getDelegator();
Expand Down

0 comments on commit 267e3e1

Please sign in to comment.