"""Test that QuickLookObject works correctly in the REPL"""

import os, time
import unittest2
import lldb
from lldbsuite.test.lldbrepl import REPLTest, load_tests
import lldbsuite.test.lldbtest as lldbtest

class REPLQuickLookTestCase (REPLTest):

    mydir = REPLTest.compute_mydir(__file__)

    def doTest(self):
        self.command('true.customPlaygroundQuickLook()', patterns=['Logical = true'])
        self.command('1.25.customPlaygroundQuickLook()', patterns=['Double = 1.25'])
        self.command('Float(1.25).customPlaygroundQuickLook()', patterns=['Float = 1.25'])
        self.command('"Hello".customPlaygroundQuickLook()', patterns=['Text = \"Hello\"'])



"""Test that QuickLookObject works correctly in the REPL"""

import os, time
import unittest2
import lldb
from lldbsuite.test.lldbrepl import REPLTest, load_tests
import lldbsuite.test.lldbtest as lldbtest

class REPLQuickLookTestCase (REPLTest):

    mydir = REPLTest.compute_mydir(__file__)

    def doTest(self):
        self.command('PlaygroundQuickLook(reflecting: true)', patterns=['Logical = true'])
        self.command('PlaygroundQuickLook(reflecting: 1.25)', patterns=['Double = 1.25'])
        self.command('PlaygroundQuickLook(reflecting: Float(1.25))', patterns=['Float = 1.25'])
        self.command('PlaygroundQuickLook(reflecting: "Hello")', patterns=['Text = \"Hello\"'])

Use the PlaygroundQuickLook(reflecting:) constructor in this test case
Use the PlaygroundQuickLook(reflecting:) constructor in this test case

  """Test that QuickLookObject works correctly in the REPL"""
  
  import os, time
  import unittest2
  import lldb
  from lldbsuite.test.lldbrepl import REPLTest, load_tests
  import lldbsuite.test.lldbtest as lldbtest
  
  class REPLQuickLookTestCase (REPLTest):
  
      mydir = REPLTest.compute_mydir(__file__)
  
      def doTest(self):
-         self.command('true.customPlaygroundQuickLook()', patterns=['Logical = true'])
+         self.command('PlaygroundQuickLook(reflecting: true)', patterns=['Logical = true'])
-         self.command('1.25.customPlaygroundQuickLook()', patterns=['Double = 1.25'])
+         self.command('PlaygroundQuickLook(reflecting: 1.25)', patterns=['Double = 1.25'])
-         self.command('Float(1.25).customPlaygroundQuickLook()', patterns=['Float = 1.25'])
+         self.command('PlaygroundQuickLook(reflecting: Float(1.25))', patterns=['Float = 1.25'])
-         self.command('"Hello".customPlaygroundQuickLook()', patterns=['Text = \"Hello\"'])
+         self.command('PlaygroundQuickLook(reflecting: "Hello")', patterns=['Text = \"Hello\"'])
  
- 
- 
Use the PlaygroundQuickLook(reflecting:) constructor in this test case
## Code Before:
"""Test that QuickLookObject works correctly in the REPL"""

import os, time
import unittest2
import lldb
from lldbsuite.test.lldbrepl import REPLTest, load_tests
import lldbsuite.test.lldbtest as lldbtest

class REPLQuickLookTestCase (REPLTest):

    mydir = REPLTest.compute_mydir(__file__)

    def doTest(self):
        self.command('true.customPlaygroundQuickLook()', patterns=['Logical = true'])
        self.command('1.25.customPlaygroundQuickLook()', patterns=['Double = 1.25'])
        self.command('Float(1.25).customPlaygroundQuickLook()', patterns=['Float = 1.25'])
        self.command('"Hello".customPlaygroundQuickLook()', patterns=['Text = \"Hello\"'])



## Instruction:
Use the PlaygroundQuickLook(reflecting:) constructor in this test case
## Code After:
"""Test that QuickLookObject works correctly in the REPL"""

import os, time
import unittest2
import lldb
from lldbsuite.test.lldbrepl import REPLTest, load_tests
import lldbsuite.test.lldbtest as lldbtest

class REPLQuickLookTestCase (REPLTest):

    mydir = REPLTest.compute_mydir(__file__)

    def doTest(self):
        self.command('PlaygroundQuickLook(reflecting: true)', patterns=['Logical = true'])
        self.command('PlaygroundQuickLook(reflecting: 1.25)', patterns=['Double = 1.25'])
        self.command('PlaygroundQuickLook(reflecting: Float(1.25))', patterns=['Float = 1.25'])
        self.command('PlaygroundQuickLook(reflecting: "Hello")', patterns=['Text = \"Hello\"'])
