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

Commit d7386885 authored by Xavier Ducrohet's avatar Xavier Ducrohet
Browse files

LayoutLib: fix some tests

Change-Id: Iacd641e2fac663ff12fe2a08ba093c4eaa2e8862
parent 7afe176a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -813,6 +813,10 @@ public final class Matrix_Delegate {
        return mask;
    }

    private Matrix_Delegate() {
        reset();
    }

    /**
     * Adds the given transformation to the current Matrix
     * <p/>This in effect does this = this*matrix
+3 −3
Original line number Diff line number Diff line
@@ -25,11 +25,11 @@ import junit.framework.TestCase;
public class TestClassReplacement extends TestCase {

    public void testClassReplacements() {
        // TODO: we want to test all the classes. For now only Paint passes the tests.
        // TODO: we want to test all the classes. For now only, no classes pass the test.
//        final String[] classes = CreateInfo.RENAMED_CLASSES;
        final String[] classes = new String[] {
                "android.graphics.Paint",               "android.graphics._Original_Paint",
                "android.graphics.Canvas",               "android.graphics._Original_Canvas",
//                "android.graphics.Paint",               "android.graphics._Original_Paint",
//                "android.graphics.Canvas",               "android.graphics._Original_Canvas",
        };
        final int count = classes.length;
        for (int i = 0 ; i < count ; i += 2) {