Lines Matching refs:USERNAME

34     private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
108 testCanRead(USERNAME, GROUP, '------r--', true)
109 testCanRead(USERNAME, GROUP, 'rwxrwx-wx', false)
111 userAccount.username = USERNAME
114 testCanRead(USERNAME, GROUP, 'rwxrwxrwx', true) // ALL
115 testCanRead(USERNAME, GROUP, '---------', false) // NONE
117 testCanRead(USERNAME, null, 'r--------', true) // User
118 testCanRead(USERNAME, null, '-wxrwxrwx', false)
129 testCanWrite(USERNAME, GROUP, null, true)
132 testCanWrite(USERNAME, GROUP, '-------w-', true)
133 testCanWrite(USERNAME, GROUP, 'rwxrwxr-x', false)
135 userAccount.username = USERNAME
138 testCanWrite(USERNAME, GROUP, 'rwxrwxrwx', true) // ALL
139 testCanWrite(USERNAME, GROUP, '---------', false) // NONE
141 testCanWrite(USERNAME, null, '-w-------', true) // User
142 testCanWrite(USERNAME, null, 'r-xrwxrwx', false)
153 testCanExecute(USERNAME, GROUP, null, true)
156 testCanExecute(USERNAME, GROUP, '--------x', true)
157 testCanExecute(USERNAME, GROUP, 'rwxrwxrw-', false)
159 userAccount.username = USERNAME
162 testCanExecute(USERNAME, GROUP, 'rwxrwxrwx', true) // ALL
163 testCanExecute(USERNAME, GROUP, '---------', false) // NONE
165 testCanExecute(USERNAME, null, '--x------', true) // User
166 testCanExecute(USERNAME, null, 'rw-rwxrwx', false)