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

Commit 7ffd0871 authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android (Google) Code Review
Browse files

Merge "LayoutLib: fix some tests"

parents 04ee03d5 d7386885
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) {