Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a6ee98d authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Fix theme namespace in tests.

The tests used framework theme (Material), but the ResourceResolver was
created with project theme. This caused tests to fail becasue of missing
resources.

Change-Id: Ia17ee19054f6689f85e3423e83c1f47a2cc4364f
parent 6e8d8ad2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -285,7 +285,7 @@ public class Main {
                ConfigGenerator.getEnumMap(attrs), getLayoutLog());
    }

    /** Text activity.xml */
    /** Test activity.xml */
    @Test
    public void testActivity() throws ClassNotFoundException {
        renderAndVerify("activity.xml", "activity.png");
@@ -404,7 +404,7 @@ public class Main {
        ResourceResolver resourceResolver =
                ResourceResolver.create(sProjectResources.getConfiguredResources(config),
                        sFrameworkRepo.getConfiguredResources(config),
                        themeName, true);
                        themeName, false);

        return new SessionParams(
                layoutParser,