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 Object
-
Constructor Summary
Constructors Constructor Description ShadowLinux() -
Method Summary
Modifier and Type Method Description protected StructStatfstat(FileDescriptor fd)protected StructStatfstat(String path)protected StructStatlstat(String path)voidmkdir(String path, int mode)protected FileDescriptoropen(String path, int flags, int mode)StructStatstat(String path)
-
Constructor Details
-
ShadowLinux
public ShadowLinux()
-
-
Method Details
-
mkdir
- Throws:
ErrnoException
-
stat
- Throws:
ErrnoException
-
lstat
- Throws:
ErrnoException
-
fstat
- Throws:
ErrnoException
-
fstat
- Throws:
ErrnoException
-
open
@Implementation protected FileDescriptor open(String path, int flags, int mode) throws ErrnoException- Throws:
ErrnoException
-