Uses of Class
org.blocktest.BTest
Packages that use BTest
-
Uses of BTest in org.blocktest
Fields in org.blocktest declared as BTestMethods in org.blocktest that return BTestModifier and TypeMethodDescriptionFor a given lambda test, provide a list of values as the arguments to the lambda function.static BTestBTest.blocktest()Declares a block test.static BTestDeclares a block test with a name.Check that the actual object is equal to the expected object.Check that the actual object is equal to the expected object within a delta.BTest.checkFalse(Object value) Check that the given value or expression is false.Check the flow of the block under test, as a sequence of Flow objects.BTest.checkReturnEq(Object expected) Checks that the return value of the block under test is equal to the expected value.BTest.checkReturnEq(Object expected, Object delta) Checks that the return value of the block under test is equal to the expected value within a delta.BTest.checkReturnFalse()Check that the return value of the block or lambda is false.BTest.checkReturnTrue()Check that the return value of the block or lambda is true.Check that the given value or expression is true.BTest.delay(long time) TODO: Need a real example, not sure what this does.BTest.end()TODO: What is the purpose of this?Deprecated, use end(EndAt value) instead.Deprecated, use end(EndAt value, boolean endAfter) instead.Set the stoppoint of the block test to be at the value specified by the EndAt enum.Set the stoppoint of the block test to be at the value specified by the EndAt enum, and decide whether to include the construct specified by the EndAt enum.Set the stoppoint of the block test to be at the value specified by the EndAt enum, and at the specified instance.Set the stoppoint of the block test to be at the value specified by the EndAt enum, and at the specified instance, and decide whether to include the construct specified by the EndAt enum.Check that the block or lambda under test throws an exception.Assigns a value to a variable that is used in the block under test.Assigns a value to a variable that is used in the block under test, with a specified type.static BTestBTest.lambdatest()Declares a lambda test.static BTestBTest.lambdatest(String name) Declares a lambda test with a name.Mock the method calls of the block or lambda under test.TODO: What does this do?Specifies that for the given list of variables, do not initialize their values by inferring from context.Set up the right environment to test a block or lambda by executing the Runnable.Deprecated, use start(EndAt value) instead.Deprecated, use start(EndAt value, boolean endAfter) instead.Set the start point of the block test to be at the value specified by the EndAt enum.Set the start point of the block test to be at the value specified by the EndAt enum, and decide whether to include the construct specified by the EndAt enum.Set the start point of the block test to be at the value specified by the EndAt enum, and at the specified instance.Set the start point of the block test to be at the value specified by the EndAt enum, and at the specified instance, and decide whether to include the construct specified by the EndAt enum.