# TestREPLQuickLookObject.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
"""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=['bool = 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\"'])

@@ -779,33 +779,32 @@
   self.command('
-_
 PlaygroundQuickL
@@ -867,33 +867,32 @@
   self.command('
-_
 PlaygroundQuickL
@@ -957,33 +957,32 @@
   self.command('
-_
 PlaygroundQuickL
@@ -1061,17 +1061,16 @@
 ommand('
-_
 Playgrou

Revert "Moving [Custom]PlaygroundQuickLook[able]"