@@ -51,14 +51,14 @@ public void testCommandLineNoDates()
51
51
throws Exception
52
52
{
53
53
testCommandLine ( "scm:git:http://foo.com/git" , null , (Date ) null , (Date ) null , 40 ,
54
- "git whatchanged --date=iso --max-count=40 -- ." );
54
+ "git whatchanged --format=medium -- date=iso --max-count=40 -- ." );
55
55
}
56
56
57
57
public void testCommandLineNoDatesLimitedCount ()
58
58
throws Exception
59
59
{
60
60
testCommandLine ( "scm:git:http://foo.com/git" , null , (Date ) null , (Date ) null ,
61
- "git whatchanged --date=iso -- ." );
61
+ "git whatchanged --format=medium -- date=iso -- ." );
62
62
}
63
63
64
64
public void testCommandLineWithDates ()
@@ -68,7 +68,7 @@ public void testCommandLineWithDates()
68
68
Date endDate = getDate ( 2007 , Calendar .OCTOBER , 10 , GMT_TIME_ZONE );
69
69
70
70
testCommandLine ( "scm:git:http://foo.com/git" , null , startDate , endDate ,
71
- "git whatchanged \" --since=2003-09-10 00:00:00 +0000\" \" --until=2007-10-10 00:00:00 +0000\" --date=iso -- ." );
71
+ "git whatchanged --format=medium \" --since=2003-09-10 00:00:00 +0000\" \" --until=2007-10-10 00:00:00 +0000\" --date=iso -- ." );
72
72
}
73
73
74
74
public void testCommandLineStartDateOnly ()
@@ -77,7 +77,7 @@ public void testCommandLineStartDateOnly()
77
77
Date startDate = getDate ( 2003 , Calendar .SEPTEMBER , 10 , 1 , 1 , 1 , GMT_TIME_ZONE );
78
78
79
79
testCommandLine ( "scm:git:http://foo.com/git" , null , startDate , null ,
80
- "git whatchanged \" --since=2003-09-10 01:01:01 +0000\" --date=iso -- ." );
80
+ "git whatchanged --format=medium \" --since=2003-09-10 01:01:01 +0000\" --date=iso -- ." );
81
81
}
82
82
83
83
public void testCommandLineDateFormat ()
@@ -87,7 +87,7 @@ public void testCommandLineDateFormat()
87
87
Date endDate = getDate ( 2005 , Calendar .NOVEMBER , 13 , 23 , 23 , 23 , GMT_TIME_ZONE );
88
88
89
89
testCommandLine ( "scm:git:http://foo.com/git" , null , startDate , endDate ,
90
- "git whatchanged \" --since=2003-09-10 01:01:01 +0000\" \" --until=2005-11-13 23:23:23 +0000\" --date=iso -- ." );
90
+ "git whatchanged --format=medium \" --since=2003-09-10 01:01:01 +0000\" \" --until=2005-11-13 23:23:23 +0000\" --date=iso -- ." );
91
91
}
92
92
93
93
public void testCommandLineDateVersionRanges ()
@@ -97,7 +97,7 @@ public void testCommandLineDateVersionRanges()
97
97
Date endDate = getDate ( 2005 , Calendar .NOVEMBER , 13 , 23 , 23 , 23 , GMT_TIME_ZONE );
98
98
99
99
testCommandLine ( "scm:git:http://foo.com/git" , null , startDate , endDate , new ScmRevision ( "1" ), new ScmRevision ( "10" ),
100
- "git whatchanged \" --since=2003-09-10 01:01:01 +0000\" \" --until=2005-11-13 23:23:23 +0000\" --date=iso 1..10 -- ." );
100
+ "git whatchanged --format=medium \" --since=2003-09-10 01:01:01 +0000\" \" --until=2005-11-13 23:23:23 +0000\" --date=iso 1..10 -- ." );
101
101
}
102
102
103
103
public void testCommandLineEndDateOnly ()
@@ -107,43 +107,43 @@ public void testCommandLineEndDateOnly()
107
107
108
108
// Only specifying end date should print no dates at all
109
109
testCommandLine ( "scm:git:http://foo.com/git" , null , null , endDate ,
110
- "git whatchanged \" --until=2003-11-10 00:00:00 +0000\" --date=iso -- ." );
110
+ "git whatchanged --format=medium \" --until=2003-11-10 00:00:00 +0000\" --date=iso -- ." );
111
111
}
112
112
113
113
public void testCommandLineWithBranchNoDates ()
114
114
throws Exception
115
115
{
116
116
testCommandLine ( "scm:git:http://foo.com/git" , new ScmBranch ( "my-test-branch" ), (Date ) null , (Date ) null ,
117
- "git whatchanged --date=iso my-test-branch -- ." );
117
+ "git whatchanged --format=medium -- date=iso my-test-branch -- ." );
118
118
}
119
119
120
120
121
121
public void testCommandLineWithStartVersion ()
122
122
throws Exception
123
123
{
124
124
testCommandLine ( "scm:git:http://foo.com/git" , null , new ScmRevision ( "1" ), null ,
125
- "git whatchanged --date=iso 1.. -- ." );
125
+ "git whatchanged --format=medium -- date=iso 1.. -- ." );
126
126
}
127
127
128
128
public void testCommandLineWithStartVersionAndEndVersion ()
129
129
throws Exception
130
130
{
131
131
testCommandLine ( "scm:git:http://foo.com/git" , null , new ScmRevision ( "1" ), new ScmRevision ( "10" ),
132
- "git whatchanged --date=iso 1..10 -- ." );
132
+ "git whatchanged --format=medium -- date=iso 1..10 -- ." );
133
133
}
134
134
135
135
public void testCommandLineWithStartVersionAndEndVersionEquals ()
136
136
throws Exception
137
137
{
138
138
testCommandLine ( "scm:git:http://foo.com/git" , null , new ScmRevision ( "1" ), new ScmRevision ( "1" ),
139
- "git whatchanged --date=iso 1..1 -- ." );
139
+ "git whatchanged --format=medium -- date=iso 1..1 -- ." );
140
140
}
141
141
142
142
public void testCommandLineWithStartVersionAndEndVersionAndBranch ()
143
143
throws Exception
144
144
{
145
145
testCommandLine ( "scm:git:http://foo.com/git" , new ScmBranch ( "my-test-branch" ), new ScmRevision ( "1" ), new ScmRevision ( "10" ),
146
- "git whatchanged --date=iso 1..10 my-test-branch -- ." );
146
+ "git whatchanged --format=medium -- date=iso 1..10 my-test-branch -- ." );
147
147
}
148
148
149
149
// ----------------------------------------------------------------------
0 commit comments