haiku/src/kernel/vm2/tests/testsToDo
Michael Phipps 7c9135c008 Updated and added some tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-27 04:40:34 +00:00

75 lines
1.1 KiB
Plaintext

Tests that need to be created, by interface function
createArea
- improve some of the successful tests.
freeArea
- successful tests
getAreaInfo
- successful tests
getNextAreaInfo
- on first area
- on last area
getAreaByName
- more successful tests
getAreaByAddress
- more successful tests
cloneArea
- invalid area to clone
- all others as with createArea
resizeArea
- make it smaller
- make it larger
- with unknown area
setAreaProtection
- on unknown area
- to read only
- to write only
- to r/w
mmap
- size of 0, -1, etc
- different flag combinations
- non-existant FD
- offset outside of file
munmap
- to an address that doesn't exist
- for an invalid length
writeCachedBlock
- non-existant FD
- offset outside of file
- NULL data
readCachedBlock
- non-existant FD
- offset outside of file
- NULL data
get_memory_map
- NULL address
- numBytes=0
- physical entry table NULL
- numEntries = 0
lock_memory
- address of NULL
- numBytes = 0
- various flags
unlock_memory
- address of NULL
- numBytes = 0
- various flags
map_physical_memory
- same as createArea