Add unit test for EditDeserializer
Change-Id: I42ebb8a5f085066cd4d8dbe8cc953d7fcb849eef
This commit is contained in:

committed by
Shawn Pearce

parent
68dc638cd4
commit
e6bc8b523b
@@ -30,3 +30,15 @@ java_library(
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
java_test(
|
||||
name = 'jgit_patch_tests',
|
||||
srcs = glob(['src/test/java/**/*.java']),
|
||||
deps = [
|
||||
':server',
|
||||
'//lib/jgit:jgit',
|
||||
'//lib:junit',
|
||||
],
|
||||
source_under_test = [':server'],
|
||||
visibility = ['//tools/eclipse:classpath'],
|
||||
)
|
||||
|
@@ -0,0 +1,25 @@
|
||||
// Copyright (C) 2013 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package org.eclipse.jgit.diff;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.eclipse.jgit.diff.EditDeserializer;
|
||||
|
||||
public class EditDeserializerTest extends TestCase {
|
||||
public void testDiffDeserializer() {
|
||||
assertNotNull("edit deserializer", new EditDeserializer());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user