summaryrefslogtreecommitdiff
path: root/Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-16 14:56:46 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-16 14:57:30 +0200
commitb297e0fa5c217c9467033b7c8b46891a52870120 (patch)
tree43fc14689295e9e64f2719d05aad94e3049f6cd7 /Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl
parent69d517dbfa69903d8593cc1737f0474b21e3251e (diff)
downloadqtwebkit-b297e0fa5c217c9467033b7c8b46891a52870120.tar.gz
Revert "Imported WebKit commit 0dc6cd75e1d4836eaffbb520be96fac4847cc9d2 (http://svn.webkit.org/repository/webkit/trunk@131300)"
This reverts commit 5466563f4b5b6b86523e3f89bb7f77e5b5270c78. Caused OOM issues on some CI machines :(
Diffstat (limited to 'Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl')
-rw-r--r--Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl32
1 files changed, 1 insertions, 31 deletions
diff --git a/Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl b/Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl
index caee50b16..cda5d2829 100644
--- a/Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl
+++ b/Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl
@@ -2,7 +2,6 @@
#
# Copyright (C) 2011 Research In Motion Limited. All rights reserved.
# Copyright (C) 2010 Chris Jerdonek (chris.jerdonek@gmail.com)
-# Copyright (C) 2012 Daniel Bates (dbates@intudata.com)
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -149,35 +148,6 @@ my @testCaseHashRefs = (
]
},
###
-# Simple SVN 1.7 property diff chunk range tests
-##
-{ # New test
- testName => "Line count is 0",
- inputText => "## -0,0 +1,4 ##",
- chunkSentinel => "##",
- expectedReturn => [
-{
- startingLine => 0,
- lineCount => 0,
- newStartingLine => 1,
- newLineCount => 4,
-}
-]
-},
-{ # New test
- testName => "New line count is 1",
- inputText => "## -0,0 +1 ##",
- chunkSentinel => "##",
- expectedReturn => [
-{
- startingLine => 0,
- lineCount => 0,
- newStartingLine => 1,
- newLineCount => 1,
-}
-]
-},
-###
# Chunk range followed by ending junk
##
{ # New test
@@ -260,7 +230,7 @@ plan(tests => $testCasesCount);
foreach my $testCase (@testCaseHashRefs) {
my $testNameStart = "parseChunkRange(): $testCase->{testName}: comparing";
- my @got = VCSUtils::parseChunkRange($testCase->{inputText}, $testCase->{chunkSentinel});
+ my @got = VCSUtils::parseChunkRange($testCase->{inputText});
my $expectedReturn = $testCase->{expectedReturn};
is_deeply(\@got, $expectedReturn, "$testNameStart return value.");