Skip to content

ExpandAclTest

TestCase for the expand_acl function

Methods

testExpandAclNormal

test expand_acl, perfect input

public testExpandAclNormal(): mixed

testExpandAclBigNumber

test with a big number

public testExpandAclBigNumber(): mixed

testExpandAclString

test with a string in it.

public testExpandAclString(): mixed

TODO: is this valid input? Otherwise: should there be an exception?


testExpandAclSpace

test with a ' ' in it.

public testExpandAclSpace(): mixed

TODO: is this valid input? Otherwise: should there be an exception?


testExpandAclEmpty

test empty input

public testExpandAclEmpty(): mixed

testExpandAclNoBrackets

test invalid input, no < at all

public testExpandAclNoBrackets(): mixed

TODO: should there be an exception?


testExpandAclJustOneBracket1

test invalid input, just open <

public testExpandAclJustOneBracket1(): mixed

TODO: should there be an exception?


testExpandAclJustOneBracket2

test invalid input, just close >

public testExpandAclJustOneBracket2(): mixed

TODO: should there be an exception?


testExpandAclCloseOnly

test invalid input, just close >

public testExpandAclCloseOnly(): mixed

TODO: should there be an exception?


testExpandAclOpenOnly

test invalid input, just open <

public testExpandAclOpenOnly(): mixed

TODO: should there be an exception?


testExpandAclNoMatching1

test invalid input, open and close do not match

public testExpandAclNoMatching1(): mixed

TODO: should there be an exception?


testExpandAclNoMatching2

test invalid input, open and close do not match

public testExpandAclNoMatching2(): mixed

TODO: should there be an exception?


testExpandAclEmptyMatch

test invalid input, empty <>

public testExpandAclEmptyMatch(): mixed

TODO: should there be an exception? Or array(1, 3) (This should be array(1,3) - mike)



Automatically generated on 2025-03-18