Package org.robolectric.shadows
Class ShadowLinux
- java.lang.Object
-
- org.robolectric.shadows.ShadowLinux
-
@Implements(value=libcore.io.Linux.class, minSdk=26, isInAndroidSdk=false) public class ShadowLinux extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShadowLinux()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected android.system.StructStatfstat(java.io.FileDescriptor fd)protected android.system.StructStatfstat(java.lang.String path)protected android.system.StructStatlstat(java.lang.String path)voidmkdir(java.lang.String path, int mode)protected java.io.FileDescriptoropen(java.lang.String path, int flags, int mode)android.system.StructStatstat(java.lang.String path)
-
-
-
Method Detail
-
mkdir
@Implementation public void mkdir(java.lang.String path, int mode) throws android.system.ErrnoException- Throws:
android.system.ErrnoException
-
stat
@Implementation public android.system.StructStat stat(java.lang.String path) throws android.system.ErrnoException- Throws:
android.system.ErrnoException
-
lstat
@Implementation protected android.system.StructStat lstat(java.lang.String path) throws android.system.ErrnoException- Throws:
android.system.ErrnoException
-
fstat
@Implementation(maxSdk=25) protected android.system.StructStat fstat(java.lang.String path) throws android.system.ErrnoException- Throws:
android.system.ErrnoException
-
fstat
@Implementation protected android.system.StructStat fstat(java.io.FileDescriptor fd) throws android.system.ErrnoException- Throws:
android.system.ErrnoException
-
open
@Implementation protected java.io.FileDescriptor open(java.lang.String path, int flags, int mode) throws android.system.ErrnoException- Throws:
android.system.ErrnoException
-
-