Esempio n. 1
0
        public void LinearLayoutManagerCanScrollVertically()
        {
            tlog.Debug(tag, $"LinearLayoutManagerCanScrollVertically START");

            var testingTarget = new LinearLayoutManager(LinearLayoutManager.HORIZONTAL);

            Assert.IsNotNull(testingTarget, "should be not null");
            Assert.IsInstanceOf <LinearLayoutManager>(testingTarget, "should be an instance of testing target class!");
            Assert.IsFalse(testingTarget.CanScrollVertically(), "should be false.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"LinearLayoutManagerCanScrollVertically END (OK)");
        }
        public void FlexibleViewLayoutManagerCanScrollVertically()
        {
            tlog.Debug(tag, $"FlexibleViewLayoutManagerCanScrollVertically START");

            var testingTarget = new FlexibleViewLayoutManagerImpl();

            Assert.IsNotNull(testingTarget, "should be not null");
            Assert.IsInstanceOf <FlexibleViewLayoutManager>(testingTarget, "should be an instance of testing target class!");

            var result = horizontalLayoutManager.CanScrollVertically();

            tlog.Debug(tag, "CanScrollVertically : " + result);

            testingTarget.Dispose();
            tlog.Debug(tag, $"FlexibleViewLayoutManagerCanScrollVertically END (OK)");
        }