Home
last modified time | relevance | path

Searched refs:shouldFail (Results 1 – 25 of 91) sorted by relevance

1234

/external/boringssl/src/ssl/test/runner/
Drunner.go133 shouldFail bool member
564 if !test.shouldFail && (len(test.expectedError) > 0 || len(test.expectedLocalError) > 0) {
751 if failed != test.shouldFail || failed && !correctFailure {
759 case failed && !test.shouldFail:
761 case !failed && test.shouldFail:
876 shouldFail: true,
888 shouldFail: true,
900 shouldFail: true,
913 shouldFail: true,
926 shouldFail: true,
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy72 shouldFail { commandHandler.handleCommand(null, session) }
73 shouldFail { commandHandler.handleCommand(command, null) }
83 shouldFail { commandHandler.sendReply(null, REPLY_CODE) }
84 shouldFail { commandHandler.sendReply(session, 0) }
89 shouldFail { commandHandler.assertValidReplyCode(0) }
96 shouldFail(CommandSyntaxException) { commandHandler.getRequiredParameter(command, 1) }
99 shouldFail(CommandSyntaxException) { commandHandler.getRequiredParameter(command) }
103shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
113 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
120 shouldFail(NewFileOperationException) { commandHandler.verifyForNewFile(false, PATH) }
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/core/util/
DPortParserTest.groovy62 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
67 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
72 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
76 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(null) }
80 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort('') }
90 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(null) }
94 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(PARAMETERS_INSUFFICIENT) }
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/core/util/
DPortParserTest.groovy63 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
68 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
73 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
77 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(null) }
81 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort('') }
91 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(null) }
95 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(PARAMETERS_INSUFFICIENT) }
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/core/util/
DPortParserTest.groovy62 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
67 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
72 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
76 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(null) }
80 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort('') }
90 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(null) }
94 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(PARAMETERS_INSUFFICIENT) }
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/core/util/
DPortParserTest.groovy63 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
68 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
73 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
77 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(null) }
81 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort('') }
91 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(null) }
95 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(PARAMETERS_INSUFFICIENT) }
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/core/util/
DPortParserTest.groovy62 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
67 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
72 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
76 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(null) }
80 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort('') }
90 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(null) }
94 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(PARAMETERS_INSUFFICIENT) }
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
DPortParserTest.groovy63 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
68 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
73 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(PARM) }
77 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort(null) }
81 shouldFail(CommandSyntaxException) { PortParser.parseExtendedAddressHostAndPort('') }
91 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(null) }
95 shouldFail(CommandSyntaxException) { PortParser.parseHostAndPort(PARAMETERS_INSUFFICIENT) }
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java434 shouldFail(new FailOneArgDoesntThrowNPE()); in testFailOneArgDoesntThrowNpe()
444 shouldFail(new FailOneArgThrowsWrongType()); in testFailOneArgThrowsWrongType()
465 shouldFail(new FailTwoArgsFirstArgDoesntThrowNPE()); in testFailTwoArgsFirstArgDoesntThrowNPE()
476 shouldFail(new FailTwoArgsFirstArgThrowsWrongType()); in testFailTwoArgsFirstArgThrowsWrongType()
487 shouldFail(new FailTwoArgsSecondArgDoesntThrowNPE()); in testFailTwoArgsSecondArgDoesntThrowNPE()
498 shouldFail(new FailTwoArgsSecondArgThrowsWrongType()); in testFailTwoArgsSecondArgThrowsWrongType()
509 shouldFail(new FailTwoMixedArgsFirstArgDoesntThrowNPE()); in testFailTwoMixedArgsFirstArgDoesntThrowNPE()
520 shouldFail(new FailTwoMixedArgsFirstArgThrowsWrongType()); in testFailTwoMixedArgsFirstArgThrowsWrongType()
554 shouldFail(new FailTwoMixedArgsSecondArgDoesntThrowNPE()); in testFailTwoMixedArgsSecondArgDoesntThrowNPE()
565 shouldFail(new FailTwoMixedArgsSecondArgThrowsWrongType()); in testFailTwoMixedArgsSecondArgThrowsWrongType()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy72 shouldFail { commandHandler.handleCommand(null, session) }
73 shouldFail { commandHandler.handleCommand(command, null) }
108 shouldFail { commandHandler.assertValidReplyCode(0) }
112shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
122 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
135shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy129 shouldFail(FileSystemException) { fileSystem.createFile(NEW_DIR + "/abc/def") }
131 shouldFail(FileSystemException) { fileSystem.createFile(NO_SUCH_DIR) }
132 shouldFail(InvalidFilenameException) { fileSystem.createFile(ILLEGAL_FILE) }
144 shouldFail(FileSystemException) { fileSystem.createInputStream(NO_SUCH_FILE) }
145 shouldFail(FileSystemException) { fileSystem.createInputStream(EXISTING_DIR) }
146 shouldFail(FileSystemException) { fileSystem.createInputStream("") }
191shouldFail(FileSystemException) { fileSystem.createOutputStream(NEW_DIR + "/abc.txt", true) }
193 shouldFail(FileSystemException) { fileSystem.createOutputStream(EXISTING_DIR, true) }
194 shouldFail(InvalidFilenameException) { fileSystem.createOutputStream(ILLEGAL_FILE, true) }
195 shouldFail(FileSystemException) { fileSystem.createOutputStream("", true) }
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/command/
D_AbstractFakeCommandHandlerTest.groovy73 shouldFail { commandHandler.handleCommand(null, session) }
74 shouldFail { commandHandler.handleCommand(command, null) }
109 shouldFail { commandHandler.assertValidReplyCode(0) }
113shouldFail(IllegalStateException) { commandHandler.getRequiredSessionAttribute(session, "undefined…
123 shouldFail(NotLoggedInException) { commandHandler.verifyLoggedIn(session) }
136shouldFail(FileSystemException) { commandHandler.verifyFileSystemCondition(false, PATH, '') }
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy88 shouldFail(FileSystemException) { fileSystem.add(new DirectoryEntry(NEW_DIR)) }
91 shouldFail(FileSystemException) { fileSystem.add(new DirectoryEntry(NEW_DIR + "/abc/def")) }
93 shouldFail(InvalidFilenameException) { fileSystem.add(new DirectoryEntry(ILLEGAL_FILE)) }
103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) }
106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) }
108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) }
109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) }
245 shouldFail(FileSystemException) { fileSystem.rename(NO_SUCH_FILE, TO_FILE2) }
273 shouldFail(FileSystemException) { fileSystem.rename(FROM_FILE, TO_FILE) }
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy88 shouldFail(FileSystemException) { fileSystem.add(new DirectoryEntry(NEW_DIR)) }
91 shouldFail(FileSystemException) { fileSystem.add(new DirectoryEntry(NEW_DIR + "/abc/def")) }
93 shouldFail(InvalidFilenameException) { fileSystem.add(new DirectoryEntry(ILLEGAL_FILE)) }
103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) }
106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) }
108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) }
109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) }
245 shouldFail(FileSystemException) { fileSystem.rename(NO_SUCH_FILE, TO_FILE2) }
273 shouldFail(FileSystemException) { fileSystem.rename(FROM_FILE, TO_FILE) }
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy88 shouldFail(FileSystemException) { fileSystem.add(new DirectoryEntry(NEW_DIR)) }
91 shouldFail(FileSystemException) { fileSystem.add(new DirectoryEntry(NEW_DIR + "/abc/def")) }
93 shouldFail(InvalidFilenameException) { fileSystem.add(new DirectoryEntry(ILLEGAL_FILE)) }
103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) }
106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) }
108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) }
109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) }
245 shouldFail(FileSystemException) { fileSystem.rename(NO_SUCH_FILE, TO_FILE2) }
273 shouldFail(FileSystemException) { fileSystem.rename(FROM_FILE, TO_FILE) }

1234