[Lldb-commits] [lldb] 81eaa3d - [lldb][NFC] Delete TestDataFormatterObjCNSDate.py

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 16 08:29:03 PST 2020


Author: Raphael Isemann
Date: 2020-01-16T17:28:07+01:00
New Revision: 81eaa3ddd060ab8486ed3fa349d23dbe8f00d8c5

URL: https://github.com/llvm/llvm-project/commit/81eaa3ddd060ab8486ed3fa349d23dbe8f00d8c5
DIFF: https://github.com/llvm/llvm-project/commit/81eaa3ddd060ab8486ed3fa349d23dbe8f00d8c5.diff

LOG: [lldb][NFC] Delete TestDataFormatterObjCNSDate.py

This test is just TestDataFormatterObjCNSData.py copied but without any changes
(and it therefore doesn't even test NSDate).

It's also failing as NSData has been changed by me in
4f244bba4f66b14382c446b62e122fa684b8db78.

Added: 
    

Modified: 
    

Removed: 
    lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
deleted file mode 100644
index a064dd7a90b3..000000000000
--- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: utf-8
-"""
-Test lldb data formatter subsystem.
-"""
-
-
-import lldb
-from lldbsuite.test.decorators import *
-from lldbsuite.test.lldbtest import *
-from lldbsuite.test import lldbutil
-
-from ObjCDataFormatterTestCase import ObjCDataFormatterTestCase
-
-
-class ObjCDataFormatterNSDate(ObjCDataFormatterTestCase):
-
-    @skipUnlessDarwin
-    def test_nsdata_with_run_command(self):
-        """Test formatters for  NSData."""
-        self.appkit_tester_impl(self.nsdata_data_formatter_commands)
-
-    def nsdata_data_formatter_commands(self):
-        self.expect(
-            'frame variable immutableData mutableData data_ref mutable_data_ref mutable_string_ref concreteData concreteMutableData',
-            substrs=[
-                '(NSData *) immutableData = ', ' 4 bytes',
-                '(NSData *) mutableData = ', ' 14 bytes',
-                '(CFDataRef) data_ref = ', '@"5 bytes"',
-                '(CFMutableDataRef) mutable_data_ref = ', '@"5 bytes"',
-                '(CFMutableStringRef) mutable_string_ref = ',
-                ' @"Wish ya knew"', '(NSData *) concreteData = ',
-                ' 100000 bytes', '(NSMutableData *) concreteMutableData = ',
-                ' 100000 bytes'
-            ])


        


More information about the lldb-commits mailing list