コード例 #1
0
        public void DoWhileStatementRequiresStatement()
        {
            var d = new DoWhileStatement(JS.Null(), null);

            Expect.Throw<InvalidOperationException>(() => d.ToString());
        }
コード例 #2
0
        public void DoWhileStatementRequiresCondition()
        {
            var d = new DoWhileStatement();

            Expect.Throw <InvalidOperationException>(() => d.ToString());
        }
コード例 #3
0
        public void DoWhileStatementRequiresCondition()
        {
            var d = new DoWhileStatement();

            Expect.Throw<InvalidOperationException>(() => d.ToString());
        }
コード例 #4
0
        public void DoWhileStatementRequiresStatement()
        {
            var d = new DoWhileStatement(JS.Null(), null);

            Expect.Throw <InvalidOperationException>(() => d.ToString());
        }