OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DeltaType
(Results
1 - 6
of
6
) sorted by null
/cts/tools/signature-tools/src/signature/compare/model/
DeltaType.java
20
* {@code
DeltaType
} defines the three possible types of a delta.
22
public enum
DeltaType
{
IDelta.java
33
DeltaType
getType();
36
* Returns the "from" element. Is null if type is {@link
DeltaType
#ADDED}
43
* Returns the "to" element. Is null if type is {@link
DeltaType
#REMOVED}
/cts/tools/signature-tools/src/signature/compare/model/impl/
SigDelta.java
27
import signature.compare.model.
DeltaType
;
46
public final
DeltaType
getType() {
48
return
DeltaType
.ADDED;
51
return
DeltaType
.REMOVED;
53
return
DeltaType
.CHANGED;
57
DeltaType
type) {
68
return getDeltas(deltas,
DeltaType
.ADDED);
72
return getDeltas(deltas,
DeltaType
.REMOVED);
76
return getDeltas(deltas,
DeltaType
.CHANGED);
/cts/tools/signature-tools/test/signature/comparator/
PackageCompareTest.java
27
import signature.compare.model.
DeltaType
;
75
assertEquals(
DeltaType
.REMOVED, packageDelta.getType());
93
assertEquals(
DeltaType
.ADDED, packageDelta.getType());
ClassCompareTest.java
30
import signature.compare.model.
DeltaType
;
69
assertSame(
DeltaType
.REMOVED, classDelta.getType());
85
assertSame(
DeltaType
.ADDED, classDelta.getType());
109
assertSame(
DeltaType
.ADDED, annotationDelta.getType());
MethodCompareTests.java
30
import signature.compare.model.
DeltaType
;
66
assertEquals(
DeltaType
.REMOVED, classDelta.getMethodDeltas().iterator().next().getType());
86
assertEquals(
DeltaType
.ADDED, classDelta.getMethodDeltas().iterator().next().getType());
107
assertEquals(
DeltaType
.CHANGED, classDelta.getMethodDeltas().iterator().next().getType());
Completed in 341 milliseconds