Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 35) sorted by relevance

12

/thrift-3.4.0/lib/nodets/test/
Dtest_driver.ts125 function fail(msg: string) {
128 assert.fail(msg);
141 .fail(fail("fnName"));
155 .fail(fail("testStruct"));
161 .fail(fail("testNest"));
167 .fail(fail("testInsanity"));
171 fail("testException: TException");
173 .fail(function(err) {
179 fail("testException: Xception");
181 .fail(function(err) {
[all …]
/thrift-3.4.0/lib/php/test/Validator/
DBaseValidatorTest.php74 $this->fail('Bonk was able to write an empty object');
88 $this->fail('StructA was able to write an empty object');
116 static::fail($class . ' class should have a read validator');
123 static::fail($class . ' class should not have a write validator');
130 static::fail($class . ' class should have a write validator');
137 static::fail($class . ' class should not have a write validator');
/thrift-3.4.0/lib/nodejs/test/
Dtest_driver.js177 .catch(() => assert.fail("fnName"));
201 .catch(() => assert.fail("testStruct"));
208 .catch(() => assert.fail("testNest"));
215 .catch(() => assert.fail("testInsanity"));
222 .catch(() => assert.fail("testInsanity2"));
227 assert.fail("testException: TException");
236 assert.fail("testException: Xception");
249 .catch(() => assert.fail("testException"));
256 .catch(() => assert.fail("testOneway: should not reject"));
266 .catch(() => assert.fail("checkOffByOne"));
[all …]
/thrift-3.4.0/lib/go/thrift/
Duuid_test.go32 fail bool
56 fail: true,
60 fail: true,
64 fail: true,
69 if ok != !c.fail {
72 if !c.fail && b != c.b {
/thrift-3.4.0/test/py/
DTestEof.py62 self.fail("Should have gotten EOFError")
84 self.fail("Should have gotten EOFError")
101 self.fail("Should have gotten an EOFError")
DTestClient.py224 self.fail("should have gotten exception")
235 self.fail("should have gotten exception")
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/server/
DTestNonblockingServer.java21 import static org.junit.jupiter.api.Assertions.fail;
77 fail(); in startServer()
127 fail("timed out when it should have thrown another kind of error!"); in testCleanupAllSelectionKeys()
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/sasl/
DNonblockingSaslHandler.java227 private void fail(Exception e) { in fail() method in NonblockingSaslHandler
351 fail(e); in executeProcessing()
365 fail(e); in handleWritingSaslChallenge()
379 fail(e); in handleWritingSuccessMessage()
390 fail(e); in handleWritingFailureMessage()
402 fail(e); in handleWritingResponse()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/async/
DTestTAsyncClientManager.java287 Assertions.fail("unexpected onError with exception " + sink.toString()); in basicCall()
343 fail(exception); in onError()
347 private static void fail(Exception exception) { in fail() method in TestTAsyncClientManager
350 Assertions.fail("unexpected error " + sink); in fail()
391 Assertions.fail( in run()
404 fail(e); in run()
/thrift-3.4.0/lib/d/test/
Dasync_test.d68 void fail(string reason);
184 override void fail(string reason) { in fail() function
185 if (trace_) writefln(`fail("%s")`, reason); in fail()
307 if (trace_) writefln(`Calling fail("%s")... `, id); in run()
308 auto a = cast(AsyncTestException)collectException(client.fail(id).waitGet()); in run()
310 if (trace_) writefln(`fail("%s") done.`, id); in run()
/thrift-3.4.0/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/
DTestThrift.java32 import static org.junit.Assert.fail;
151 fail("Expected IllegalStateException"); in testFileInPathPreCondition()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/transport/
DTestTSaslTransports.java27 import static org.junit.jupiter.api.Assertions.fail;
337 fail(e); in startServer()
562 fail("Should have gotten an error due to incorrect status byte value."); in testBadHeader()
569 fail("Should have gotten an error due to negative payload length."); in testBadHeader()
576 fail("Should have gotten an error due to bogus (large) payload length."); in testBadHeader()
/thrift-3.4.0/tutorial/nodejs/
DNodeClientPromise.js60 .fail(function(err) {
/thrift-3.4.0/test/py.twisted/
Dtest_suite.py177 self.fail("should have gotten exception")
184 self.fail("should have gotten exception")
/thrift-3.4.0/test/
DREADME.md90 Since many cross tests currently fail (mainly due to partial incompatibility
94 For this purpose, test cases known to (occasionally) fail are listed in
111 make fail
185 During tests, the test client notices that some of the Struct tests fail.
/thrift-3.4.0/test/py.tornado/
Dtest_suite.py213 self.fail("should have gotten exception")
219 self.fail("should have gotten exception")
/thrift-3.4.0/aclocal/
Dax_prog_dotnetcore_version.m417 # $DOTNETCORE is not set prior to calling this macro, the macro will fail.
Dax_prog_haxe_version.m417 # set prior to calling this macro, the macro will fail.
Dax_lib_zlib.m48 dnl If these all fail, it will try the $ZLIB_ROOT environment variable.
/thrift-3.4.0/lib/java/
Dbuild.gradle22 // strictly enforce the minimum version of Java required to build and fail fast
/thrift-3.4.0/
DMakefile.am104 fail: precross target
/thrift-3.4.0/test/ocaml/client/
DTestClient.ml45 if l = (c#testList l) then print_string "list ok\n" else print_string "list fail\n";;
/thrift-3.4.0/lib/d/src/thrift/codegen/
Dasync_client_pool.d250 promise.fail(new TCompoundOperationException("All clients failed.", in executeOnPool()
507 resultPromise_.fail(new TCompoundOperationException(
/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_generator.cc170 while (!(docs.eof() || docs.fail())) { in generate_docstring_comment()
/thrift-3.4.0/lib/d/src/thrift/util/
Dfuture.d215 void fail(Exception exception) { in fail() function

12