
org.robolectric.shadows.ShadowPathParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.util.PathParser;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import static android.os.Build.VERSION_CODES.N;
@Implements(value = PathParser.class, minSdk = N, isInAndroidSdk = false)
public class ShadowPathParser {
@Implementation
public static long nCreatePathDataFromString(String pathString, int stringLength) {
return 1;
}
@Implementation
public static boolean nInterpolatePathData(long outDataPtr, long fromDataPtr,
long toDataPtr, float fraction) {
return true;
}
@Implementation
public static boolean nCanMorph(long fromDataPtr, long toDataPtr) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy